Pull request #1217 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9f3abd28f04482202d07f3525adb1eefb94cf97a+c582db119472e089660f4546ea857b2fbcd79f76 (57b08a35bb2090d3bdeec81843d67c465ac8bb48) 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-ssh7096575608496325391.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 bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11030392023889099670.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-1217/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-1217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1153921299127166784.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-1217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3844150040386473315.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh12032003423281454741.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-1217/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-1217/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11945955205729626945.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-1298 in /w/workspace/gexfoundry_device-sdk-go_PR-1217 [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-1217 # 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/1217/head:refs/remotes/origin/PR-1217 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c582db119472e089660f4546ea857b2fbcd79f76 into PR head commit 9f3abd28f04482202d07f3525adb1eefb94cf97a Merge succeeded, producing 9f3abd28f04482202d07f3525adb1eefb94cf97a Checking out Revision 9f3abd28f04482202d07f3525adb1eefb94cf97a (PR-1217) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T04:04:57.816Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T04:04:57.991Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 9f3abd28f04482202d07f3525adb1eefb94cf97a # 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 c582db119472e089660f4546ea857b2fbcd79f76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f3abd28f04482202d07f3525adb1eefb94cf97a # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T04:04:58.092Z] ========================================================= [2022-09-27T04:04:58.092Z] EdgeX Global Pipelines Version Info [2022-09-27T04:04:58.092Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:04:58.821Z] ------------------- [2022-09-27T04:04:58.821Z] stable info: [2022-09-27T04:04:58.821Z] ------------------- [2022-09-27T04:04:58.821Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T04:04:58.821Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T04:04:58.821Z] Message: update stable to v1.0.239 [2022-09-27T04:04:59.389Z] ------------------- [2022-09-27T04:04:59.389Z] experimental info: [2022-09-27T04:04:59.389Z] ------------------- [2022-09-27T04:04:59.389Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T04:04:59.389Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T04:04:59.389Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T04:04:59.676Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-27T04:04:59.717Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-27T04:04:59.756Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T04:04:59.799Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T04:04:59.838Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T04:04:59.877Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T04:04:59.916Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T04:04:59.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-27T04:04:59.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T04:05:00.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T04:05:00.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T04:05:00.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-27T04:05:00.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T04:05:00.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T04:05:00.228Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T04:05:00.271Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T04:05:00.309Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T04:05:00.350Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T04:05:00.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T04:05:00.431Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T04:05:00.471Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-27T04:05:00.513Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-27T04:05:00.549Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T04:05:00.589Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T04:05:00.626Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T04:05:00.663Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T04:05:00.710Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T04:05:00.749Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1217 [Pipeline] echo [2022-09-27T04:05:00.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1217 [Pipeline] echo [2022-09-27T04:05:00.823Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1217 [Pipeline] echo [2022-09-27T04:05:00.857Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f3abd28f04482202d07f3525adb1eefb94cf97a [Pipeline] echo [2022-09-27T04:05:00.895Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f3abd2 [Pipeline] echo [2022-09-27T04:05:00.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T04:05:01.043Z] provisioning config files... [2022-09-27T04:05:01.057Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp/config13980857590029840269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:05:01.412Z] ---> docker-login.sh [2022-09-27T04:05:01.412Z] nexus3.edgexfoundry.org:10001 [2022-09-27T04:05:01.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:01.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:01.673Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:01.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:01.673Z] [2022-09-27T04:05:01.673Z] Login Succeeded [2022-09-27T04:05:01.673Z] nexus3.edgexfoundry.org:10002 [2022-09-27T04:05:01.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:01.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:01.673Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:01.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:01.673Z] [2022-09-27T04:05:01.673Z] Login Succeeded [2022-09-27T04:05:01.673Z] nexus3.edgexfoundry.org:10003 [2022-09-27T04:05:01.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:01.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:01.935Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:01.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:01.935Z] [2022-09-27T04:05:01.935Z] Login Succeeded [2022-09-27T04:05:01.935Z] nexus3.edgexfoundry.org:10004 [2022-09-27T04:05:01.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:01.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:01.935Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:01.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:01.935Z] [2022-09-27T04:05:01.935Z] Login Succeeded [2022-09-27T04:05:01.935Z] docker.io [2022-09-27T04:05:01.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:02.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:02.506Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:02.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:02.506Z] [2022-09-27T04:05:02.506Z] Login Succeeded [2022-09-27T04:05:02.506Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T04:05:02.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T04:05:03.155Z] + git rev-list -1 --merges 9f3abd28f04482202d07f3525adb1eefb94cf97a~1..9f3abd28f04482202d07f3525adb1eefb94cf97a [Pipeline] echo [2022-09-27T04:05:03.197Z] -----------> git rev-list -1 --merges 9f3abd28f04482202d07f3525adb1eefb94cf97a~1..9f3abd28f04482202d07f3525adb1eefb94cf97a 9f3abd28f04482202d07f3525adb1eefb94cf97a [false] [Pipeline] sh [2022-09-27T04:05:03.516Z] + git log --format=format:%s -1 9f3abd28f04482202d07f3525adb1eefb94cf97a [Pipeline] echo [2022-09-27T04:05:03.552Z] ========================================================= [2022-09-27T04:05:03.552Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T04:05:03.552Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T04:05:03.984Z] + git log --format=format:%s -1 9f3abd28f04482202d07f3525adb1eefb94cf97a [Pipeline] echo [2022-09-27T04:05:04.019Z] [semverPrep] GIT_COMMIT: 9f3abd28f04482202d07f3525adb1eefb94cf97a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-09-27T04:05:04.050Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T04:05:04.433Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T04:05:04.433Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T04:05:04.433Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T04:05:04.433Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T04:05:04.433Z] + + echosudo tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2022-09-27T04:05:04.433Z] /etc/ssh/ssh_known_hosts [2022-09-27T04:05:04.433Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:05:04.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T04:05:04.917Z] [2022-09-27T04:05:04.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:05:05.281Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T04:05:05.544Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T04:05:05.544Z] b85a868b505f: Pulling fs layer [2022-09-27T04:05:05.544Z] e2be974225ed: Pulling fs layer [2022-09-27T04:05:05.544Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T04:05:05.544Z] 988bab9f4d93: Pulling fs layer [2022-09-27T04:05:05.544Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T04:05:05.544Z] eaf3925da568: Pulling fs layer [2022-09-27T04:05:05.544Z] bab4dde63d76: Pulling fs layer [2022-09-27T04:05:05.544Z] bde34c3a00c8: Pulling fs layer [2022-09-27T04:05:05.544Z] b352a97aabf1: Pulling fs layer [2022-09-27T04:05:05.544Z] 4872d77fe225: Pulling fs layer [2022-09-27T04:05:05.544Z] 5851b861e8e6: Pulling fs layer [2022-09-27T04:05:05.544Z] 988bab9f4d93: Waiting [2022-09-27T04:05:05.544Z] 1469e6f7b9e6: Waiting [2022-09-27T04:05:05.544Z] 4872d77fe225: Waiting [2022-09-27T04:05:05.544Z] eaf3925da568: Waiting [2022-09-27T04:05:05.544Z] bab4dde63d76: Waiting [2022-09-27T04:05:05.544Z] bde34c3a00c8: Waiting [2022-09-27T04:05:05.544Z] b352a97aabf1: Waiting [2022-09-27T04:05:05.544Z] 5851b861e8e6: Waiting [2022-09-27T04:05:05.544Z] e2be974225ed: Download complete [2022-09-27T04:05:05.544Z] 988bab9f4d93: Verifying Checksum [2022-09-27T04:05:05.544Z] 988bab9f4d93: Download complete [2022-09-27T04:05:05.544Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T04:05:05.544Z] 1469e6f7b9e6: Download complete [2022-09-27T04:05:05.544Z] eaf3925da568: Verifying Checksum [2022-09-27T04:05:05.544Z] eaf3925da568: Download complete [2022-09-27T04:05:05.544Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T04:05:05.544Z] 339a4e72a1f5: Download complete [2022-09-27T04:05:05.544Z] bde34c3a00c8: Verifying Checksum [2022-09-27T04:05:05.544Z] bde34c3a00c8: Download complete [2022-09-27T04:05:05.544Z] b352a97aabf1: Verifying Checksum [2022-09-27T04:05:05.544Z] b352a97aabf1: Download complete [2022-09-27T04:05:05.803Z] 4872d77fe225: Verifying Checksum [2022-09-27T04:05:05.803Z] 4872d77fe225: Download complete [2022-09-27T04:05:05.803Z] 5851b861e8e6: Verifying Checksum [2022-09-27T04:05:05.803Z] 5851b861e8e6: Download complete [2022-09-27T04:05:05.803Z] b85a868b505f: Download complete [2022-09-27T04:05:06.062Z] bab4dde63d76: Verifying Checksum [2022-09-27T04:05:06.062Z] bab4dde63d76: Download complete [2022-09-27T04:05:06.996Z] b85a868b505f: Pull complete [2022-09-27T04:05:06.996Z] e2be974225ed: Pull complete [2022-09-27T04:05:07.563Z] 339a4e72a1f5: Pull complete [2022-09-27T04:05:07.563Z] 988bab9f4d93: Pull complete [2022-09-27T04:05:07.821Z] 1469e6f7b9e6: Pull complete [2022-09-27T04:05:07.821Z] eaf3925da568: Pull complete [2022-09-27T04:05:09.722Z] bab4dde63d76: Pull complete [2022-09-27T04:05:09.722Z] bde34c3a00c8: Pull complete [2022-09-27T04:05:09.722Z] b352a97aabf1: Pull complete [2022-09-27T04:05:09.722Z] 4872d77fe225: Pull complete [2022-09-27T04:05:09.722Z] 5851b861e8e6: Pull complete [2022-09-27T04:05:09.722Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T04:05:09.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T04:05:09.722Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T04:05:09.941Z] prd-ubuntu20.04-docker-8c-8g-1298 does not seem to be running inside a container [2022-09-27T04:05:09.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1217 -v /w/workspace/gexfoundry_device-sdk-go_PR-1217:/w/workspace/gexfoundry_device-sdk-go_PR-1217:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1217@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T04:05:11.440Z] $ docker top 67dfa35ee74e291bd0a0b598bfeb5aabb414e80585dbca8982b77926cc97bc71 -eo pid,comm [2022-09-27T04:05:11.507Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-27T04:05:11.507Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T04:05:11.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T04:05:11.632Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T04:05:11.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T04:05:11.726Z] $ docker exec 67dfa35ee74e291bd0a0b598bfeb5aabb414e80585dbca8982b77926cc97bc71 ssh-agent [2022-09-27T04:05:11.851Z] SSH_AUTH_SOCK=/tmp/ssh-V48RhbaN2ck4/agent.32 [2022-09-27T04:05:11.851Z] SSH_AGENT_PID=38 [2022-09-27T04:05:11.858Z] Running ssh-add (command line suppressed) [2022-09-27T04:05:11.945Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp/private_key_14693825428644834440.key (/w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp/private_key_14693825428644834440.key) [2022-09-27T04:05:11.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T04:05:12.301Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T04:05:12.315Z] $ docker exec --env ******** --env ******** 67dfa35ee74e291bd0a0b598bfeb5aabb414e80585dbca8982b77926cc97bc71 ssh-agent -k [2022-09-27T04:05:12.416Z] unset SSH_AUTH_SOCK; [2022-09-27T04:05:12.416Z] unset SSH_AGENT_PID; [2022-09-27T04:05:12.416Z] echo Agent pid 38 killed; [2022-09-27T04:05:12.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T04:05:12.525Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T04:05:12.525Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T04:05:12.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T04:05:12.635Z] $ docker exec 67dfa35ee74e291bd0a0b598bfeb5aabb414e80585dbca8982b77926cc97bc71 ssh-agent [2022-09-27T04:05:12.747Z] SSH_AUTH_SOCK=/tmp/ssh-QdszkZyHLhl4/agent.70 [2022-09-27T04:05:12.747Z] SSH_AGENT_PID=76 [2022-09-27T04:05:12.751Z] Running ssh-add (command line suppressed) [2022-09-27T04:05:12.839Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp/private_key_2679634775505567860.key (/w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp/private_key_2679634775505567860.key) [2022-09-27T04:05:12.864Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T04:05:13.185Z] + git semver init [2022-09-27T04:05:13.444Z] 2022-09-27 04:05:13,354 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T04:05:13.444Z] 2022-09-27 04:05:13,355 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1217/.semver [2022-09-27T04:05:13.444Z] 2022-09-27 04:05:13,356 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1217/.semver [2022-09-27T04:05:13.444Z] 2022-09-27 04:05:13,356 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1217/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1217, universal_newlines=False, shell=None, istream=None) [2022-09-27T04:05:14.382Z] 2022-09-27 04:05:14,364 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1217/.git/info/exclude [2022-09-27T04:05:14.382Z] 2022-09-27 04:05:14,365 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1217/.semver/PR-1217 with force:False [2022-09-27T04:05:14.382Z] 2022-09-27 04:05:14,366 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1217/.semver/PR-1217 [2022-09-27T04:05:14.642Z] 2022-09-27 04:05:14,371 [execute] INFO git cat-file --batch-check [2022-09-27T04:05:14.642Z] 2022-09-27 04:05:14,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1217/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T04:05:14.642Z] 2022-09-27 04:05:14,378 [execute] INFO git cat-file --batch [2022-09-27T04:05:14.642Z] 2022-09-27 04:05:14,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1217/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T04:05:14.642Z] 2022-09-27 04:05:14,383 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1217/.semver/PR-1217 [2022-09-27T04:05:14.642Z] 0.0.0 [Pipeline] } [2022-09-27T04:05:14.657Z] $ docker exec --env ******** --env ******** 67dfa35ee74e291bd0a0b598bfeb5aabb414e80585dbca8982b77926cc97bc71 ssh-agent -k [2022-09-27T04:05:14.753Z] unset SSH_AUTH_SOCK; [2022-09-27T04:05:14.753Z] unset SSH_AGENT_PID; [2022-09-27T04:05:14.753Z] echo Agent pid 76 killed; [2022-09-27T04:05:14.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T04:05:15.210Z] + git semver [Pipeline] } [2022-09-27T04:05:15.482Z] $ docker stop --time=1 67dfa35ee74e291bd0a0b598bfeb5aabb414e80585dbca8982b77926cc97bc71 [2022-09-27T04:05:16.808Z] $ docker rm -f 67dfa35ee74e291bd0a0b598bfeb5aabb414e80585dbca8982b77926cc97bc71 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T04:05:17.223Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T04:05:17.442Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T04:05:17.458Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T04:05:18.016Z] provisioning config files... [2022-09-27T04:05:18.026Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp/config10196340126173129450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:05:18.373Z] ---> docker-login.sh [2022-09-27T04:05:18.373Z] nexus3.edgexfoundry.org:10001 [2022-09-27T04:05:18.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:18.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:18.373Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:18.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:18.373Z] [2022-09-27T04:05:18.373Z] Login Succeeded [2022-09-27T04:05:18.373Z] nexus3.edgexfoundry.org:10002 [2022-09-27T04:05:18.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:18.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:18.373Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:18.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:18.373Z] [2022-09-27T04:05:18.373Z] Login Succeeded [2022-09-27T04:05:18.373Z] nexus3.edgexfoundry.org:10003 [2022-09-27T04:05:18.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:18.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:18.633Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:18.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:18.633Z] [2022-09-27T04:05:18.633Z] Login Succeeded [2022-09-27T04:05:18.633Z] nexus3.edgexfoundry.org:10004 [2022-09-27T04:05:18.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:18.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:18.633Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:18.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:18.633Z] [2022-09-27T04:05:18.633Z] Login Succeeded [2022-09-27T04:05:18.633Z] docker.io [2022-09-27T04:05:18.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:05:19.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:05:19.151Z] Configure a credential helper to remove this warning. See [2022-09-27T04:05:19.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:05:19.151Z] [2022-09-27T04:05:19.151Z] Login Succeeded [2022-09-27T04:05:19.151Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T04:05:19.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T04:05:19.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T04:05:19.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T04:05:19.423Z] ========================================================= [2022-09-27T04:05:19.423Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T04:05:19.423Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:05:19.886Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T04:05:19.886Z] Sending build context to Docker daemon 9.895MB [2022-09-27T04:05:19.886Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T04:05:19.886Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T04:05:19.886Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T04:05:19.886Z] 2408cc74d12b: Pulling fs layer [2022-09-27T04:05:19.886Z] ea60b727a1ce: Pulling fs layer [2022-09-27T04:05:19.886Z] 30c4a7721957: Pulling fs layer [2022-09-27T04:05:19.886Z] 370296b7ddb6: Pulling fs layer [2022-09-27T04:05:19.886Z] 7c6cee850709: Pulling fs layer [2022-09-27T04:05:19.886Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T04:05:19.886Z] d94ebbe4e438: Pulling fs layer [2022-09-27T04:05:19.886Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T04:05:19.886Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T04:05:19.886Z] 59ccb84bbe0f: Waiting [2022-09-27T04:05:19.886Z] bcfd1f05c69d: Waiting [2022-09-27T04:05:19.886Z] 39a5fcdaea64: Waiting [2022-09-27T04:05:19.886Z] d94ebbe4e438: Waiting [2022-09-27T04:05:19.886Z] 7c6cee850709: Waiting [2022-09-27T04:05:19.886Z] 370296b7ddb6: Waiting [2022-09-27T04:05:19.886Z] 30c4a7721957: Verifying Checksum [2022-09-27T04:05:19.886Z] 30c4a7721957: Download complete [2022-09-27T04:05:19.886Z] ea60b727a1ce: Download complete [2022-09-27T04:05:20.153Z] 7c6cee850709: Verifying Checksum [2022-09-27T04:05:20.153Z] 7c6cee850709: Download complete [2022-09-27T04:05:20.153Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T04:05:20.153Z] 39a5fcdaea64: Download complete [2022-09-27T04:05:20.153Z] 2408cc74d12b: Download complete [2022-09-27T04:05:20.153Z] d94ebbe4e438: Download complete [2022-09-27T04:05:20.153Z] 2408cc74d12b: Pull complete [2022-09-27T04:05:20.424Z] ea60b727a1ce: Pull complete [2022-09-27T04:05:20.424Z] 30c4a7721957: Pull complete [2022-09-27T04:05:21.019Z] bcfd1f05c69d: Download complete [2022-09-27T04:05:21.019Z] 59ccb84bbe0f: Verifying Checksum [2022-09-27T04:05:21.019Z] 59ccb84bbe0f: Download complete [2022-09-27T04:05:21.019Z] 370296b7ddb6: Verifying Checksum [2022-09-27T04:05:21.019Z] 370296b7ddb6: Download complete [2022-09-27T04:05:24.307Z] 370296b7ddb6: Pull complete [2022-09-27T04:05:24.564Z] 7c6cee850709: Pull complete [2022-09-27T04:05:24.564Z] 39a5fcdaea64: Pull complete [2022-09-27T04:05:24.564Z] d94ebbe4e438: Pull complete [2022-09-27T04:05:26.462Z] bcfd1f05c69d: Pull complete [2022-09-27T04:05:27.398Z] 59ccb84bbe0f: Pull complete [2022-09-27T04:05:27.398Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T04:05:27.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T04:05:27.398Z] ---> a4fb48ad2a94 [2022-09-27T04:05:27.398Z] Step 3/11 : ARG MAKE=make build [2022-09-27T04:05:29.314Z] ---> Running in a8b6cc8eca45 [2022-09-27T04:05:29.314Z] Removing intermediate container a8b6cc8eca45 [2022-09-27T04:05:29.314Z] ---> dea92bf08292 [2022-09-27T04:05:29.314Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-27T04:05:29.314Z] ---> Running in f289316397f8 [2022-09-27T04:05:29.314Z] Removing intermediate container f289316397f8 [2022-09-27T04:05:29.314Z] ---> 244b62112160 [2022-09-27T04:05:29.314Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T04:05:29.314Z] ---> Running in 4afd27be539f [2022-09-27T04:05:29.314Z] Removing intermediate container 4afd27be539f [2022-09-27T04:05:29.314Z] ---> ae6c6256a3ba [2022-09-27T04:05:29.314Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T04:05:29.575Z] ---> Running in 11a120191588 [2022-09-27T04:05:30.164Z] Removing intermediate container 11a120191588 [2022-09-27T04:05:30.164Z] ---> b548a804c356 [2022-09-27T04:05:30.164Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T04:05:30.421Z] ---> Running in ec0ed5402d12 [2022-09-27T04:05:30.679Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T04:05:31.614Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T04:05:31.873Z] OK: 211 MiB in 51 packages [2022-09-27T04:05:32.441Z] Removing intermediate container ec0ed5402d12 [2022-09-27T04:05:32.441Z] ---> ac347fd45817 [2022-09-27T04:05:32.441Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T04:05:32.441Z] ---> e2c123e33162 [2022-09-27T04:05:32.441Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T04:05:32.441Z] ---> Running in 172e3be2504f [2022-09-27T04:05:32.858Z] Still waiting to schedule task [2022-09-27T04:05:32.858Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-27T04:05:50.533Z] Removing intermediate container 172e3be2504f [2022-09-27T04:05:50.533Z] ---> c7e9f3187332 [2022-09-27T04:05:50.533Z] Step 10/11 : COPY . . [2022-09-27T04:05:50.533Z] ---> 385c133cee2a [2022-09-27T04:05:50.533Z] Step 11/11 : RUN ${MAKE} [2022-09-27T04:05:50.533Z] ---> Running in ed19dd7279a3 [2022-09-27T04:05:50.533Z] noop [2022-09-27T04:05:50.533Z] Removing intermediate container ed19dd7279a3 [2022-09-27T04:05:50.533Z] ---> d3a9e0ca2af3 [2022-09-27T04:05:50.533Z] Successfully built d3a9e0ca2af3 [2022-09-27T04:05:50.533Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:05:50.967Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T04:05:50.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T04:05:51.108Z] prd-ubuntu20.04-docker-8c-8g-1298 does not seem to be running inside a container [2022-09-27T04:05:51.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1217 -v /w/workspace/gexfoundry_device-sdk-go_PR-1217:/w/workspace/gexfoundry_device-sdk-go_PR-1217:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T04:05:51.504Z] $ docker top 5a4865f2a00913a13046622a25514c7416b27f1c7c4c0e716f65e856663904cd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T04:05:51.890Z] + go version [2022-09-27T04:05:51.891Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T04:05:51.927Z] $ docker stop --time=1 5a4865f2a00913a13046622a25514c7416b27f1c7c4c0e716f65e856663904cd [2022-09-27T04:05:53.208Z] $ docker rm -f 5a4865f2a00913a13046622a25514c7416b27f1c7c4c0e716f65e856663904cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:05:53.891Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T04:05:53.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T04:05:54.030Z] prd-ubuntu20.04-docker-8c-8g-1298 does not seem to be running inside a container [2022-09-27T04:05:54.068Z] $ 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-1217 -v /w/workspace/gexfoundry_device-sdk-go_PR-1217:/w/workspace/gexfoundry_device-sdk-go_PR-1217:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T04:05:54.456Z] $ docker top bc34759170e6d0a1d4552de149ce5d73ef05ab4b0fb459a0cb0ef67a9da429a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T04:05:54.843Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1217 [Pipeline] fileExists [Pipeline] sh [2022-09-27T04:05:55.194Z] + make test [2022-09-27T04:05:55.194Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-27T04:06:01.754Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-27T04:06:13.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2022-09-27T04:06:13.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.090s coverage: 78.9% of statements [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-27T04:06:13.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.085s coverage: 60.0% of statements [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-27T04:06:13.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 54.4% of statements [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-27T04:06:13.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 65.1% of statements [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-27T04:06:13.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.735s coverage: 89.2% of statements [2022-09-27T04:06:13.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-27T04:06:14.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 4.5% of statements [2022-09-27T04:06:14.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-27T04:06:29.069Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-27T04:06:29.069Z] GO111MODULE=on go vet ./... [2022-09-27T04:06:30.964Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T04:06:30.964Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T04:06:31.222Z] ./bin/test-attribution-txt.sh [2022-09-27T04:06:31.222Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-27T04:06:31.222Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T04:06:31.222Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T04:06:31.222Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T04:06:31.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T04:06:31.317Z] $ docker stop --time=1 bc34759170e6d0a1d4552de149ce5d73ef05ab4b0fb459a0cb0ef67a9da429a3 [2022-09-27T04:06:33.765Z] $ docker rm -f bc34759170e6d0a1d4552de149ce5d73ef05ab4b0fb459a0cb0ef67a9da429a3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T04:06:34.349Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T04:06:34.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T04:06:35.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T04:06:35.383Z] + ls -al . [2022-09-27T04:06:35.383Z] total 276 [2022-09-27T04:06:35.383Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 04:05 . [2022-09-27T04:06:35.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 04:04 .. [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 04:04 .dockerignore [2022-09-27T04:06:35.383Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 04:06 .git [2022-09-27T04:06:35.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 04:04 .github [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 04:04 .gitignore [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 04:04 .golangci.yml [2022-09-27T04:06:35.383Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 04:05 .semver [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 04:04 CHANGELOG.md [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 04:04 GOVERNANCE.md [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 04:04 Jenkinsfile [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 04:04 LICENSE [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 04:04 Makefile [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 04:04 OWNERS.md [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 04:04 README.md [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 04:05 VERSION [2022-09-27T04:06:35.383Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 04:04 bin [2022-09-27T04:06:35.383Z] -rw-r--r-- 1 jenkins jenkins 101794 Sep 27 04:06 coverage.out [2022-09-27T04:06:35.383Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 04:04 example [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 04:04 go.mod [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 27 04:04 go.sum [2022-09-27T04:06:35.383Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 04:04 internal [2022-09-27T04:06:35.383Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 04:04 openapi [2022-09-27T04:06:35.383Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 04:04 pkg [2022-09-27T04:06:35.383Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 04:04 snap [2022-09-27T04:06:35.383Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:06:35.759Z] + 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=9f3abd28f04482202d07f3525adb1eefb94cf97a --label arch=amd64 --label version=0.0.0 . [2022-09-27T04:06:35.759Z] Sending build context to Docker daemon 9.998MB [2022-09-27T04:06:35.759Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T04:06:35.759Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T04:06:35.759Z] ---> d3a9e0ca2af3 [2022-09-27T04:06:35.759Z] Step 3/25 : ARG MAKE=make build [2022-09-27T04:06:35.759Z] ---> Running in 0a28948181f3 [2022-09-27T04:06:36.019Z] Removing intermediate container 0a28948181f3 [2022-09-27T04:06:36.019Z] ---> 47e81d54ff47 [2022-09-27T04:06:36.019Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-27T04:06:36.019Z] ---> Running in b3752b62c727 [2022-09-27T04:06:36.019Z] Removing intermediate container b3752b62c727 [2022-09-27T04:06:36.019Z] ---> 0f28d503e2af [2022-09-27T04:06:36.019Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T04:06:36.019Z] ---> Running in 2e4e39e92cb1 [2022-09-27T04:06:36.279Z] Removing intermediate container 2e4e39e92cb1 [2022-09-27T04:06:36.279Z] ---> 00a6015499f1 [2022-09-27T04:06:36.279Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T04:06:36.279Z] ---> Running in 8c9c5e6ad335 [2022-09-27T04:06:36.847Z] Removing intermediate container 8c9c5e6ad335 [2022-09-27T04:06:36.847Z] ---> 9d0ce89335af [2022-09-27T04:06:36.847Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T04:06:36.847Z] ---> Running in db713eb8c3ce [2022-09-27T04:06:37.106Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T04:06:38.053Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T04:06:38.312Z] OK: 211 MiB in 51 packages [2022-09-27T04:06:38.571Z] Removing intermediate container db713eb8c3ce [2022-09-27T04:06:38.571Z] ---> 9e161476fe56 [2022-09-27T04:06:38.571Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-27T04:06:38.829Z] ---> f6a435b0c925 [2022-09-27T04:06:38.829Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T04:06:38.829Z] ---> Running in 8586879f2fd3 [2022-09-27T04:06:39.396Z] Removing intermediate container 8586879f2fd3 [2022-09-27T04:06:39.396Z] ---> 5b30f5b778a8 [2022-09-27T04:06:39.396Z] Step 10/25 : COPY . . [2022-09-27T04:06:39.963Z] ---> 8a628fef7f06 [2022-09-27T04:06:39.963Z] Step 11/25 : RUN ${MAKE} [2022-09-27T04:06:39.963Z] ---> Running in aa7040e3726e [2022-09-27T04:06:40.222Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-27T04:06:58.296Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-27T04:06:58.863Z] Removing intermediate container aa7040e3726e [2022-09-27T04:06:58.863Z] ---> f9bb3e797da4 [2022-09-27T04:06:58.863Z] Step 12/25 : FROM alpine:3.16 [2022-09-27T04:06:59.431Z] 3.16: Pulling from library/alpine [2022-09-27T04:06:59.689Z] 213ec9aee27d: Pulling fs layer [2022-09-27T04:06:59.949Z] 213ec9aee27d: Verifying Checksum [2022-09-27T04:06:59.949Z] 213ec9aee27d: Download complete [2022-09-27T04:06:59.949Z] 213ec9aee27d: Pull complete [2022-09-27T04:06:59.949Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T04:06:59.949Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T04:06:59.949Z] ---> 9c6f07244728 [2022-09-27T04:06:59.949Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T04:07:00.208Z] ---> Running in 08b7ce4e3a50 [2022-09-27T04:07:00.208Z] Removing intermediate container 08b7ce4e3a50 [2022-09-27T04:07:00.208Z] ---> 2579ed5f7dc1 [2022-09-27T04:07:00.208Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T04:07:00.208Z] ---> Running in a3198fff7a91 [2022-09-27T04:07:00.774Z] Removing intermediate container a3198fff7a91 [2022-09-27T04:07:00.774Z] ---> 395bec0c2809 [2022-09-27T04:07:00.775Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-27T04:07:00.775Z] ---> Running in 230f50e498de [2022-09-27T04:07:01.033Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T04:07:01.971Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T04:07:02.229Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T04:07:02.229Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-27T04:07:02.486Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T04:07:02.486Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-27T04:07:02.745Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-27T04:07:02.745Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T04:07:02.745Z] OK: 8 MiB in 19 packages [2022-09-27T04:07:03.002Z] Removing intermediate container 230f50e498de [2022-09-27T04:07:03.002Z] ---> d2bd080efa74 [2022-09-27T04:07:03.002Z] Step 16/25 : WORKDIR / [2022-09-27T04:07:03.261Z] ---> Running in 940aab735386 [2022-09-27T04:07:03.261Z] Removing intermediate container 940aab735386 [2022-09-27T04:07:03.261Z] ---> 467e3b4559f8 [2022-09-27T04:07:03.261Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-27T04:07:03.519Z] ---> 5d96cbb91f28 [2022-09-27T04:07:03.519Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-27T04:07:03.777Z] ---> e42213916825 [2022-09-27T04:07:03.777Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-27T04:07:04.036Z] ---> 2a3c355b6423 [2022-09-27T04:07:04.036Z] Step 20/25 : EXPOSE 59999 [2022-09-27T04:07:04.036Z] ---> Running in 38cb33e8f546 [2022-09-27T04:07:04.036Z] Removing intermediate container 38cb33e8f546 [2022-09-27T04:07:04.036Z] ---> 462e4ac215a4 [2022-09-27T04:07:04.036Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-27T04:07:04.036Z] ---> Running in 0e015b35c11f [2022-09-27T04:07:04.295Z] Removing intermediate container 0e015b35c11f [2022-09-27T04:07:04.295Z] ---> 3bc41c3f039b [2022-09-27T04:07:04.295Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T04:07:04.295Z] ---> Running in e1054f3f56e0 [2022-09-27T04:07:04.295Z] Removing intermediate container e1054f3f56e0 [2022-09-27T04:07:04.295Z] ---> 9d0f9a29fd7a [2022-09-27T04:07:04.295Z] Step 23/25 : LABEL arch=amd64 [2022-09-27T04:07:04.295Z] ---> Running in 36b594e44f57 [2022-09-27T04:07:04.552Z] Removing intermediate container 36b594e44f57 [2022-09-27T04:07:04.552Z] ---> 0e2275416214 [2022-09-27T04:07:04.552Z] Step 24/25 : LABEL git_sha=9f3abd28f04482202d07f3525adb1eefb94cf97a [2022-09-27T04:07:04.552Z] ---> Running in 5c24dbce0b70 [2022-09-27T04:07:04.552Z] Removing intermediate container 5c24dbce0b70 [2022-09-27T04:07:04.552Z] ---> 3b2b3f75214e [2022-09-27T04:07:04.552Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T04:07:04.552Z] ---> Running in 8141be22f7ab [2022-09-27T04:07:04.810Z] Removing intermediate container 8141be22f7ab [2022-09-27T04:07:04.810Z] ---> 693c9a7b2531 [2022-09-27T04:07:04.810Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T04:07:04.810Z] Successfully built 693c9a7b2531 [2022-09-27T04:07:04.810Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:07:05.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T04:07:05.616Z] [2022-09-27T04:07:05.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:07:05.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T04:07:05.971Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T04:07:05.971Z] 5eb5b503b376: Pulling fs layer [2022-09-27T04:07:05.971Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T04:07:05.971Z] ec43610c2a17: Pulling fs layer [2022-09-27T04:07:05.971Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T04:07:05.971Z] 33b1e0a273af: Pulling fs layer [2022-09-27T04:07:05.971Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T04:07:05.971Z] 2f39f015ded8: Pulling fs layer [2022-09-27T04:07:05.971Z] 3a2ae6a8a46f: Waiting [2022-09-27T04:07:05.971Z] 33b1e0a273af: Waiting [2022-09-27T04:07:05.971Z] 5d3b04190fa2: Waiting [2022-09-27T04:07:05.971Z] 2f39f015ded8: Waiting [2022-09-27T04:07:05.971Z] 5c69ac0246d0: Verifying Checksum [2022-09-27T04:07:05.971Z] 5c69ac0246d0: Download complete [2022-09-27T04:07:05.971Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T04:07:05.971Z] 3a2ae6a8a46f: Download complete [2022-09-27T04:07:05.971Z] ec43610c2a17: Verifying Checksum [2022-09-27T04:07:05.971Z] ec43610c2a17: Download complete [2022-09-27T04:07:05.971Z] 33b1e0a273af: Verifying Checksum [2022-09-27T04:07:05.972Z] 33b1e0a273af: Download complete [2022-09-27T04:07:06.232Z] 5d3b04190fa2: Verifying Checksum [2022-09-27T04:07:06.232Z] 5d3b04190fa2: Download complete [2022-09-27T04:07:06.232Z] 5eb5b503b376: Download complete [2022-09-27T04:07:06.797Z] 2f39f015ded8: Verifying Checksum [2022-09-27T04:07:06.797Z] 2f39f015ded8: Download complete [2022-09-27T04:07:07.362Z] 5eb5b503b376: Pull complete [2022-09-27T04:07:07.362Z] 5c69ac0246d0: Pull complete [2022-09-27T04:07:07.927Z] ec43610c2a17: Pull complete [2022-09-27T04:07:07.927Z] 3a2ae6a8a46f: Pull complete [2022-09-27T04:07:08.185Z] 33b1e0a273af: Pull complete [2022-09-27T04:07:08.185Z] 5d3b04190fa2: Pull complete [2022-09-27T04:07:12.366Z] 2f39f015ded8: Pull complete [2022-09-27T04:07:12.366Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T04:07:12.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T04:07:12.366Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T04:07:12.578Z] prd-ubuntu20.04-docker-8c-8g-1298 does not seem to be running inside a container [2022-09-27T04:07:12.613Z] $ 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-1217 -v /w/workspace/gexfoundry_device-sdk-go_PR-1217:/w/workspace/gexfoundry_device-sdk-go_PR-1217:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1217@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-09-27T04:07:14.336Z] $ docker top 1bc818a18e4bb29aad266deee3b5c1c038722c224e2ca58bd773742b950584af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:07:14.783Z] ---> job-cost.sh [2022-09-27T04:07:14.783Z] lf-activate-venv: SKIPPING [2022-09-27T04:07:14.783Z] INFO: No Stack... [2022-09-27T04:07:15.042Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T04:07:15.608Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T04:07:15.920Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1217/archives/cost.csv [2022-09-27T04:07:15.920Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T04:07:15.957Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1217-1-stack-cost] [2022-09-27T04:07:15.961Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1217-1-stack-cost] did not exist. Created. [2022-09-27T04:07:15.961Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T04:07:16.337Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T04:07:16.387Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T04:07:16.411Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T04:07:16.498Z] $ docker stop --time=1 1bc818a18e4bb29aad266deee3b5c1c038722c224e2ca58bd773742b950584af [2022-09-27T04:07:17.683Z] $ docker rm -f 1bc818a18e4bb29aad266deee3b5c1c038722c224e2ca58bd773742b950584af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T04:07:55.817Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1300 in /w/workspace/gexfoundry_device-sdk-go_PR-1217 [Pipeline] { [Pipeline] ws [2022-09-27T04:07:55.857Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-09-27T04:07:55.938Z] The recommended git tool is: git [2022-09-27T04:08:01.460Z] using credential edgex-jenkins-ssh [2022-09-27T04:08:01.478Z] Cloning the remote Git repository [2022-09-27T04:08:01.525Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T04:08:01.608Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-09-27T04:08:01.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T04:08:01.786Z] > git --version # timeout=10 [2022-09-27T04:08:01.806Z] > git --version # 'git version 2.25.1' [2022-09-27T04:08:01.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T04:08:01.849Z] Verifying host key using known hosts file [2022-09-27T04:08:02.029Z] 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-09-27T04:08:02.042Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T04:08:03.626Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-27T04:08:03.653Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T04:08:04.499Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-27T04:08:04.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-27T04:08:04.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T04:08:04.559Z] Verifying host key using known hosts file [2022-09-27T04:08:04.566Z] 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-09-27T04:08:04.579Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1217/head:refs/remotes/origin/PR-1217 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T04:08:05.151Z] Merging remotes/origin/main commit c582db119472e089660f4546ea857b2fbcd79f76 into PR head commit 9f3abd28f04482202d07f3525adb1eefb94cf97a [2022-09-27T04:08:05.424Z] Merge succeeded, producing 9f3abd28f04482202d07f3525adb1eefb94cf97a [2022-09-27T04:08:05.424Z] Checking out Revision 9f3abd28f04482202d07f3525adb1eefb94cf97a (PR-1217) [2022-09-27T04:08:05.976Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-09-27T04:08:06.024Z] > git --version # timeout=10 [2022-09-27T04:08:06.035Z] > git --version # 'git version 2.25.1' [2022-09-27T04:08:06.051Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T04:08:05.171Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T04:08:05.191Z] > git checkout -f 9f3abd28f04482202d07f3525adb1eefb94cf97a # timeout=10 [2022-09-27T04:08:05.316Z] > git remote # timeout=10 [2022-09-27T04:08:05.343Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T04:08:05.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T04:08:05.363Z] Verifying host key using known hosts file [2022-09-27T04:08:05.367Z] 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-09-27T04:08:05.376Z] > git merge c582db119472e089660f4546ea857b2fbcd79f76 # timeout=10 [2022-09-27T04:08:05.402Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T04:08:05.428Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T04:08:05.448Z] > git checkout -f 9f3abd28f04482202d07f3525adb1eefb94cf97a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T04:08:07.201Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T04:08:07.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T04:08:07.201Z] Dload Upload Total Spent Left Speed [2022-09-27T04:08:07.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-09-27T04:08:07.888Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T04:08:08.234Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T04:08:08.234Z] + sudo tee /etc/docker/daemon.new [2022-09-27T04:08:08.234Z] { [2022-09-27T04:08:08.234Z] "registry-mirrors": [ [2022-09-27T04:08:08.234Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T04:08:08.234Z] ], [2022-09-27T04:08:08.234Z] "bip": "10.250.0.254/24", [2022-09-27T04:08:08.234Z] "hosts": [ [2022-09-27T04:08:08.234Z] "tcp://0.0.0.0:5555", [2022-09-27T04:08:08.234Z] "unix:///var/run/docker.sock" [2022-09-27T04:08:08.234Z] ], [2022-09-27T04:08:08.234Z] "mtu": 1458, [2022-09-27T04:08:08.234Z] "selinux-enabled": true, [2022-09-27T04:08:08.234Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T04:08:08.234Z] } [Pipeline] sh [2022-09-27T04:08:08.583Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T04:08:08.926Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T04:08:27.244Z] provisioning config files... [2022-09-27T04:08:27.269Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9235363296172739144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:08:27.648Z] ---> docker-login.sh [2022-09-27T04:08:27.648Z] nexus3.edgexfoundry.org:10001 [2022-09-27T04:08:27.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:08:28.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:08:28.184Z] Configure a credential helper to remove this warning. See [2022-09-27T04:08:28.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:08:28.184Z] [2022-09-27T04:08:28.184Z] Login Succeeded [2022-09-27T04:08:28.184Z] nexus3.edgexfoundry.org:10002 [2022-09-27T04:08:28.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:08:28.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:08:28.604Z] Configure a credential helper to remove this warning. See [2022-09-27T04:08:28.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:08:28.604Z] [2022-09-27T04:08:28.604Z] Login Succeeded [2022-09-27T04:08:28.604Z] nexus3.edgexfoundry.org:10003 [2022-09-27T04:08:28.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:08:28.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:08:28.877Z] Configure a credential helper to remove this warning. See [2022-09-27T04:08:28.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:08:28.877Z] [2022-09-27T04:08:28.877Z] Login Succeeded [2022-09-27T04:08:28.877Z] nexus3.edgexfoundry.org:10004 [2022-09-27T04:08:29.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:08:29.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:08:29.144Z] Configure a credential helper to remove this warning. See [2022-09-27T04:08:29.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:08:29.144Z] [2022-09-27T04:08:29.144Z] Login Succeeded [2022-09-27T04:08:29.144Z] docker.io [2022-09-27T04:08:29.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T04:08:29.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T04:08:29.999Z] Configure a credential helper to remove this warning. See [2022-09-27T04:08:29.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T04:08:29.999Z] [2022-09-27T04:08:29.999Z] Login Succeeded [2022-09-27T04:08:29.999Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T04:08:30.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T04:08:30.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T04:08:30.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T04:08:30.400Z] ========================================================= [2022-09-27T04:08:30.400Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T04:08:30.400Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:08:30.896Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T04:08:31.165Z] Sending build context to Docker daemon 5.315MB [2022-09-27T04:08:31.165Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T04:08:31.165Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-27T04:08:31.434Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T04:08:31.434Z] b3c136eddcbf: Pulling fs layer [2022-09-27T04:08:31.434Z] c0a3192eca97: Pulling fs layer [2022-09-27T04:08:31.434Z] a050256f5b6f: Pulling fs layer [2022-09-27T04:08:31.434Z] 656be50a0ddc: Pulling fs layer [2022-09-27T04:08:31.434Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T04:08:31.434Z] 46d945488cbd: Pulling fs layer [2022-09-27T04:08:31.434Z] 8a5474983e97: Pulling fs layer [2022-09-27T04:08:31.434Z] 329c88fbcd65: Pulling fs layer [2022-09-27T04:08:31.434Z] 656be50a0ddc: Waiting [2022-09-27T04:08:31.434Z] 2bbca73fdf42: Waiting [2022-09-27T04:08:31.434Z] 46d945488cbd: Waiting [2022-09-27T04:08:31.434Z] 329c88fbcd65: Waiting [2022-09-27T04:08:31.434Z] 8a5474983e97: Waiting [2022-09-27T04:08:31.434Z] a050256f5b6f: Verifying Checksum [2022-09-27T04:08:31.434Z] a050256f5b6f: Download complete [2022-09-27T04:08:31.434Z] c0a3192eca97: Download complete [2022-09-27T04:08:31.434Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T04:08:31.434Z] 2bbca73fdf42: Download complete [2022-09-27T04:08:31.434Z] 46d945488cbd: Verifying Checksum [2022-09-27T04:08:31.434Z] 46d945488cbd: Download complete [2022-09-27T04:08:31.434Z] b3c136eddcbf: Verifying Checksum [2022-09-27T04:08:31.434Z] b3c136eddcbf: Download complete [2022-09-27T04:08:32.409Z] b3c136eddcbf: Pull complete [2022-09-27T04:08:32.678Z] 329c88fbcd65: Verifying Checksum [2022-09-27T04:08:32.678Z] 329c88fbcd65: Download complete [2022-09-27T04:08:32.949Z] c0a3192eca97: Pull complete [2022-09-27T04:08:33.228Z] a050256f5b6f: Pull complete [2022-09-27T04:08:33.497Z] 8a5474983e97: Verifying Checksum [2022-09-27T04:08:33.497Z] 8a5474983e97: Download complete [2022-09-27T04:08:34.165Z] 656be50a0ddc: Download complete [2022-09-27T04:08:46.492Z] 656be50a0ddc: Pull complete [2022-09-27T04:08:46.492Z] 2bbca73fdf42: Pull complete [2022-09-27T04:08:46.492Z] 46d945488cbd: Pull complete [2022-09-27T04:08:53.170Z] 8a5474983e97: Pull complete [2022-09-27T04:08:54.585Z] 329c88fbcd65: Pull complete [2022-09-27T04:08:54.585Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T04:08:54.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T04:08:54.585Z] ---> ff4287adb874 [2022-09-27T04:08:54.585Z] Step 3/11 : ARG MAKE=make build [2022-09-27T04:08:56.543Z] ---> Running in 253f04b7aa7a [2022-09-27T04:08:56.543Z] Removing intermediate container 253f04b7aa7a [2022-09-27T04:08:56.543Z] ---> e2e2e87fefd3 [2022-09-27T04:08:56.543Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-27T04:08:56.816Z] ---> Running in eb8b75c3254c [2022-09-27T04:08:57.085Z] Removing intermediate container eb8b75c3254c [2022-09-27T04:08:57.085Z] ---> 0627fbbaaf6f [2022-09-27T04:08:57.085Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T04:08:57.085Z] ---> Running in d305c84d12c5 [2022-09-27T04:08:57.352Z] Removing intermediate container d305c84d12c5 [2022-09-27T04:08:57.352Z] ---> 092c49239c11 [2022-09-27T04:08:57.352Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T04:08:57.623Z] ---> Running in aff8dbe737d1 [2022-09-27T04:08:59.570Z] Removing intermediate container aff8dbe737d1 [2022-09-27T04:08:59.570Z] ---> 44e295e81eed [2022-09-27T04:08:59.570Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T04:08:59.570Z] ---> Running in 026397f1c28a [2022-09-27T04:09:00.531Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T04:09:01.116Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T04:09:02.085Z] OK: 221 MiB in 51 packages [2022-09-27T04:09:03.053Z] Removing intermediate container 026397f1c28a [2022-09-27T04:09:03.053Z] ---> e968d9ebf86a [2022-09-27T04:09:03.053Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-27T04:09:03.651Z] ---> 6ddcb539b14b [2022-09-27T04:09:03.651Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T04:09:03.651Z] ---> Running in cfa7978c569b [2022-09-27T04:10:00.078Z] Removing intermediate container cfa7978c569b [2022-09-27T04:10:00.078Z] ---> c40a3445c88c [2022-09-27T04:10:00.078Z] Step 10/11 : COPY . . [2022-09-27T04:10:00.078Z] ---> 412060eea4d6 [2022-09-27T04:10:00.078Z] Step 11/11 : RUN ${MAKE} [2022-09-27T04:10:00.078Z] ---> Running in dc95e9a81d3b [2022-09-27T04:10:00.078Z] noop [2022-09-27T04:10:00.078Z] Removing intermediate container dc95e9a81d3b [2022-09-27T04:10:00.078Z] ---> ecd9daa218c6 [2022-09-27T04:10:00.078Z] Successfully built ecd9daa218c6 [2022-09-27T04:10:00.078Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:10:00.553Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T04:10:00.553Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T04:10:00.812Z] prd-ubuntu20.04-docker-arm64-4c-16g-1300 does not seem to be running inside a container [2022-09-27T04:10:00.886Z] $ 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-09-27T04:10:02.125Z] $ docker top 86415dd6edb1be3602a16887411e360c6854138f922061dc7e4abb04d79e93db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T04:10:02.999Z] + go version [2022-09-27T04:10:02.999Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T04:10:03.035Z] $ docker stop --time=1 86415dd6edb1be3602a16887411e360c6854138f922061dc7e4abb04d79e93db [2022-09-27T04:10:04.663Z] $ docker rm -f 86415dd6edb1be3602a16887411e360c6854138f922061dc7e4abb04d79e93db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:10:05.508Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T04:10:05.508Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T04:10:05.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-1300 does not seem to be running inside a container [2022-09-27T04:10:05.826Z] $ 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-09-27T04:10:06.994Z] $ docker top fa4ce787da7482881fa45d08c92b38c26cf2f59944270e1672c53fde19918f35 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T04:10:07.866Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-27T04:10:08.577Z] + make test [2022-09-27T04:10:08.577Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-27T04:10:40.808Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-27T04:12:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-27T04:12:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-27T04:12:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-27T04:12:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-27T04:12:47.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-27T04:12:49.457Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.445s coverage: 27.6% of statements [2022-09-27T04:12:52.823Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.763s coverage: 78.9% of statements [2022-09-27T04:12:52.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-27T04:12:55.429Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.370s coverage: 60.0% of statements [2022-09-27T04:12:55.429Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-27T04:12:55.429Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-27T04:13:03.672Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.593s coverage: 54.4% of statements [2022-09-27T04:13:03.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-27T04:13:03.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-27T04:13:03.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-27T04:13:03.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-27T04:13:03.672Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.467s coverage: 65.1% of statements [2022-09-27T04:13:03.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-27T04:13:03.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-27T04:13:03.672Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.855s coverage: 89.2% of statements [2022-09-27T04:13:03.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-27T04:13:05.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.303s coverage: 4.5% of statements [2022-09-27T04:13:05.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-27T04:13:06.054Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T04:13:06.054Z] GO111MODULE=on go vet ./... [2022-09-27T04:14:57.752Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T04:14:57.752Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T04:14:57.752Z] ./bin/test-attribution-txt.sh [2022-09-27T04:14:57.752Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-27T04:14:57.752Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-27T04:14:57.752Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-27T04:14:57.752Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-27T04:14:57.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T04:14:57.817Z] $ docker stop --time=1 fa4ce787da7482881fa45d08c92b38c26cf2f59944270e1672c53fde19918f35 [2022-09-27T04:14:59.577Z] $ docker rm -f fa4ce787da7482881fa45d08c92b38c26cf2f59944270e1672c53fde19918f35 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T04:15:01.024Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T04:15:01.056Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T04:15:01.547Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T04:15:02.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T04:15:02.508Z] + ls -al . [2022-09-27T04:15:02.508Z] total 272 [2022-09-27T04:15:02.508Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 04:10 . [2022-09-27T04:15:02.508Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 04:08 .. [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 04:08 .dockerignore [2022-09-27T04:15:02.508Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 04:08 .git [2022-09-27T04:15:02.508Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 04:08 .github [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 04:08 .gitignore [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 04:08 .golangci.yml [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 04:08 CHANGELOG.md [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 04:08 GOVERNANCE.md [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 04:08 Jenkinsfile [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 04:08 LICENSE [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 04:08 Makefile [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 04:08 OWNERS.md [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 04:08 README.md [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 04:05 VERSION [2022-09-27T04:15:02.508Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 04:08 bin [2022-09-27T04:15:02.508Z] -rw-r--r-- 1 jenkins jenkins 101794 Sep 27 04:13 coverage.out [2022-09-27T04:15:02.508Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 04:08 example [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 04:08 go.mod [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 37486 Sep 27 04:08 go.sum [2022-09-27T04:15:02.508Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 04:08 internal [2022-09-27T04:15:02.508Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 04:08 openapi [2022-09-27T04:15:02.508Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 04:08 pkg [2022-09-27T04:15:02.508Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 04:08 snap [2022-09-27T04:15:02.508Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:15:02.936Z] + 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=9f3abd28f04482202d07f3525adb1eefb94cf97a --label arch=arm64 --label version=0.0.0 . [2022-09-27T04:15:03.206Z] Sending build context to Docker daemon 5.417MB [2022-09-27T04:15:03.206Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T04:15:03.206Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-27T04:15:03.206Z] ---> ecd9daa218c6 [2022-09-27T04:15:03.206Z] Step 3/25 : ARG MAKE=make build [2022-09-27T04:15:03.475Z] ---> Running in 9fcb3b3ac0ef [2022-09-27T04:15:03.743Z] Removing intermediate container 9fcb3b3ac0ef [2022-09-27T04:15:03.743Z] ---> 4379e0fc6a85 [2022-09-27T04:15:03.743Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-27T04:15:03.743Z] ---> Running in d766f0cdc082 [2022-09-27T04:15:04.012Z] Removing intermediate container d766f0cdc082 [2022-09-27T04:15:04.012Z] ---> c3e04d0c45fe [2022-09-27T04:15:04.012Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T04:15:04.285Z] ---> Running in ff6805b473c8 [2022-09-27T04:15:04.554Z] Removing intermediate container ff6805b473c8 [2022-09-27T04:15:04.554Z] ---> 3d5d06af5e33 [2022-09-27T04:15:04.554Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T04:15:04.554Z] ---> Running in 54bf40be8951 [2022-09-27T04:15:06.506Z] Removing intermediate container 54bf40be8951 [2022-09-27T04:15:06.506Z] ---> ab0fa7ba569e [2022-09-27T04:15:06.506Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-27T04:15:06.506Z] ---> Running in 1e19320f871a [2022-09-27T04:15:07.094Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T04:15:08.057Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T04:15:09.019Z] OK: 221 MiB in 51 packages [2022-09-27T04:15:09.979Z] Removing intermediate container 1e19320f871a [2022-09-27T04:15:09.979Z] ---> 2fb4cf68d45f [2022-09-27T04:15:09.979Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-27T04:15:10.560Z] ---> 32e75d5d263c [2022-09-27T04:15:10.560Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T04:15:10.560Z] ---> Running in a0baba6b4d58 [2022-09-27T04:15:12.502Z] Removing intermediate container a0baba6b4d58 [2022-09-27T04:15:12.502Z] ---> 4b0b1a2a899a [2022-09-27T04:15:12.502Z] Step 10/25 : COPY . . [2022-09-27T04:15:13.463Z] ---> b20877453ff7 [2022-09-27T04:15:13.463Z] Step 11/25 : RUN ${MAKE} [2022-09-27T04:15:13.463Z] ---> Running in d3dfaec9eda5 [2022-09-27T04:15:14.423Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-27T04:17:36.115Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-27T04:17:36.115Z] Removing intermediate container d3dfaec9eda5 [2022-09-27T04:17:36.115Z] ---> 6f96dff8be62 [2022-09-27T04:17:36.115Z] Step 12/25 : FROM alpine:3.16 [2022-09-27T04:17:36.115Z] 3.16: Pulling from library/alpine [2022-09-27T04:17:36.115Z] 9b18e9b68314: Pulling fs layer [2022-09-27T04:17:36.115Z] 9b18e9b68314: Verifying Checksum [2022-09-27T04:17:36.115Z] 9b18e9b68314: Download complete [2022-09-27T04:17:36.115Z] 9b18e9b68314: Pull complete [2022-09-27T04:17:36.115Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T04:17:36.115Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T04:17:36.115Z] ---> a6215f271958 [2022-09-27T04:17:36.115Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-27T04:17:36.115Z] ---> Running in ced234a0f6da [2022-09-27T04:17:36.115Z] Removing intermediate container ced234a0f6da [2022-09-27T04:17:36.115Z] ---> 861e6dc87745 [2022-09-27T04:17:36.115Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T04:17:36.115Z] ---> Running in 9fdb0f09bb7f [2022-09-27T04:17:36.115Z] Removing intermediate container 9fdb0f09bb7f [2022-09-27T04:17:36.115Z] ---> 5e6abb7b3d8c [2022-09-27T04:17:36.115Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-27T04:17:36.115Z] ---> Running in a931e1bdb5dd [2022-09-27T04:17:36.115Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T04:17:36.115Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T04:17:36.115Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T04:17:36.115Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-27T04:17:36.115Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T04:17:36.115Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-27T04:17:36.115Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-27T04:17:36.115Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T04:17:36.115Z] OK: 8 MiB in 19 packages [2022-09-27T04:17:36.115Z] Removing intermediate container a931e1bdb5dd [2022-09-27T04:17:36.115Z] ---> ed243112b98a [2022-09-27T04:17:36.115Z] Step 16/25 : WORKDIR / [2022-09-27T04:17:36.382Z] ---> Running in 1f72e68a13e0 [2022-09-27T04:17:36.656Z] Removing intermediate container 1f72e68a13e0 [2022-09-27T04:17:36.656Z] ---> c630f441be1a [2022-09-27T04:17:36.656Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-27T04:17:36.921Z] ---> 5713a2c1180a [2022-09-27T04:17:36.921Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-27T04:17:38.978Z] ---> dacd34f58c38 [2022-09-27T04:17:38.978Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-27T04:17:39.249Z] ---> 3d24e207ca0f [2022-09-27T04:17:39.249Z] Step 20/25 : EXPOSE 59999 [2022-09-27T04:17:39.249Z] ---> Running in 6505007746f8 [2022-09-27T04:17:39.524Z] Removing intermediate container 6505007746f8 [2022-09-27T04:17:39.524Z] ---> 2ad349b20169 [2022-09-27T04:17:39.524Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-27T04:17:39.524Z] ---> Running in 5de246d2d82e [2022-09-27T04:17:39.794Z] Removing intermediate container 5de246d2d82e [2022-09-27T04:17:39.794Z] ---> a0c76881c1ad [2022-09-27T04:17:39.794Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T04:17:39.794Z] ---> Running in 8858a58092f9 [2022-09-27T04:17:40.067Z] Removing intermediate container 8858a58092f9 [2022-09-27T04:17:40.067Z] ---> 1d43aaf3074a [2022-09-27T04:17:40.067Z] Step 23/25 : LABEL arch=arm64 [2022-09-27T04:17:40.341Z] ---> Running in 879ef0ae74f0 [2022-09-27T04:17:40.614Z] Removing intermediate container 879ef0ae74f0 [2022-09-27T04:17:40.614Z] ---> 0bce4a027823 [2022-09-27T04:17:40.614Z] Step 24/25 : LABEL git_sha=9f3abd28f04482202d07f3525adb1eefb94cf97a [2022-09-27T04:17:40.614Z] ---> Running in a2a794df3c54 [2022-09-27T04:17:40.882Z] Removing intermediate container a2a794df3c54 [2022-09-27T04:17:40.882Z] ---> e83630f36503 [2022-09-27T04:17:40.882Z] Step 25/25 : LABEL version=0.0.0 [2022-09-27T04:17:40.882Z] ---> Running in 7411cebdffd9 [2022-09-27T04:17:41.146Z] Removing intermediate container 7411cebdffd9 [2022-09-27T04:17:41.146Z] ---> 6e1419fe6d5c [2022-09-27T04:17:41.146Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T04:17:41.146Z] Successfully built 6e1419fe6d5c [2022-09-27T04:17:41.146Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:17:41.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T04:17:41.921Z] [2022-09-27T04:17:41.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:17:42.327Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T04:17:42.327Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T04:17:42.327Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T04:17:42.327Z] 04944245beec: Pulling fs layer [2022-09-27T04:17:42.327Z] 699f458cf7ca: Pulling fs layer [2022-09-27T04:17:42.327Z] 765212b225bb: Pulling fs layer [2022-09-27T04:17:42.327Z] f23df028b6ca: Pulling fs layer [2022-09-27T04:17:42.327Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T04:17:42.327Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T04:17:42.327Z] f23df028b6ca: Waiting [2022-09-27T04:17:42.327Z] d65c8cfc05b1: Waiting [2022-09-27T04:17:42.327Z] 2437ff75d9bd: Waiting [2022-09-27T04:17:42.597Z] 04944245beec: Verifying Checksum [2022-09-27T04:17:42.597Z] 04944245beec: Download complete [2022-09-27T04:17:42.597Z] 765212b225bb: Verifying Checksum [2022-09-27T04:17:42.597Z] 765212b225bb: Download complete [2022-09-27T04:17:42.597Z] f23df028b6ca: Verifying Checksum [2022-09-27T04:17:42.597Z] f23df028b6ca: Download complete [2022-09-27T04:17:42.597Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T04:17:42.597Z] d65c8cfc05b1: Download complete [2022-09-27T04:17:42.866Z] 699f458cf7ca: Verifying Checksum [2022-09-27T04:17:42.866Z] 699f458cf7ca: Download complete [2022-09-27T04:17:43.136Z] 8998bd30e6a1: Download complete [2022-09-27T04:17:45.078Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T04:17:45.078Z] 2437ff75d9bd: Download complete [2022-09-27T04:17:47.014Z] 8998bd30e6a1: Pull complete [2022-09-27T04:17:47.014Z] 04944245beec: Pull complete [2022-09-27T04:17:48.415Z] 699f458cf7ca: Pull complete [2022-09-27T04:17:48.415Z] 765212b225bb: Pull complete [2022-09-27T04:17:48.996Z] f23df028b6ca: Pull complete [2022-09-27T04:17:49.261Z] d65c8cfc05b1: Pull complete [2022-09-27T04:18:01.553Z] 2437ff75d9bd: Pull complete [2022-09-27T04:18:01.553Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T04:18:01.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T04:18:01.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T04:18:01.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-1300 does not seem to be running inside a container [2022-09-27T04:18:01.921Z] $ 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-09-27T04:18:04.484Z] $ docker top 79c35dc20a841a4d76444e8b0d85c394359284b508823a62a42768b54e96eb73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:18:05.363Z] ---> job-cost.sh [2022-09-27T04:18:05.363Z] lf-activate-venv: SKIPPING [2022-09-27T04:18:05.363Z] INFO: No Stack... [2022-09-27T04:18:05.944Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T04:18:06.528Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T04:18:07.179Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-09-27T04:18:07.179Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T04:18:07.258Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1217-1-stack-cost] [2022-09-27T04:18:07.262Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1217-1-stack-cost] did not exist. Created. [2022-09-27T04:18:07.262Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T04:18:07.999Z] /w/workspace/device-sdk-go/1@tmp/durable-c4d13b3d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T04:18:08.351Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T04:18:08.393Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T04:18:08.448Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T04:18:08.463Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T04:18:08.539Z] $ docker stop --time=1 79c35dc20a841a4d76444e8b0d85c394359284b508823a62a42768b54e96eb73 [2022-09-27T04:18:10.058Z] $ docker rm -f 79c35dc20a841a4d76444e8b0d85c394359284b508823a62a42768b54e96eb73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-27T04:18:11.038Z] provisioning config files... [2022-09-27T04:18:11.046Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp/config682707334367110977tmp [Pipeline] { [Pipeline] sh [2022-09-27T04:18:11.375Z] + set +x [2022-09-27T04:18:11.375Z] + curl -s https://codecov.io/bash [2022-09-27T04:18:11.375Z] + bash -s -- [2022-09-27T04:18:11.375Z] [2022-09-27T04:18:11.375Z] _____ _ [2022-09-27T04:18:11.375Z] / ____| | | [2022-09-27T04:18:11.375Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T04:18:11.375Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T04:18:11.375Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T04:18:11.375Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T04:18:11.375Z] Bash-1.0.6 [2022-09-27T04:18:11.375Z] [2022-09-27T04:18:11.375Z] [2022-09-27T04:18:11.375Z] ==> git version 2.25.1 found [2022-09-27T04:18:11.375Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-27T04:18:11.375Z] Release-Date: 2020-01-08 [2022-09-27T04:18:11.375Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-27T04:18:11.376Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T04:18:11.376Z] ==> Jenkins CI detected. [2022-09-27T04:18:11.376Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1217 [2022-09-27T04:18:11.376Z] project root: . [2022-09-27T04:18:11.376Z] --> token set from env [2022-09-27T04:18:11.376Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T04:18:11.376Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T04:18:11.376Z] ==> Python coveragepy not found [2022-09-27T04:18:11.376Z] ==> Searching for coverage reports in: [2022-09-27T04:18:11.376Z] + . [2022-09-27T04:18:11.376Z] -> Found 1 reports [2022-09-27T04:18:11.376Z] ==> Detecting git/mercurial file structure [2022-09-27T04:18:11.635Z] ==> Reading reports [2022-09-27T04:18:11.635Z] + ./coverage.out bytes=101794 [2022-09-27T04:18:11.635Z] ==> Appending adjustments [2022-09-27T04:18:11.635Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T04:18:11.896Z] + Found adjustments [2022-09-27T04:18:11.896Z] ==> Gzipping contents [2022-09-27T04:18:11.896Z] 16K /tmp/codecov.RaI9Qn.gz [2022-09-27T04:18:11.896Z] ==> Uploading reports [2022-09-27T04:18:11.896Z] url: https://codecov.io [2022-09-27T04:18:11.896Z] query: branch=PR-1217&commit=9f3abd28f04482202d07f3525adb1eefb94cf97a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1217&job=&cmd_args= [2022-09-27T04:18:11.896Z] -> Pinging Codecov [2022-09-27T04:18:11.896Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1217&commit=9f3abd28f04482202d07f3525adb1eefb94cf97a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1217&job=&cmd_args= [2022-09-27T04:18:12.154Z] -> Uploading to [2022-09-27T04:18:12.154Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7E55EF52A471D76F132DFD9A03CDDE97/9f3abd28f04482202d07f3525adb1eefb94cf97a/3d3bad0a-c752-41c0-9bde-090f833c6d69.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T041811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=52c4565432d3428e56bad9b7f78a83b22c14c0400118c5d022127c8590adfc36 [2022-09-27T04:18:12.154Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T04:18:12.154Z] Dload Upload Total Spent Left Speed [2022-09-27T04:18:12.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14618 0 0 100 14618 0 60655 --:--:-- --:--:-- --:--:-- 60655 [2022-09-27T04:18:12.414Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9f3abd28f04482202d07f3525adb1eefb94cf97a [Pipeline] } [2022-09-27T04:18:12.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-27T04:18:14.230Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1217/archives ] [2022-09-27T04:18:14.230Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1217/archives [2022-09-27T04:18:14.230Z] total 16 [2022-09-27T04:18:14.230Z] drwxr-xr-x 3 root root 4096 Sep 27 04:07 . [2022-09-27T04:18:14.230Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 04:07 .. [2022-09-27T04:18:14.230Z] drwxr-xr-x 2 root root 4096 Sep 27 04:07 cost [2022-09-27T04:18:14.230Z] -rw-r--r-- 1 root root 86 Sep 27 04:07 cost.csv [2022-09-27T04:18:14.230Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1217/archives [2022-09-27T04:18:14.230Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1217/archives [2022-09-27T04:18:14.230Z] total 16 [2022-09-27T04:18:14.230Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 04:07 . [2022-09-27T04:18:14.230Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 04:07 .. [2022-09-27T04:18:14.230Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 04:07 cost [2022-09-27T04:18:14.230Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:18:14.558Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:18:15.446Z] ---> package-listing.sh [2022-09-27T04:18:15.446Z] ++ facter osfamily [2022-09-27T04:18:15.446Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T04:18:15.706Z] + OS_FAMILY=debian [2022-09-27T04:18:15.706Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1217 [2022-09-27T04:18:15.706Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T04:18:15.706Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T04:18:15.706Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T04:18:15.706Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T04:18:15.706Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1217 ']' [2022-09-27T04:18:15.706Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T04:18:15.706Z] + case "${OS_FAMILY}" in [2022-09-27T04:18:15.706Z] + dpkg -l [2022-09-27T04:18:15.706Z] + grep '^ii' [2022-09-27T04:18:15.706Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T04:18:15.706Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T04:18:15.706Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T04:18:15.706Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1217 ']' [2022-09-27T04:18:15.706Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1217/archives/ [2022-09-27T04:18:15.706Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1217/archives/ [Pipeline] echo [2022-09-27T04:18:15.740Z] 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-1217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T04:18:16.031Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T04:18:16.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T04:18:16.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T04:18:16.790Z] prd-ubuntu20.04-docker-8c-8g-1298 does not seem to be running inside a container [2022-09-27T04:18:16.838Z] $ 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-1217/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-1217 -v /w/workspace/gexfoundry_device-sdk-go_PR-1217:/w/workspace/gexfoundry_device-sdk-go_PR-1217:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1217@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T04:18:17.051Z] $ docker top 89c054d06d94c9f147f7a32eaca14c7c81175161e434011abeed4016ef75086c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T04:18:17.420Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T04:18:17.732Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T04:18:18.042Z] + ls /var/log/sa-host [2022-09-27T04:18:18.043Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T04:18:18.250Z] provisioning config files... [2022-09-27T04:18:18.259Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1217@tmp/config5172686964733345897tmp [Pipeline] { [Pipeline] echo [2022-09-27T04:18:18.309Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:18:18.622Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T04:18:18.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:18:19.065Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T04:18:19.101Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:18:19.412Z] ---> sudo-logs.sh [2022-09-27T04:18:19.412Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T04:18:19.494Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:18:19.805Z] ---> job-cost.sh [2022-09-27T04:18:19.806Z] lf-activate-venv: SKIPPING [2022-09-27T04:18:19.806Z] DEBUG: total: 0.2199999988079071 [2022-09-27T04:18:19.806Z] INFO: Retrieving Stack Cost... [2022-09-27T04:18:20.066Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T04:18:20.638Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T04:18:20.671Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T04:18:20.988Z] ---> logs-deploy.sh [2022-09-27T04:18:20.988Z] lf-activate-venv: SKIPPING [2022-09-27T04:18:20.988Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1217/1 [2022-09-27T04:18:20.988Z] INFO: archiving workspace using pattern(s): [2022-09-27T04:18:21.940Z] Archives upload complete. [2022-09-27T04:18:21.940Z] INFO: archiving logs to Nexus