Pull request #1231 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a2bfef7a77ff891edaffe0f69894abb3f2a2e13e+71d557e94127766e3dd7859e57e7c834f188cfad (37f24767f8dae2d4708672c5df1d5083c4f9b928) 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-ssh7241674108482451648.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-ssh3407848934502802527.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-1231/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-1231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1868624378064941684.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-1231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10069672131226503344.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-ssh18245731368194395787.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-1231/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-1231/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5581258654700511729.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 ‘prd-ubuntu20.04-docker-8c-8g-7711’ Running on prd-ubuntu20.04-docker-8c-8g-7713 in /w/workspace/gexfoundry_device-sdk-go_PR-1231 [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-1231 # 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/1231/head:refs/remotes/origin/PR-1231 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 71d557e94127766e3dd7859e57e7c834f188cfad into PR head commit a2bfef7a77ff891edaffe0f69894abb3f2a2e13e Merge succeeded, producing a2bfef7a77ff891edaffe0f69894abb3f2a2e13e Checking out Revision a2bfef7a77ff891edaffe0f69894abb3f2a2e13e (PR-1231) > git config core.sparsecheckout # timeout=10 > git checkout -f a2bfef7a77ff891edaffe0f69894abb3f2a2e13e # 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 71d557e94127766e3dd7859e57e7c834f188cfad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2bfef7a77ff891edaffe0f69894abb3f2a2e13e # timeout=10 Commit message: "fix: update example request/response topic scheme" 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-10-12T03:28:54.147Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-12T03:28:54.324Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-12T03:28:54.414Z] ========================================================= [2022-10-12T03:28:54.414Z] EdgeX Global Pipelines Version Info [2022-10-12T03:28:54.414Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:28:56.485Z] ------------------- [2022-10-12T03:28:56.485Z] stable info: [2022-10-12T03:28:56.485Z] ------------------- [2022-10-12T03:28:56.485Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-12T03:28:56.485Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T03:28:56.485Z] Message: update stable to v1.0.239 [2022-10-12T03:28:56.745Z] ------------------- [2022-10-12T03:28:56.745Z] experimental info: [2022-10-12T03:28:56.745Z] ------------------- [2022-10-12T03:28:56.745Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-12T03:28:56.745Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T03:28:56.745Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-12T03:28:57.032Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-12T03:28:57.074Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-12T03:28:57.111Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-12T03:28:57.148Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-12T03:28:57.193Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-12T03:28:57.234Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-12T03:28:57.268Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-12T03:28:57.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-12T03:28:57.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-12T03:28:57.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-12T03:28:57.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-12T03:28:57.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-12T03:28:57.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-12T03:28:57.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-12T03:28:57.568Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T03:28:57.608Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T03:28:57.646Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T03:28:57.681Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T03:28:57.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-12T03:28:57.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-12T03:28:57.798Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-12T03:28:57.837Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-12T03:28:57.877Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-12T03:28:57.918Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-12T03:28:57.963Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-12T03:28:58.001Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-12T03:28:58.039Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-12T03:28:58.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1231 [Pipeline] echo [2022-10-12T03:28:58.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1231 [Pipeline] echo [2022-10-12T03:28:58.164Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1231 [Pipeline] echo [2022-10-12T03:28:58.203Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] echo [2022-10-12T03:28:58.246Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2bfef7 [Pipeline] echo [2022-10-12T03:28:58.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T03:28:58.403Z] provisioning config files... [2022-10-12T03:28:58.418Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/config16121309944569071588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:28:58.766Z] ---> docker-login.sh [2022-10-12T03:28:58.766Z] nexus3.edgexfoundry.org:10001 [2022-10-12T03:28:58.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:28:59.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:28:59.027Z] Configure a credential helper to remove this warning. See [2022-10-12T03:28:59.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:28:59.027Z] [2022-10-12T03:28:59.027Z] Login Succeeded [2022-10-12T03:28:59.027Z] nexus3.edgexfoundry.org:10002 [2022-10-12T03:28:59.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:28:59.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:28:59.287Z] Configure a credential helper to remove this warning. See [2022-10-12T03:28:59.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:28:59.287Z] [2022-10-12T03:28:59.287Z] Login Succeeded [2022-10-12T03:28:59.287Z] nexus3.edgexfoundry.org:10003 [2022-10-12T03:28:59.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:28:59.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:28:59.287Z] Configure a credential helper to remove this warning. See [2022-10-12T03:28:59.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:28:59.287Z] [2022-10-12T03:28:59.287Z] Login Succeeded [2022-10-12T03:28:59.287Z] nexus3.edgexfoundry.org:10004 [2022-10-12T03:28:59.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:28:59.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:28:59.549Z] Configure a credential helper to remove this warning. See [2022-10-12T03:28:59.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:28:59.549Z] [2022-10-12T03:28:59.549Z] Login Succeeded [2022-10-12T03:28:59.549Z] docker.io [2022-10-12T03:28:59.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:28:59.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:28:59.812Z] Configure a credential helper to remove this warning. See [2022-10-12T03:28:59.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:28:59.812Z] [2022-10-12T03:28:59.812Z] Login Succeeded [2022-10-12T03:28:59.812Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T03:28:59.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-12T03:29:00.478Z] + git rev-list -1 --merges a2bfef7a77ff891edaffe0f69894abb3f2a2e13e~1..a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] echo [2022-10-12T03:29:00.520Z] -----------> git rev-list -1 --merges a2bfef7a77ff891edaffe0f69894abb3f2a2e13e~1..a2bfef7a77ff891edaffe0f69894abb3f2a2e13e a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [false] [Pipeline] sh [2022-10-12T03:29:00.856Z] + git log --format=format:%s -1 a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] echo [2022-10-12T03:29:00.894Z] ========================================================= [2022-10-12T03:29:00.894Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-12T03:29:00.894Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T03:29:01.371Z] + git log --format=format:%s -1 a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] echo [2022-10-12T03:29:01.405Z] [semverPrep] GIT_COMMIT: a2bfef7a77ff891edaffe0f69894abb3f2a2e13e, Commit Message: fix: update example request/response topic scheme [Pipeline] echo [2022-10-12T03:29:01.435Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-12T03:29:01.805Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-12T03:29:01.805Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-12T03:29:01.805Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-12T03:29:01.805Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-12T03:29:01.805Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-12T03:29:01.805Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-12T03:29:01.805Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:29:02.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T03:29:02.233Z] [2022-10-12T03:29:02.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:29:02.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T03:29:02.608Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-12T03:29:02.608Z] b85a868b505f: Pulling fs layer [2022-10-12T03:29:02.608Z] e2be974225ed: Pulling fs layer [2022-10-12T03:29:02.608Z] 339a4e72a1f5: Pulling fs layer [2022-10-12T03:29:02.608Z] 988bab9f4d93: Pulling fs layer [2022-10-12T03:29:02.609Z] 1469e6f7b9e6: Pulling fs layer [2022-10-12T03:29:02.609Z] eaf3925da568: Pulling fs layer [2022-10-12T03:29:02.609Z] bab4dde63d76: Pulling fs layer [2022-10-12T03:29:02.609Z] bde34c3a00c8: Pulling fs layer [2022-10-12T03:29:02.609Z] b352a97aabf1: Pulling fs layer [2022-10-12T03:29:02.609Z] 4872d77fe225: Pulling fs layer [2022-10-12T03:29:02.609Z] 5851b861e8e6: Pulling fs layer [2022-10-12T03:29:02.609Z] eaf3925da568: Waiting [2022-10-12T03:29:02.609Z] b352a97aabf1: Waiting [2022-10-12T03:29:02.609Z] 4872d77fe225: Waiting [2022-10-12T03:29:02.609Z] bab4dde63d76: Waiting [2022-10-12T03:29:02.609Z] bde34c3a00c8: Waiting [2022-10-12T03:29:02.609Z] 5851b861e8e6: Waiting [2022-10-12T03:29:02.609Z] e2be974225ed: Download complete [2022-10-12T03:29:02.609Z] 988bab9f4d93: Verifying Checksum [2022-10-12T03:29:02.609Z] 988bab9f4d93: Download complete [2022-10-12T03:29:02.868Z] 1469e6f7b9e6: Verifying Checksum [2022-10-12T03:29:02.868Z] 1469e6f7b9e6: Download complete [2022-10-12T03:29:02.868Z] eaf3925da568: Download complete [2022-10-12T03:29:02.868Z] 339a4e72a1f5: Verifying Checksum [2022-10-12T03:29:02.868Z] 339a4e72a1f5: Download complete [2022-10-12T03:29:02.868Z] bde34c3a00c8: Verifying Checksum [2022-10-12T03:29:02.868Z] bde34c3a00c8: Download complete [2022-10-12T03:29:02.868Z] b352a97aabf1: Verifying Checksum [2022-10-12T03:29:02.868Z] b352a97aabf1: Download complete [2022-10-12T03:29:02.868Z] 4872d77fe225: Verifying Checksum [2022-10-12T03:29:02.868Z] 4872d77fe225: Download complete [2022-10-12T03:29:02.868Z] 5851b861e8e6: Verifying Checksum [2022-10-12T03:29:02.868Z] b85a868b505f: Download complete [2022-10-12T03:29:03.126Z] bab4dde63d76: Verifying Checksum [2022-10-12T03:29:03.126Z] bab4dde63d76: Download complete [2022-10-12T03:29:04.061Z] b85a868b505f: Pull complete [2022-10-12T03:29:04.061Z] e2be974225ed: Pull complete [2022-10-12T03:29:04.629Z] 339a4e72a1f5: Pull complete [2022-10-12T03:29:04.629Z] 988bab9f4d93: Pull complete [2022-10-12T03:29:04.888Z] 1469e6f7b9e6: Pull complete [2022-10-12T03:29:04.888Z] eaf3925da568: Pull complete [2022-10-12T03:29:06.794Z] bab4dde63d76: Pull complete [2022-10-12T03:29:06.794Z] bde34c3a00c8: Pull complete [2022-10-12T03:29:06.794Z] b352a97aabf1: Pull complete [2022-10-12T03:29:06.794Z] 4872d77fe225: Pull complete [2022-10-12T03:29:06.794Z] 5851b861e8e6: Pull complete [2022-10-12T03:29:06.794Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-12T03:29:06.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T03:29:06.794Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:29:06.991Z] prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container [2022-10-12T03:29:07.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@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-devops/py-git-semver:0.1.4 cat [2022-10-12T03:29:09.629Z] $ docker top 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e -eo pid,comm [2022-10-12T03:29:09.692Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-12T03:29:09.692Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-12T03:29:09.808Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T03:29:09.808Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T03:29:09.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T03:29:09.924Z] $ docker exec 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e ssh-agent [2022-10-12T03:29:10.032Z] SSH_AUTH_SOCK=/tmp/ssh-USpZoimkYM8q/agent.32 [2022-10-12T03:29:10.032Z] SSH_AGENT_PID=38 [2022-10-12T03:29:10.039Z] Running ssh-add (command line suppressed) [2022-10-12T03:29:10.141Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/private_key_13447382265308633152.key (/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/private_key_13447382265308633152.key) [2022-10-12T03:29:10.153Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T03:29:10.482Z] + git tag --points-at HEAD [Pipeline] } [2022-10-12T03:29:10.511Z] $ docker exec --env ******** --env ******** 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e ssh-agent -k [2022-10-12T03:29:10.619Z] unset SSH_AUTH_SOCK; [2022-10-12T03:29:10.619Z] unset SSH_AGENT_PID; [2022-10-12T03:29:10.620Z] echo Agent pid 38 killed; [2022-10-12T03:29:10.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-12T03:29:10.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T03:29:10.708Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T03:29:10.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T03:29:10.824Z] $ docker exec 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e ssh-agent [2022-10-12T03:29:10.928Z] SSH_AUTH_SOCK=/tmp/ssh-O95XqhIwXI5s/agent.70 [2022-10-12T03:29:10.928Z] SSH_AGENT_PID=76 [2022-10-12T03:29:10.932Z] Running ssh-add (command line suppressed) [2022-10-12T03:29:11.045Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/private_key_625580694801871544.key (/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/private_key_625580694801871544.key) [2022-10-12T03:29:11.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T03:29:11.375Z] + git semver init [2022-10-12T03:29:11.636Z] 2022-10-12 03:29:11,532 [run_init] DEBUG init version:0.0.0 force:False [2022-10-12T03:29:11.636Z] 2022-10-12 03:29:11,532 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver [2022-10-12T03:29:11.636Z] 2022-10-12 03:29:11,533 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver [2022-10-12T03:29:11.636Z] 2022-10-12 03:29:11,533 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1231, universal_newlines=False, shell=None, istream=None) [2022-10-12T03:29:12.574Z] 2022-10-12 03:29:12,536 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231/.git/info/exclude [2022-10-12T03:29:12.574Z] 2022-10-12 03:29:12,537 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver/PR-1231 with force:False [2022-10-12T03:29:12.574Z] 2022-10-12 03:29:12,537 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver/PR-1231 [2022-10-12T03:29:12.574Z] 2022-10-12 03:29:12,541 [execute] INFO git cat-file --batch-check [2022-10-12T03:29:12.574Z] 2022-10-12 03:29:12,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T03:29:12.574Z] 2022-10-12 03:29:12,546 [execute] INFO git cat-file --batch [2022-10-12T03:29:12.574Z] 2022-10-12 03:29:12,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T03:29:12.574Z] 2022-10-12 03:29:12,551 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver/PR-1231 [2022-10-12T03:29:12.574Z] 0.0.0 [Pipeline] } [2022-10-12T03:29:12.607Z] $ docker exec --env ******** --env ******** 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e ssh-agent -k [2022-10-12T03:29:12.685Z] unset SSH_AUTH_SOCK; [2022-10-12T03:29:12.685Z] unset SSH_AGENT_PID; [2022-10-12T03:29:12.686Z] echo Agent pid 76 killed; [2022-10-12T03:29:12.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-12T03:29:13.110Z] + git semver [Pipeline] } [2022-10-12T03:29:13.400Z] $ docker stop --time=1 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e [2022-10-12T03:29:14.670Z] $ docker rm -f 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T03:29:15.111Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-12T03:29:15.342Z] Stashed 1 file(s) [Pipeline] echo [2022-10-12T03:29:15.357Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T03:29:15.910Z] provisioning config files... [2022-10-12T03:29:15.918Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/config12744715165873151170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:29:16.258Z] ---> docker-login.sh [2022-10-12T03:29:16.258Z] nexus3.edgexfoundry.org:10001 [2022-10-12T03:29:16.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:29:16.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:29:16.258Z] Configure a credential helper to remove this warning. See [2022-10-12T03:29:16.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:29:16.258Z] [2022-10-12T03:29:16.258Z] Login Succeeded [2022-10-12T03:29:16.258Z] nexus3.edgexfoundry.org:10002 [2022-10-12T03:29:16.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:29:16.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:29:16.258Z] Configure a credential helper to remove this warning. See [2022-10-12T03:29:16.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:29:16.258Z] [2022-10-12T03:29:16.258Z] Login Succeeded [2022-10-12T03:29:16.258Z] nexus3.edgexfoundry.org:10003 [2022-10-12T03:29:16.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:29:16.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:29:16.518Z] Configure a credential helper to remove this warning. See [2022-10-12T03:29:16.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:29:16.518Z] [2022-10-12T03:29:16.518Z] Login Succeeded [2022-10-12T03:29:16.518Z] nexus3.edgexfoundry.org:10004 [2022-10-12T03:29:16.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:29:16.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:29:16.518Z] Configure a credential helper to remove this warning. See [2022-10-12T03:29:16.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:29:16.518Z] [2022-10-12T03:29:16.518Z] Login Succeeded [2022-10-12T03:29:16.518Z] docker.io [2022-10-12T03:29:16.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:29:17.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:29:17.085Z] Configure a credential helper to remove this warning. See [2022-10-12T03:29:17.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:29:17.085Z] [2022-10-12T03:29:17.085Z] Login Succeeded [2022-10-12T03:29:17.085Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T03:29:17.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T03:29:17.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T03:29:17.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T03:29:17.370Z] ========================================================= [2022-10-12T03:29:17.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-12T03:29:17.370Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:29:17.831Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-12T03:29:17.831Z] Sending build context to Docker daemon 9.991MB [2022-10-12T03:29:17.831Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T03:29:17.831Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-12T03:29:17.831Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-12T03:29:17.831Z] 213ec9aee27d: Pulling fs layer [2022-10-12T03:29:17.831Z] 4583459ba037: Pulling fs layer [2022-10-12T03:29:17.831Z] 93c1e223e6f2: Pulling fs layer [2022-10-12T03:29:17.831Z] 53926ce57604: Pulling fs layer [2022-10-12T03:29:17.831Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-12T03:29:17.831Z] 30f14e443154: Pulling fs layer [2022-10-12T03:29:17.831Z] 801331c1e519: Pulling fs layer [2022-10-12T03:29:17.831Z] 99cc6dd402b0: Pulling fs layer [2022-10-12T03:29:17.831Z] 21b2b0c7a3f4: Waiting [2022-10-12T03:29:17.831Z] 53926ce57604: Waiting [2022-10-12T03:29:17.831Z] 30f14e443154: Waiting [2022-10-12T03:29:17.831Z] 7d9ed39f4882: Pulling fs layer [2022-10-12T03:29:17.831Z] 99cc6dd402b0: Waiting [2022-10-12T03:29:17.831Z] 7d9ed39f4882: Waiting [2022-10-12T03:29:17.831Z] 93c1e223e6f2: Download complete [2022-10-12T03:29:17.831Z] 4583459ba037: Download complete [2022-10-12T03:29:18.093Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-12T03:29:18.093Z] 21b2b0c7a3f4: Download complete [2022-10-12T03:29:18.093Z] 30f14e443154: Download complete [2022-10-12T03:29:18.093Z] 213ec9aee27d: Verifying Checksum [2022-10-12T03:29:18.093Z] 213ec9aee27d: Download complete [2022-10-12T03:29:18.093Z] 801331c1e519: Verifying Checksum [2022-10-12T03:29:18.093Z] 801331c1e519: Download complete [2022-10-12T03:29:18.093Z] 213ec9aee27d: Pull complete [2022-10-12T03:29:18.356Z] 4583459ba037: Pull complete [2022-10-12T03:29:18.356Z] 93c1e223e6f2: Pull complete [2022-10-12T03:29:18.618Z] 7d9ed39f4882: Verifying Checksum [2022-10-12T03:29:18.618Z] 7d9ed39f4882: Download complete [2022-10-12T03:29:18.618Z] 99cc6dd402b0: Verifying Checksum [2022-10-12T03:29:18.618Z] 99cc6dd402b0: Download complete [2022-10-12T03:29:18.877Z] 53926ce57604: Verifying Checksum [2022-10-12T03:29:18.877Z] 53926ce57604: Download complete [2022-10-12T03:29:23.061Z] 53926ce57604: Pull complete [2022-10-12T03:29:23.061Z] 21b2b0c7a3f4: Pull complete [2022-10-12T03:29:23.061Z] 30f14e443154: Pull complete [2022-10-12T03:29:23.061Z] 801331c1e519: Pull complete [2022-10-12T03:29:24.963Z] 99cc6dd402b0: Pull complete [2022-10-12T03:29:25.532Z] 7d9ed39f4882: Pull complete [2022-10-12T03:29:25.532Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-12T03:29:25.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-12T03:29:25.532Z] ---> 1dedd983c030 [2022-10-12T03:29:25.532Z] Step 3/11 : ARG MAKE=make build [2022-10-12T03:29:29.724Z] ---> Running in d8a2fa29d991 [2022-10-12T03:29:29.724Z] Removing intermediate container d8a2fa29d991 [2022-10-12T03:29:29.724Z] ---> 89b865e6934c [2022-10-12T03:29:29.724Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-12T03:29:29.724Z] ---> Running in b8d2b8f22bb8 [2022-10-12T03:29:29.724Z] Removing intermediate container b8d2b8f22bb8 [2022-10-12T03:29:29.724Z] ---> 3af79da6dd21 [2022-10-12T03:29:29.724Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T03:29:29.724Z] ---> Running in 4806f43ba3e9 [2022-10-12T03:29:29.724Z] Removing intermediate container 4806f43ba3e9 [2022-10-12T03:29:29.724Z] ---> a11967962963 [2022-10-12T03:29:29.724Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:29:29.724Z] ---> Running in 2429f746af3e [2022-10-12T03:29:30.293Z] Removing intermediate container 2429f746af3e [2022-10-12T03:29:30.293Z] ---> f5721f54bc2a [2022-10-12T03:29:30.293Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-12T03:29:30.293Z] ---> Running in db10fa8b921b [2022-10-12T03:29:30.293Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T03:29:30.735Z] Still waiting to schedule task [2022-10-12T03:29:30.736Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7712’ [2022-10-12T03:29:31.230Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T03:29:31.489Z] OK: 211 MiB in 51 packages [2022-10-12T03:29:31.746Z] Removing intermediate container db10fa8b921b [2022-10-12T03:29:31.746Z] ---> b619c27d4eef [2022-10-12T03:29:31.746Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-12T03:29:32.006Z] ---> 2a098cd2cb1d [2022-10-12T03:29:32.006Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T03:29:32.006Z] ---> Running in e0140a658e27 [2022-10-12T03:29:50.176Z] Removing intermediate container e0140a658e27 [2022-10-12T03:29:50.176Z] ---> f2dc82f2f93e [2022-10-12T03:29:50.176Z] Step 10/11 : COPY . . [2022-10-12T03:29:50.771Z] ---> ff9382aeaf0d [2022-10-12T03:29:50.771Z] Step 11/11 : RUN ${MAKE} [2022-10-12T03:29:50.771Z] ---> Running in fea3a0502d00 [2022-10-12T03:29:50.771Z] noop [2022-10-12T03:29:51.031Z] Removing intermediate container fea3a0502d00 [2022-10-12T03:29:51.031Z] ---> 6655839402ad [2022-10-12T03:29:51.290Z] Successfully built 6655839402ad [2022-10-12T03:29:51.290Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:29:51.724Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T03:29:51.724Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:29:51.856Z] prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container [2022-10-12T03:29:51.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T03:29:52.202Z] $ docker top 36f72860d280a6208d35e6f3d0a0d3ee4873e7b4eb168374dcd5530686e35ee8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:29:52.583Z] + go version [2022-10-12T03:29:52.583Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-12T03:29:52.619Z] $ docker stop --time=1 36f72860d280a6208d35e6f3d0a0d3ee4873e7b4eb168374dcd5530686e35ee8 [2022-10-12T03:29:53.867Z] $ docker rm -f 36f72860d280a6208d35e6f3d0a0d3ee4873e7b4eb168374dcd5530686e35ee8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:29:54.587Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T03:29:54.587Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:29:54.730Z] prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container [2022-10-12T03:29:54.761Z] $ 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-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T03:29:55.062Z] $ docker top 06c7768257f7f7de309c005e5c6536b6c7dbe6d66475c251a91466967d2b5432 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:29:55.442Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1231 [Pipeline] fileExists [Pipeline] sh [2022-10-12T03:29:55.789Z] + make test [2022-10-12T03:29:55.789Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-12T03:30:02.367Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-12T03:30:17.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-10-12T03:30:17.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.110s coverage: 78.9% of statements [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-12T03:30:17.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.089s coverage: 60.0% of statements [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-12T03:30:17.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 54.4% of statements [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-12T03:30:17.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.108s coverage: 65.1% of statements [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-12T03:30:17.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.743s coverage: 89.2% of statements [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-12T03:30:17.235Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.072s coverage: 4.7% of statements [2022-10-12T03:30:17.235Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-12T03:30:32.107Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-12T03:30:32.107Z] GO111MODULE=on go vet ./... [2022-10-12T03:30:35.390Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T03:30:35.390Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T03:30:35.390Z] ./bin/test-attribution-txt.sh [2022-10-12T03:30:35.390Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-12T03:30:35.391Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-12T03:30:35.391Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-12T03:30:35.391Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-12T03:30:35.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T03:30:35.520Z] $ docker stop --time=1 06c7768257f7f7de309c005e5c6536b6c7dbe6d66475c251a91466967d2b5432 [2022-10-12T03:30:38.867Z] $ docker rm -f 06c7768257f7f7de309c005e5c6536b6c7dbe6d66475c251a91466967d2b5432 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T03:30:39.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T03:30:39.555Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-12T03:30:40.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T03:30:40.466Z] + ls -al . [2022-10-12T03:30:40.466Z] total 276 [2022-10-12T03:30:40.466Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 03:29 . [2022-10-12T03:30:40.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:28 .. [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 03:28 .dockerignore [2022-10-12T03:30:40.466Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:30 .git [2022-10-12T03:30:40.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:28 .github [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 03:28 .gitignore [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 03:28 .golangci.yml [2022-10-12T03:30:40.466Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 03:29 .semver [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 03:28 CHANGELOG.md [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 03:28 GOVERNANCE.md [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 03:28 Jenkinsfile [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 03:28 LICENSE [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 03:28 Makefile [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 03:28 OWNERS.md [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 03:28 README.md [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 03:29 VERSION [2022-10-12T03:30:40.466Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:28 bin [2022-10-12T03:30:40.466Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 03:30 coverage.out [2022-10-12T03:30:40.466Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 03:28 example [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 03:28 go.mod [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 03:28 go.sum [2022-10-12T03:30:40.466Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 03:28 internal [2022-10-12T03:30:40.466Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:28 openapi [2022-10-12T03:30:40.466Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 03:28 pkg [2022-10-12T03:30:40.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:28 snap [2022-10-12T03:30:40.466Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 03:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:30:40.888Z] + 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=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e --label arch=amd64 --label version=0.0.0 . [2022-10-12T03:30:40.888Z] Sending build context to Docker daemon 10.09MB [2022-10-12T03:30:40.888Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T03:30:40.888Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-12T03:30:40.888Z] ---> 6655839402ad [2022-10-12T03:30:40.888Z] Step 3/25 : ARG MAKE=make build [2022-10-12T03:30:41.148Z] ---> Running in 678419686d4f [2022-10-12T03:30:41.148Z] Removing intermediate container 678419686d4f [2022-10-12T03:30:41.148Z] ---> 9260b5c7db46 [2022-10-12T03:30:41.148Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-12T03:30:41.148Z] ---> Running in bee4f0703217 [2022-10-12T03:30:41.148Z] Removing intermediate container bee4f0703217 [2022-10-12T03:30:41.148Z] ---> 08d75219f18f [2022-10-12T03:30:41.148Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T03:30:41.148Z] ---> Running in ed39f3d74d80 [2022-10-12T03:30:41.407Z] Removing intermediate container ed39f3d74d80 [2022-10-12T03:30:41.408Z] ---> 1b3a0c57e1d9 [2022-10-12T03:30:41.408Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:30:41.408Z] ---> Running in 6ed6ee18afa4 [2022-10-12T03:30:41.975Z] Removing intermediate container 6ed6ee18afa4 [2022-10-12T03:30:41.975Z] ---> d878ef5c1cd3 [2022-10-12T03:30:41.975Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-12T03:30:41.975Z] ---> Running in 22fa5c5da75b [2022-10-12T03:30:42.234Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T03:30:43.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T03:30:43.172Z] OK: 211 MiB in 51 packages [2022-10-12T03:30:43.740Z] Removing intermediate container 22fa5c5da75b [2022-10-12T03:30:43.740Z] ---> f129aacbcb64 [2022-10-12T03:30:43.740Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-12T03:30:43.740Z] ---> 61963566254b [2022-10-12T03:30:43.740Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T03:30:43.740Z] ---> Running in 3cdb5bc1b979 [2022-10-12T03:30:44.307Z] Removing intermediate container 3cdb5bc1b979 [2022-10-12T03:30:44.307Z] ---> e58490344cb8 [2022-10-12T03:30:44.307Z] Step 10/25 : COPY . . [2022-10-12T03:30:44.874Z] ---> fd63a5e40407 [2022-10-12T03:30:44.874Z] Step 11/25 : RUN ${MAKE} [2022-10-12T03:30:44.874Z] ---> Running in 42bbf400e94d [2022-10-12T03:30:45.131Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-12T03:31:03.208Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-12T03:31:04.144Z] Removing intermediate container 42bbf400e94d [2022-10-12T03:31:04.144Z] ---> 716b0b57b37f [2022-10-12T03:31:04.144Z] Step 12/25 : FROM alpine:3.16 [2022-10-12T03:31:04.711Z] 3.16: Pulling from library/alpine [2022-10-12T03:31:04.968Z] 213ec9aee27d: Already exists [2022-10-12T03:31:04.968Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T03:31:04.968Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T03:31:04.968Z] ---> 9c6f07244728 [2022-10-12T03:31:04.968Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T03:31:04.968Z] ---> Running in ede02d9d65a5 [2022-10-12T03:31:05.226Z] Removing intermediate container ede02d9d65a5 [2022-10-12T03:31:05.226Z] ---> 0471f000f3ab [2022-10-12T03:31:05.226Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:31:05.226Z] ---> Running in a39a79301da1 [2022-10-12T03:31:05.794Z] Removing intermediate container a39a79301da1 [2022-10-12T03:31:05.794Z] ---> 6cfb7500a2ac [2022-10-12T03:31:05.795Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-12T03:31:05.795Z] ---> Running in 058da1300999 [2022-10-12T03:31:06.054Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T03:31:06.622Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T03:31:07.188Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T03:31:07.188Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-12T03:31:07.188Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T03:31:07.446Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-12T03:31:07.446Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-12T03:31:07.446Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T03:31:07.446Z] OK: 8 MiB in 19 packages [2022-10-12T03:31:08.015Z] Removing intermediate container 058da1300999 [2022-10-12T03:31:08.015Z] ---> ed8a24197b8e [2022-10-12T03:31:08.015Z] Step 16/25 : WORKDIR / [2022-10-12T03:31:08.015Z] ---> Running in 938d64262785 [2022-10-12T03:31:08.015Z] Removing intermediate container 938d64262785 [2022-10-12T03:31:08.015Z] ---> 861df6f100b0 [2022-10-12T03:31:08.015Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-12T03:31:08.273Z] ---> 6ae2bb65b85a [2022-10-12T03:31:08.273Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-12T03:31:08.841Z] ---> 134d5bd52534 [2022-10-12T03:31:08.841Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-12T03:31:08.841Z] ---> 9269405ce7f6 [2022-10-12T03:31:08.841Z] Step 20/25 : EXPOSE 59999 [2022-10-12T03:31:08.841Z] ---> Running in 82968c6b0adb [2022-10-12T03:31:08.841Z] Removing intermediate container 82968c6b0adb [2022-10-12T03:31:08.841Z] ---> f464b774c3a4 [2022-10-12T03:31:08.841Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-12T03:31:08.841Z] ---> Running in e48fbda8cfc1 [2022-10-12T03:31:09.134Z] Removing intermediate container e48fbda8cfc1 [2022-10-12T03:31:09.134Z] ---> 68ee649ffd08 [2022-10-12T03:31:09.134Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T03:31:09.134Z] ---> Running in d90d3ac439d8 [2022-10-12T03:31:09.393Z] Removing intermediate container d90d3ac439d8 [2022-10-12T03:31:09.393Z] ---> ec68e398e78a [2022-10-12T03:31:09.393Z] Step 23/25 : LABEL arch=amd64 [2022-10-12T03:31:09.393Z] ---> Running in 5b6f662d1323 [2022-10-12T03:31:09.393Z] Removing intermediate container 5b6f662d1323 [2022-10-12T03:31:09.393Z] ---> 013c0cb3d7bc [2022-10-12T03:31:09.393Z] Step 24/25 : LABEL git_sha=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [2022-10-12T03:31:09.393Z] ---> Running in 43282edf3b8e [2022-10-12T03:31:09.652Z] Removing intermediate container 43282edf3b8e [2022-10-12T03:31:09.652Z] ---> c8951e365c81 [2022-10-12T03:31:09.652Z] Step 25/25 : LABEL version=0.0.0 [2022-10-12T03:31:09.652Z] ---> Running in dacd387df5ba [2022-10-12T03:31:09.652Z] Removing intermediate container dacd387df5ba [2022-10-12T03:31:09.652Z] ---> 055a29698974 [2022-10-12T03:31:09.652Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T03:31:09.652Z] Successfully built 055a29698974 [2022-10-12T03:31:09.652Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:31:10.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T03:31:10.511Z] [2022-10-12T03:31:10.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:31:10.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T03:31:10.883Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-12T03:31:10.883Z] 5eb5b503b376: Pulling fs layer [2022-10-12T03:31:10.883Z] 5c69ac0246d0: Pulling fs layer [2022-10-12T03:31:10.883Z] ec43610c2a17: Pulling fs layer [2022-10-12T03:31:10.883Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-12T03:31:10.883Z] 33b1e0a273af: Pulling fs layer [2022-10-12T03:31:10.883Z] 5d3b04190fa2: Pulling fs layer [2022-10-12T03:31:10.883Z] 2f39f015ded8: Pulling fs layer [2022-10-12T03:31:10.883Z] 2f39f015ded8: Waiting [2022-10-12T03:31:10.883Z] 33b1e0a273af: Waiting [2022-10-12T03:31:10.883Z] 3a2ae6a8a46f: Waiting [2022-10-12T03:31:10.883Z] 5d3b04190fa2: Waiting [2022-10-12T03:31:10.883Z] 5c69ac0246d0: Verifying Checksum [2022-10-12T03:31:10.883Z] 5c69ac0246d0: Download complete [2022-10-12T03:31:10.883Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-12T03:31:10.883Z] 3a2ae6a8a46f: Download complete [2022-10-12T03:31:10.884Z] 33b1e0a273af: Verifying Checksum [2022-10-12T03:31:10.884Z] 33b1e0a273af: Download complete [2022-10-12T03:31:11.143Z] 5d3b04190fa2: Download complete [2022-10-12T03:31:11.143Z] ec43610c2a17: Verifying Checksum [2022-10-12T03:31:11.143Z] ec43610c2a17: Download complete [2022-10-12T03:31:11.143Z] 5eb5b503b376: Verifying Checksum [2022-10-12T03:31:11.143Z] 5eb5b503b376: Download complete [2022-10-12T03:31:11.710Z] 2f39f015ded8: Download complete [2022-10-12T03:31:12.280Z] 5eb5b503b376: Pull complete [2022-10-12T03:31:12.280Z] 5c69ac0246d0: Pull complete [2022-10-12T03:31:12.541Z] ec43610c2a17: Pull complete [2022-10-12T03:31:12.798Z] 3a2ae6a8a46f: Pull complete [2022-10-12T03:31:12.799Z] 33b1e0a273af: Pull complete [2022-10-12T03:31:13.057Z] 5d3b04190fa2: Pull complete [2022-10-12T03:31:17.256Z] 2f39f015ded8: Pull complete [2022-10-12T03:31:17.256Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-12T03:31:17.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T03:31:17.256Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:31:17.480Z] prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container [2022-10-12T03:31:17.512Z] $ 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-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T03:31:20.501Z] $ docker top bdbf3aa8beb0e3dcf109a3dd4dd331b7b4b97302419c1aff3059bcbaec4fa6b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:31:20.957Z] ---> job-cost.sh [2022-10-12T03:31:20.957Z] lf-activate-venv: SKIPPING [2022-10-12T03:31:20.957Z] INFO: No Stack... [2022-10-12T03:31:21.216Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T03:31:21.785Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T03:31:22.096Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives/cost.csv [2022-10-12T03:31:22.096Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T03:31:22.135Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [2022-10-12T03:31:22.140Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] did not exist. Created. [2022-10-12T03:31:22.140Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T03:31:22.532Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-12T03:31:22.580Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T03:31:22.608Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T03:31:22.679Z] $ docker stop --time=1 bdbf3aa8beb0e3dcf109a3dd4dd331b7b4b97302419c1aff3059bcbaec4fa6b8 [2022-10-12T03:31:23.834Z] $ docker rm -f bdbf3aa8beb0e3dcf109a3dd4dd331b7b4b97302419c1aff3059bcbaec4fa6b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-12T03:32:56.862Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7714 in /w/workspace/gexfoundry_device-sdk-go_PR-1231 [Pipeline] { [Pipeline] ws [2022-10-12T03:32:56.906Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-10-12T03:32:56.986Z] The recommended git tool is: git [2022-10-12T03:33:02.356Z] using credential edgex-jenkins-ssh [2022-10-12T03:33:02.374Z] Cloning the remote Git repository [2022-10-12T03:33:02.420Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-12T03:33:02.489Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-10-12T03:33:02.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-12T03:33:02.626Z] > git --version # timeout=10 [2022-10-12T03:33:02.658Z] > git --version # 'git version 2.25.1' [2022-10-12T03:33:02.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T03:33:02.702Z] Verifying host key using known hosts file [2022-10-12T03:33:02.891Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-12T03:33:02.904Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T03:33:04.424Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-12T03:33:04.449Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T03:33:05.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-12T03:33:05.293Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-12T03:33:05.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T03:33:05.299Z] Verifying host key using known hosts file [2022-10-12T03:33:05.306Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-12T03:33:05.320Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1231/head:refs/remotes/origin/PR-1231 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-12T03:33:06.006Z] Merging remotes/origin/main commit 71d557e94127766e3dd7859e57e7c834f188cfad into PR head commit a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [2022-10-12T03:33:06.258Z] Merge succeeded, producing a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [2022-10-12T03:33:06.259Z] Checking out Revision a2bfef7a77ff891edaffe0f69894abb3f2a2e13e (PR-1231) [2022-10-12T03:33:06.026Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T03:33:06.045Z] > git checkout -f a2bfef7a77ff891edaffe0f69894abb3f2a2e13e # timeout=10 [2022-10-12T03:33:06.151Z] > git remote # timeout=10 [2022-10-12T03:33:06.169Z] > git config --get remote.origin.url # timeout=10 [2022-10-12T03:33:06.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T03:33:06.198Z] Verifying host key using known hosts file [2022-10-12T03:33:06.201Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-12T03:33:06.209Z] > git merge 71d557e94127766e3dd7859e57e7c834f188cfad # timeout=10 [2022-10-12T03:33:06.232Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-12T03:33:06.266Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T03:33:06.282Z] > git checkout -f a2bfef7a77ff891edaffe0f69894abb3f2a2e13e # timeout=10 [2022-10-12T03:33:09.781Z] Commit message: "fix: update example request/response topic scheme" [2022-10-12T03:33:09.826Z] > git --version # timeout=10 [2022-10-12T03:33:09.836Z] > git --version # 'git version 2.25.1' [2022-10-12T03:33:09.849Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T03:33:11.006Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-12T03:33:11.006Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T03:33:11.006Z] Dload Upload Total Spent Left Speed [2022-10-12T03:33:11.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 84577 [Pipeline] sh [2022-10-12T03:33:11.670Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-12T03:33:12.013Z] + sudo tee /etc/docker/daemon.new [2022-10-12T03:33:12.013Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-12T03:33:12.013Z] { [2022-10-12T03:33:12.013Z] "registry-mirrors": [ [2022-10-12T03:33:12.013Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-12T03:33:12.013Z] ], [2022-10-12T03:33:12.013Z] "bip": "10.250.0.254/24", [2022-10-12T03:33:12.013Z] "hosts": [ [2022-10-12T03:33:12.013Z] "tcp://0.0.0.0:5555", [2022-10-12T03:33:12.013Z] "unix:///var/run/docker.sock" [2022-10-12T03:33:12.013Z] ], [2022-10-12T03:33:12.013Z] "mtu": 1458, [2022-10-12T03:33:12.013Z] "selinux-enabled": true, [2022-10-12T03:33:12.013Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-12T03:33:12.013Z] } [Pipeline] sh [2022-10-12T03:33:12.362Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-12T03:33:12.707Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T03:33:31.018Z] provisioning config files... [2022-10-12T03:33:31.044Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9606217795619064081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:33:31.437Z] ---> docker-login.sh [2022-10-12T03:33:31.437Z] nexus3.edgexfoundry.org:10001 [2022-10-12T03:33:31.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:33:31.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:33:31.972Z] Configure a credential helper to remove this warning. See [2022-10-12T03:33:31.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:33:31.972Z] [2022-10-12T03:33:31.972Z] Login Succeeded [2022-10-12T03:33:31.972Z] nexus3.edgexfoundry.org:10002 [2022-10-12T03:33:32.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:33:32.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:33:32.241Z] Configure a credential helper to remove this warning. See [2022-10-12T03:33:32.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:33:32.242Z] [2022-10-12T03:33:32.242Z] Login Succeeded [2022-10-12T03:33:32.242Z] nexus3.edgexfoundry.org:10003 [2022-10-12T03:33:32.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:33:32.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:33:32.778Z] Configure a credential helper to remove this warning. See [2022-10-12T03:33:32.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:33:32.778Z] [2022-10-12T03:33:32.778Z] Login Succeeded [2022-10-12T03:33:32.778Z] nexus3.edgexfoundry.org:10004 [2022-10-12T03:33:33.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:33:33.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:33:33.047Z] Configure a credential helper to remove this warning. See [2022-10-12T03:33:33.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:33:33.047Z] [2022-10-12T03:33:33.047Z] Login Succeeded [2022-10-12T03:33:33.047Z] docker.io [2022-10-12T03:33:33.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T03:33:33.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T03:33:33.578Z] Configure a credential helper to remove this warning. See [2022-10-12T03:33:33.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T03:33:33.578Z] [2022-10-12T03:33:33.578Z] Login Succeeded [2022-10-12T03:33:33.578Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T03:33:33.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T03:33:33.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T03:33:33.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T03:33:33.964Z] ========================================================= [2022-10-12T03:33:33.964Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-12T03:33:33.964Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:33:34.476Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-12T03:33:35.063Z] Sending build context to Docker daemon 5.371MB [2022-10-12T03:33:35.063Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T03:33:35.063Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-12T03:33:35.063Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-12T03:33:35.063Z] 9b18e9b68314: Pulling fs layer [2022-10-12T03:33:35.063Z] d32db5db7311: Pulling fs layer [2022-10-12T03:33:35.063Z] d0c4b47475fc: Pulling fs layer [2022-10-12T03:33:35.063Z] 5831b945b038: Pulling fs layer [2022-10-12T03:33:35.063Z] 86bbec2aaacd: Pulling fs layer [2022-10-12T03:33:35.063Z] e10730c5d714: Pulling fs layer [2022-10-12T03:33:35.063Z] 5dd5c2283517: Pulling fs layer [2022-10-12T03:33:35.063Z] d5ac0230b979: Pulling fs layer [2022-10-12T03:33:35.063Z] 86bbec2aaacd: Waiting [2022-10-12T03:33:35.063Z] e10730c5d714: Waiting [2022-10-12T03:33:35.063Z] 5dd5c2283517: Waiting [2022-10-12T03:33:35.063Z] d5ac0230b979: Waiting [2022-10-12T03:33:35.063Z] 5831b945b038: Waiting [2022-10-12T03:33:35.336Z] d0c4b47475fc: Verifying Checksum [2022-10-12T03:33:35.336Z] d0c4b47475fc: Download complete [2022-10-12T03:33:35.336Z] d32db5db7311: Download complete [2022-10-12T03:33:35.336Z] 86bbec2aaacd: Download complete [2022-10-12T03:33:35.336Z] e10730c5d714: Download complete [2022-10-12T03:33:35.336Z] 9b18e9b68314: Verifying Checksum [2022-10-12T03:33:35.336Z] 9b18e9b68314: Download complete [2022-10-12T03:33:36.323Z] 9b18e9b68314: Pull complete [2022-10-12T03:33:36.323Z] d5ac0230b979: Verifying Checksum [2022-10-12T03:33:36.323Z] d5ac0230b979: Download complete [2022-10-12T03:33:36.907Z] d32db5db7311: Pull complete [2022-10-12T03:33:37.175Z] d0c4b47475fc: Pull complete [2022-10-12T03:33:37.445Z] 5dd5c2283517: Verifying Checksum [2022-10-12T03:33:37.445Z] 5dd5c2283517: Download complete [2022-10-12T03:33:38.423Z] 5831b945b038: Verifying Checksum [2022-10-12T03:33:38.423Z] 5831b945b038: Download complete [2022-10-12T03:33:50.744Z] 5831b945b038: Pull complete [2022-10-12T03:33:50.744Z] 86bbec2aaacd: Pull complete [2022-10-12T03:33:50.744Z] e10730c5d714: Pull complete [2022-10-12T03:33:56.094Z] 5dd5c2283517: Pull complete [2022-10-12T03:33:57.514Z] d5ac0230b979: Pull complete [2022-10-12T03:33:57.514Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-12T03:33:57.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-12T03:33:57.784Z] ---> 59b3b1a385d4 [2022-10-12T03:33:57.784Z] Step 3/11 : ARG MAKE=make build [2022-10-12T03:33:59.757Z] ---> Running in 7b4c9dbb5cb3 [2022-10-12T03:33:59.757Z] Removing intermediate container 7b4c9dbb5cb3 [2022-10-12T03:33:59.757Z] ---> 520aafccca6a [2022-10-12T03:33:59.757Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-12T03:33:59.757Z] ---> Running in 3455c26e1d7a [2022-10-12T03:34:00.344Z] Removing intermediate container 3455c26e1d7a [2022-10-12T03:34:00.344Z] ---> 73ac0e0ae35a [2022-10-12T03:34:00.344Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T03:34:00.344Z] ---> Running in 3bde949d13ae [2022-10-12T03:34:00.613Z] Removing intermediate container 3bde949d13ae [2022-10-12T03:34:00.613Z] ---> 32a10301ca8d [2022-10-12T03:34:00.613Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:34:00.613Z] ---> Running in ed916b63d45e [2022-10-12T03:34:02.573Z] Removing intermediate container ed916b63d45e [2022-10-12T03:34:02.573Z] ---> 3777b72b2afb [2022-10-12T03:34:02.573Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-12T03:34:02.573Z] ---> Running in e22aee897cbc [2022-10-12T03:34:03.532Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T03:34:04.490Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T03:34:05.449Z] OK: 221 MiB in 51 packages [2022-10-12T03:34:06.037Z] Removing intermediate container e22aee897cbc [2022-10-12T03:34:06.037Z] ---> 90a0c332f766 [2022-10-12T03:34:06.037Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-12T03:34:06.626Z] ---> 9ac3a9f45224 [2022-10-12T03:34:06.626Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T03:34:06.895Z] ---> Running in 686f743d9ed9 [2022-10-12T03:34:53.752Z] Removing intermediate container 686f743d9ed9 [2022-10-12T03:34:53.752Z] ---> cce626978540 [2022-10-12T03:34:53.752Z] Step 10/11 : COPY . . [2022-10-12T03:34:53.752Z] ---> e5e9d3756edd [2022-10-12T03:34:53.752Z] Step 11/11 : RUN ${MAKE} [2022-10-12T03:34:53.752Z] ---> Running in 877910b57247 [2022-10-12T03:34:54.333Z] noop [2022-10-12T03:34:54.914Z] Removing intermediate container 877910b57247 [2022-10-12T03:34:54.914Z] ---> e0c43befb691 [2022-10-12T03:34:54.914Z] Successfully built e0c43befb691 [2022-10-12T03:34:54.914Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:34:55.369Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T03:34:55.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:34:55.598Z] prd-ubuntu20.04-docker-arm64-4c-16g-7714 does not seem to be running inside a container [2022-10-12T03:34:55.659Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T03:34:56.716Z] $ docker top 7b92e19f4fd8ad2480246e5a890fbb4e3ce0195bca1a10dcc80a53158ea7bb35 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:34:57.565Z] + go version [2022-10-12T03:34:57.565Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-12T03:34:57.601Z] $ docker stop --time=1 7b92e19f4fd8ad2480246e5a890fbb4e3ce0195bca1a10dcc80a53158ea7bb35 [2022-10-12T03:34:59.663Z] $ docker rm -f 7b92e19f4fd8ad2480246e5a890fbb4e3ce0195bca1a10dcc80a53158ea7bb35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:35:00.455Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T03:35:00.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:35:00.686Z] prd-ubuntu20.04-docker-arm64-4c-16g-7714 does not seem to be running inside a container [2022-10-12T03:35:00.749Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T03:35:01.894Z] $ docker top e95bd38c65f4102eae61c38031be769e1d45985d644f311b8e12c194dd67e2ed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:35:02.422Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-12T03:35:02.802Z] + make test [2022-10-12T03:35:02.803Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-12T03:35:41.663Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-12T03:37:48.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-12T03:37:48.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-12T03:37:48.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-12T03:37:48.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-12T03:37:48.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-12T03:37:48.358Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.280s coverage: 27.6% of statements [2022-10-12T03:37:48.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.510s coverage: 78.9% of statements [2022-10-12T03:37:48.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-12T03:37:50.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.649s coverage: 60.0% of statements [2022-10-12T03:37:50.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-12T03:37:50.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-12T03:37:58.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.961s coverage: 54.4% of statements [2022-10-12T03:37:58.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-12T03:37:58.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-12T03:37:58.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-12T03:37:58.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-12T03:37:58.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.785s coverage: 65.1% of statements [2022-10-12T03:37:58.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-12T03:37:58.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-12T03:37:58.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.902s coverage: 89.2% of statements [2022-10-12T03:37:58.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-12T03:38:00.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.249s coverage: 4.7% of statements [2022-10-12T03:38:00.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-12T03:38:01.335Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-12T03:38:01.335Z] GO111MODULE=on go vet ./... [2022-10-12T03:39:53.059Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T03:39:53.059Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T03:39:53.059Z] ./bin/test-attribution-txt.sh [2022-10-12T03:39:53.059Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-12T03:39:53.059Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-12T03:39:53.059Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-12T03:39:53.059Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-12T03:39:53.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T03:39:53.133Z] $ docker stop --time=1 e95bd38c65f4102eae61c38031be769e1d45985d644f311b8e12c194dd67e2ed [2022-10-12T03:39:54.977Z] $ docker rm -f e95bd38c65f4102eae61c38031be769e1d45985d644f311b8e12c194dd67e2ed [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T03:39:56.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T03:39:56.491Z] Warning: overwriting stash ‘coverage-report’ [2022-10-12T03:39:57.011Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T03:39:57.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T03:39:57.952Z] + ls -al . [2022-10-12T03:39:57.952Z] total 272 [2022-10-12T03:39:57.952Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 03:35 . [2022-10-12T03:39:57.952Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:33 .. [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 03:33 .dockerignore [2022-10-12T03:39:57.952Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:33 .git [2022-10-12T03:39:57.952Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:33 .github [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 03:33 .gitignore [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 03:33 .golangci.yml [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 03:33 CHANGELOG.md [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 03:33 GOVERNANCE.md [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 03:33 Jenkinsfile [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 03:33 LICENSE [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 03:33 Makefile [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 03:33 OWNERS.md [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 03:33 README.md [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 03:29 VERSION [2022-10-12T03:39:57.952Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:33 bin [2022-10-12T03:39:57.952Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 03:38 coverage.out [2022-10-12T03:39:57.952Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 03:33 example [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 03:33 go.mod [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 03:33 go.sum [2022-10-12T03:39:57.952Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 03:33 internal [2022-10-12T03:39:57.952Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:33 openapi [2022-10-12T03:39:57.952Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 03:33 pkg [2022-10-12T03:39:57.952Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:33 snap [2022-10-12T03:39:57.952Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 03:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:39:58.383Z] + 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=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e --label arch=arm64 --label version=0.0.0 . [2022-10-12T03:39:58.653Z] Sending build context to Docker daemon 5.473MB [2022-10-12T03:39:58.920Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T03:39:58.920Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-12T03:39:58.920Z] ---> e0c43befb691 [2022-10-12T03:39:58.920Z] Step 3/25 : ARG MAKE=make build [2022-10-12T03:39:58.920Z] ---> Running in 9b51e4af071a [2022-10-12T03:39:59.187Z] Removing intermediate container 9b51e4af071a [2022-10-12T03:39:59.187Z] ---> c9ecb6674e7c [2022-10-12T03:39:59.187Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-12T03:39:59.455Z] ---> Running in 63dce25008e3 [2022-10-12T03:39:59.723Z] Removing intermediate container 63dce25008e3 [2022-10-12T03:39:59.723Z] ---> 1fdef36037fd [2022-10-12T03:39:59.723Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T03:39:59.723Z] ---> Running in 252b95b65ded [2022-10-12T03:39:59.993Z] Removing intermediate container 252b95b65ded [2022-10-12T03:39:59.993Z] ---> 1d58832e8f39 [2022-10-12T03:39:59.993Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:40:00.264Z] ---> Running in c936d4a146d4 [2022-10-12T03:40:01.682Z] Removing intermediate container c936d4a146d4 [2022-10-12T03:40:01.682Z] ---> 1ce2813f27f9 [2022-10-12T03:40:01.682Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-12T03:40:01.682Z] ---> Running in 1b1530491682 [2022-10-12T03:40:03.103Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T03:40:03.696Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T03:40:04.676Z] OK: 221 MiB in 51 packages [2022-10-12T03:40:05.645Z] Removing intermediate container 1b1530491682 [2022-10-12T03:40:05.645Z] ---> e05d966448ac [2022-10-12T03:40:05.645Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-12T03:40:06.235Z] ---> 96a8fbf6b0d8 [2022-10-12T03:40:06.235Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T03:40:06.235Z] ---> Running in bd8e0bb934df [2022-10-12T03:40:08.189Z] Removing intermediate container bd8e0bb934df [2022-10-12T03:40:08.189Z] ---> 6315ec171ed9 [2022-10-12T03:40:08.189Z] Step 10/25 : COPY . . [2022-10-12T03:40:09.608Z] ---> 464b06df2ec8 [2022-10-12T03:40:09.608Z] Step 11/25 : RUN ${MAKE} [2022-10-12T03:40:09.608Z] ---> Running in 47e112dfc873 [2022-10-12T03:40:10.571Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-12T03:42:32.268Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-12T03:42:32.268Z] Removing intermediate container 47e112dfc873 [2022-10-12T03:42:32.268Z] ---> 9bcf6e1e5e2e [2022-10-12T03:42:32.268Z] Step 12/25 : FROM alpine:3.16 [2022-10-12T03:42:32.268Z] 3.16: Pulling from library/alpine [2022-10-12T03:42:32.268Z] 9b18e9b68314: Already exists [2022-10-12T03:42:32.268Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T03:42:32.268Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T03:42:32.268Z] ---> a6215f271958 [2022-10-12T03:42:32.268Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-12T03:42:32.268Z] ---> Running in 11eaf7634e46 [2022-10-12T03:42:32.268Z] Removing intermediate container 11eaf7634e46 [2022-10-12T03:42:32.268Z] ---> 7b7c7a024b5e [2022-10-12T03:42:32.268Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T03:42:32.268Z] ---> Running in 3fde3d2fc753 [2022-10-12T03:42:32.268Z] Removing intermediate container 3fde3d2fc753 [2022-10-12T03:42:32.268Z] ---> 0608a96a19b3 [2022-10-12T03:42:32.268Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-12T03:42:32.268Z] ---> Running in fb489112b292 [2022-10-12T03:42:32.268Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T03:42:32.268Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T03:42:32.268Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T03:42:32.268Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-12T03:42:32.268Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T03:42:32.268Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-12T03:42:32.268Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-12T03:42:32.268Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T03:42:32.268Z] OK: 8 MiB in 19 packages [2022-10-12T03:42:33.228Z] Removing intermediate container fb489112b292 [2022-10-12T03:42:33.228Z] ---> 75ccb0886a89 [2022-10-12T03:42:33.228Z] Step 16/25 : WORKDIR / [2022-10-12T03:42:33.228Z] ---> Running in 88910a12e4d2 [2022-10-12T03:42:33.495Z] Removing intermediate container 88910a12e4d2 [2022-10-12T03:42:33.495Z] ---> d39aeebe85c4 [2022-10-12T03:42:33.495Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-12T03:42:33.762Z] ---> 540de2286503 [2022-10-12T03:42:33.762Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-12T03:42:35.169Z] ---> 8a7c5d9b3206 [2022-10-12T03:42:35.169Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-12T03:42:35.750Z] ---> 0dd7bd9ce26f [2022-10-12T03:42:35.750Z] Step 20/25 : EXPOSE 59999 [2022-10-12T03:42:35.750Z] ---> Running in 8e7f4d841f6e [2022-10-12T03:42:36.017Z] Removing intermediate container 8e7f4d841f6e [2022-10-12T03:42:36.017Z] ---> c17953724ae9 [2022-10-12T03:42:36.017Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-12T03:42:36.017Z] ---> Running in 5048f2ad1edc [2022-10-12T03:42:36.284Z] Removing intermediate container 5048f2ad1edc [2022-10-12T03:42:36.284Z] ---> 30a06ca43c44 [2022-10-12T03:42:36.284Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T03:42:36.550Z] ---> Running in 40a20421e1e0 [2022-10-12T03:42:36.816Z] Removing intermediate container 40a20421e1e0 [2022-10-12T03:42:36.816Z] ---> bfbc19ac1cde [2022-10-12T03:42:36.816Z] Step 23/25 : LABEL arch=arm64 [2022-10-12T03:42:36.816Z] ---> Running in 17b7705814f0 [2022-10-12T03:42:37.083Z] Removing intermediate container 17b7705814f0 [2022-10-12T03:42:37.083Z] ---> cf88a1ac01ff [2022-10-12T03:42:37.083Z] Step 24/25 : LABEL git_sha=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [2022-10-12T03:42:37.083Z] ---> Running in 263466439a5f [2022-10-12T03:42:37.348Z] Removing intermediate container 263466439a5f [2022-10-12T03:42:37.348Z] ---> 9f45865acc24 [2022-10-12T03:42:37.348Z] Step 25/25 : LABEL version=0.0.0 [2022-10-12T03:42:37.616Z] ---> Running in 4e1700c44b72 [2022-10-12T03:42:37.882Z] Removing intermediate container 4e1700c44b72 [2022-10-12T03:42:37.882Z] ---> c14ce10306eb [2022-10-12T03:42:37.882Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T03:42:37.882Z] Successfully built c14ce10306eb [2022-10-12T03:42:37.882Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:42:38.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T03:42:38.664Z] [2022-10-12T03:42:38.664Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:42:39.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T03:42:39.063Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-12T03:42:39.063Z] 8998bd30e6a1: Pulling fs layer [2022-10-12T03:42:39.063Z] 04944245beec: Pulling fs layer [2022-10-12T03:42:39.063Z] 699f458cf7ca: Pulling fs layer [2022-10-12T03:42:39.063Z] 765212b225bb: Pulling fs layer [2022-10-12T03:42:39.063Z] f23df028b6ca: Pulling fs layer [2022-10-12T03:42:39.063Z] d65c8cfc05b1: Pulling fs layer [2022-10-12T03:42:39.063Z] 2437ff75d9bd: Pulling fs layer [2022-10-12T03:42:39.063Z] d65c8cfc05b1: Waiting [2022-10-12T03:42:39.063Z] 2437ff75d9bd: Waiting [2022-10-12T03:42:39.063Z] f23df028b6ca: Waiting [2022-10-12T03:42:39.332Z] 04944245beec: Verifying Checksum [2022-10-12T03:42:39.332Z] 04944245beec: Download complete [2022-10-12T03:42:39.332Z] 765212b225bb: Verifying Checksum [2022-10-12T03:42:39.332Z] 765212b225bb: Download complete [2022-10-12T03:42:39.332Z] f23df028b6ca: Verifying Checksum [2022-10-12T03:42:39.332Z] f23df028b6ca: Download complete [2022-10-12T03:42:39.332Z] d65c8cfc05b1: Verifying Checksum [2022-10-12T03:42:39.332Z] d65c8cfc05b1: Download complete [2022-10-12T03:42:39.603Z] 699f458cf7ca: Verifying Checksum [2022-10-12T03:42:39.603Z] 699f458cf7ca: Download complete [2022-10-12T03:42:39.871Z] 8998bd30e6a1: Verifying Checksum [2022-10-12T03:42:39.871Z] 8998bd30e6a1: Download complete [2022-10-12T03:42:42.445Z] 2437ff75d9bd: Verifying Checksum [2022-10-12T03:42:42.445Z] 2437ff75d9bd: Download complete [2022-10-12T03:42:43.400Z] 8998bd30e6a1: Pull complete [2022-10-12T03:42:43.982Z] 04944245beec: Pull complete [2022-10-12T03:42:45.384Z] 699f458cf7ca: Pull complete [2022-10-12T03:42:45.384Z] 765212b225bb: Pull complete [2022-10-12T03:42:45.965Z] f23df028b6ca: Pull complete [2022-10-12T03:42:46.231Z] d65c8cfc05b1: Pull complete [2022-10-12T03:43:01.207Z] 2437ff75d9bd: Pull complete [2022-10-12T03:43:01.207Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-12T03:43:01.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T03:43:01.207Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:43:01.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-7714 does not seem to be running inside a container [2022-10-12T03:43:01.578Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-12T03:43:04.294Z] $ docker top dc04c0cfdde71791fc7a6c289d1eeaf62906cc0857027beff0ae39998a0bf1e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:43:04.853Z] ---> job-cost.sh [2022-10-12T03:43:05.119Z] lf-activate-venv: SKIPPING [2022-10-12T03:43:05.119Z] INFO: No Stack... [2022-10-12T03:43:05.704Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-12T03:43:06.285Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T03:43:06.947Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-10-12T03:43:06.947Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T03:43:07.029Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [2022-10-12T03:43:07.033Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] did not exist. Created. [2022-10-12T03:43:07.034Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T03:43:07.749Z] /w/workspace/device-sdk-go/1@tmp/durable-5c60c285/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-12T03:43:08.095Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-12T03:43:08.391Z] Warning: overwriting stash ‘stack-cost’ [2022-10-12T03:43:08.475Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T03:43:08.490Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T03:43:08.564Z] $ docker stop --time=1 dc04c0cfdde71791fc7a6c289d1eeaf62906cc0857027beff0ae39998a0bf1e5 [2022-10-12T03:43:10.074Z] $ docker rm -f dc04c0cfdde71791fc7a6c289d1eeaf62906cc0857027beff0ae39998a0bf1e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-12T03:43:11.129Z] provisioning config files... [2022-10-12T03:43:11.136Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/config4291629009520866887tmp [Pipeline] { [Pipeline] sh [2022-10-12T03:43:11.471Z] + set +x [2022-10-12T03:43:11.471Z] + curl -s https://codecov.io/bash [2022-10-12T03:43:11.471Z] + bash -s -- [2022-10-12T03:43:11.471Z] [2022-10-12T03:43:11.471Z] _____ _ [2022-10-12T03:43:11.471Z] / ____| | | [2022-10-12T03:43:11.471Z] | | ___ __| | ___ ___ _____ __ [2022-10-12T03:43:11.471Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-12T03:43:11.471Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-12T03:43:11.471Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-12T03:43:11.471Z] Bash-1.0.6 [2022-10-12T03:43:11.471Z] [2022-10-12T03:43:11.471Z] [2022-10-12T03:43:11.471Z] ==> git version 2.25.1 found [2022-10-12T03:43:11.471Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-12T03:43:11.471Z] Release-Date: 2020-01-08 [2022-10-12T03:43:11.471Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-12T03:43:11.471Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-12T03:43:11.471Z] ==> Jenkins CI detected. [2022-10-12T03:43:11.471Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1231 [2022-10-12T03:43:11.471Z] project root: . [2022-10-12T03:43:11.471Z] --> token set from env [2022-10-12T03:43:11.471Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-12T03:43:11.471Z] ==> Running gcov in . (disable via -X gcov) [2022-10-12T03:43:11.471Z] ==> Python coveragepy not found [2022-10-12T03:43:11.471Z] ==> Searching for coverage reports in: [2022-10-12T03:43:11.471Z] + . [2022-10-12T03:43:11.471Z] -> Found 1 reports [2022-10-12T03:43:11.471Z] ==> Detecting git/mercurial file structure [2022-10-12T03:43:11.471Z] ==> Reading reports [2022-10-12T03:43:11.471Z] + ./coverage.out bytes=101009 [2022-10-12T03:43:11.729Z] ==> Appending adjustments [2022-10-12T03:43:11.729Z] https://docs.codecov.io/docs/fixing-reports [2022-10-12T03:43:11.989Z] + Found adjustments [2022-10-12T03:43:11.989Z] ==> Gzipping contents [2022-10-12T03:43:11.989Z] 16K /tmp/codecov.5K71MS.gz [2022-10-12T03:43:11.989Z] ==> Uploading reports [2022-10-12T03:43:11.989Z] url: https://codecov.io [2022-10-12T03:43:11.989Z] query: branch=PR-1231&commit=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1231&job=&cmd_args= [2022-10-12T03:43:11.989Z] -> Pinging Codecov [2022-10-12T03:43:11.989Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1231&commit=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1231&job=&cmd_args= [2022-10-12T03:43:12.248Z] -> Uploading to [2022-10-12T03:43:12.248Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-12/7E55EF52A471D76F132DFD9A03CDDE97/a2bfef7a77ff891edaffe0f69894abb3f2a2e13e/249551c6-0a44-45d2-80f2-b99a4cb54f82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T034312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=152854e355efee3ed848ed4ae23a8e681e9225548b742544a94d135162733770 [2022-10-12T03:43:12.248Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T03:43:12.248Z] Dload Upload Total Spent Left Speed [2022-10-12T03:43:12.507Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14575 0 0 100 14575 0 62553 --:--:-- --:--:-- --:--:-- 62553 [2022-10-12T03:43:12.507Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] } [2022-10-12T03:43:12.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-12T03:43:14.246Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives ] [2022-10-12T03:43:14.246Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives [2022-10-12T03:43:14.246Z] total 16 [2022-10-12T03:43:14.246Z] drwxr-xr-x 3 root root 4096 Oct 12 03:31 . [2022-10-12T03:43:14.246Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 03:31 .. [2022-10-12T03:43:14.246Z] drwxr-xr-x 2 root root 4096 Oct 12 03:31 cost [2022-10-12T03:43:14.246Z] -rw-r--r-- 1 root root 86 Oct 12 03:31 cost.csv [2022-10-12T03:43:14.246Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives [2022-10-12T03:43:14.246Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives [2022-10-12T03:43:14.246Z] total 16 [2022-10-12T03:43:14.246Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 03:31 . [2022-10-12T03:43:14.246Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 03:31 .. [2022-10-12T03:43:14.246Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 03:31 cost [2022-10-12T03:43:14.246Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 12 03:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:43:14.572Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:43:15.463Z] ---> package-listing.sh [2022-10-12T03:43:15.463Z] ++ facter osfamily [2022-10-12T03:43:15.463Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-12T03:43:15.722Z] + OS_FAMILY=debian [2022-10-12T03:43:15.722Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1231 [2022-10-12T03:43:15.722Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-12T03:43:15.722Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-12T03:43:15.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-12T03:43:15.723Z] + PACKAGES=/tmp/packages_start.txt [2022-10-12T03:43:15.723Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1231 ']' [2022-10-12T03:43:15.723Z] + PACKAGES=/tmp/packages_end.txt [2022-10-12T03:43:15.723Z] + case "${OS_FAMILY}" in [2022-10-12T03:43:15.723Z] + dpkg -l [2022-10-12T03:43:15.723Z] + grep '^ii' [2022-10-12T03:43:15.723Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-12T03:43:15.723Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-12T03:43:15.723Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-12T03:43:15.723Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1231 ']' [2022-10-12T03:43:15.723Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives/ [2022-10-12T03:43:15.723Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives/ [Pipeline] echo [2022-10-12T03:43:15.757Z] 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-1231/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-12T03:43:16.046Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T03:43:16.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T03:43:16.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T03:43:16.556Z] prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container [2022-10-12T03:43:16.594Z] $ 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-1231/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-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T03:43:16.881Z] $ docker top 4ec2f281b7014b773a8100c75e1d1ab7fef9fd476e31a5fc004e5295467bb33e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T03:43:17.251Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-12T03:43:17.558Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-12T03:43:17.867Z] + ls /var/log/sa-host [2022-10-12T03:43:17.867Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T03:43:18.088Z] provisioning config files... [2022-10-12T03:43:18.097Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/config582841086566442531tmp [Pipeline] { [Pipeline] echo [2022-10-12T03:43:18.147Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:43:18.454Z] ---> create-netrc.sh [Pipeline] } [2022-10-12T03:43:18.482Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:43:18.898Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-12T03:43:18.932Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:43:19.247Z] ---> sudo-logs.sh [2022-10-12T03:43:19.248Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-12T03:43:19.335Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:43:19.643Z] ---> job-cost.sh [2022-10-12T03:43:19.643Z] lf-activate-venv: SKIPPING [2022-10-12T03:43:19.643Z] DEBUG: total: 0.2199999988079071 [2022-10-12T03:43:19.643Z] INFO: Retrieving Stack Cost... [2022-10-12T03:43:20.210Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T03:43:20.469Z] INFO: Archiving Costs [Pipeline] echo [2022-10-12T03:43:20.505Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T03:43:20.813Z] ---> logs-deploy.sh [2022-10-12T03:43:20.813Z] lf-activate-venv: SKIPPING [2022-10-12T03:43:20.813Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1231/1 [2022-10-12T03:43:20.813Z] INFO: archiving workspace using pattern(s): [2022-10-12T03:43:21.751Z] Archives upload complete. [2022-10-12T03:43:22.010Z] INFO: archiving logs to Nexus