Pull request #1212 updated 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 aed16fd80258b9c070839bfa1939c8f6aec5170d+e5efdee9dd9df15b49fe73e0060b5d971241be0d (893f5c93b3825f70ae3a770682cba94879810247) 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-ssh7157327910161990532.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-ssh12116208464323591798.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1212/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1212/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5066631981382760731.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 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-ssh2376886036829605144.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1212/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1212/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15129651948971767014.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 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-572 in /w/workspace/gexfoundry_device-sdk-go_PR-1212 [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-1212 # 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/1212/head:refs/remotes/origin/PR-1212 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit aed16fd80258b9c070839bfa1939c8f6aec5170d Merge succeeded, producing aed16fd80258b9c070839bfa1939c8f6aec5170d Checking out Revision aed16fd80258b9c070839bfa1939c8f6aec5170d (PR-1212) > git config core.sparsecheckout # timeout=10 > git checkout -f aed16fd80258b9c070839bfa1939c8f6aec5170d # 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 e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aed16fd80258b9c070839bfa1939c8f6aec5170d # timeout=10 Commit message: "feat: subscribe command request via internal messaging" First time build. Skipping changelog. > git rev-list --no-walk 59723b15e27aa6eb9315403fed3c25b458071642 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T16:08:55.735Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T16:08:55.798Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T16:08:55.814Z] ========================================================= [2022-09-22T16:08:55.814Z] EdgeX Global Pipelines Version Info [2022-09-22T16:08:55.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:08:56.565Z] ------------------- [2022-09-22T16:08:56.565Z] stable info: [2022-09-22T16:08:56.565Z] ------------------- [2022-09-22T16:08:56.565Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T16:08:56.565Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T16:08:56.565Z] Message: update stable to v1.0.239 [2022-09-22T16:08:57.140Z] ------------------- [2022-09-22T16:08:57.140Z] experimental info: [2022-09-22T16:08:57.140Z] ------------------- [2022-09-22T16:08:57.140Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T16:08:57.140Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T16:08:57.140Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T16:08:57.307Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-22T16:08:57.315Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-22T16:08:57.324Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T16:08:57.331Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T16:08:57.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T16:08:57.346Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T16:08:57.354Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T16:08:57.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-22T16:08:57.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T16:08:57.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T16:08:57.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T16:08:57.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-22T16:08:57.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T16:08:57.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T16:08:57.471Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T16:08:57.489Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:08:57.504Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:08:57.516Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:08:57.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T16:08:57.538Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T16:08:57.548Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-22T16:08:57.563Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-22T16:08:57.581Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T16:08:57.597Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T16:08:57.605Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T16:08:57.616Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T16:08:57.627Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T16:08:57.640Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1212 [Pipeline] echo [2022-09-22T16:08:57.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1212 [Pipeline] echo [2022-09-22T16:08:57.668Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1212 [Pipeline] echo [2022-09-22T16:08:57.678Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] echo [2022-09-22T16:08:57.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aed16fd [Pipeline] echo [2022-09-22T16:08:57.700Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:08:57.741Z] provisioning config files... [2022-09-22T16:08:57.758Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/config4714087538219006666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:08:58.058Z] ---> docker-login.sh [2022-09-22T16:08:58.058Z] nexus3.edgexfoundry.org:10001 [2022-09-22T16:08:58.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:08:58.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:08:58.577Z] Configure a credential helper to remove this warning. See [2022-09-22T16:08:58.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:08:58.577Z] [2022-09-22T16:08:58.577Z] Login Succeeded [2022-09-22T16:08:58.577Z] nexus3.edgexfoundry.org:10002 [2022-09-22T16:08:58.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:08:58.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:08:58.577Z] Configure a credential helper to remove this warning. See [2022-09-22T16:08:58.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:08:58.577Z] [2022-09-22T16:08:58.577Z] Login Succeeded [2022-09-22T16:08:58.577Z] nexus3.edgexfoundry.org:10003 [2022-09-22T16:08:58.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:08:58.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:08:58.838Z] Configure a credential helper to remove this warning. See [2022-09-22T16:08:58.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:08:58.838Z] [2022-09-22T16:08:58.838Z] Login Succeeded [2022-09-22T16:08:58.838Z] nexus3.edgexfoundry.org:10004 [2022-09-22T16:08:58.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:08:58.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:08:58.838Z] Configure a credential helper to remove this warning. See [2022-09-22T16:08:58.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:08:58.838Z] [2022-09-22T16:08:58.838Z] Login Succeeded [2022-09-22T16:08:58.838Z] docker.io [2022-09-22T16:08:58.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:08:59.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:08:59.408Z] Configure a credential helper to remove this warning. See [2022-09-22T16:08:59.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:08:59.408Z] [2022-09-22T16:08:59.408Z] Login Succeeded [2022-09-22T16:08:59.408Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T16:08:59.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T16:08:59.783Z] + git rev-list -1 --merges aed16fd80258b9c070839bfa1939c8f6aec5170d~1..aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] echo [2022-09-22T16:08:59.816Z] -----------> git rev-list -1 --merges aed16fd80258b9c070839bfa1939c8f6aec5170d~1..aed16fd80258b9c070839bfa1939c8f6aec5170d aed16fd80258b9c070839bfa1939c8f6aec5170d [false] [Pipeline] sh [2022-09-22T16:09:00.103Z] + git log --format=format:%s -1 aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] echo [2022-09-22T16:09:00.116Z] ========================================================= [2022-09-22T16:09:00.116Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T16:09:00.116Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:09:00.430Z] + git log --format=format:%s -1 aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] echo [2022-09-22T16:09:00.441Z] [semverPrep] GIT_COMMIT: aed16fd80258b9c070839bfa1939c8f6aec5170d, Commit Message: feat: subscribe command request via internal messaging [Pipeline] echo [2022-09-22T16:09:00.450Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T16:09:00.819Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:09:00.819Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T16:09:00.819Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T16:09:00.819Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T16:09:00.820Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T16:09:00.820Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T16:09:00.820Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:09:01.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:09:01.225Z] [2022-09-22T16:09:01.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:09:01.523Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:09:01.523Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T16:09:01.523Z] b85a868b505f: Pulling fs layer [2022-09-22T16:09:01.523Z] e2be974225ed: Pulling fs layer [2022-09-22T16:09:01.523Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T16:09:01.523Z] 988bab9f4d93: Pulling fs layer [2022-09-22T16:09:01.523Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T16:09:01.523Z] eaf3925da568: Pulling fs layer [2022-09-22T16:09:01.523Z] bab4dde63d76: Pulling fs layer [2022-09-22T16:09:01.523Z] bde34c3a00c8: Pulling fs layer [2022-09-22T16:09:01.523Z] b352a97aabf1: Pulling fs layer [2022-09-22T16:09:01.523Z] 4872d77fe225: Pulling fs layer [2022-09-22T16:09:01.523Z] 5851b861e8e6: Pulling fs layer [2022-09-22T16:09:01.523Z] 988bab9f4d93: Waiting [2022-09-22T16:09:01.523Z] 1469e6f7b9e6: Waiting [2022-09-22T16:09:01.523Z] bab4dde63d76: Waiting [2022-09-22T16:09:01.523Z] bde34c3a00c8: Waiting [2022-09-22T16:09:01.523Z] 4872d77fe225: Waiting [2022-09-22T16:09:01.523Z] 5851b861e8e6: Waiting [2022-09-22T16:09:01.523Z] eaf3925da568: Waiting [2022-09-22T16:09:01.523Z] b352a97aabf1: Waiting [2022-09-22T16:09:01.523Z] e2be974225ed: Download complete [2022-09-22T16:09:01.523Z] 988bab9f4d93: Verifying Checksum [2022-09-22T16:09:01.523Z] 988bab9f4d93: Download complete [2022-09-22T16:09:01.787Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T16:09:01.787Z] 1469e6f7b9e6: Download complete [2022-09-22T16:09:01.787Z] eaf3925da568: Verifying Checksum [2022-09-22T16:09:01.787Z] eaf3925da568: Download complete [2022-09-22T16:09:01.787Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T16:09:01.787Z] 339a4e72a1f5: Download complete [2022-09-22T16:09:01.787Z] bde34c3a00c8: Download complete [2022-09-22T16:09:01.787Z] b352a97aabf1: Verifying Checksum [2022-09-22T16:09:01.787Z] b352a97aabf1: Download complete [2022-09-22T16:09:01.787Z] 4872d77fe225: Verifying Checksum [2022-09-22T16:09:01.787Z] 4872d77fe225: Download complete [2022-09-22T16:09:01.787Z] 5851b861e8e6: Verifying Checksum [2022-09-22T16:09:01.787Z] 5851b861e8e6: Download complete [2022-09-22T16:09:01.787Z] b85a868b505f: Verifying Checksum [2022-09-22T16:09:01.787Z] b85a868b505f: Download complete [2022-09-22T16:09:02.045Z] bab4dde63d76: Verifying Checksum [2022-09-22T16:09:02.045Z] bab4dde63d76: Download complete [2022-09-22T16:09:02.979Z] b85a868b505f: Pull complete [2022-09-22T16:09:03.237Z] e2be974225ed: Pull complete [2022-09-22T16:09:03.802Z] 339a4e72a1f5: Pull complete [2022-09-22T16:09:03.802Z] 988bab9f4d93: Pull complete [2022-09-22T16:09:04.061Z] 1469e6f7b9e6: Pull complete [2022-09-22T16:09:04.061Z] eaf3925da568: Pull complete [2022-09-22T16:09:05.962Z] bab4dde63d76: Pull complete [2022-09-22T16:09:05.962Z] bde34c3a00c8: Pull complete [2022-09-22T16:09:06.221Z] b352a97aabf1: Pull complete [2022-09-22T16:09:06.221Z] 4872d77fe225: Pull complete [2022-09-22T16:09:06.221Z] 5851b861e8e6: Pull complete [2022-09-22T16:09:06.221Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T16:09:06.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:09:06.221Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:09:06.298Z] prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container [2022-09-22T16:09:06.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@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-devops/py-git-semver:0.1.4 cat [2022-09-22T16:09:07.661Z] $ docker top 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d -eo pid,comm [2022-09-22T16:09:07.721Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-22T16:09:07.721Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:09:07.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:09:07.758Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:09:07.879Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:09:07.907Z] $ docker exec 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d ssh-agent [2022-09-22T16:09:08.041Z] SSH_AUTH_SOCK=/tmp/ssh-REeFnJ0Z9vSq/agent.32 [2022-09-22T16:09:08.041Z] SSH_AGENT_PID=38 [2022-09-22T16:09:08.061Z] Running ssh-add (command line suppressed) [2022-09-22T16:09:08.166Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/private_key_6269999063172685656.key (/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/private_key_6269999063172685656.key) [2022-09-22T16:09:08.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:09:08.465Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T16:09:08.478Z] $ docker exec --env ******** --env ******** 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d ssh-agent -k [2022-09-22T16:09:08.573Z] unset SSH_AUTH_SOCK; [2022-09-22T16:09:08.574Z] unset SSH_AGENT_PID; [2022-09-22T16:09:08.574Z] echo Agent pid 38 killed; [2022-09-22T16:09:08.584Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T16:09:08.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:09:08.611Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:09:08.722Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:09:08.726Z] $ docker exec 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d ssh-agent [2022-09-22T16:09:08.835Z] SSH_AUTH_SOCK=/tmp/ssh-wNPpvyuFPHhf/agent.70 [2022-09-22T16:09:08.835Z] SSH_AGENT_PID=76 [2022-09-22T16:09:08.841Z] Running ssh-add (command line suppressed) [2022-09-22T16:09:08.947Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/private_key_9456734114183999415.key (/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/private_key_9456734114183999415.key) [2022-09-22T16:09:08.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:09:09.246Z] + git semver init [2022-09-22T16:09:09.505Z] 2022-09-22 16:09:09,439 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T16:09:09.505Z] 2022-09-22 16:09:09,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver [2022-09-22T16:09:09.505Z] 2022-09-22 16:09:09,441 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver [2022-09-22T16:09:09.505Z] 2022-09-22 16:09:09,441 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1212, universal_newlines=False, shell=None, istream=None) [2022-09-22T16:09:10.882Z] 2022-09-22 16:09:10,457 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212/.git/info/exclude [2022-09-22T16:09:10.882Z] 2022-09-22 16:09:10,458 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver/PR-1212 with force:False [2022-09-22T16:09:10.882Z] 2022-09-22 16:09:10,458 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver/PR-1212 [2022-09-22T16:09:10.882Z] 2022-09-22 16:09:10,463 [execute] INFO git cat-file --batch-check [2022-09-22T16:09:10.882Z] 2022-09-22 16:09:10,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T16:09:10.882Z] 2022-09-22 16:09:10,470 [execute] INFO git cat-file --batch [2022-09-22T16:09:10.882Z] 2022-09-22 16:09:10,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T16:09:10.882Z] 2022-09-22 16:09:10,475 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1212/.semver/PR-1212 [2022-09-22T16:09:10.882Z] 0.0.0 [Pipeline] } [2022-09-22T16:09:10.893Z] $ docker exec --env ******** --env ******** 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d ssh-agent -k [2022-09-22T16:09:10.988Z] unset SSH_AUTH_SOCK; [2022-09-22T16:09:10.988Z] unset SSH_AGENT_PID; [2022-09-22T16:09:10.988Z] echo Agent pid 76 killed; [2022-09-22T16:09:10.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:09:11.299Z] + git semver [Pipeline] } [2022-09-22T16:09:11.573Z] $ docker stop --time=1 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d [2022-09-22T16:09:12.951Z] $ docker rm -f 6145e8a7e72cd803eec8e0e12114fd558778c8936799a5faf57138633f91bf6d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:09:13.289Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T16:09:13.453Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T16:09:13.456Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:09:13.585Z] provisioning config files... [2022-09-22T16:09:13.595Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/config3583995524093291249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:09:13.888Z] ---> docker-login.sh [2022-09-22T16:09:13.888Z] nexus3.edgexfoundry.org:10001 [2022-09-22T16:09:13.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:09:13.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:09:13.888Z] Configure a credential helper to remove this warning. See [2022-09-22T16:09:13.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:09:13.888Z] [2022-09-22T16:09:13.888Z] Login Succeeded [2022-09-22T16:09:13.888Z] nexus3.edgexfoundry.org:10002 [2022-09-22T16:09:13.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:09:13.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:09:13.888Z] Configure a credential helper to remove this warning. See [2022-09-22T16:09:13.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:09:13.888Z] [2022-09-22T16:09:13.888Z] Login Succeeded [2022-09-22T16:09:13.888Z] nexus3.edgexfoundry.org:10003 [2022-09-22T16:09:14.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:09:14.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:09:14.148Z] Configure a credential helper to remove this warning. See [2022-09-22T16:09:14.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:09:14.148Z] [2022-09-22T16:09:14.148Z] Login Succeeded [2022-09-22T16:09:14.148Z] nexus3.edgexfoundry.org:10004 [2022-09-22T16:09:14.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:09:14.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:09:14.148Z] Configure a credential helper to remove this warning. See [2022-09-22T16:09:14.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:09:14.148Z] [2022-09-22T16:09:14.148Z] Login Succeeded [2022-09-22T16:09:14.148Z] docker.io [2022-09-22T16:09:14.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:09:14.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:09:14.667Z] Configure a credential helper to remove this warning. See [2022-09-22T16:09:14.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:09:14.667Z] [2022-09-22T16:09:14.667Z] Login Succeeded [2022-09-22T16:09:14.667Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T16:09:14.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T16:09:14.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:09:14.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:09:14.745Z] ========================================================= [2022-09-22T16:09:14.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T16:09:14.745Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:09:15.062Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T16:09:15.062Z] Sending build context to Docker daemon 9.89MB [2022-09-22T16:09:15.062Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:09:15.062Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T16:09:15.062Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T16:09:15.062Z] 2408cc74d12b: Pulling fs layer [2022-09-22T16:09:15.062Z] ea60b727a1ce: Pulling fs layer [2022-09-22T16:09:15.062Z] 30c4a7721957: Pulling fs layer [2022-09-22T16:09:15.062Z] 370296b7ddb6: Pulling fs layer [2022-09-22T16:09:15.062Z] 7c6cee850709: Pulling fs layer [2022-09-22T16:09:15.062Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T16:09:15.062Z] d94ebbe4e438: Pulling fs layer [2022-09-22T16:09:15.062Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T16:09:15.062Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T16:09:15.062Z] 370296b7ddb6: Waiting [2022-09-22T16:09:15.062Z] 39a5fcdaea64: Waiting [2022-09-22T16:09:15.062Z] d94ebbe4e438: Waiting [2022-09-22T16:09:15.062Z] bcfd1f05c69d: Waiting [2022-09-22T16:09:15.062Z] 7c6cee850709: Waiting [2022-09-22T16:09:15.062Z] 59ccb84bbe0f: Waiting [2022-09-22T16:09:15.062Z] 30c4a7721957: Verifying Checksum [2022-09-22T16:09:15.062Z] 30c4a7721957: Download complete [2022-09-22T16:09:15.062Z] ea60b727a1ce: Download complete [2022-09-22T16:09:15.328Z] 7c6cee850709: Verifying Checksum [2022-09-22T16:09:15.328Z] 7c6cee850709: Download complete [2022-09-22T16:09:15.328Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T16:09:15.328Z] 39a5fcdaea64: Download complete [2022-09-22T16:09:15.328Z] 2408cc74d12b: Verifying Checksum [2022-09-22T16:09:15.328Z] 2408cc74d12b: Download complete [2022-09-22T16:09:15.328Z] d94ebbe4e438: Verifying Checksum [2022-09-22T16:09:15.328Z] d94ebbe4e438: Download complete [2022-09-22T16:09:15.328Z] 2408cc74d12b: Pull complete [2022-09-22T16:09:15.587Z] ea60b727a1ce: Pull complete [2022-09-22T16:09:15.587Z] 30c4a7721957: Pull complete [2022-09-22T16:09:15.587Z] 59ccb84bbe0f: Download complete [2022-09-22T16:09:16.155Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T16:09:16.155Z] bcfd1f05c69d: Download complete [2022-09-22T16:09:16.155Z] 370296b7ddb6: Verifying Checksum [2022-09-22T16:09:16.155Z] 370296b7ddb6: Download complete [2022-09-22T16:09:20.342Z] 370296b7ddb6: Pull complete [2022-09-22T16:09:20.342Z] 7c6cee850709: Pull complete [2022-09-22T16:09:20.342Z] 39a5fcdaea64: Pull complete [2022-09-22T16:09:20.342Z] d94ebbe4e438: Pull complete [2022-09-22T16:09:22.875Z] bcfd1f05c69d: Pull complete [2022-09-22T16:09:23.134Z] 59ccb84bbe0f: Pull complete [2022-09-22T16:09:23.134Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T16:09:23.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T16:09:23.395Z] ---> a4fb48ad2a94 [2022-09-22T16:09:23.395Z] Step 3/11 : ARG MAKE=make build [2022-09-22T16:09:25.302Z] ---> Running in 4d55e803f6b6 [2022-09-22T16:09:25.302Z] Removing intermediate container 4d55e803f6b6 [2022-09-22T16:09:25.302Z] ---> a60814d34323 [2022-09-22T16:09:25.302Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T16:09:25.302Z] ---> Running in 95859288fba2 [2022-09-22T16:09:25.302Z] Removing intermediate container 95859288fba2 [2022-09-22T16:09:25.302Z] ---> 8d11340ef3a4 [2022-09-22T16:09:25.302Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:09:25.302Z] ---> Running in 3f39fd3866cf [2022-09-22T16:09:25.561Z] Removing intermediate container 3f39fd3866cf [2022-09-22T16:09:25.561Z] ---> 63b1f3fcadb5 [2022-09-22T16:09:25.561Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:09:25.561Z] ---> Running in 9527d9f5fbe4 [2022-09-22T16:09:26.129Z] Removing intermediate container 9527d9f5fbe4 [2022-09-22T16:09:26.129Z] ---> 621b8d15188b [2022-09-22T16:09:26.129Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:09:26.129Z] ---> Running in 9008dc9db3d4 [2022-09-22T16:09:26.389Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T16:09:27.324Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T16:09:27.583Z] OK: 211 MiB in 51 packages [2022-09-22T16:09:28.150Z] Removing intermediate container 9008dc9db3d4 [2022-09-22T16:09:28.150Z] ---> cb45c74a47f2 [2022-09-22T16:09:28.150Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T16:09:28.150Z] ---> 449cac2fc94e [2022-09-22T16:09:28.150Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:09:28.150Z] ---> Running in 811f965ebfa3 [2022-09-22T16:09:28.551Z] Still waiting to schedule task [2022-09-22T16:09:28.551Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-22T16:09:46.292Z] Removing intermediate container 811f965ebfa3 [2022-09-22T16:09:46.293Z] ---> 47b71b04588b [2022-09-22T16:09:46.293Z] Step 10/11 : COPY . . [2022-09-22T16:09:46.293Z] ---> d35bcd522fe1 [2022-09-22T16:09:46.293Z] Step 11/11 : RUN ${MAKE} [2022-09-22T16:09:46.293Z] ---> Running in 907e200ac386 [2022-09-22T16:09:46.293Z] noop [2022-09-22T16:09:46.293Z] Removing intermediate container 907e200ac386 [2022-09-22T16:09:46.293Z] ---> 104437e46ce3 [2022-09-22T16:09:46.293Z] Successfully built 104437e46ce3 [2022-09-22T16:09:46.293Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:09:46.599Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T16:09:46.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:09:46.671Z] prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container [2022-09-22T16:09:46.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T16:09:47.074Z] $ docker top 79540693252f2dc53a5c7bd6a9807bd97eb4f73f3069ce8a309ffabac37f98a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:09:47.407Z] + go version [2022-09-22T16:09:47.407Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T16:09:47.420Z] $ docker stop --time=1 79540693252f2dc53a5c7bd6a9807bd97eb4f73f3069ce8a309ffabac37f98a9 [2022-09-22T16:09:48.729Z] $ docker rm -f 79540693252f2dc53a5c7bd6a9807bd97eb4f73f3069ce8a309ffabac37f98a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:09:49.099Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T16:09:49.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:09:49.163Z] prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container [2022-09-22T16:09:49.190Z] $ 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-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T16:09:49.554Z] $ docker top 6b4db8e7fc33619b9f9e6cb38dd36defa471d8152d01173ac4128f06834e2cce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:09:49.887Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1212 [Pipeline] fileExists [Pipeline] sh [2022-09-22T16:09:50.179Z] + make test [2022-09-22T16:09:50.179Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T16:09:56.736Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T16:10:11.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-09-22T16:10:11.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T16:10:11.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.069s coverage: 60.0% of statements [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T16:10:11.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 54.4% of statements [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T16:10:11.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 65.1% of statements [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T16:10:11.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.735s coverage: 89.2% of statements [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T16:10:11.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.5% of statements [2022-09-22T16:10:11.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T16:10:26.506Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-22T16:10:26.506Z] GO111MODULE=on go vet ./... [2022-09-22T16:10:29.794Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:10:30.052Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:10:30.052Z] ./bin/test-attribution-txt.sh [2022-09-22T16:10:30.052Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T16:10:30.052Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-22T16:10:30.052Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-22T16:10:30.052Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-22T16:10:30.052Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T16:10:30.052Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T16:10:30.052Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T16:10:30.052Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T16:10:30.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T16:10:30.081Z] $ docker stop --time=1 6b4db8e7fc33619b9f9e6cb38dd36defa471d8152d01173ac4128f06834e2cce [2022-09-22T16:10:32.259Z] $ docker rm -f 6b4db8e7fc33619b9f9e6cb38dd36defa471d8152d01173ac4128f06834e2cce [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:10:32.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T16:10:32.819Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T16:10:33.322Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T16:10:33.605Z] + ls -al . [2022-09-22T16:10:33.605Z] total 276 [2022-09-22T16:10:33.605Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 16:09 . [2022-09-22T16:10:33.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:08 .. [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:08 .dockerignore [2022-09-22T16:10:33.605Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:10 .git [2022-09-22T16:10:33.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:08 .github [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:08 .gitignore [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:08 .golangci.yml [2022-09-22T16:10:33.605Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:09 .semver [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:08 CHANGELOG.md [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:08 GOVERNANCE.md [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:08 Jenkinsfile [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:08 LICENSE [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:08 Makefile [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:08 OWNERS.md [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:08 README.md [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 16:09 VERSION [2022-09-22T16:10:33.605Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:08 bin [2022-09-22T16:10:33.605Z] -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:10 coverage.out [2022-09-22T16:10:33.605Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:08 example [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 16:08 go.mod [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 16:08 go.sum [2022-09-22T16:10:33.605Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:08 internal [2022-09-22T16:10:33.605Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:08 openapi [2022-09-22T16:10:33.605Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:08 pkg [2022-09-22T16:10:33.605Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:08 snap [2022-09-22T16:10:33.605Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:10:33.913Z] + 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=aed16fd80258b9c070839bfa1939c8f6aec5170d --label arch=amd64 --label version=0.0.0 . [2022-09-22T16:10:33.913Z] Sending build context to Docker daemon 9.992MB [2022-09-22T16:10:33.913Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:10:33.913Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T16:10:33.913Z] ---> 104437e46ce3 [2022-09-22T16:10:33.913Z] Step 3/25 : ARG MAKE=make build [2022-09-22T16:10:34.175Z] ---> Running in 4e5d97bdcec0 [2022-09-22T16:10:34.175Z] Removing intermediate container 4e5d97bdcec0 [2022-09-22T16:10:34.175Z] ---> c24411bd638d [2022-09-22T16:10:34.175Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T16:10:34.175Z] ---> Running in 37c3219f9d38 [2022-09-22T16:10:34.175Z] Removing intermediate container 37c3219f9d38 [2022-09-22T16:10:34.175Z] ---> bdb890f9f25f [2022-09-22T16:10:34.175Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:10:34.433Z] ---> Running in 4ae794184d69 [2022-09-22T16:10:34.433Z] Removing intermediate container 4ae794184d69 [2022-09-22T16:10:34.433Z] ---> 97de86157e3e [2022-09-22T16:10:34.433Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:10:34.433Z] ---> Running in b738b9ae4049 [2022-09-22T16:10:35.000Z] Removing intermediate container b738b9ae4049 [2022-09-22T16:10:35.000Z] ---> 0c82fdeac92f [2022-09-22T16:10:35.000Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:10:35.000Z] ---> Running in 0b7822fc3eaa [2022-09-22T16:10:35.259Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T16:10:36.196Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T16:10:36.454Z] OK: 211 MiB in 51 packages [2022-09-22T16:10:36.712Z] Removing intermediate container 0b7822fc3eaa [2022-09-22T16:10:36.712Z] ---> f99fb2f06052 [2022-09-22T16:10:36.712Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T16:10:36.970Z] ---> e179cb90761c [2022-09-22T16:10:36.970Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:10:36.970Z] ---> Running in 3f63d460c014 [2022-09-22T16:10:37.906Z] Removing intermediate container 3f63d460c014 [2022-09-22T16:10:37.906Z] ---> d7692f73b614 [2022-09-22T16:10:37.906Z] Step 10/25 : COPY . . [2022-09-22T16:10:38.163Z] ---> 39893bf20df7 [2022-09-22T16:10:38.163Z] Step 11/25 : RUN ${MAKE} [2022-09-22T16:10:38.163Z] ---> Running in 283c9034df46 [2022-09-22T16:10:38.422Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T16:10:56.495Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T16:10:56.755Z] Removing intermediate container 283c9034df46 [2022-09-22T16:10:56.755Z] ---> 6d292907b3bf [2022-09-22T16:10:56.755Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T16:10:57.320Z] 3.16: Pulling from library/alpine [2022-09-22T16:10:57.580Z] 213ec9aee27d: Pulling fs layer [2022-09-22T16:10:57.851Z] 213ec9aee27d: Verifying Checksum [2022-09-22T16:10:57.851Z] 213ec9aee27d: Download complete [2022-09-22T16:10:57.851Z] 213ec9aee27d: Pull complete [2022-09-22T16:10:57.851Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T16:10:57.851Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T16:10:57.851Z] ---> 9c6f07244728 [2022-09-22T16:10:57.851Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:10:57.851Z] ---> Running in 629af28e3d2a [2022-09-22T16:10:58.111Z] Removing intermediate container 629af28e3d2a [2022-09-22T16:10:58.111Z] ---> bab965ba947b [2022-09-22T16:10:58.111Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:10:58.111Z] ---> Running in 94c789a882cf [2022-09-22T16:10:58.677Z] Removing intermediate container 94c789a882cf [2022-09-22T16:10:58.677Z] ---> 2648c6181392 [2022-09-22T16:10:58.678Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T16:10:58.678Z] ---> Running in 0066ec3813f1 [2022-09-22T16:10:58.936Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T16:10:59.871Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T16:11:00.130Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T16:11:00.130Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T16:11:00.130Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T16:11:00.388Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T16:11:00.388Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T16:11:00.388Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T16:11:00.388Z] OK: 8 MiB in 19 packages [2022-09-22T16:11:00.954Z] Removing intermediate container 0066ec3813f1 [2022-09-22T16:11:00.954Z] ---> c417e88b2c7c [2022-09-22T16:11:00.954Z] Step 16/25 : WORKDIR / [2022-09-22T16:11:00.954Z] ---> Running in 8065f4e9529c [2022-09-22T16:11:00.954Z] Removing intermediate container 8065f4e9529c [2022-09-22T16:11:00.954Z] ---> 9247bfcafd8f [2022-09-22T16:11:00.954Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T16:11:01.212Z] ---> e115c789f775 [2022-09-22T16:11:01.212Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T16:11:01.778Z] ---> 832a0b4b94ef [2022-09-22T16:11:01.778Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T16:11:01.778Z] ---> 3f0625aff95c [2022-09-22T16:11:01.778Z] Step 20/25 : EXPOSE 59999 [2022-09-22T16:11:01.778Z] ---> Running in bad217cf62bf [2022-09-22T16:11:02.036Z] Removing intermediate container bad217cf62bf [2022-09-22T16:11:02.036Z] ---> abc7c783f353 [2022-09-22T16:11:02.036Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T16:11:02.036Z] ---> Running in 8cc79ec80930 [2022-09-22T16:11:02.036Z] Removing intermediate container 8cc79ec80930 [2022-09-22T16:11:02.036Z] ---> 57b76327cd63 [2022-09-22T16:11:02.036Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T16:11:02.036Z] ---> Running in 1cc8fbd5022b [2022-09-22T16:11:02.295Z] Removing intermediate container 1cc8fbd5022b [2022-09-22T16:11:02.295Z] ---> 32659b9b613f [2022-09-22T16:11:02.295Z] Step 23/25 : LABEL arch=amd64 [2022-09-22T16:11:02.295Z] ---> Running in e4504d1dfead [2022-09-22T16:11:02.295Z] Removing intermediate container e4504d1dfead [2022-09-22T16:11:02.295Z] ---> 7ad9ca0d4e84 [2022-09-22T16:11:02.295Z] Step 24/25 : LABEL git_sha=aed16fd80258b9c070839bfa1939c8f6aec5170d [2022-09-22T16:11:02.295Z] ---> Running in 70fee110c239 [2022-09-22T16:11:02.553Z] Removing intermediate container 70fee110c239 [2022-09-22T16:11:02.553Z] ---> 115ed929855f [2022-09-22T16:11:02.553Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T16:11:02.553Z] ---> Running in a18177cf014c [2022-09-22T16:11:02.553Z] Removing intermediate container a18177cf014c [2022-09-22T16:11:02.553Z] ---> b8da172e38bc [2022-09-22T16:11:02.553Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T16:11:02.553Z] Successfully built b8da172e38bc [2022-09-22T16:11:02.553Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:11:02.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:11:02.971Z] [2022-09-22T16:11:02.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:11:03.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:11:03.268Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T16:11:03.268Z] 5eb5b503b376: Pulling fs layer [2022-09-22T16:11:03.268Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T16:11:03.268Z] ec43610c2a17: Pulling fs layer [2022-09-22T16:11:03.268Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T16:11:03.268Z] 33b1e0a273af: Pulling fs layer [2022-09-22T16:11:03.268Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T16:11:03.268Z] 2f39f015ded8: Pulling fs layer [2022-09-22T16:11:03.268Z] 33b1e0a273af: Waiting [2022-09-22T16:11:03.268Z] 3a2ae6a8a46f: Waiting [2022-09-22T16:11:03.268Z] 5d3b04190fa2: Waiting [2022-09-22T16:11:03.268Z] 2f39f015ded8: Waiting [2022-09-22T16:11:03.268Z] 5c69ac0246d0: Download complete [2022-09-22T16:11:03.268Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T16:11:03.268Z] 3a2ae6a8a46f: Download complete [2022-09-22T16:11:03.529Z] 33b1e0a273af: Verifying Checksum [2022-09-22T16:11:03.529Z] 33b1e0a273af: Download complete [2022-09-22T16:11:03.529Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T16:11:03.529Z] 5d3b04190fa2: Download complete [2022-09-22T16:11:03.529Z] ec43610c2a17: Verifying Checksum [2022-09-22T16:11:03.529Z] ec43610c2a17: Download complete [2022-09-22T16:11:03.529Z] 5eb5b503b376: Verifying Checksum [2022-09-22T16:11:03.529Z] 5eb5b503b376: Download complete [2022-09-22T16:11:04.096Z] 2f39f015ded8: Download complete [2022-09-22T16:11:04.661Z] 5eb5b503b376: Pull complete [2022-09-22T16:11:04.918Z] 5c69ac0246d0: Pull complete [2022-09-22T16:11:05.177Z] ec43610c2a17: Pull complete [2022-09-22T16:11:05.177Z] 3a2ae6a8a46f: Pull complete [2022-09-22T16:11:05.435Z] 33b1e0a273af: Pull complete [2022-09-22T16:11:05.436Z] 5d3b04190fa2: Pull complete [2022-09-22T16:11:09.620Z] 2f39f015ded8: Pull complete [2022-09-22T16:11:09.620Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T16:11:09.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:11:09.620Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:11:09.693Z] prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container [2022-09-22T16:11:09.721Z] $ 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-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T16:11:11.370Z] $ docker top 58053e1682a09d652697659d4b1ea7113e330690e55e1a787e783db11b51c2d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:11:11.747Z] ---> job-cost.sh [2022-09-22T16:11:11.747Z] lf-activate-venv: SKIPPING [2022-09-22T16:11:11.747Z] INFO: No Stack... [2022-09-22T16:11:12.006Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T16:11:12.577Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T16:11:12.863Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives/cost.csv [2022-09-22T16:11:12.863Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T16:11:12.876Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [2022-09-22T16:11:12.883Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] did not exist. Created. [2022-09-22T16:11:12.883Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T16:11:13.176Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T16:11:13.207Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T16:11:13.214Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T16:11:13.233Z] $ docker stop --time=1 58053e1682a09d652697659d4b1ea7113e330690e55e1a787e783db11b51c2d9 [2022-09-22T16:11:14.391Z] $ docker rm -f 58053e1682a09d652697659d4b1ea7113e330690e55e1a787e783db11b51c2d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T16:20:22.991Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-607 in /w/workspace/gexfoundry_device-sdk-go_PR-1212 [Pipeline] { [Pipeline] ws [2022-09-22T16:20:23.005Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2022-09-22T16:20:23.039Z] The recommended git tool is: git [2022-09-22T16:20:27.946Z] using credential edgex-jenkins-ssh [2022-09-22T16:20:27.962Z] Cloning the remote Git repository [2022-09-22T16:20:28.006Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T16:20:28.067Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2022-09-22T16:20:28.193Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T16:20:28.193Z] > git --version # timeout=10 [2022-09-22T16:20:28.215Z] > git --version # 'git version 2.25.1' [2022-09-22T16:20:28.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T16:20:28.259Z] Verifying host key using known hosts file [2022-09-22T16:20:28.424Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T16:20:28.438Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T16:20:29.936Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T16:20:29.957Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T16:20:31.513Z] Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit aed16fd80258b9c070839bfa1939c8f6aec5170d [2022-09-22T16:20:31.757Z] Merge succeeded, producing aed16fd80258b9c070839bfa1939c8f6aec5170d [2022-09-22T16:20:31.758Z] Checking out Revision aed16fd80258b9c070839bfa1939c8f6aec5170d (PR-1212) [2022-09-22T16:20:30.757Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T16:20:30.804Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T16:20:30.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T16:20:30.812Z] Verifying host key using known hosts file [2022-09-22T16:20:30.819Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T16:20:30.831Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1212/head:refs/remotes/origin/PR-1212 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T16:20:31.534Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T16:20:31.551Z] > git checkout -f aed16fd80258b9c070839bfa1939c8f6aec5170d # timeout=10 [2022-09-22T16:20:31.657Z] > git remote # timeout=10 [2022-09-22T16:20:31.677Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T16:20:31.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T16:20:31.699Z] Verifying host key using known hosts file [2022-09-22T16:20:31.703Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T16:20:31.714Z] > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 [2022-09-22T16:20:31.738Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T16:20:31.768Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T16:20:31.782Z] > git checkout -f aed16fd80258b9c070839bfa1939c8f6aec5170d # timeout=10 [2022-09-22T16:20:35.220Z] Commit message: "feat: subscribe command request via internal messaging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:20:36.137Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T16:20:36.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:20:36.137Z] Dload Upload Total Spent Left Speed [2022-09-22T16:20:36.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 [Pipeline] sh [2022-09-22T16:20:36.899Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T16:20:37.222Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T16:20:37.222Z] + sudo tee /etc/docker/daemon.new [2022-09-22T16:20:37.222Z] { [2022-09-22T16:20:37.222Z] "registry-mirrors": [ [2022-09-22T16:20:37.222Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T16:20:37.222Z] ], [2022-09-22T16:20:37.222Z] "bip": "10.250.0.254/24", [2022-09-22T16:20:37.222Z] "hosts": [ [2022-09-22T16:20:37.222Z] "tcp://0.0.0.0:5555", [2022-09-22T16:20:37.222Z] "unix:///var/run/docker.sock" [2022-09-22T16:20:37.222Z] ], [2022-09-22T16:20:37.223Z] "mtu": 1458, [2022-09-22T16:20:37.223Z] "selinux-enabled": true, [2022-09-22T16:20:37.223Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T16:20:37.223Z] } [Pipeline] sh [2022-09-22T16:20:37.546Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T16:20:37.870Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:20:56.126Z] provisioning config files... [2022-09-22T16:20:56.151Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8384917249353327606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:20:56.502Z] ---> docker-login.sh [2022-09-22T16:20:56.502Z] nexus3.edgexfoundry.org:10001 [2022-09-22T16:20:56.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:20:57.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:20:57.362Z] Configure a credential helper to remove this warning. See [2022-09-22T16:20:57.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:20:57.362Z] [2022-09-22T16:20:57.362Z] Login Succeeded [2022-09-22T16:20:57.362Z] nexus3.edgexfoundry.org:10002 [2022-09-22T16:20:57.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:20:57.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:20:57.631Z] Configure a credential helper to remove this warning. See [2022-09-22T16:20:57.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:20:57.631Z] [2022-09-22T16:20:57.631Z] Login Succeeded [2022-09-22T16:20:57.631Z] nexus3.edgexfoundry.org:10003 [2022-09-22T16:20:57.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:20:57.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:20:57.901Z] Configure a credential helper to remove this warning. See [2022-09-22T16:20:57.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:20:57.901Z] [2022-09-22T16:20:57.901Z] Login Succeeded [2022-09-22T16:20:57.901Z] nexus3.edgexfoundry.org:10004 [2022-09-22T16:20:58.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:20:58.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:20:58.441Z] Configure a credential helper to remove this warning. See [2022-09-22T16:20:58.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:20:58.441Z] [2022-09-22T16:20:58.441Z] Login Succeeded [2022-09-22T16:20:58.441Z] docker.io [2022-09-22T16:20:58.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:20:59.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:20:59.023Z] Configure a credential helper to remove this warning. See [2022-09-22T16:20:59.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:20:59.023Z] [2022-09-22T16:20:59.023Z] Login Succeeded [2022-09-22T16:20:59.023Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T16:20:59.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T16:20:59.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:20:59.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:20:59.189Z] ========================================================= [2022-09-22T16:20:59.189Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T16:20:59.189Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:20:59.531Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T16:20:59.800Z] Sending build context to Docker daemon 5.325MB [2022-09-22T16:20:59.800Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:20:59.800Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T16:21:00.069Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T16:21:00.069Z] b3c136eddcbf: Pulling fs layer [2022-09-22T16:21:00.069Z] c0a3192eca97: Pulling fs layer [2022-09-22T16:21:00.069Z] a050256f5b6f: Pulling fs layer [2022-09-22T16:21:00.069Z] 656be50a0ddc: Pulling fs layer [2022-09-22T16:21:00.069Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T16:21:00.069Z] 46d945488cbd: Pulling fs layer [2022-09-22T16:21:00.069Z] 8a5474983e97: Pulling fs layer [2022-09-22T16:21:00.069Z] 329c88fbcd65: Pulling fs layer [2022-09-22T16:21:00.069Z] 2bbca73fdf42: Waiting [2022-09-22T16:21:00.069Z] 8a5474983e97: Waiting [2022-09-22T16:21:00.069Z] 329c88fbcd65: Waiting [2022-09-22T16:21:00.069Z] 656be50a0ddc: Waiting [2022-09-22T16:21:00.069Z] a050256f5b6f: Verifying Checksum [2022-09-22T16:21:00.069Z] a050256f5b6f: Download complete [2022-09-22T16:21:00.069Z] c0a3192eca97: Verifying Checksum [2022-09-22T16:21:00.069Z] c0a3192eca97: Download complete [2022-09-22T16:21:00.069Z] 2bbca73fdf42: Download complete [2022-09-22T16:21:00.069Z] 46d945488cbd: Verifying Checksum [2022-09-22T16:21:00.069Z] 46d945488cbd: Download complete [2022-09-22T16:21:00.069Z] b3c136eddcbf: Verifying Checksum [2022-09-22T16:21:00.069Z] b3c136eddcbf: Download complete [2022-09-22T16:21:01.044Z] b3c136eddcbf: Pull complete [2022-09-22T16:21:01.044Z] 329c88fbcd65: Download complete [2022-09-22T16:21:01.649Z] c0a3192eca97: Pull complete [2022-09-22T16:21:01.920Z] a050256f5b6f: Pull complete [2022-09-22T16:21:02.509Z] 8a5474983e97: Verifying Checksum [2022-09-22T16:21:02.509Z] 8a5474983e97: Download complete [2022-09-22T16:21:03.093Z] 656be50a0ddc: Download complete [2022-09-22T16:21:15.436Z] 656be50a0ddc: Pull complete [2022-09-22T16:21:15.436Z] 2bbca73fdf42: Pull complete [2022-09-22T16:21:15.436Z] 46d945488cbd: Pull complete [2022-09-22T16:21:20.791Z] 8a5474983e97: Pull complete [2022-09-22T16:21:22.233Z] 329c88fbcd65: Pull complete [2022-09-22T16:21:22.233Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T16:21:22.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T16:21:22.233Z] ---> ff4287adb874 [2022-09-22T16:21:22.233Z] Step 3/11 : ARG MAKE=make build [2022-09-22T16:21:24.182Z] ---> Running in 6bab3b537be1 [2022-09-22T16:21:24.452Z] Removing intermediate container 6bab3b537be1 [2022-09-22T16:21:24.452Z] ---> a5e3d3622a99 [2022-09-22T16:21:24.452Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T16:21:24.452Z] ---> Running in 9e29cbfb82fd [2022-09-22T16:21:24.721Z] Removing intermediate container 9e29cbfb82fd [2022-09-22T16:21:24.721Z] ---> debe857a5ece [2022-09-22T16:21:24.721Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:21:24.988Z] ---> Running in bcc8b777b5ce [2022-09-22T16:21:25.256Z] Removing intermediate container bcc8b777b5ce [2022-09-22T16:21:25.256Z] ---> 8aa03f79d725 [2022-09-22T16:21:25.256Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:21:25.256Z] ---> Running in 34549d8d0599 [2022-09-22T16:21:27.213Z] Removing intermediate container 34549d8d0599 [2022-09-22T16:21:27.213Z] ---> 62c990082356 [2022-09-22T16:21:27.213Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:21:27.213Z] ---> Running in 4a939e58c592 [2022-09-22T16:21:28.173Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T16:21:28.755Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T16:21:29.714Z] OK: 221 MiB in 51 packages [2022-09-22T16:21:31.654Z] Removing intermediate container 4a939e58c592 [2022-09-22T16:21:31.654Z] ---> 700e69fab2b6 [2022-09-22T16:21:31.654Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T16:21:31.922Z] ---> a11f6b916be4 [2022-09-22T16:21:31.922Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:21:31.922Z] ---> Running in 74f9393b960c [2022-09-22T16:22:18.776Z] Removing intermediate container 74f9393b960c [2022-09-22T16:22:18.776Z] ---> a02e96fc7c98 [2022-09-22T16:22:18.776Z] Step 10/11 : COPY . . [2022-09-22T16:22:18.776Z] ---> d687efb47c2e [2022-09-22T16:22:18.776Z] Step 11/11 : RUN ${MAKE} [2022-09-22T16:22:18.776Z] ---> Running in 2e4b74ba6e2c [2022-09-22T16:22:19.745Z] noop [2022-09-22T16:22:20.332Z] Removing intermediate container 2e4b74ba6e2c [2022-09-22T16:22:20.332Z] ---> a30b80bb6230 [2022-09-22T16:22:20.332Z] Successfully built a30b80bb6230 [2022-09-22T16:22:20.332Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:22:20.683Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T16:22:20.683Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:22:20.851Z] prd-ubuntu20.04-docker-arm64-4c-16g-607 does not seem to be running inside a container [2022-09-22T16:22:20.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T16:22:22.064Z] $ docker top 32d2f56cfaa712f77d184b2622879c2004be12a82176a78a7324f382d5f6c0a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:22:22.889Z] + go version [2022-09-22T16:22:22.889Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T16:22:22.909Z] $ docker stop --time=1 32d2f56cfaa712f77d184b2622879c2004be12a82176a78a7324f382d5f6c0a7 [2022-09-22T16:22:24.525Z] $ docker rm -f 32d2f56cfaa712f77d184b2622879c2004be12a82176a78a7324f382d5f6c0a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:22:25.051Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T16:22:25.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:22:25.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-607 does not seem to be running inside a container [2022-09-22T16:22:25.278Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T16:22:26.426Z] $ docker top edd0f5bb8d110bd755f20d698524686f89621d5cd0ca259181841f465e438bac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:22:26.929Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2022-09-22T16:22:27.254Z] + make test [2022-09-22T16:22:27.254Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T16:22:59.517Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T16:24:51.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T16:24:51.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T16:24:51.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T16:24:51.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T16:24:51.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T16:24:51.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.402s coverage: 27.6% of statements [2022-09-22T16:24:51.253Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.513s coverage: 78.9% of statements [2022-09-22T16:24:51.253Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T16:24:55.570Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.578s coverage: 60.0% of statements [2022-09-22T16:24:55.570Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T16:24:55.570Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T16:24:59.833Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.686s coverage: 54.4% of statements [2022-09-22T16:24:59.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T16:24:59.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-22T16:24:59.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T16:24:59.833Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T16:25:00.818Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.805s coverage: 65.1% of statements [2022-09-22T16:25:00.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T16:25:00.818Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T16:25:05.079Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.761s coverage: 89.2% of statements [2022-09-22T16:25:05.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T16:25:05.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.235s coverage: 4.5% of statements [2022-09-22T16:25:05.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T16:25:05.932Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T16:25:05.932Z] GO111MODULE=on go vet ./... [2022-09-22T16:26:42.581Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:26:42.581Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:26:42.581Z] ./bin/test-attribution-txt.sh [2022-09-22T16:26:42.581Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T16:26:42.581Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-22T16:26:42.581Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-22T16:26:42.581Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-22T16:26:42.581Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T16:26:42.581Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T16:26:42.581Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-22T16:26:42.581Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T16:26:42.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T16:26:42.612Z] $ docker stop --time=1 edd0f5bb8d110bd755f20d698524686f89621d5cd0ca259181841f465e438bac [2022-09-22T16:26:44.465Z] $ docker rm -f edd0f5bb8d110bd755f20d698524686f89621d5cd0ca259181841f465e438bac [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:26:45.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T16:26:45.871Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T16:26:46.520Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:26:46.882Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T16:26:47.210Z] + ls -al . [2022-09-22T16:26:47.210Z] total 272 [2022-09-22T16:26:47.210Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 16:22 . [2022-09-22T16:26:47.210Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:20 .. [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:20 .dockerignore [2022-09-22T16:26:47.210Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:20 .git [2022-09-22T16:26:47.210Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:20 .github [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:20 .gitignore [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:20 .golangci.yml [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:20 CHANGELOG.md [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:20 GOVERNANCE.md [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:20 Jenkinsfile [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:20 LICENSE [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:20 Makefile [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:20 OWNERS.md [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:20 README.md [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 16:09 VERSION [2022-09-22T16:26:47.210Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:20 bin [2022-09-22T16:26:47.210Z] -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:25 coverage.out [2022-09-22T16:26:47.210Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:20 example [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 16:20 go.mod [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 16:20 go.sum [2022-09-22T16:26:47.210Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:20 internal [2022-09-22T16:26:47.210Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:20 openapi [2022-09-22T16:26:47.210Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:20 pkg [2022-09-22T16:26:47.210Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:20 snap [2022-09-22T16:26:47.210Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:26:47.547Z] + 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=aed16fd80258b9c070839bfa1939c8f6aec5170d --label arch=arm64 --label version=0.0.0 . [2022-09-22T16:26:48.976Z] Sending build context to Docker daemon 5.428MB [2022-09-22T16:26:48.976Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:26:48.976Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T16:26:48.976Z] ---> a30b80bb6230 [2022-09-22T16:26:48.976Z] Step 3/25 : ARG MAKE=make build [2022-09-22T16:26:49.244Z] ---> Running in 7faf93435ace [2022-09-22T16:26:49.511Z] Removing intermediate container 7faf93435ace [2022-09-22T16:26:49.511Z] ---> 68fda163f242 [2022-09-22T16:26:49.511Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T16:26:49.511Z] ---> Running in f72f31be9639 [2022-09-22T16:26:49.777Z] Removing intermediate container f72f31be9639 [2022-09-22T16:26:49.777Z] ---> 353cfe20c307 [2022-09-22T16:26:49.777Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:26:49.777Z] ---> Running in 930cc5251793 [2022-09-22T16:26:50.364Z] Removing intermediate container 930cc5251793 [2022-09-22T16:26:50.364Z] ---> 23652e999eab [2022-09-22T16:26:50.364Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:26:50.364Z] ---> Running in 7745ba5268e5 [2022-09-22T16:26:52.323Z] Removing intermediate container 7745ba5268e5 [2022-09-22T16:26:52.323Z] ---> 3dc081ea63f4 [2022-09-22T16:26:52.323Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:26:52.323Z] ---> Running in 6f00a8edcc96 [2022-09-22T16:26:53.290Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T16:26:53.872Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T16:26:54.835Z] OK: 221 MiB in 51 packages [2022-09-22T16:26:55.802Z] Removing intermediate container 6f00a8edcc96 [2022-09-22T16:26:55.802Z] ---> 2195b4d275f2 [2022-09-22T16:26:55.802Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T16:26:56.076Z] ---> 8ee6ad285a02 [2022-09-22T16:26:56.076Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:26:56.076Z] ---> Running in a84df701a710 [2022-09-22T16:26:58.017Z] Removing intermediate container a84df701a710 [2022-09-22T16:26:58.017Z] ---> c93173244be5 [2022-09-22T16:26:58.017Z] Step 10/25 : COPY . . [2022-09-22T16:26:58.979Z] ---> 4a85f1853063 [2022-09-22T16:26:58.979Z] Step 11/25 : RUN ${MAKE} [2022-09-22T16:26:59.246Z] ---> Running in 363324a53743 [2022-09-22T16:27:00.207Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T16:29:21.896Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T16:29:21.896Z] Removing intermediate container 363324a53743 [2022-09-22T16:29:21.896Z] ---> d4733c5152fc [2022-09-22T16:29:21.896Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T16:29:21.896Z] 3.16: Pulling from library/alpine [2022-09-22T16:29:21.896Z] 9b18e9b68314: Pulling fs layer [2022-09-22T16:29:21.896Z] 9b18e9b68314: Verifying Checksum [2022-09-22T16:29:21.896Z] 9b18e9b68314: Download complete [2022-09-22T16:29:21.896Z] 9b18e9b68314: Pull complete [2022-09-22T16:29:21.896Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T16:29:21.896Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T16:29:21.896Z] ---> a6215f271958 [2022-09-22T16:29:21.896Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:29:21.896Z] ---> Running in d4cccf258fc1 [2022-09-22T16:29:21.896Z] Removing intermediate container d4cccf258fc1 [2022-09-22T16:29:21.896Z] ---> b1b02e75e311 [2022-09-22T16:29:21.896Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:29:21.896Z] ---> Running in 09fae0a23be4 [2022-09-22T16:29:21.896Z] Removing intermediate container 09fae0a23be4 [2022-09-22T16:29:21.896Z] ---> a31e22f74e8c [2022-09-22T16:29:21.896Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T16:29:21.896Z] ---> Running in babf8a07fbfe [2022-09-22T16:29:21.896Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T16:29:22.479Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T16:29:23.437Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T16:29:23.437Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T16:29:23.705Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T16:29:23.705Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T16:29:23.974Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T16:29:23.974Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T16:29:23.974Z] OK: 8 MiB in 19 packages [2022-09-22T16:29:24.933Z] Removing intermediate container babf8a07fbfe [2022-09-22T16:29:24.933Z] ---> 8fc48ca5dbdf [2022-09-22T16:29:24.933Z] Step 16/25 : WORKDIR / [2022-09-22T16:29:25.199Z] ---> Running in dc499691bfdd [2022-09-22T16:29:25.467Z] Removing intermediate container dc499691bfdd [2022-09-22T16:29:25.467Z] ---> 36d8251a9875 [2022-09-22T16:29:25.467Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T16:29:25.732Z] ---> 5b96da7520f7 [2022-09-22T16:29:25.732Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T16:29:27.133Z] ---> 265c06136232 [2022-09-22T16:29:27.133Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T16:29:27.399Z] ---> 539fcbafaec4 [2022-09-22T16:29:27.399Z] Step 20/25 : EXPOSE 59999 [2022-09-22T16:29:27.666Z] ---> Running in fa6157f30149 [2022-09-22T16:29:27.936Z] Removing intermediate container fa6157f30149 [2022-09-22T16:29:27.936Z] ---> a6872d7afd66 [2022-09-22T16:29:27.936Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T16:29:27.936Z] ---> Running in 2846d7e0d8b8 [2022-09-22T16:29:28.204Z] Removing intermediate container 2846d7e0d8b8 [2022-09-22T16:29:28.204Z] ---> a0abdd183fdd [2022-09-22T16:29:28.204Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T16:29:28.204Z] ---> Running in 7ae8e55b0eac [2022-09-22T16:29:28.469Z] Removing intermediate container 7ae8e55b0eac [2022-09-22T16:29:28.469Z] ---> 98560014fe55 [2022-09-22T16:29:28.469Z] Step 23/25 : LABEL arch=arm64 [2022-09-22T16:29:28.469Z] ---> Running in 544a81c5e517 [2022-09-22T16:29:28.737Z] Removing intermediate container 544a81c5e517 [2022-09-22T16:29:28.737Z] ---> 5090b6295823 [2022-09-22T16:29:28.737Z] Step 24/25 : LABEL git_sha=aed16fd80258b9c070839bfa1939c8f6aec5170d [2022-09-22T16:29:28.737Z] ---> Running in 9ee749750b72 [2022-09-22T16:29:29.006Z] Removing intermediate container 9ee749750b72 [2022-09-22T16:29:29.006Z] ---> fea77abb19d9 [2022-09-22T16:29:29.006Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T16:29:29.272Z] ---> Running in d89cee6eed3e [2022-09-22T16:29:29.538Z] Removing intermediate container d89cee6eed3e [2022-09-22T16:29:29.538Z] ---> d8efc9e2bdfa [2022-09-22T16:29:29.538Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T16:29:29.538Z] Successfully built d8efc9e2bdfa [2022-09-22T16:29:29.538Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:29:29.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:29:29.945Z] [2022-09-22T16:29:29.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:29:30.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:29:30.269Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T16:29:30.269Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T16:29:30.269Z] 04944245beec: Pulling fs layer [2022-09-22T16:29:30.269Z] 699f458cf7ca: Pulling fs layer [2022-09-22T16:29:30.269Z] 765212b225bb: Pulling fs layer [2022-09-22T16:29:30.269Z] f23df028b6ca: Pulling fs layer [2022-09-22T16:29:30.269Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T16:29:30.269Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T16:29:30.269Z] 765212b225bb: Waiting [2022-09-22T16:29:30.269Z] f23df028b6ca: Waiting [2022-09-22T16:29:30.269Z] d65c8cfc05b1: Waiting [2022-09-22T16:29:30.269Z] 2437ff75d9bd: Waiting [2022-09-22T16:29:30.537Z] 04944245beec: Verifying Checksum [2022-09-22T16:29:30.537Z] 04944245beec: Download complete [2022-09-22T16:29:30.537Z] 765212b225bb: Download complete [2022-09-22T16:29:30.537Z] f23df028b6ca: Verifying Checksum [2022-09-22T16:29:30.537Z] f23df028b6ca: Download complete [2022-09-22T16:29:30.537Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T16:29:30.537Z] d65c8cfc05b1: Download complete [2022-09-22T16:29:30.537Z] 699f458cf7ca: Verifying Checksum [2022-09-22T16:29:30.537Z] 699f458cf7ca: Download complete [2022-09-22T16:29:31.122Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T16:29:31.122Z] 8998bd30e6a1: Download complete [2022-09-22T16:29:33.703Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T16:29:33.703Z] 2437ff75d9bd: Download complete [2022-09-22T16:29:35.110Z] 8998bd30e6a1: Pull complete [2022-09-22T16:29:36.073Z] 04944245beec: Pull complete [2022-09-22T16:29:37.480Z] 699f458cf7ca: Pull complete [2022-09-22T16:29:37.748Z] 765212b225bb: Pull complete [2022-09-22T16:29:38.334Z] f23df028b6ca: Pull complete [2022-09-22T16:29:38.606Z] d65c8cfc05b1: Pull complete [2022-09-22T16:29:53.616Z] 2437ff75d9bd: Pull complete [2022-09-22T16:29:53.616Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T16:29:53.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:29:53.616Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:29:53.809Z] prd-ubuntu20.04-docker-arm64-4c-16g-607 does not seem to be running inside a container [2022-09-22T16:29:53.879Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T16:29:56.840Z] $ docker top 171eba8aa4afcdf2fadae46cf923aa0ec4a5795558ad04ffa61a509211c135c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:29:57.687Z] ---> job-cost.sh [2022-09-22T16:29:57.687Z] lf-activate-venv: SKIPPING [2022-09-22T16:29:57.687Z] INFO: No Stack... [2022-09-22T16:29:57.954Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T16:29:58.914Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T16:29:59.553Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2022-09-22T16:29:59.553Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T16:29:59.622Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [2022-09-22T16:29:59.629Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] did not exist. Created. [2022-09-22T16:29:59.629Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T16:30:00.284Z] /w/workspace/device-sdk-go/4@tmp/durable-4e50fa1d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T16:30:00.942Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T16:30:00.963Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T16:30:01.028Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T16:30:01.034Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1212-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T16:30:01.052Z] $ docker stop --time=1 171eba8aa4afcdf2fadae46cf923aa0ec4a5795558ad04ffa61a509211c135c5 [2022-09-22T16:30:02.643Z] $ docker rm -f 171eba8aa4afcdf2fadae46cf923aa0ec4a5795558ad04ffa61a509211c135c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-22T16:30:03.042Z] provisioning config files... [2022-09-22T16:30:03.049Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/config16846719836188323136tmp [Pipeline] { [Pipeline] sh [2022-09-22T16:30:03.337Z] + set +x [2022-09-22T16:30:03.337Z] + + curl -sbash https://codecov.io/bash -s [2022-09-22T16:30:03.337Z] -- [2022-09-22T16:30:03.337Z] [2022-09-22T16:30:03.337Z] _____ _ [2022-09-22T16:30:03.337Z] / ____| | | [2022-09-22T16:30:03.337Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T16:30:03.337Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T16:30:03.337Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T16:30:03.337Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T16:30:03.337Z] Bash-1.0.6 [2022-09-22T16:30:03.337Z] [2022-09-22T16:30:03.337Z] [2022-09-22T16:30:03.337Z] ==> git version 2.25.1 found [2022-09-22T16:30:03.337Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-22T16:30:03.337Z] Release-Date: 2020-01-08 [2022-09-22T16:30:03.337Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-22T16:30:03.337Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T16:30:03.337Z] ==> Jenkins CI detected. [2022-09-22T16:30:03.337Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1212 [2022-09-22T16:30:03.337Z] project root: . [2022-09-22T16:30:03.337Z] --> token set from env [2022-09-22T16:30:03.337Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T16:30:03.337Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T16:30:03.337Z] ==> Python coveragepy not found [2022-09-22T16:30:03.337Z] ==> Searching for coverage reports in: [2022-09-22T16:30:03.337Z] + . [2022-09-22T16:30:03.337Z] -> Found 1 reports [2022-09-22T16:30:03.337Z] ==> Detecting git/mercurial file structure [2022-09-22T16:30:03.597Z] ==> Reading reports [2022-09-22T16:30:03.597Z] + ./coverage.out bytes=101794 [2022-09-22T16:30:03.597Z] ==> Appending adjustments [2022-09-22T16:30:03.597Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T16:30:03.856Z] + Found adjustments [2022-09-22T16:30:03.856Z] ==> Gzipping contents [2022-09-22T16:30:03.856Z] 16K /tmp/codecov.98PnSy.gz [2022-09-22T16:30:03.856Z] ==> Uploading reports [2022-09-22T16:30:03.856Z] url: https://codecov.io [2022-09-22T16:30:03.856Z] query: branch=PR-1212&commit=aed16fd80258b9c070839bfa1939c8f6aec5170d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1212%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1212&job=&cmd_args= [2022-09-22T16:30:03.856Z] -> Pinging Codecov [2022-09-22T16:30:03.856Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1212&commit=aed16fd80258b9c070839bfa1939c8f6aec5170d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1212%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1212&job=&cmd_args= [2022-09-22T16:30:04.122Z] -> Uploading to [2022-09-22T16:30:04.122Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/aed16fd80258b9c070839bfa1939c8f6aec5170d/1eb190b9-9540-40ba-ad3e-574a3c143805.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T163003Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5c4c7e1dd0fe132d55eb54a134c6c6556e195fee3b08fb4a1aff0da34e82b5a6 [2022-09-22T16:30:04.122Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:30:04.122Z] Dload Upload Total Spent Left Speed [2022-09-22T16:30:04.380Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14594 0 0 100 14594 0 60808 --:--:-- --:--:-- --:--:-- 60808 [2022-09-22T16:30:04.380Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/aed16fd80258b9c070839bfa1939c8f6aec5170d [Pipeline] } [2022-09-22T16:30:04.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-22T16:30:05.036Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives ] [2022-09-22T16:30:05.036Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives [2022-09-22T16:30:05.036Z] total 16 [2022-09-22T16:30:05.036Z] drwxr-xr-x 3 root root 4096 Sep 22 16:11 . [2022-09-22T16:30:05.036Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:11 .. [2022-09-22T16:30:05.036Z] drwxr-xr-x 2 root root 4096 Sep 22 16:11 cost [2022-09-22T16:30:05.036Z] -rw-r--r-- 1 root root 86 Sep 22 16:11 cost.csv [2022-09-22T16:30:05.036Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives [2022-09-22T16:30:05.036Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives [2022-09-22T16:30:05.036Z] total 16 [2022-09-22T16:30:05.036Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:11 . [2022-09-22T16:30:05.036Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:11 .. [2022-09-22T16:30:05.036Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 16:11 cost [2022-09-22T16:30:05.036Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 22 16:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:30:05.322Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:30:06.179Z] ---> package-listing.sh [2022-09-22T16:30:06.179Z] ++ facter osfamily [2022-09-22T16:30:06.179Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T16:30:06.439Z] + OS_FAMILY=debian [2022-09-22T16:30:06.439Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1212 [2022-09-22T16:30:06.439Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T16:30:06.439Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T16:30:06.439Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T16:30:06.439Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T16:30:06.439Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1212 ']' [2022-09-22T16:30:06.439Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T16:30:06.439Z] + case "${OS_FAMILY}" in [2022-09-22T16:30:06.439Z] + dpkg -l [2022-09-22T16:30:06.439Z] + grep '^ii' [2022-09-22T16:30:06.439Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T16:30:06.439Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T16:30:06.439Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T16:30:06.439Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1212 ']' [2022-09-22T16:30:06.439Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives/ [2022-09-22T16:30:06.439Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1212/archives/ [Pipeline] echo [2022-09-22T16:30:06.450Z] 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-1212/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T16:30:06.726Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:30:07.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:30:07.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:30:07.347Z] prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container [2022-09-22T16:30:07.381Z] $ 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-1212/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-1212 -v /w/workspace/gexfoundry_device-sdk-go_PR-1212:/w/workspace/gexfoundry_device-sdk-go_PR-1212:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T16:30:07.680Z] $ docker top ce0e16530f906cb81d940be0af9f025a3a42a580afc19c1ad935ac10644d7295 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:30:08.025Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T16:30:08.308Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T16:30:08.591Z] + ls /var/log/sa-host [2022-09-22T16:30:08.591Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:30:08.737Z] provisioning config files... [2022-09-22T16:30:08.746Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1212@tmp/config9389273852169369247tmp [Pipeline] { [Pipeline] echo [2022-09-22T16:30:08.759Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:30:09.042Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T16:30:09.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:30:09.372Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T16:30:09.380Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:30:09.659Z] ---> sudo-logs.sh [2022-09-22T16:30:09.659Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T16:30:09.694Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:30:09.975Z] ---> job-cost.sh [2022-09-22T16:30:09.975Z] lf-activate-venv: SKIPPING [2022-09-22T16:30:09.975Z] DEBUG: total: 0.2199999988079071 [2022-09-22T16:30:09.975Z] INFO: Retrieving Stack Cost... [2022-09-22T16:30:10.543Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T16:30:11.113Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T16:30:11.124Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:30:11.406Z] ---> logs-deploy.sh [2022-09-22T16:30:11.406Z] lf-activate-venv: SKIPPING [2022-09-22T16:30:11.406Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1212/4 [2022-09-22T16:30:11.406Z] INFO: archiving workspace using pattern(s): [2022-09-22T16:30:12.343Z] Archives upload complete. [2022-09-22T16:30:12.343Z] INFO: archiving logs to Nexus