Branch indexing 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+aebae1d3030d171e36a27ba4f472c47eca2add51 (171e4c545327830d77451873b87e6b9331f1e4d1) 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-ssh12648214925635421678.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh2784449874889342188.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-1196/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-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3925180057606391040.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh9832073124043732584.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-1196/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-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3181578149065463114.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21519 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [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-1196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit aebae1d3030d171e36a27ba4f472c47eca2add51 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing 3203bac73d9175fb03e77d3e32076f7b8fea2f8e Checking out Revision 3203bac73d9175fb03e77d3e32076f7b8fea2f8e (PR-1196) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge aebae1d3030d171e36a27ba4f472c47eca2add51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3203bac73d9175fb03e77d3e32076f7b8fea2f8e # timeout=10 Commit message: "Merge commit 'aebae1d3030d171e36a27ba4f472c47eca2add51' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-29T22:41:17.703Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-29T22:41:17.753Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-29T22:41:17.767Z] ========================================================= [2022-07-29T22:41:17.767Z] EdgeX Global Pipelines Version Info [2022-07-29T22:41:17.767Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk bda5eedae8756d4f3808d1642f9c009be10155a3 # timeout=10 [2022-07-29T22:41:18.537Z] ------------------- [2022-07-29T22:41:18.537Z] stable info: [2022-07-29T22:41:18.537Z] ------------------- [2022-07-29T22:41:18.537Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-29T22:41:18.537Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-29T22:41:18.537Z] Message: update stable to v1.0.238 [2022-07-29T22:41:19.110Z] ------------------- [2022-07-29T22:41:19.110Z] experimental info: [2022-07-29T22:41:19.110Z] ------------------- [2022-07-29T22:41:19.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-29T22:41:19.110Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-29T22:41:19.110Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-29T22:41:19.308Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-29T22:41:19.321Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-29T22:41:19.329Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-29T22:41:19.338Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-29T22:41:19.347Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-29T22:41:19.360Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-29T22:41:19.368Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-29T22:41:19.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-29T22:41:19.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-29T22:41:19.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-29T22:41:19.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-29T22:41:19.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-29T22:41:19.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-29T22:41:19.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-29T22:41:19.434Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-29T22:41:19.442Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-29T22:41:19.451Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-29T22:41:19.459Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-29T22:41:19.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-29T22:41:19.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-29T22:41:19.550Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-29T22:41:19.559Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-29T22:41:19.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-29T22:41:19.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-29T22:41:19.594Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-29T22:41:19.606Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-29T22:41:19.617Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-29T22:41:19.625Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo [2022-07-29T22:41:19.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo [2022-07-29T22:41:19.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo [2022-07-29T22:41:19.650Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3203bac73d9175fb03e77d3e32076f7b8fea2f8e [Pipeline] echo [2022-07-29T22:41:19.658Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3203bac [Pipeline] echo [2022-07-29T22:41:19.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-29T22:41:19.705Z] provisioning config files... [2022-07-29T22:41:19.727Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config1161359208093634258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:41:20.037Z] ---> docker-login.sh [2022-07-29T22:41:20.038Z] nexus3.edgexfoundry.org:10001 [2022-07-29T22:41:20.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:20.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:20.561Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:20.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:20.561Z] [2022-07-29T22:41:20.561Z] Login Succeeded [2022-07-29T22:41:20.561Z] nexus3.edgexfoundry.org:10002 [2022-07-29T22:41:20.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:20.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:20.561Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:20.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:20.561Z] [2022-07-29T22:41:20.561Z] Login Succeeded [2022-07-29T22:41:20.561Z] nexus3.edgexfoundry.org:10003 [2022-07-29T22:41:20.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:20.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:20.830Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:20.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:20.830Z] [2022-07-29T22:41:20.830Z] Login Succeeded [2022-07-29T22:41:20.830Z] nexus3.edgexfoundry.org:10004 [2022-07-29T22:41:20.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:20.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:20.830Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:20.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:20.830Z] [2022-07-29T22:41:20.830Z] Login Succeeded [2022-07-29T22:41:20.830Z] docker.io [2022-07-29T22:41:21.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:21.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:21.353Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:21.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:21.353Z] [2022-07-29T22:41:21.353Z] Login Succeeded [2022-07-29T22:41:21.353Z] ---> docker-login.sh ends [Pipeline] } [2022-07-29T22:41:21.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-29T22:41:21.763Z] + git rev-list -1 --merges 3203bac73d9175fb03e77d3e32076f7b8fea2f8e~1..3203bac73d9175fb03e77d3e32076f7b8fea2f8e [Pipeline] echo [2022-07-29T22:41:21.792Z] -----------> git rev-list -1 --merges 3203bac73d9175fb03e77d3e32076f7b8fea2f8e~1..3203bac73d9175fb03e77d3e32076f7b8fea2f8e 3203bac73d9175fb03e77d3e32076f7b8fea2f8e [2022-07-29T22:41:21.793Z] 3203bac73d9175fb03e77d3e32076f7b8fea2f8e [false] [Pipeline] sh [2022-07-29T22:41:22.093Z] + git log --format=format:%s -1 3203bac73d9175fb03e77d3e32076f7b8fea2f8e [Pipeline] echo [2022-07-29T22:41:22.114Z] ========================================================= [2022-07-29T22:41:22.114Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-29T22:41:22.114Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-29T22:41:22.462Z] + git log --format=format:%s -1 3203bac73d9175fb03e77d3e32076f7b8fea2f8e [Pipeline] echo [2022-07-29T22:41:22.475Z] [semverPrep] GIT_COMMIT: 3203bac73d9175fb03e77d3e32076f7b8fea2f8e, Commit Message: Merge commit 'aebae1d3030d171e36a27ba4f472c47eca2add51' into HEAD [Pipeline] echo [2022-07-29T22:41:22.484Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-29T22:41:22.870Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-29T22:41:22.870Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-29T22:41:22.870Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-29T22:41:22.870Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-29T22:41:22.871Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-29T22:41:22.871Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-29T22:41:22.871Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:41:23.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-29T22:41:23.315Z] [2022-07-29T22:41:23.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:41:23.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-29T22:41:23.622Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-29T22:41:23.622Z] b85a868b505f: Pulling fs layer [2022-07-29T22:41:23.622Z] e2be974225ed: Pulling fs layer [2022-07-29T22:41:23.622Z] 339a4e72a1f5: Pulling fs layer [2022-07-29T22:41:23.622Z] 988bab9f4d93: Pulling fs layer [2022-07-29T22:41:23.622Z] 1469e6f7b9e6: Pulling fs layer [2022-07-29T22:41:23.622Z] eaf3925da568: Pulling fs layer [2022-07-29T22:41:23.622Z] bab4dde63d76: Pulling fs layer [2022-07-29T22:41:23.622Z] bde34c3a00c8: Pulling fs layer [2022-07-29T22:41:23.622Z] b352a97aabf1: Pulling fs layer [2022-07-29T22:41:23.622Z] 4872d77fe225: Pulling fs layer [2022-07-29T22:41:23.622Z] 5851b861e8e6: Pulling fs layer [2022-07-29T22:41:23.622Z] bab4dde63d76: Waiting [2022-07-29T22:41:23.622Z] 988bab9f4d93: Waiting [2022-07-29T22:41:23.622Z] 1469e6f7b9e6: Waiting [2022-07-29T22:41:23.622Z] bde34c3a00c8: Waiting [2022-07-29T22:41:23.622Z] 4872d77fe225: Waiting [2022-07-29T22:41:23.622Z] b352a97aabf1: Waiting [2022-07-29T22:41:23.622Z] eaf3925da568: Waiting [2022-07-29T22:41:23.622Z] e2be974225ed: Verifying Checksum [2022-07-29T22:41:23.622Z] e2be974225ed: Download complete [2022-07-29T22:41:23.622Z] 988bab9f4d93: Verifying Checksum [2022-07-29T22:41:23.622Z] 988bab9f4d93: Download complete [2022-07-29T22:41:23.884Z] 339a4e72a1f5: Verifying Checksum [2022-07-29T22:41:23.884Z] 339a4e72a1f5: Download complete [2022-07-29T22:41:23.884Z] 1469e6f7b9e6: Verifying Checksum [2022-07-29T22:41:23.884Z] 1469e6f7b9e6: Download complete [2022-07-29T22:41:23.884Z] eaf3925da568: Download complete [2022-07-29T22:41:23.884Z] bde34c3a00c8: Download complete [2022-07-29T22:41:23.884Z] b352a97aabf1: Verifying Checksum [2022-07-29T22:41:23.884Z] b352a97aabf1: Download complete [2022-07-29T22:41:23.884Z] 4872d77fe225: Verifying Checksum [2022-07-29T22:41:23.884Z] 4872d77fe225: Download complete [2022-07-29T22:41:23.884Z] 5851b861e8e6: Download complete [2022-07-29T22:41:23.884Z] b85a868b505f: Verifying Checksum [2022-07-29T22:41:23.884Z] b85a868b505f: Download complete [2022-07-29T22:41:24.145Z] bab4dde63d76: Verifying Checksum [2022-07-29T22:41:24.145Z] bab4dde63d76: Download complete [2022-07-29T22:41:25.530Z] b85a868b505f: Pull complete [2022-07-29T22:41:25.530Z] e2be974225ed: Pull complete [2022-07-29T22:41:25.792Z] 339a4e72a1f5: Pull complete [2022-07-29T22:41:26.052Z] 988bab9f4d93: Pull complete [2022-07-29T22:41:26.312Z] 1469e6f7b9e6: Pull complete [2022-07-29T22:41:26.312Z] eaf3925da568: Pull complete [2022-07-29T22:41:28.226Z] bab4dde63d76: Pull complete [2022-07-29T22:41:28.226Z] bde34c3a00c8: Pull complete [2022-07-29T22:41:28.226Z] b352a97aabf1: Pull complete [2022-07-29T22:41:28.488Z] 4872d77fe225: Pull complete [2022-07-29T22:41:28.488Z] 5851b861e8e6: Pull complete [2022-07-29T22:41:28.488Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-29T22:41:28.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-29T22:41:28.488Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T22:41:28.589Z] prd-ubuntu20.04-docker-8c-8g-21519 does not seem to be running inside a container [2022-07-29T22:41:28.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-29T22:41:29.883Z] $ docker top da560e1bf73303c7d1c48c51abda6c62feb8fd15718974c147152e8b334b1715 -eo pid,comm [2022-07-29T22:41:29.951Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-29T22:41:29.951Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-29T22:41:29.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-29T22:41:29.991Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-29T22:41:30.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-29T22:41:30.140Z] $ docker exec da560e1bf73303c7d1c48c51abda6c62feb8fd15718974c147152e8b334b1715 ssh-agent [2022-07-29T22:41:30.268Z] SSH_AUTH_SOCK=/tmp/ssh-pYJ3wjoZeqH8/agent.32 [2022-07-29T22:41:30.268Z] SSH_AGENT_PID=38 [2022-07-29T22:41:30.275Z] Running ssh-add (command line suppressed) [2022-07-29T22:41:30.401Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_5325489986677675117.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_5325489986677675117.key) [2022-07-29T22:41:30.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-29T22:41:30.709Z] + git tag --points-at HEAD [Pipeline] } [2022-07-29T22:41:30.734Z] $ docker exec --env ******** --env ******** da560e1bf73303c7d1c48c51abda6c62feb8fd15718974c147152e8b334b1715 ssh-agent -k [2022-07-29T22:41:30.857Z] unset SSH_AUTH_SOCK; [2022-07-29T22:41:30.857Z] unset SSH_AGENT_PID; [2022-07-29T22:41:30.857Z] echo Agent pid 38 killed; [2022-07-29T22:41:30.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-29T22:41:30.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-29T22:41:30.896Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-29T22:41:31.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-29T22:41:31.029Z] $ docker exec da560e1bf73303c7d1c48c51abda6c62feb8fd15718974c147152e8b334b1715 ssh-agent [2022-07-29T22:41:31.151Z] SSH_AUTH_SOCK=/tmp/ssh-xgO6ei2aFIfI/agent.73 [2022-07-29T22:41:31.151Z] SSH_AGENT_PID=79 [2022-07-29T22:41:31.156Z] Running ssh-add (command line suppressed) [2022-07-29T22:41:31.280Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7049179730668669749.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7049179730668669749.key) [2022-07-29T22:41:31.295Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-29T22:41:31.590Z] + git semver init [2022-07-29T22:41:31.851Z] 2022-07-29 22:41:31,818 [run_init] DEBUG init version:0.0.0 force:False [2022-07-29T22:41:31.851Z] 2022-07-29 22:41:31,819 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-07-29T22:41:31.851Z] 2022-07-29 22:41:31,819 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-07-29T22:41:31.851Z] 2022-07-29 22:41:31,820 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) [2022-07-29T22:41:32.793Z] 2022-07-29 22:41:32,606 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude [2022-07-29T22:41:32.793Z] 2022-07-29 22:41:32,606 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False [2022-07-29T22:41:32.793Z] 2022-07-29 22:41:32,606 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-07-29T22:41:32.793Z] 2022-07-29 22:41:32,611 [execute] INFO git cat-file --batch-check [2022-07-29T22:41:32.793Z] 2022-07-29 22:41:32,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-07-29T22:41:32.793Z] 2022-07-29 22:41:32,619 [execute] INFO git cat-file --batch [2022-07-29T22:41:32.793Z] 2022-07-29 22:41:32,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-07-29T22:41:32.793Z] 2022-07-29 22:41:32,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-07-29T22:41:32.793Z] 0.0.0 [Pipeline] } [2022-07-29T22:41:32.808Z] $ docker exec --env ******** --env ******** da560e1bf73303c7d1c48c51abda6c62feb8fd15718974c147152e8b334b1715 ssh-agent -k [2022-07-29T22:41:32.920Z] unset SSH_AUTH_SOCK; [2022-07-29T22:41:32.921Z] unset SSH_AGENT_PID; [2022-07-29T22:41:32.921Z] echo Agent pid 79 killed; [2022-07-29T22:41:32.931Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-29T22:41:33.235Z] + git semver [Pipeline] } [2022-07-29T22:41:33.517Z] $ docker stop --time=1 da560e1bf73303c7d1c48c51abda6c62feb8fd15718974c147152e8b334b1715 [2022-07-29T22:41:34.876Z] $ docker rm -f da560e1bf73303c7d1c48c51abda6c62feb8fd15718974c147152e8b334b1715 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-29T22:41:35.243Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-29T22:41:35.536Z] Stashed 1 file(s) [Pipeline] echo [2022-07-29T22:41:35.539Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-29T22:41:35.672Z] provisioning config files... [2022-07-29T22:41:35.683Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config3327860984776395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:41:35.984Z] ---> docker-login.sh [2022-07-29T22:41:35.984Z] nexus3.edgexfoundry.org:10001 [2022-07-29T22:41:35.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:35.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:35.984Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:35.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:35.984Z] [2022-07-29T22:41:35.984Z] Login Succeeded [2022-07-29T22:41:35.984Z] nexus3.edgexfoundry.org:10002 [2022-07-29T22:41:35.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:36.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:36.247Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:36.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:36.247Z] [2022-07-29T22:41:36.247Z] Login Succeeded [2022-07-29T22:41:36.247Z] nexus3.edgexfoundry.org:10003 [2022-07-29T22:41:36.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:36.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:36.247Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:36.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:36.247Z] [2022-07-29T22:41:36.247Z] Login Succeeded [2022-07-29T22:41:36.247Z] nexus3.edgexfoundry.org:10004 [2022-07-29T22:41:36.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:36.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:36.508Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:36.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:36.508Z] [2022-07-29T22:41:36.508Z] Login Succeeded [2022-07-29T22:41:36.508Z] docker.io [2022-07-29T22:41:36.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:41:36.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:41:36.770Z] Configure a credential helper to remove this warning. See [2022-07-29T22:41:36.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:41:36.770Z] [2022-07-29T22:41:36.770Z] Login Succeeded [2022-07-29T22:41:36.770Z] ---> docker-login.sh ends [Pipeline] } [2022-07-29T22:41:36.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-29T22:41:36.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-29T22:41:36.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-29T22:41:36.871Z] ========================================================= [2022-07-29T22:41:36.871Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-29T22:41:36.871Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:41:37.199Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-29T22:41:37.199Z] Sending build context to Docker daemon 9.801MB [2022-07-29T22:41:37.199Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-29T22:41:37.199Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-29T22:41:37.199Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-29T22:41:37.199Z] 2408cc74d12b: Pulling fs layer [2022-07-29T22:41:37.199Z] ea60b727a1ce: Pulling fs layer [2022-07-29T22:41:37.199Z] 30c4a7721957: Pulling fs layer [2022-07-29T22:41:37.199Z] 370296b7ddb6: Pulling fs layer [2022-07-29T22:41:37.199Z] 7c6cee850709: Pulling fs layer [2022-07-29T22:41:37.199Z] 39a5fcdaea64: Pulling fs layer [2022-07-29T22:41:37.199Z] d94ebbe4e438: Pulling fs layer [2022-07-29T22:41:37.199Z] 370296b7ddb6: Waiting [2022-07-29T22:41:37.199Z] 39a5fcdaea64: Waiting [2022-07-29T22:41:37.199Z] bcfd1f05c69d: Pulling fs layer [2022-07-29T22:41:37.199Z] 59ccb84bbe0f: Pulling fs layer [2022-07-29T22:41:37.199Z] d94ebbe4e438: Waiting [2022-07-29T22:41:37.199Z] bcfd1f05c69d: Waiting [2022-07-29T22:41:37.199Z] 59ccb84bbe0f: Waiting [2022-07-29T22:41:37.199Z] 30c4a7721957: Verifying Checksum [2022-07-29T22:41:37.199Z] 30c4a7721957: Download complete [2022-07-29T22:41:37.460Z] 7c6cee850709: Download complete [2022-07-29T22:41:37.460Z] 39a5fcdaea64: Download complete [2022-07-29T22:41:37.460Z] 2408cc74d12b: Verifying Checksum [2022-07-29T22:41:37.460Z] 2408cc74d12b: Download complete [2022-07-29T22:41:37.460Z] d94ebbe4e438: Download complete [2022-07-29T22:41:37.460Z] 2408cc74d12b: Pull complete [2022-07-29T22:41:37.720Z] ea60b727a1ce: Pull complete [2022-07-29T22:41:37.720Z] 30c4a7721957: Pull complete [2022-07-29T22:41:37.720Z] 59ccb84bbe0f: Verifying Checksum [2022-07-29T22:41:37.720Z] 59ccb84bbe0f: Download complete [2022-07-29T22:41:37.981Z] bcfd1f05c69d: Verifying Checksum [2022-07-29T22:41:37.981Z] bcfd1f05c69d: Download complete [2022-07-29T22:41:38.241Z] 370296b7ddb6: Verifying Checksum [2022-07-29T22:41:38.241Z] 370296b7ddb6: Download complete [2022-07-29T22:41:42.436Z] 370296b7ddb6: Pull complete [2022-07-29T22:41:42.437Z] 7c6cee850709: Pull complete [2022-07-29T22:41:42.437Z] 39a5fcdaea64: Pull complete [2022-07-29T22:41:42.437Z] d94ebbe4e438: Pull complete [2022-07-29T22:41:44.341Z] bcfd1f05c69d: Pull complete [2022-07-29T22:41:45.281Z] 59ccb84bbe0f: Pull complete [2022-07-29T22:41:45.281Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-29T22:41:45.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-29T22:41:45.281Z] ---> a4fb48ad2a94 [2022-07-29T22:41:45.281Z] Step 3/11 : ARG MAKE=make build [2022-07-29T22:41:46.670Z] ---> Running in 2b7d0dbfb1eb [2022-07-29T22:41:46.670Z] Removing intermediate container 2b7d0dbfb1eb [2022-07-29T22:41:46.670Z] ---> f332935f4d9f [2022-07-29T22:41:46.670Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-29T22:41:46.670Z] ---> Running in 049c8c1e5f4a [2022-07-29T22:41:46.670Z] Removing intermediate container 049c8c1e5f4a [2022-07-29T22:41:46.670Z] ---> c96a4b4c80a2 [2022-07-29T22:41:46.670Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-29T22:41:46.670Z] ---> Running in 1224cb04b203 [2022-07-29T22:41:46.670Z] Removing intermediate container 1224cb04b203 [2022-07-29T22:41:46.670Z] ---> aa76749d09a9 [2022-07-29T22:41:46.670Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-29T22:41:46.670Z] ---> Running in 6e4001faa875 [2022-07-29T22:41:47.240Z] Removing intermediate container 6e4001faa875 [2022-07-29T22:41:47.240Z] ---> b41da1ae43da [2022-07-29T22:41:47.240Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-29T22:41:47.240Z] ---> Running in d0af0ff110f9 [2022-07-29T22:41:47.812Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-29T22:41:48.758Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-29T22:41:49.019Z] OK: 211 MiB in 51 packages [2022-07-29T22:41:49.279Z] Removing intermediate container d0af0ff110f9 [2022-07-29T22:41:49.279Z] ---> eb71424baf48 [2022-07-29T22:41:49.279Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-29T22:41:49.539Z] ---> bb32aef0b1b2 [2022-07-29T22:41:49.539Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-29T22:41:49.539Z] ---> Running in e3cc85c2980a [2022-07-29T22:41:50.626Z] Still waiting to schedule task [2022-07-29T22:41:50.626Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-29T22:42:16.129Z] Removing intermediate container e3cc85c2980a [2022-07-29T22:42:16.129Z] ---> 2c02a87f97c9 [2022-07-29T22:42:16.129Z] Step 10/11 : COPY . . [2022-07-29T22:42:16.129Z] ---> 2a8273031587 [2022-07-29T22:42:16.129Z] Step 11/11 : RUN ${MAKE} [2022-07-29T22:42:16.129Z] ---> Running in 32cfc10e94df [2022-07-29T22:42:16.129Z] noop [2022-07-29T22:42:16.129Z] Removing intermediate container 32cfc10e94df [2022-07-29T22:42:16.129Z] ---> a41d2d8df91e [2022-07-29T22:42:16.129Z] Successfully built a41d2d8df91e [2022-07-29T22:42:16.129Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:42:16.443Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-29T22:42:16.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T22:42:16.536Z] prd-ubuntu20.04-docker-8c-8g-21519 does not seem to be running inside a container [2022-07-29T22:42:16.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-x86_64 cat [2022-07-29T22:42:16.958Z] $ docker top efb21bc8ff872b6257a0ca4b770adbad3052aef5e936e5415f909e67db6993ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-29T22:42:17.322Z] + go version [2022-07-29T22:42:17.322Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-29T22:42:17.336Z] $ docker stop --time=1 efb21bc8ff872b6257a0ca4b770adbad3052aef5e936e5415f909e67db6993ea [2022-07-29T22:42:18.628Z] $ docker rm -f efb21bc8ff872b6257a0ca4b770adbad3052aef5e936e5415f909e67db6993ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:42:19.063Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-29T22:42:19.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T22:42:19.161Z] prd-ubuntu20.04-docker-8c-8g-21519 does not seem to be running inside a container [2022-07-29T22:42:19.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-x86_64 cat [2022-07-29T22:42:19.634Z] $ docker top aa4adb21923106b9bc62c58daae650aa67e7e93b272ff56bff7f62e6481a889f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-29T22:42:20.044Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh [2022-07-29T22:42:20.344Z] + make test [2022-07-29T22:42:20.344Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-29T22:42:26.922Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-29T22:42:39.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-29T22:42:39.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-29T22:42:39.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-29T22:42:40.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.095s coverage: 23.6% of statements [2022-07-29T22:42:40.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-29T22:42:40.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 27.6% of statements [2022-07-29T22:42:40.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements [2022-07-29T22:42:40.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.070s coverage: 10.8% of statements [2022-07-29T22:42:40.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.118s coverage: 60.0% of statements [2022-07-29T22:42:40.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-29T22:42:40.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-29T22:42:40.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements [2022-07-29T22:42:40.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-29T22:42:40.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.094s coverage: 85.4% of statements [2022-07-29T22:42:40.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-29T22:42:40.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-29T22:42:40.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements [2022-07-29T22:42:40.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-29T22:42:40.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-29T22:42:40.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.736s coverage: 89.2% of statements [2022-07-29T22:42:40.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-29T22:42:40.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.9% of statements [2022-07-29T22:42:40.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-29T22:42:55.502Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-29T22:42:55.502Z] GO111MODULE=on go vet ./... [2022-07-29T22:42:58.036Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-29T22:42:58.036Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-29T22:42:58.036Z] ./bin/test-attribution-txt.sh [2022-07-29T22:42:58.036Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-29T22:42:58.036Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-29T22:42:58.297Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-29T22:42:58.297Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-29T22:42:58.297Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-29T22:42:58.297Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-29T22:42:58.297Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-29T22:42:58.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-29T22:42:58.330Z] $ docker stop --time=1 aa4adb21923106b9bc62c58daae650aa67e7e93b272ff56bff7f62e6481a889f [2022-07-29T22:43:00.458Z] $ docker rm -f aa4adb21923106b9bc62c58daae650aa67e7e93b272ff56bff7f62e6481a889f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-29T22:43:00.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-29T22:43:01.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-29T22:43:01.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-29T22:43:01.822Z] + ls -al . [2022-07-29T22:43:01.822Z] total 300 [2022-07-29T22:43:01.822Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 29 22:42 . [2022-07-29T22:43:01.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 22:41 .. [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 29 22:41 .dockerignore [2022-07-29T22:43:01.822Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 22:42 .git [2022-07-29T22:43:01.822Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 22:41 .github [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 29 22:41 .gitignore [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 29 22:41 .golangci.yml [2022-07-29T22:43:01.822Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 29 22:41 .semver [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 29 22:41 CHANGELOG.md [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 29 22:41 GOVERNANCE.md [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 29 22:41 Jenkinsfile [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 29 22:41 LICENSE [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 29 22:41 Makefile [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 29 22:41 OWNERS.md [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 29 22:41 README.md [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 22:41 VERSION [2022-07-29T22:43:01.822Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 22:41 bin [2022-07-29T22:43:01.822Z] -rw-r--r-- 1 jenkins jenkins 130804 Jul 29 22:42 coverage.out [2022-07-29T22:43:01.822Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 29 22:41 example [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 29 22:41 go.mod [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 29 22:41 go.sum [2022-07-29T22:43:01.822Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 29 22:41 internal [2022-07-29T22:43:01.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 22:41 openapi [2022-07-29T22:43:01.822Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 29 22:41 pkg [2022-07-29T22:43:01.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 22:41 snap [2022-07-29T22:43:01.822Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 29 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:43:02.136Z] + 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=3203bac73d9175fb03e77d3e32076f7b8fea2f8e --label arch=amd64 --label version=0.0.0 . [2022-07-29T22:43:02.136Z] Sending build context to Docker daemon 9.933MB [2022-07-29T22:43:02.136Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-29T22:43:02.136Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-29T22:43:02.136Z] ---> a41d2d8df91e [2022-07-29T22:43:02.136Z] Step 3/25 : ARG MAKE=make build [2022-07-29T22:43:02.136Z] ---> Running in e189331d2fa6 [2022-07-29T22:43:02.398Z] Removing intermediate container e189331d2fa6 [2022-07-29T22:43:02.398Z] ---> 50a0cd74bc71 [2022-07-29T22:43:02.398Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-29T22:43:02.398Z] ---> Running in e83667b1b842 [2022-07-29T22:43:02.665Z] Removing intermediate container e83667b1b842 [2022-07-29T22:43:02.665Z] ---> 39f34db2198e [2022-07-29T22:43:02.665Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-29T22:43:02.665Z] ---> Running in 90252f7cabb0 [2022-07-29T22:43:02.665Z] Removing intermediate container 90252f7cabb0 [2022-07-29T22:43:02.665Z] ---> c582fc6b3c14 [2022-07-29T22:43:02.665Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-29T22:43:02.926Z] ---> Running in bdfb4173f49a [2022-07-29T22:43:03.499Z] Removing intermediate container bdfb4173f49a [2022-07-29T22:43:03.499Z] ---> f496031f9113 [2022-07-29T22:43:03.499Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-29T22:43:03.499Z] ---> Running in 2c430a2bc249 [2022-07-29T22:43:03.760Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-29T22:43:04.704Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-29T22:43:04.966Z] OK: 211 MiB in 51 packages [2022-07-29T22:43:05.538Z] Removing intermediate container 2c430a2bc249 [2022-07-29T22:43:05.538Z] ---> 0114b8b51aa6 [2022-07-29T22:43:05.538Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-29T22:43:05.538Z] ---> 3cf99c2fbfa5 [2022-07-29T22:43:05.538Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-29T22:43:05.538Z] ---> Running in 6ffc774c62e2 [2022-07-29T22:43:06.481Z] Removing intermediate container 6ffc774c62e2 [2022-07-29T22:43:06.481Z] ---> b852073f1b87 [2022-07-29T22:43:06.481Z] Step 10/25 : COPY . . [2022-07-29T22:43:06.742Z] ---> 31d83f110926 [2022-07-29T22:43:06.742Z] Step 11/25 : RUN ${MAKE} [2022-07-29T22:43:06.742Z] ---> Running in 6946b5505e64 [2022-07-29T22:43:07.002Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-07-29T22:43:21.898Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-29T22:43:25.197Z] Removing intermediate container 6946b5505e64 [2022-07-29T22:43:25.197Z] ---> 079d2b07e01b [2022-07-29T22:43:25.197Z] Step 12/25 : FROM alpine:3.16 [2022-07-29T22:43:25.767Z] 3.16: Pulling from library/alpine [2022-07-29T22:43:25.767Z] 530afca65e2e: Pulling fs layer [2022-07-29T22:43:26.026Z] 530afca65e2e: Verifying Checksum [2022-07-29T22:43:26.026Z] 530afca65e2e: Download complete [2022-07-29T22:43:26.026Z] 530afca65e2e: Pull complete [2022-07-29T22:43:26.026Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-29T22:43:26.026Z] Status: Downloaded newer image for alpine:3.16 [2022-07-29T22:43:26.026Z] ---> d7d3d98c851f [2022-07-29T22:43:26.026Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-29T22:43:26.287Z] ---> Running in 5470c5c00235 [2022-07-29T22:43:26.287Z] Removing intermediate container 5470c5c00235 [2022-07-29T22:43:26.287Z] ---> d15c500e4c8c [2022-07-29T22:43:26.287Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-29T22:43:26.287Z] ---> Running in d81826930400 [2022-07-29T22:43:26.857Z] Removing intermediate container d81826930400 [2022-07-29T22:43:26.857Z] ---> e63dc77f745a [2022-07-29T22:43:26.858Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-29T22:43:26.858Z] ---> Running in 7374f1838471 [2022-07-29T22:43:27.117Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-29T22:43:27.963Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21520 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws [2022-07-29T22:43:27.975Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2022-07-29T22:43:28.011Z] The recommended git tool is: git [2022-07-29T22:43:28.058Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-29T22:43:28.318Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-29T22:43:28.318Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-29T22:43:28.578Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-29T22:43:28.578Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-29T22:43:28.838Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-29T22:43:28.838Z] Executing busybox-1.35.0-r15.trigger [2022-07-29T22:43:28.838Z] OK: 8 MiB in 19 packages [2022-07-29T22:43:29.099Z] Removing intermediate container 7374f1838471 [2022-07-29T22:43:29.099Z] ---> 4dcda3b7cdab [2022-07-29T22:43:29.099Z] Step 16/25 : WORKDIR / [2022-07-29T22:43:29.360Z] ---> Running in 2db46390cb76 [2022-07-29T22:43:29.360Z] Removing intermediate container 2db46390cb76 [2022-07-29T22:43:29.360Z] ---> 128e430080c0 [2022-07-29T22:43:29.360Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-29T22:43:29.621Z] ---> 563e251d81cb [2022-07-29T22:43:29.621Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-29T22:43:30.192Z] ---> a74a3bdf98ba [2022-07-29T22:43:30.192Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-29T22:43:30.192Z] ---> b0b0cc8cd2b7 [2022-07-29T22:43:30.192Z] Step 20/25 : EXPOSE 59999 [2022-07-29T22:43:30.192Z] ---> Running in da7fd024fb08 [2022-07-29T22:43:30.451Z] Removing intermediate container da7fd024fb08 [2022-07-29T22:43:30.451Z] ---> 55c97aad8c22 [2022-07-29T22:43:30.451Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-29T22:43:30.451Z] ---> Running in d9eb18f283a2 [2022-07-29T22:43:30.451Z] Removing intermediate container d9eb18f283a2 [2022-07-29T22:43:30.451Z] ---> bfc2dfe74b5c [2022-07-29T22:43:30.451Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-29T22:43:30.713Z] ---> Running in 888c9b082ce5 [2022-07-29T22:43:30.713Z] Removing intermediate container 888c9b082ce5 [2022-07-29T22:43:30.713Z] ---> b3a4f4fefe82 [2022-07-29T22:43:30.713Z] Step 23/25 : LABEL arch=amd64 [2022-07-29T22:43:30.713Z] ---> Running in 466c9f485492 [2022-07-29T22:43:30.973Z] Removing intermediate container 466c9f485492 [2022-07-29T22:43:30.973Z] ---> a13f52ac5d90 [2022-07-29T22:43:30.973Z] Step 24/25 : LABEL git_sha=3203bac73d9175fb03e77d3e32076f7b8fea2f8e [2022-07-29T22:43:30.973Z] ---> Running in 9a7a2f0ade7d [2022-07-29T22:43:30.973Z] Removing intermediate container 9a7a2f0ade7d [2022-07-29T22:43:30.973Z] ---> ea3881299db7 [2022-07-29T22:43:30.973Z] Step 25/25 : LABEL version=0.0.0 [2022-07-29T22:43:30.973Z] ---> Running in 069bda067c11 [2022-07-29T22:43:31.232Z] Removing intermediate container 069bda067c11 [2022-07-29T22:43:31.232Z] ---> 81c038391c6a [2022-07-29T22:43:31.233Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-29T22:43:31.233Z] Successfully built 81c038391c6a [2022-07-29T22:43:31.233Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:43:31.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-29T22:43:31.681Z] [2022-07-29T22:43:31.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:43:31.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-29T22:43:31.983Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-29T22:43:31.983Z] 5eb5b503b376: Pulling fs layer [2022-07-29T22:43:31.983Z] 5c69ac0246d0: Pulling fs layer [2022-07-29T22:43:31.983Z] ec43610c2a17: Pulling fs layer [2022-07-29T22:43:31.983Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-29T22:43:31.983Z] 33b1e0a273af: Pulling fs layer [2022-07-29T22:43:31.983Z] 5d3b04190fa2: Pulling fs layer [2022-07-29T22:43:31.983Z] 2f39f015ded8: Pulling fs layer [2022-07-29T22:43:31.983Z] 3a2ae6a8a46f: Waiting [2022-07-29T22:43:31.983Z] 33b1e0a273af: Waiting [2022-07-29T22:43:31.983Z] 2f39f015ded8: Waiting [2022-07-29T22:43:31.983Z] 5d3b04190fa2: Waiting [2022-07-29T22:43:31.983Z] 5c69ac0246d0: Download complete [2022-07-29T22:43:31.983Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-29T22:43:31.983Z] 3a2ae6a8a46f: Download complete [2022-07-29T22:43:31.983Z] 33b1e0a273af: Verifying Checksum [2022-07-29T22:43:31.983Z] 33b1e0a273af: Download complete [2022-07-29T22:43:31.983Z] 5d3b04190fa2: Verifying Checksum [2022-07-29T22:43:31.983Z] 5d3b04190fa2: Download complete [2022-07-29T22:43:31.983Z] ec43610c2a17: Download complete [2022-07-29T22:43:32.243Z] 5eb5b503b376: Verifying Checksum [2022-07-29T22:43:32.243Z] 5eb5b503b376: Download complete [2022-07-29T22:43:32.812Z] 2f39f015ded8: Download complete [2022-07-29T22:43:33.379Z] 5eb5b503b376: Pull complete [2022-07-29T22:43:33.641Z] 5c69ac0246d0: Pull complete [2022-07-29T22:43:33.903Z] ec43610c2a17: Pull complete [2022-07-29T22:43:33.903Z] 3a2ae6a8a46f: Pull complete [2022-07-29T22:43:34.167Z] 33b1e0a273af: Pull complete [2022-07-29T22:43:34.425Z] 5d3b04190fa2: Pull complete [2022-07-29T22:43:34.470Z] using credential edgex-jenkins-ssh [2022-07-29T22:43:34.487Z] Cloning the remote Git repository [2022-07-29T22:43:34.554Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-29T22:43:34.630Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2022-07-29T22:43:34.703Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-29T22:43:34.703Z] > git --version # timeout=10 [2022-07-29T22:43:34.722Z] > git --version # 'git version 2.25.1' [2022-07-29T22:43:34.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-29T22:43:34.870Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-29T22:43:36.993Z] Merging remotes/origin/main commit aebae1d3030d171e36a27ba4f472c47eca2add51 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 [2022-07-29T22:43:36.297Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-29T22:43:36.317Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-29T22:43:36.373Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-29T22:43:36.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-29T22:43:36.408Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-29T22:43:36.421Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-29T22:43:37.016Z] > git config core.sparsecheckout # timeout=10 [2022-07-29T22:43:37.033Z] > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [2022-07-29T22:43:37.304Z] Merge succeeded, producing e3db5d35a07165cdee6026088026e2f280ec336d [2022-07-29T22:43:37.304Z] Checking out Revision e3db5d35a07165cdee6026088026e2f280ec336d (PR-1196) [2022-07-29T22:43:37.149Z] > git remote # timeout=10 [2022-07-29T22:43:37.169Z] > git config --get remote.origin.url # timeout=10 [2022-07-29T22:43:37.186Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-29T22:43:37.199Z] > git merge aebae1d3030d171e36a27ba4f472c47eca2add51 # timeout=10 [2022-07-29T22:43:37.292Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-29T22:43:37.314Z] > git config core.sparsecheckout # timeout=10 [2022-07-29T22:43:37.345Z] > git checkout -f e3db5d35a07165cdee6026088026e2f280ec336d # timeout=10 [2022-07-29T22:43:38.617Z] 2f39f015ded8: Pull complete [2022-07-29T22:43:38.617Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-29T22:43:38.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-29T22:43:38.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T22:43:38.721Z] prd-ubuntu20.04-docker-8c-8g-21519 does not seem to be running inside a container [2022-07-29T22:43:38.758Z] $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-07-29T22:43:40.752Z] $ docker top da3133539415b1af6004c0a0993a7d2ce10fc565a825f39fa1938f27764d377d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:43:41.152Z] ---> job-cost.sh [2022-07-29T22:43:41.152Z] lf-activate-venv: SKIPPING [2022-07-29T22:43:41.152Z] INFO: No Stack... [2022-07-29T22:43:41.412Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-29T22:43:41.501Z] Commit message: "Merge commit 'aebae1d3030d171e36a27ba4f472c47eca2add51' into HEAD" [2022-07-29T22:43:41.527Z] First time build. Skipping changelog. [2022-07-29T22:43:41.898Z] [2022-07-29T22:43:41.898Z] GitHub has been notified of this commit’s build result [2022-07-29T22:43:41.898Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-29T22:43:41.982Z] INFO: Archiving Costs [Pipeline] sh [2022-07-29T22:43:42.400Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv [2022-07-29T22:43:42.400Z] + cut -d, -f6 [Pipeline] lock [2022-07-29T22:43:42.416Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-4-stack-cost] [2022-07-29T22:43:42.423Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-4-stack-cost] did not exist. Created. [2022-07-29T22:43:42.423Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-4-stack-cost] [Pipeline] { [Pipeline] unstash [2022-07-29T22:43:42.450Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-29T22:43:42.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-29T22:43:42.450Z] Dload Upload Total Spent Left Speed [2022-07-29T22:43:42.450Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 90676 0 --:--:-- --:--:-- --:--:-- 90676 [Pipeline] sh [2022-07-29T22:43:42.731Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-29T22:43:42.768Z] Stashed 1 file(s) [Pipeline] } [2022-07-29T22:43:42.778Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-29T22:43:42.799Z] $ docker stop --time=1 da3133539415b1af6004c0a0993a7d2ce10fc565a825f39fa1938f27764d377d [2022-07-29T22:43:41.513Z] > git rev-list --no-walk bda5eedae8756d4f3808d1642f9c009be10155a3 # timeout=10 [2022-07-29T22:43:43.970Z] $ docker rm -f da3133539415b1af6004c0a0993a7d2ce10fc565a825f39fa1938f27764d377d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-29T22:43:44.371Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-29T22:43:44.715Z] + sudo tee /etc/docker/daemon.new [2022-07-29T22:43:44.715Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-29T22:43:44.715Z] { [2022-07-29T22:43:44.715Z] "registry-mirrors": [ [2022-07-29T22:43:44.715Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-29T22:43:44.715Z] ], [2022-07-29T22:43:44.715Z] "bip": "10.250.0.254/24", [2022-07-29T22:43:44.715Z] "hosts": [ [2022-07-29T22:43:44.715Z] "tcp://0.0.0.0:5555", [2022-07-29T22:43:44.715Z] "unix:///var/run/docker.sock" [2022-07-29T22:43:44.715Z] ], [2022-07-29T22:43:44.715Z] "mtu": 1458, [2022-07-29T22:43:44.715Z] "selinux-enabled": true, [2022-07-29T22:43:44.715Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-29T22:43:44.715Z] } [Pipeline] sh [2022-07-29T22:43:45.063Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-29T22:43:45.402Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-29T22:44:03.749Z] provisioning config files... [2022-07-29T22:44:03.772Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8171830546174854461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:44:04.132Z] ---> docker-login.sh [2022-07-29T22:44:04.132Z] nexus3.edgexfoundry.org:10001 [2022-07-29T22:44:04.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:44:05.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:44:05.010Z] Configure a credential helper to remove this warning. See [2022-07-29T22:44:05.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:44:05.010Z] [2022-07-29T22:44:05.010Z] Login Succeeded [2022-07-29T22:44:05.010Z] nexus3.edgexfoundry.org:10002 [2022-07-29T22:44:05.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:44:05.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:44:05.282Z] Configure a credential helper to remove this warning. See [2022-07-29T22:44:05.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:44:05.282Z] [2022-07-29T22:44:05.282Z] Login Succeeded [2022-07-29T22:44:05.282Z] nexus3.edgexfoundry.org:10003 [2022-07-29T22:44:05.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:44:05.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:44:05.832Z] Configure a credential helper to remove this warning. See [2022-07-29T22:44:05.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:44:05.832Z] [2022-07-29T22:44:05.832Z] Login Succeeded [2022-07-29T22:44:05.832Z] nexus3.edgexfoundry.org:10004 [2022-07-29T22:44:06.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:44:06.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:44:06.381Z] Configure a credential helper to remove this warning. See [2022-07-29T22:44:06.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:44:06.381Z] [2022-07-29T22:44:06.381Z] Login Succeeded [2022-07-29T22:44:06.381Z] docker.io [2022-07-29T22:44:06.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T22:44:06.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T22:44:06.923Z] Configure a credential helper to remove this warning. See [2022-07-29T22:44:06.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T22:44:06.923Z] [2022-07-29T22:44:06.923Z] Login Succeeded [2022-07-29T22:44:06.923Z] ---> docker-login.sh ends [Pipeline] } [2022-07-29T22:44:06.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-29T22:44:07.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-29T22:44:07.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-29T22:44:07.457Z] ========================================================= [2022-07-29T22:44:07.457Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-29T22:44:07.457Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:44:07.832Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-29T22:44:08.435Z] Sending build context to Docker daemon 5.267MB [2022-07-29T22:44:08.435Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-29T22:44:08.435Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-29T22:44:08.435Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-29T22:44:08.435Z] b3c136eddcbf: Pulling fs layer [2022-07-29T22:44:08.435Z] c0a3192eca97: Pulling fs layer [2022-07-29T22:44:08.435Z] a050256f5b6f: Pulling fs layer [2022-07-29T22:44:08.435Z] 656be50a0ddc: Pulling fs layer [2022-07-29T22:44:08.435Z] 2bbca73fdf42: Pulling fs layer [2022-07-29T22:44:08.435Z] 46d945488cbd: Pulling fs layer [2022-07-29T22:44:08.435Z] 8a5474983e97: Pulling fs layer [2022-07-29T22:44:08.435Z] 329c88fbcd65: Pulling fs layer [2022-07-29T22:44:08.435Z] 46d945488cbd: Waiting [2022-07-29T22:44:08.435Z] 8a5474983e97: Waiting [2022-07-29T22:44:08.435Z] 329c88fbcd65: Waiting [2022-07-29T22:44:08.435Z] 656be50a0ddc: Waiting [2022-07-29T22:44:08.435Z] 2bbca73fdf42: Waiting [2022-07-29T22:44:08.436Z] a050256f5b6f: Verifying Checksum [2022-07-29T22:44:08.436Z] a050256f5b6f: Download complete [2022-07-29T22:44:08.436Z] c0a3192eca97: Verifying Checksum [2022-07-29T22:44:08.436Z] c0a3192eca97: Download complete [2022-07-29T22:44:08.436Z] 2bbca73fdf42: Verifying Checksum [2022-07-29T22:44:08.436Z] 2bbca73fdf42: Download complete [2022-07-29T22:44:08.436Z] 46d945488cbd: Verifying Checksum [2022-07-29T22:44:08.436Z] 46d945488cbd: Download complete [2022-07-29T22:44:08.720Z] b3c136eddcbf: Verifying Checksum [2022-07-29T22:44:09.329Z] b3c136eddcbf: Pull complete [2022-07-29T22:44:09.606Z] 329c88fbcd65: Verifying Checksum [2022-07-29T22:44:09.606Z] 329c88fbcd65: Download complete [2022-07-29T22:44:10.208Z] c0a3192eca97: Pull complete [2022-07-29T22:44:10.484Z] a050256f5b6f: Pull complete [2022-07-29T22:44:10.761Z] 8a5474983e97: Verifying Checksum [2022-07-29T22:44:10.761Z] 8a5474983e97: Download complete [2022-07-29T22:44:11.359Z] 656be50a0ddc: Verifying Checksum [2022-07-29T22:44:11.359Z] 656be50a0ddc: Download complete [2022-07-29T22:44:23.771Z] 656be50a0ddc: Pull complete [2022-07-29T22:44:24.047Z] 2bbca73fdf42: Pull complete [2022-07-29T22:44:24.322Z] 46d945488cbd: Pull complete [2022-07-29T22:44:31.053Z] 8a5474983e97: Pull complete [2022-07-29T22:44:32.496Z] 329c88fbcd65: Pull complete [2022-07-29T22:44:32.496Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-29T22:44:32.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-29T22:44:32.496Z] ---> ff4287adb874 [2022-07-29T22:44:32.496Z] Step 3/11 : ARG MAKE=make build [2022-07-29T22:44:34.492Z] ---> Running in 5b47d62633ef [2022-07-29T22:44:34.492Z] Removing intermediate container 5b47d62633ef [2022-07-29T22:44:34.492Z] ---> fd73fe1320d6 [2022-07-29T22:44:34.492Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-29T22:44:34.492Z] ---> Running in 858d8a1771ed [2022-07-29T22:44:35.096Z] Removing intermediate container 858d8a1771ed [2022-07-29T22:44:35.096Z] ---> cd2ebeba4726 [2022-07-29T22:44:35.096Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-29T22:44:35.096Z] ---> Running in 13e121e4bc8a [2022-07-29T22:44:35.393Z] Removing intermediate container 13e121e4bc8a [2022-07-29T22:44:35.393Z] ---> 0118fae91ffd [2022-07-29T22:44:35.393Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-29T22:44:35.393Z] ---> Running in 3452141b1b54 [2022-07-29T22:44:38.024Z] Removing intermediate container 3452141b1b54 [2022-07-29T22:44:38.024Z] ---> f9d8f83c4377 [2022-07-29T22:44:38.024Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-29T22:44:38.024Z] ---> Running in 4e93ef2a86d8 [2022-07-29T22:44:39.008Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-29T22:44:39.987Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-29T22:44:40.966Z] OK: 221 MiB in 51 packages [2022-07-29T22:44:41.567Z] Removing intermediate container 4e93ef2a86d8 [2022-07-29T22:44:41.567Z] ---> 2640bb109205 [2022-07-29T22:44:41.567Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-29T22:44:42.168Z] ---> ba8f55e9d528 [2022-07-29T22:44:42.168Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-29T22:44:42.168Z] ---> Running in 91ebc7c94569 [2022-07-29T22:45:29.188Z] Removing intermediate container 91ebc7c94569 [2022-07-29T22:45:29.188Z] ---> 50bdac5c34ed [2022-07-29T22:45:29.188Z] Step 10/11 : COPY . . [2022-07-29T22:45:29.188Z] ---> e43f742e7bde [2022-07-29T22:45:29.188Z] Step 11/11 : RUN ${MAKE} [2022-07-29T22:45:29.188Z] ---> Running in 4391d205d883 [2022-07-29T22:45:30.165Z] noop [2022-07-29T22:45:30.436Z] Removing intermediate container 4391d205d883 [2022-07-29T22:45:30.436Z] ---> c186e89b5b64 [2022-07-29T22:45:30.710Z] Successfully built c186e89b5b64 [2022-07-29T22:45:30.710Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:45:31.082Z] + docker inspect -f . ci-base-image-arm64 [2022-07-29T22:45:31.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T22:45:31.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-21520 does not seem to be running inside a container [2022-07-29T22:45:31.396Z] $ 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-07-29T22:45:32.608Z] $ docker top 14907e5ef3322f94a16d96641c10a5daabdb92ebba53373f8848a8d1003145dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-29T22:45:33.519Z] + go version [2022-07-29T22:45:33.519Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-29T22:45:33.546Z] $ docker stop --time=1 14907e5ef3322f94a16d96641c10a5daabdb92ebba53373f8848a8d1003145dd [2022-07-29T22:45:35.154Z] $ docker rm -f 14907e5ef3322f94a16d96641c10a5daabdb92ebba53373f8848a8d1003145dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:45:35.750Z] + docker inspect -f . ci-base-image-arm64 [2022-07-29T22:45:35.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T22:45:35.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-21520 does not seem to be running inside a container [2022-07-29T22:45:36.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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-07-29T22:45:37.259Z] $ docker top d9138217b01ec9eb62447aae2ba91b7e3c477f7cf3cc5b1f94a73a14d721c619 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-29T22:45:38.148Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2022-07-29T22:45:38.816Z] + make test [2022-07-29T22:45:38.817Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-29T22:46:11.455Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-29T22:47:48.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-29T22:47:48.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-29T22:47:48.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-29T22:47:58.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.427s coverage: 23.6% of statements [2022-07-29T22:47:58.736Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-29T22:47:58.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.281s coverage: 27.6% of statements [2022-07-29T22:47:58.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.477s coverage: 78.9% of statements [2022-07-29T22:47:58.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.394s coverage: 10.8% of statements [2022-07-29T22:48:01.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.443s coverage: 60.0% of statements [2022-07-29T22:48:01.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-29T22:48:01.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-29T22:48:04.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.437s coverage: 34.8% of statements [2022-07-29T22:48:04.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-29T22:48:06.295Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.261s coverage: 85.4% of statements [2022-07-29T22:48:06.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-29T22:48:06.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-29T22:48:06.295Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.487s coverage: 65.1% of statements [2022-07-29T22:48:06.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-29T22:48:06.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-29T22:48:09.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.004s coverage: 89.2% of statements [2022-07-29T22:48:09.704Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-29T22:48:10.687Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.221s coverage: 4.9% of statements [2022-07-29T22:48:10.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-29T22:48:11.289Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-29T22:48:11.290Z] GO111MODULE=on go vet ./... [2022-07-29T22:49:33.158Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-29T22:49:33.158Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-29T22:49:33.158Z] ./bin/test-attribution-txt.sh [2022-07-29T22:49:33.158Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-29T22:49:33.158Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-29T22:49:33.158Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-29T22:49:33.158Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-29T22:49:33.158Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-29T22:49:33.158Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-29T22:49:33.158Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-29T22:49:33.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-29T22:49:33.202Z] $ docker stop --time=1 d9138217b01ec9eb62447aae2ba91b7e3c477f7cf3cc5b1f94a73a14d721c619 [2022-07-29T22:49:35.065Z] $ docker rm -f d9138217b01ec9eb62447aae2ba91b7e3c477f7cf3cc5b1f94a73a14d721c619 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-29T22:49:36.429Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-29T22:49:36.459Z] Warning: overwriting stash ‘coverage-report’ [2022-07-29T22:49:37.034Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-29T22:49:37.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-29T22:49:37.761Z] + ls -al . [2022-07-29T22:49:37.761Z] total 296 [2022-07-29T22:49:37.761Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 29 22:45 . [2022-07-29T22:49:37.761Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 22:43 .. [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 29 22:43 .dockerignore [2022-07-29T22:49:37.761Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 22:43 .git [2022-07-29T22:49:37.761Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 22:43 .github [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 29 22:43 .gitignore [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 29 22:43 .golangci.yml [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 29 22:43 CHANGELOG.md [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 29 22:43 GOVERNANCE.md [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 29 22:43 Jenkinsfile [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 29 22:43 LICENSE [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 29 22:43 Makefile [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 29 22:43 OWNERS.md [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 29 22:43 README.md [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 22:41 VERSION [2022-07-29T22:49:37.761Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 22:43 bin [2022-07-29T22:49:37.761Z] -rw-r--r-- 1 jenkins jenkins 130804 Jul 29 22:48 coverage.out [2022-07-29T22:49:37.761Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 29 22:43 example [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 29 22:43 go.mod [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 29 22:43 go.sum [2022-07-29T22:49:37.761Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 29 22:43 internal [2022-07-29T22:49:37.761Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 22:43 openapi [2022-07-29T22:49:37.761Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 29 22:43 pkg [2022-07-29T22:49:37.761Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 22:43 snap [2022-07-29T22:49:37.761Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 29 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:49:38.129Z] + 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=e3db5d35a07165cdee6026088026e2f280ec336d --label arch=arm64 --label version=0.0.0 . [2022-07-29T22:49:38.409Z] Sending build context to Docker daemon 5.399MB [2022-07-29T22:49:38.683Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-29T22:49:38.683Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-29T22:49:38.683Z] ---> c186e89b5b64 [2022-07-29T22:49:38.683Z] Step 3/25 : ARG MAKE=make build [2022-07-29T22:49:38.683Z] ---> Running in 76022fb73ec9 [2022-07-29T22:49:38.961Z] Removing intermediate container 76022fb73ec9 [2022-07-29T22:49:38.961Z] ---> 0fc1d5219f41 [2022-07-29T22:49:38.961Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-29T22:49:38.961Z] ---> Running in ec8f713d7a51 [2022-07-29T22:49:39.253Z] Removing intermediate container ec8f713d7a51 [2022-07-29T22:49:39.253Z] ---> 74f391b4a1b2 [2022-07-29T22:49:39.253Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-29T22:49:39.536Z] ---> Running in 0c018fab317b [2022-07-29T22:49:39.813Z] Removing intermediate container 0c018fab317b [2022-07-29T22:49:39.813Z] ---> 1bf7d90d6794 [2022-07-29T22:49:39.813Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-29T22:49:39.813Z] ---> Running in 24c6505fc207 [2022-07-29T22:49:41.800Z] Removing intermediate container 24c6505fc207 [2022-07-29T22:49:41.800Z] ---> afbe7647406f [2022-07-29T22:49:41.800Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-29T22:49:41.800Z] ---> Running in 1a8f29ca0d72 [2022-07-29T22:49:42.398Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-29T22:49:43.380Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-29T22:49:44.812Z] OK: 221 MiB in 51 packages [2022-07-29T22:49:45.421Z] Removing intermediate container 1a8f29ca0d72 [2022-07-29T22:49:45.421Z] ---> 7c615b11d169 [2022-07-29T22:49:45.421Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-29T22:49:46.027Z] ---> a5212fedf36c [2022-07-29T22:49:46.027Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-29T22:49:46.027Z] ---> Running in 5a68900780c0 [2022-07-29T22:49:48.019Z] Removing intermediate container 5a68900780c0 [2022-07-29T22:49:48.019Z] ---> 10ccb18b6de2 [2022-07-29T22:49:48.019Z] Step 10/25 : COPY . . [2022-07-29T22:49:49.456Z] ---> bf553f09847c [2022-07-29T22:49:49.456Z] Step 11/25 : RUN ${MAKE} [2022-07-29T22:49:49.456Z] ---> Running in 5d723f5ee18d [2022-07-29T22:49:50.052Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-07-29T22:51:56.977Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-29T22:51:56.977Z] Removing intermediate container 5d723f5ee18d [2022-07-29T22:51:56.977Z] ---> f634a8a79f73 [2022-07-29T22:51:56.977Z] Step 12/25 : FROM alpine:3.16 [2022-07-29T22:51:56.977Z] 3.16: Pulling from library/alpine [2022-07-29T22:51:56.977Z] f97344484467: Pulling fs layer [2022-07-29T22:51:56.977Z] f97344484467: Verifying Checksum [2022-07-29T22:51:56.977Z] f97344484467: Download complete [2022-07-29T22:51:56.977Z] f97344484467: Pull complete [2022-07-29T22:51:56.977Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-29T22:51:56.977Z] Status: Downloaded newer image for alpine:3.16 [2022-07-29T22:51:56.977Z] ---> 3d81c46cd875 [2022-07-29T22:51:56.977Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-29T22:51:56.977Z] ---> Running in 23eac59b8d9e [2022-07-29T22:51:56.977Z] Removing intermediate container 23eac59b8d9e [2022-07-29T22:51:56.977Z] ---> 3c1272271147 [2022-07-29T22:51:56.977Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-29T22:51:56.977Z] ---> Running in b8c97b93f7ba [2022-07-29T22:51:56.977Z] Removing intermediate container b8c97b93f7ba [2022-07-29T22:51:56.977Z] ---> 3ed2a3dc1e84 [2022-07-29T22:51:56.977Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-29T22:51:56.977Z] ---> Running in d280fb8f3559 [2022-07-29T22:51:56.977Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-29T22:51:56.977Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-29T22:51:56.977Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-29T22:51:56.977Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-29T22:51:56.977Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-29T22:51:56.978Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-29T22:51:56.978Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-29T22:51:57.251Z] Executing busybox-1.35.0-r15.trigger [2022-07-29T22:51:57.251Z] OK: 8 MiB in 19 packages [2022-07-29T22:51:58.231Z] Removing intermediate container d280fb8f3559 [2022-07-29T22:51:58.231Z] ---> 577992f44b7c [2022-07-29T22:51:58.231Z] Step 16/25 : WORKDIR / [2022-07-29T22:51:58.231Z] ---> Running in 2045472edef6 [2022-07-29T22:51:58.506Z] Removing intermediate container 2045472edef6 [2022-07-29T22:51:58.506Z] ---> e30b0c03e165 [2022-07-29T22:51:58.506Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-29T22:51:59.103Z] ---> beb53efb9b8d [2022-07-29T22:51:59.103Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-29T22:52:00.548Z] ---> f66115b962fe [2022-07-29T22:52:00.548Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-29T22:52:01.156Z] ---> d1bb5332d9d5 [2022-07-29T22:52:01.156Z] Step 20/25 : EXPOSE 59999 [2022-07-29T22:52:01.156Z] ---> Running in 1c95f773d83a [2022-07-29T22:52:01.429Z] Removing intermediate container 1c95f773d83a [2022-07-29T22:52:01.429Z] ---> 3f9228f2ce04 [2022-07-29T22:52:01.429Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-29T22:52:01.429Z] ---> Running in 94839a74cfa4 [2022-07-29T22:52:01.704Z] Removing intermediate container 94839a74cfa4 [2022-07-29T22:52:01.704Z] ---> 410641a28021 [2022-07-29T22:52:01.704Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-29T22:52:01.704Z] ---> Running in 606b6e9ccff2 [2022-07-29T22:52:02.303Z] Removing intermediate container 606b6e9ccff2 [2022-07-29T22:52:02.303Z] ---> 511118cfdd6b [2022-07-29T22:52:02.303Z] Step 23/25 : LABEL arch=arm64 [2022-07-29T22:52:02.303Z] ---> Running in 80e3bca75d60 [2022-07-29T22:52:02.579Z] Removing intermediate container 80e3bca75d60 [2022-07-29T22:52:02.579Z] ---> cb0db5539232 [2022-07-29T22:52:02.579Z] Step 24/25 : LABEL git_sha=e3db5d35a07165cdee6026088026e2f280ec336d [2022-07-29T22:52:02.579Z] ---> Running in 04e3bd1ef43f [2022-07-29T22:52:02.860Z] Removing intermediate container 04e3bd1ef43f [2022-07-29T22:52:02.860Z] ---> 66f5006c3836 [2022-07-29T22:52:02.860Z] Step 25/25 : LABEL version=0.0.0 [2022-07-29T22:52:02.860Z] ---> Running in cbe7e6375ae8 [2022-07-29T22:52:03.134Z] Removing intermediate container cbe7e6375ae8 [2022-07-29T22:52:03.134Z] ---> 587c8c70e68c [2022-07-29T22:52:03.134Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-29T22:52:03.406Z] Successfully built 587c8c70e68c [2022-07-29T22:52:03.406Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:52:03.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-29T22:52:03.913Z] [2022-07-29T22:52:03.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:52:04.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-29T22:52:04.544Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-29T22:52:04.544Z] 8998bd30e6a1: Pulling fs layer [2022-07-29T22:52:04.544Z] 04944245beec: Pulling fs layer [2022-07-29T22:52:04.544Z] 699f458cf7ca: Pulling fs layer [2022-07-29T22:52:04.544Z] 765212b225bb: Pulling fs layer [2022-07-29T22:52:04.544Z] f23df028b6ca: Pulling fs layer [2022-07-29T22:52:04.544Z] d65c8cfc05b1: Pulling fs layer [2022-07-29T22:52:04.544Z] 2437ff75d9bd: Pulling fs layer [2022-07-29T22:52:04.544Z] 765212b225bb: Waiting [2022-07-29T22:52:04.544Z] f23df028b6ca: Waiting [2022-07-29T22:52:04.544Z] 2437ff75d9bd: Waiting [2022-07-29T22:52:04.544Z] d65c8cfc05b1: Waiting [2022-07-29T22:52:04.544Z] 04944245beec: Verifying Checksum [2022-07-29T22:52:04.544Z] 04944245beec: Download complete [2022-07-29T22:52:04.544Z] 765212b225bb: Download complete [2022-07-29T22:52:04.544Z] f23df028b6ca: Verifying Checksum [2022-07-29T22:52:04.544Z] f23df028b6ca: Download complete [2022-07-29T22:52:04.544Z] d65c8cfc05b1: Verifying Checksum [2022-07-29T22:52:04.544Z] d65c8cfc05b1: Download complete [2022-07-29T22:52:04.823Z] 699f458cf7ca: Verifying Checksum [2022-07-29T22:52:04.823Z] 699f458cf7ca: Download complete [2022-07-29T22:52:05.100Z] 8998bd30e6a1: Verifying Checksum [2022-07-29T22:52:05.100Z] 8998bd30e6a1: Download complete [2022-07-29T22:52:07.732Z] 2437ff75d9bd: Verifying Checksum [2022-07-29T22:52:07.732Z] 2437ff75d9bd: Download complete [2022-07-29T22:52:09.179Z] 8998bd30e6a1: Pull complete [2022-07-29T22:52:09.776Z] 04944245beec: Pull complete [2022-07-29T22:52:11.225Z] 699f458cf7ca: Pull complete [2022-07-29T22:52:11.499Z] 765212b225bb: Pull complete [2022-07-29T22:52:12.483Z] f23df028b6ca: Pull complete [2022-07-29T22:52:12.483Z] d65c8cfc05b1: Pull complete [2022-07-29T22:52:27.580Z] 2437ff75d9bd: Pull complete [2022-07-29T22:52:27.580Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-29T22:52:27.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-29T22:52:27.580Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T22:52:27.854Z] prd-ubuntu20.04-docker-arm64-4c-16g-21520 does not seem to be running inside a container [2022-07-29T22:52:27.987Z] $ 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-07-29T22:52:30.685Z] $ docker top 22e06459557fc91c88ff0d6f8b4b13f78ec518e8df3cad6360fdd07eb639cf6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:52:31.690Z] ---> job-cost.sh [2022-07-29T22:52:31.690Z] lf-activate-venv: SKIPPING [2022-07-29T22:52:31.690Z] INFO: No Stack... [2022-07-29T22:52:32.292Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-29T22:52:32.894Z] INFO: Archiving Costs [Pipeline] sh [2022-07-29T22:52:33.572Z] + cut -d, -f6 [2022-07-29T22:52:33.572Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2022-07-29T22:52:33.608Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-4-stack-cost] [2022-07-29T22:52:33.615Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-4-stack-cost] did not exist. Created. [2022-07-29T22:52:33.615Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-29T22:52:34.337Z] /w/workspace/device-sdk-go/4@tmp/durable-2a3b1bba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-29T22:52:35.065Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-29T22:52:35.086Z] Warning: overwriting stash ‘stack-cost’ [2022-07-29T22:52:35.144Z] Stashed 1 file(s) [Pipeline] } [2022-07-29T22:52:35.151Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-29T22:52:35.169Z] $ docker stop --time=1 22e06459557fc91c88ff0d6f8b4b13f78ec518e8df3cad6360fdd07eb639cf6a [2022-07-29T22:52:36.668Z] $ docker rm -f 22e06459557fc91c88ff0d6f8b4b13f78ec518e8df3cad6360fdd07eb639cf6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-29T22:52:37.147Z] provisioning config files... [2022-07-29T22:52:37.157Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config4957306543522064192tmp [Pipeline] { [Pipeline] sh [2022-07-29T22:52:37.454Z] + set +x [2022-07-29T22:52:37.454Z] + curl -s https://codecov.io/bash [2022-07-29T22:52:37.454Z] + bash -s -- [2022-07-29T22:52:37.454Z] [2022-07-29T22:52:37.454Z] _____ _ [2022-07-29T22:52:37.454Z] / ____| | | [2022-07-29T22:52:37.454Z] | | ___ __| | ___ ___ _____ __ [2022-07-29T22:52:37.454Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-29T22:52:37.454Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-29T22:52:37.454Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-29T22:52:37.454Z] Bash-1.0.6 [2022-07-29T22:52:37.454Z] [2022-07-29T22:52:37.454Z] [2022-07-29T22:52:37.454Z] ==> git version 2.25.1 found [2022-07-29T22:52:37.454Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-29T22:52:37.454Z] Release-Date: 2020-01-08 [2022-07-29T22:52:37.454Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-29T22:52:37.454Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-29T22:52:37.454Z] ==> Jenkins CI detected. [2022-07-29T22:52:37.454Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-07-29T22:52:37.454Z] project root: . [2022-07-29T22:52:37.454Z] --> token set from env [2022-07-29T22:52:37.455Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-29T22:52:37.455Z] ==> Running gcov in . (disable via -X gcov) [2022-07-29T22:52:37.455Z] ==> Python coveragepy not found [2022-07-29T22:52:37.455Z] ==> Searching for coverage reports in: [2022-07-29T22:52:37.455Z] + . [2022-07-29T22:52:37.455Z] -> Found 1 reports [2022-07-29T22:52:37.455Z] ==> Detecting git/mercurial file structure [2022-07-29T22:52:37.455Z] ==> Reading reports [2022-07-29T22:52:37.455Z] + ./coverage.out bytes=130804 [2022-07-29T22:52:37.455Z] ==> Appending adjustments [2022-07-29T22:52:37.455Z] https://docs.codecov.io/docs/fixing-reports [2022-07-29T22:52:38.025Z] + Found adjustments [2022-07-29T22:52:38.025Z] ==> Gzipping contents [2022-07-29T22:52:38.025Z] 20K /tmp/codecov.RKETN9.gz [2022-07-29T22:52:38.025Z] ==> Uploading reports [2022-07-29T22:52:38.025Z] url: https://codecov.io [2022-07-29T22:52:38.025Z] query: branch=PR-1196&commit=3203bac73d9175fb03e77d3e32076f7b8fea2f8e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-07-29T22:52:38.025Z] -> Pinging Codecov [2022-07-29T22:52:38.025Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=3203bac73d9175fb03e77d3e32076f7b8fea2f8e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-07-29T22:52:38.025Z] -> Uploading to [2022-07-29T22:52:38.025Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-29/7E55EF52A471D76F132DFD9A03CDDE97/3203bac73d9175fb03e77d3e32076f7b8fea2f8e/e5a12b67-6916-446f-bfa3-9f2b3e5edc0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220729%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220729T225237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=510a069e1e1cdb531b7b557c4ae4481bb994462641dbd4b4f32333d0bc180ee4 [2022-07-29T22:52:38.025Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-29T22:52:38.025Z] Dload Upload Total Spent Left Speed [2022-07-29T22:52:38.285Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17199 0 0 100 17199 0 75434 --:--:-- --:--:-- --:--:-- 75104 100 17199 0 0 100 17199 0 71662 --:--:-- --:--:-- --:--:-- 71365 [2022-07-29T22:52:38.285Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3203bac73d9175fb03e77d3e32076f7b8fea2f8e [Pipeline] } [2022-07-29T22:52:38.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-29T22:52:39.104Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] [2022-07-29T22:52:39.104Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-07-29T22:52:39.104Z] total 16 [2022-07-29T22:52:39.104Z] drwxr-xr-x 3 root root 4096 Jul 29 22:43 . [2022-07-29T22:52:39.104Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 29 22:43 .. [2022-07-29T22:52:39.104Z] drwxr-xr-x 2 root root 4096 Jul 29 22:43 cost [2022-07-29T22:52:39.104Z] -rw-r--r-- 1 root root 86 Jul 29 22:43 cost.csv [2022-07-29T22:52:39.104Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-07-29T22:52:39.104Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-07-29T22:52:39.104Z] total 16 [2022-07-29T22:52:39.104Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 29 22:43 . [2022-07-29T22:52:39.104Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 29 22:43 .. [2022-07-29T22:52:39.104Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 29 22:43 cost [2022-07-29T22:52:39.104Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 29 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:52:39.402Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:52:40.275Z] ---> package-listing.sh [2022-07-29T22:52:40.275Z] ++ facter osfamily [2022-07-29T22:52:40.275Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-29T22:52:40.536Z] + OS_FAMILY=debian [2022-07-29T22:52:40.536Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-07-29T22:52:40.536Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-29T22:52:40.536Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-29T22:52:40.536Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-29T22:52:40.536Z] + PACKAGES=/tmp/packages_start.txt [2022-07-29T22:52:40.536Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-07-29T22:52:40.536Z] + PACKAGES=/tmp/packages_end.txt [2022-07-29T22:52:40.536Z] + case "${OS_FAMILY}" in [2022-07-29T22:52:40.536Z] + dpkg -l [2022-07-29T22:52:40.536Z] + grep '^ii' [2022-07-29T22:52:40.536Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-29T22:52:40.536Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-29T22:52:40.536Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-29T22:52:40.536Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-07-29T22:52:40.536Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [2022-07-29T22:52:40.536Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo [2022-07-29T22:52:40.551Z] 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-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-29T22:52:40.832Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T22:52:41.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-29T22:52:41.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T22:52:41.500Z] prd-ubuntu20.04-docker-8c-8g-21519 does not seem to be running inside a container [2022-07-29T22:52:41.539Z] $ 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-1196/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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-29T22:52:41.791Z] $ docker top f1cd8cc5c567fc6b7fa651f252d6bd805d80da7e91a7edd2f1e9ac5572506f73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-29T22:52:42.156Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-29T22:52:42.446Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-29T22:52:42.739Z] + ls /var/log/sa-host [2022-07-29T22:52:42.739Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-29T22:52:42.877Z] provisioning config files... [2022-07-29T22:52:42.887Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config9011178676268587539tmp [Pipeline] { [Pipeline] echo [2022-07-29T22:52:42.903Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:52:43.191Z] ---> create-netrc.sh [Pipeline] } [2022-07-29T22:52:43.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:52:43.547Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-29T22:52:43.559Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:52:43.847Z] ---> sudo-logs.sh [2022-07-29T22:52:43.847Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-29T22:52:43.880Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:52:44.170Z] ---> job-cost.sh [2022-07-29T22:52:44.170Z] lf-activate-venv: SKIPPING [2022-07-29T22:52:44.170Z] DEBUG: total: 0.2199999988079071 [2022-07-29T22:52:44.170Z] INFO: Retrieving Stack Cost... [2022-07-29T22:52:44.431Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-29T22:52:45.010Z] INFO: Archiving Costs [Pipeline] echo [2022-07-29T22:52:45.065Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T22:52:45.367Z] ---> logs-deploy.sh [2022-07-29T22:52:45.367Z] lf-activate-venv: SKIPPING [2022-07-29T22:52:45.367Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/4 [2022-07-29T22:52:45.367Z] INFO: archiving workspace using pattern(s): [2022-07-29T22:52:46.307Z] Archives upload complete. [2022-07-29T22:52:46.307Z] INFO: archiving logs to Nexus