Pull request #1216 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 2a1e4923af529abf66cb087d1ef4c8494172dbc4 rather than c7cd50c6e69c915e37397c2df1a48575bb480629 Obtained Jenkinsfile from 2a1e4923af529abf66cb087d1ef4c8494172dbc4 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-ssh5256188056126096321.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13485511521131827907.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7484743755382650594.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8068727563137766835.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3442973506895985637.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8641782429651318922.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-745 in /w/workspace/gexfoundry_device-sdk-go_PR-1216 [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-1216 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1216/head:refs/remotes/origin/PR-1216 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2a1e4923af529abf66cb087d1ef4c8494172dbc4 into PR head commit c7cd50c6e69c915e37397c2df1a48575bb480629 Merge succeeded, producing c7cd50c6e69c915e37397c2df1a48575bb480629 Checking out Revision c7cd50c6e69c915e37397c2df1a48575bb480629 (PR-1216) > git config core.sparsecheckout # timeout=10 > git checkout -f c7cd50c6e69c915e37397c2df1a48575bb480629 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 2a1e4923af529abf66cb087d1ef4c8494172dbc4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7cd50c6e69c915e37397c2df1a48575bb480629 # timeout=10 Commit message: "fix: Skip Subscription to Empty Command Request Topic" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-23T18:23:56.097Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-23T18:23:56.269Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-23T18:23:56.372Z] ========================================================= [2022-09-23T18:23:56.372Z] EdgeX Global Pipelines Version Info [2022-09-23T18:23:56.372Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:23:57.129Z] ------------------- [2022-09-23T18:23:57.129Z] stable info: [2022-09-23T18:23:57.129Z] ------------------- [2022-09-23T18:23:57.129Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-23T18:23:57.129Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-23T18:23:57.129Z] Message: update stable to v1.0.239 [2022-09-23T18:23:57.701Z] ------------------- [2022-09-23T18:23:57.701Z] experimental info: [2022-09-23T18:23:57.701Z] ------------------- [2022-09-23T18:23:57.701Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-23T18:23:57.701Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-23T18:23:57.701Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-23T18:23:57.971Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-23T18:23:58.014Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-23T18:23:58.052Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-23T18:23:58.091Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-23T18:23:58.132Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-23T18:23:58.168Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-23T18:23:58.208Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-23T18:23:58.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-23T18:23:58.283Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-23T18:23:58.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-23T18:23:58.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-23T18:23:58.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-23T18:23:58.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-23T18:23:58.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-23T18:23:58.502Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-23T18:23:58.539Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-23T18:23:58.575Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-23T18:23:58.611Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-23T18:23:58.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-23T18:23:58.683Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-23T18:23:58.720Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-23T18:23:58.757Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-23T18:23:58.798Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-23T18:23:58.837Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-23T18:23:58.872Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-23T18:23:58.908Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-23T18:23:58.945Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-23T18:23:58.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1216 [Pipeline] echo [2022-09-23T18:23:59.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1216 [Pipeline] echo [2022-09-23T18:23:59.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1216 [Pipeline] echo [2022-09-23T18:23:59.097Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] echo [2022-09-23T18:23:59.138Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7cd50c [Pipeline] echo [2022-09-23T18:23:59.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-23T18:23:59.288Z] provisioning config files... [2022-09-23T18:23:59.303Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/config10273294420450938385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:23:59.640Z] ---> docker-login.sh [2022-09-23T18:23:59.640Z] nexus3.edgexfoundry.org:10001 [2022-09-23T18:23:59.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:00.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:00.165Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:00.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:00.165Z] [2022-09-23T18:24:00.165Z] Login Succeeded [2022-09-23T18:24:00.165Z] nexus3.edgexfoundry.org:10002 [2022-09-23T18:24:00.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:00.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:00.165Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:00.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:00.165Z] [2022-09-23T18:24:00.165Z] Login Succeeded [2022-09-23T18:24:00.165Z] nexus3.edgexfoundry.org:10003 [2022-09-23T18:24:00.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:00.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:00.425Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:00.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:00.425Z] [2022-09-23T18:24:00.425Z] Login Succeeded [2022-09-23T18:24:00.425Z] nexus3.edgexfoundry.org:10004 [2022-09-23T18:24:00.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:00.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:00.425Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:00.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:00.425Z] [2022-09-23T18:24:00.425Z] Login Succeeded [2022-09-23T18:24:00.425Z] docker.io [2022-09-23T18:24:00.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:00.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:00.996Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:00.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:00.996Z] [2022-09-23T18:24:00.996Z] Login Succeeded [2022-09-23T18:24:00.996Z] ---> docker-login.sh ends [Pipeline] } [2022-09-23T18:24:01.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-23T18:24:01.674Z] + git rev-list -1 --merges c7cd50c6e69c915e37397c2df1a48575bb480629~1..c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] echo [2022-09-23T18:24:01.732Z] -----------> git rev-list -1 --merges c7cd50c6e69c915e37397c2df1a48575bb480629~1..c7cd50c6e69c915e37397c2df1a48575bb480629 c7cd50c6e69c915e37397c2df1a48575bb480629 [false] [Pipeline] sh [2022-09-23T18:24:02.046Z] + git log --format=format:%s -1 c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] echo [2022-09-23T18:24:02.081Z] ========================================================= [2022-09-23T18:24:02.081Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-23T18:24:02.081Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-23T18:24:02.503Z] + git log --format=format:%s -1 c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] echo [2022-09-23T18:24:02.537Z] [semverPrep] GIT_COMMIT: c7cd50c6e69c915e37397c2df1a48575bb480629, Commit Message: fix: Skip Subscription to Empty Command Request Topic [Pipeline] echo [2022-09-23T18:24:02.568Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-23T18:24:02.960Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-23T18:24:02.960Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-23T18:24:02.960Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-23T18:24:02.960Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-23T18:24:02.960Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-23T18:24:02.960Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-23T18:24:02.960Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:24:03.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-23T18:24:03.473Z] [2022-09-23T18:24:03.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:24:03.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-23T18:24:03.847Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-23T18:24:03.847Z] b85a868b505f: Pulling fs layer [2022-09-23T18:24:03.847Z] e2be974225ed: Pulling fs layer [2022-09-23T18:24:03.847Z] 339a4e72a1f5: Pulling fs layer [2022-09-23T18:24:03.847Z] 988bab9f4d93: Pulling fs layer [2022-09-23T18:24:03.847Z] 1469e6f7b9e6: Pulling fs layer [2022-09-23T18:24:03.847Z] eaf3925da568: Pulling fs layer [2022-09-23T18:24:03.847Z] bab4dde63d76: Pulling fs layer [2022-09-23T18:24:03.847Z] bde34c3a00c8: Pulling fs layer [2022-09-23T18:24:03.847Z] b352a97aabf1: Pulling fs layer [2022-09-23T18:24:03.847Z] 4872d77fe225: Pulling fs layer [2022-09-23T18:24:03.847Z] 1469e6f7b9e6: Waiting [2022-09-23T18:24:03.847Z] eaf3925da568: Waiting [2022-09-23T18:24:03.847Z] 988bab9f4d93: Waiting [2022-09-23T18:24:03.847Z] bab4dde63d76: Waiting [2022-09-23T18:24:03.847Z] bde34c3a00c8: Waiting [2022-09-23T18:24:03.847Z] b352a97aabf1: Waiting [2022-09-23T18:24:03.847Z] 5851b861e8e6: Pulling fs layer [2022-09-23T18:24:03.847Z] 5851b861e8e6: Waiting [2022-09-23T18:24:03.847Z] 4872d77fe225: Waiting [2022-09-23T18:24:03.847Z] e2be974225ed: Verifying Checksum [2022-09-23T18:24:03.847Z] e2be974225ed: Download complete [2022-09-23T18:24:03.847Z] 988bab9f4d93: Verifying Checksum [2022-09-23T18:24:03.847Z] 988bab9f4d93: Download complete [2022-09-23T18:24:04.109Z] 1469e6f7b9e6: Verifying Checksum [2022-09-23T18:24:04.109Z] 1469e6f7b9e6: Download complete [2022-09-23T18:24:04.109Z] eaf3925da568: Verifying Checksum [2022-09-23T18:24:04.109Z] 339a4e72a1f5: Verifying Checksum [2022-09-23T18:24:04.109Z] 339a4e72a1f5: Download complete [2022-09-23T18:24:04.109Z] bde34c3a00c8: Download complete [2022-09-23T18:24:04.109Z] b352a97aabf1: Download complete [2022-09-23T18:24:04.109Z] 4872d77fe225: Verifying Checksum [2022-09-23T18:24:04.109Z] 4872d77fe225: Download complete [2022-09-23T18:24:04.109Z] 5851b861e8e6: Verifying Checksum [2022-09-23T18:24:04.109Z] 5851b861e8e6: Download complete [2022-09-23T18:24:04.109Z] b85a868b505f: Verifying Checksum [2022-09-23T18:24:04.109Z] b85a868b505f: Download complete [2022-09-23T18:24:04.369Z] bab4dde63d76: Verifying Checksum [2022-09-23T18:24:04.369Z] bab4dde63d76: Download complete [2022-09-23T18:24:05.767Z] b85a868b505f: Pull complete [2022-09-23T18:24:05.767Z] e2be974225ed: Pull complete [2022-09-23T18:24:06.348Z] 339a4e72a1f5: Pull complete [2022-09-23T18:24:06.348Z] 988bab9f4d93: Pull complete [2022-09-23T18:24:06.609Z] 1469e6f7b9e6: Pull complete [2022-09-23T18:24:06.609Z] eaf3925da568: Pull complete [2022-09-23T18:24:08.520Z] bab4dde63d76: Pull complete [2022-09-23T18:24:08.520Z] bde34c3a00c8: Pull complete [2022-09-23T18:24:08.520Z] b352a97aabf1: Pull complete [2022-09-23T18:24:08.779Z] 4872d77fe225: Pull complete [2022-09-23T18:24:08.779Z] 5851b861e8e6: Pull complete [2022-09-23T18:24:08.779Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-23T18:24:08.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-23T18:24:08.779Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-23T18:24:09.007Z] prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container [2022-09-23T18:24:09.038Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-23T18:24:10.584Z] $ docker top f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 -eo pid,comm [2022-09-23T18:24:10.645Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-23T18:24:10.645Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-23T18:24:10.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-23T18:24:10.780Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-23T18:24:10.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-23T18:24:10.905Z] $ docker exec f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 ssh-agent [2022-09-23T18:24:11.024Z] SSH_AUTH_SOCK=/tmp/ssh-NWg20aek8eIF/agent.32 [2022-09-23T18:24:11.024Z] SSH_AGENT_PID=38 [2022-09-23T18:24:11.031Z] Running ssh-add (command line suppressed) [2022-09-23T18:24:11.133Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/private_key_7261155986193854921.key (/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/private_key_7261155986193854921.key) [2022-09-23T18:24:11.150Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-23T18:24:11.481Z] + git tag --points-at HEAD [Pipeline] } [2022-09-23T18:24:11.507Z] $ docker exec --env ******** --env ******** f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 ssh-agent -k [2022-09-23T18:24:11.611Z] unset SSH_AUTH_SOCK; [2022-09-23T18:24:11.611Z] unset SSH_AGENT_PID; [2022-09-23T18:24:11.612Z] echo Agent pid 38 killed; [2022-09-23T18:24:11.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-23T18:24:11.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-23T18:24:11.710Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-23T18:24:11.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-23T18:24:11.819Z] $ docker exec f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 ssh-agent [2022-09-23T18:24:11.945Z] SSH_AUTH_SOCK=/tmp/ssh-n4RezqZJWCUd/agent.70 [2022-09-23T18:24:11.945Z] SSH_AGENT_PID=76 [2022-09-23T18:24:11.950Z] Running ssh-add (command line suppressed) [2022-09-23T18:24:12.063Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/private_key_6738970923705266506.key (/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/private_key_6738970923705266506.key) [2022-09-23T18:24:12.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-23T18:24:12.455Z] + git semver init [2022-09-23T18:24:12.716Z] 2022-09-23 18:24:12,627 [run_init] DEBUG init version:0.0.0 force:False [2022-09-23T18:24:12.716Z] 2022-09-23 18:24:12,628 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver [2022-09-23T18:24:12.716Z] 2022-09-23 18:24:12,629 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver [2022-09-23T18:24:12.716Z] 2022-09-23 18:24:12,629 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1216, universal_newlines=False, shell=None, istream=None) [2022-09-23T18:24:13.655Z] 2022-09-23 18:24:13,639 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216/.git/info/exclude [2022-09-23T18:24:13.655Z] 2022-09-23 18:24:13,640 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver/PR-1216 with force:False [2022-09-23T18:24:13.655Z] 2022-09-23 18:24:13,640 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver/PR-1216 [2022-09-23T18:24:13.655Z] 2022-09-23 18:24:13,645 [execute] INFO git cat-file --batch-check [2022-09-23T18:24:13.655Z] 2022-09-23 18:24:13,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver, universal_newlines=False, shell=None, istream=) [2022-09-23T18:24:13.915Z] 2022-09-23 18:24:13,654 [execute] INFO git cat-file --batch [2022-09-23T18:24:13.915Z] 2022-09-23 18:24:13,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver, universal_newlines=False, shell=None, istream=) [2022-09-23T18:24:13.915Z] 2022-09-23 18:24:13,659 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1216/.semver/PR-1216 [2022-09-23T18:24:13.915Z] 0.0.0 [Pipeline] } [2022-09-23T18:24:13.936Z] $ docker exec --env ******** --env ******** f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 ssh-agent -k [2022-09-23T18:24:14.041Z] unset SSH_AUTH_SOCK; [2022-09-23T18:24:14.042Z] unset SSH_AGENT_PID; [2022-09-23T18:24:14.042Z] echo Agent pid 76 killed; [2022-09-23T18:24:14.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-23T18:24:14.491Z] + git semver [Pipeline] } [2022-09-23T18:24:14.783Z] $ docker stop --time=1 f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 [2022-09-23T18:24:16.115Z] $ docker rm -f f252a9926ac8b4c48e596572523d2c5d5a329533106fe3b26b3086d609cd6669 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-23T18:24:16.529Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-23T18:24:16.759Z] Stashed 1 file(s) [Pipeline] echo [2022-09-23T18:24:16.776Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-23T18:24:17.349Z] provisioning config files... [2022-09-23T18:24:17.358Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/config16176122398730493914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:24:17.703Z] ---> docker-login.sh [2022-09-23T18:24:17.703Z] nexus3.edgexfoundry.org:10001 [2022-09-23T18:24:17.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:17.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:17.703Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:17.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:17.703Z] [2022-09-23T18:24:17.703Z] Login Succeeded [2022-09-23T18:24:17.703Z] nexus3.edgexfoundry.org:10002 [2022-09-23T18:24:17.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:17.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:17.703Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:17.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:17.703Z] [2022-09-23T18:24:17.703Z] Login Succeeded [2022-09-23T18:24:17.703Z] nexus3.edgexfoundry.org:10003 [2022-09-23T18:24:17.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:17.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:17.963Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:17.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:17.963Z] [2022-09-23T18:24:17.963Z] Login Succeeded [2022-09-23T18:24:17.963Z] nexus3.edgexfoundry.org:10004 [2022-09-23T18:24:17.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:17.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:17.963Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:17.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:17.963Z] [2022-09-23T18:24:17.963Z] Login Succeeded [2022-09-23T18:24:17.963Z] docker.io [2022-09-23T18:24:18.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:24:18.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:24:18.483Z] Configure a credential helper to remove this warning. See [2022-09-23T18:24:18.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:24:18.483Z] [2022-09-23T18:24:18.483Z] Login Succeeded [2022-09-23T18:24:18.483Z] ---> docker-login.sh ends [Pipeline] } [2022-09-23T18:24:18.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-23T18:24:18.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-23T18:24:18.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-23T18:24:18.780Z] ========================================================= [2022-09-23T18:24:18.780Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-23T18:24:18.780Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:24:19.244Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-23T18:24:19.244Z] Sending build context to Docker daemon 9.892MB [2022-09-23T18:24:19.244Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-23T18:24:19.244Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-23T18:24:19.244Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-23T18:24:19.244Z] 2408cc74d12b: Pulling fs layer [2022-09-23T18:24:19.244Z] ea60b727a1ce: Pulling fs layer [2022-09-23T18:24:19.244Z] 30c4a7721957: Pulling fs layer [2022-09-23T18:24:19.244Z] 370296b7ddb6: Pulling fs layer [2022-09-23T18:24:19.244Z] 7c6cee850709: Pulling fs layer [2022-09-23T18:24:19.244Z] 39a5fcdaea64: Pulling fs layer [2022-09-23T18:24:19.244Z] d94ebbe4e438: Pulling fs layer [2022-09-23T18:24:19.244Z] bcfd1f05c69d: Pulling fs layer [2022-09-23T18:24:19.244Z] 59ccb84bbe0f: Pulling fs layer [2022-09-23T18:24:19.244Z] 370296b7ddb6: Waiting [2022-09-23T18:24:19.244Z] 7c6cee850709: Waiting [2022-09-23T18:24:19.244Z] 39a5fcdaea64: Waiting [2022-09-23T18:24:19.244Z] 59ccb84bbe0f: Waiting [2022-09-23T18:24:19.244Z] bcfd1f05c69d: Waiting [2022-09-23T18:24:19.505Z] 30c4a7721957: Download complete [2022-09-23T18:24:19.505Z] ea60b727a1ce: Verifying Checksum [2022-09-23T18:24:19.505Z] ea60b727a1ce: Download complete [2022-09-23T18:24:19.505Z] 7c6cee850709: Verifying Checksum [2022-09-23T18:24:19.505Z] 7c6cee850709: Download complete [2022-09-23T18:24:19.505Z] 39a5fcdaea64: Verifying Checksum [2022-09-23T18:24:19.505Z] 39a5fcdaea64: Download complete [2022-09-23T18:24:19.505Z] 2408cc74d12b: Verifying Checksum [2022-09-23T18:24:19.505Z] 2408cc74d12b: Download complete [2022-09-23T18:24:19.505Z] d94ebbe4e438: Download complete [2022-09-23T18:24:19.505Z] 2408cc74d12b: Pull complete [2022-09-23T18:24:19.770Z] ea60b727a1ce: Pull complete [2022-09-23T18:24:19.770Z] 30c4a7721957: Pull complete [2022-09-23T18:24:20.037Z] 59ccb84bbe0f: Verifying Checksum [2022-09-23T18:24:20.037Z] 59ccb84bbe0f: Download complete [2022-09-23T18:24:20.037Z] bcfd1f05c69d: Verifying Checksum [2022-09-23T18:24:20.037Z] bcfd1f05c69d: Download complete [2022-09-23T18:24:20.296Z] 370296b7ddb6: Verifying Checksum [2022-09-23T18:24:20.296Z] 370296b7ddb6: Download complete [2022-09-23T18:24:24.488Z] 370296b7ddb6: Pull complete [2022-09-23T18:24:24.488Z] 7c6cee850709: Pull complete [2022-09-23T18:24:24.488Z] 39a5fcdaea64: Pull complete [2022-09-23T18:24:24.488Z] d94ebbe4e438: Pull complete [2022-09-23T18:24:26.390Z] bcfd1f05c69d: Pull complete [2022-09-23T18:24:27.327Z] 59ccb84bbe0f: Pull complete [2022-09-23T18:24:27.327Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-23T18:24:27.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-23T18:24:27.327Z] ---> a4fb48ad2a94 [2022-09-23T18:24:27.327Z] Step 3/11 : ARG MAKE=make build [2022-09-23T18:24:29.250Z] ---> Running in 5e2f37c613fe [2022-09-23T18:24:29.250Z] Removing intermediate container 5e2f37c613fe [2022-09-23T18:24:29.250Z] ---> 0eaf4e3df3a6 [2022-09-23T18:24:29.250Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-23T18:24:29.509Z] ---> Running in b8a54c9ae939 [2022-09-23T18:24:29.509Z] Removing intermediate container b8a54c9ae939 [2022-09-23T18:24:29.509Z] ---> 5c1fbb05781f [2022-09-23T18:24:29.509Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-23T18:24:29.509Z] ---> Running in 5003243bc8a6 [2022-09-23T18:24:29.767Z] Removing intermediate container 5003243bc8a6 [2022-09-23T18:24:29.767Z] ---> 7dc27a9ef287 [2022-09-23T18:24:29.767Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-23T18:24:29.767Z] ---> Running in 4033c6ee9b2d [2022-09-23T18:24:30.334Z] Removing intermediate container 4033c6ee9b2d [2022-09-23T18:24:30.334Z] ---> ec83540bb4ad [2022-09-23T18:24:30.334Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-23T18:24:30.334Z] ---> Running in 8ae6273d95d2 [2022-09-23T18:24:30.592Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-23T18:24:31.528Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-23T18:24:32.095Z] OK: 211 MiB in 51 packages [2022-09-23T18:24:32.175Z] Still waiting to schedule task [2022-09-23T18:24:32.175Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-23T18:24:32.362Z] Removing intermediate container 8ae6273d95d2 [2022-09-23T18:24:32.362Z] ---> d37c58d897b2 [2022-09-23T18:24:32.362Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-23T18:24:32.362Z] ---> 3015d93acfb5 [2022-09-23T18:24:32.362Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-23T18:24:32.621Z] ---> Running in 9cb42eda6e25 [2022-09-23T18:24:50.789Z] Removing intermediate container 9cb42eda6e25 [2022-09-23T18:24:50.789Z] ---> a2fedb264610 [2022-09-23T18:24:50.789Z] Step 10/11 : COPY . . [2022-09-23T18:24:51.048Z] ---> be780807266d [2022-09-23T18:24:51.048Z] Step 11/11 : RUN ${MAKE} [2022-09-23T18:24:51.048Z] ---> Running in 8ad3b1312214 [2022-09-23T18:24:51.309Z] noop [2022-09-23T18:24:51.571Z] Removing intermediate container 8ad3b1312214 [2022-09-23T18:24:51.571Z] ---> 11cfcad82a9e [2022-09-23T18:24:51.571Z] Successfully built 11cfcad82a9e [2022-09-23T18:24:51.571Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:24:52.025Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-23T18:24:52.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-23T18:24:52.179Z] prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container [2022-09-23T18:24:52.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@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 ******** ci-base-image-x86_64 cat [2022-09-23T18:24:52.572Z] $ docker top a7c06e7f3d0fbfec00f194c17cb8169245baee72c9c6cadea48fa2e140ecd73c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-23T18:24:52.970Z] + go version [2022-09-23T18:24:52.970Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-23T18:24:53.002Z] $ docker stop --time=1 a7c06e7f3d0fbfec00f194c17cb8169245baee72c9c6cadea48fa2e140ecd73c [2022-09-23T18:24:54.303Z] $ docker rm -f a7c06e7f3d0fbfec00f194c17cb8169245baee72c9c6cadea48fa2e140ecd73c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:24:55.007Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-23T18:24:55.007Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-23T18:24:55.162Z] prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container [2022-09-23T18:24:55.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@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 ******** ci-base-image-x86_64 cat [2022-09-23T18:24:55.556Z] $ docker top 10de0f61fcc4004c0d01491237d80a7d5751cbe05be6331d66d66762b92f4cde -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-23T18:24:55.949Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1216 [Pipeline] fileExists [Pipeline] sh [2022-09-23T18:24:56.308Z] + make test [2022-09-23T18:24:56.308Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-23T18:25:02.875Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-23T18:25:17.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-23T18:25:17.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 27.6% of statements [2022-09-23T18:25:17.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-23T18:25:17.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.086s coverage: 60.0% of statements [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-23T18:25:17.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 54.4% of statements [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-23T18:25:17.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-23T18:25:17.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.756s coverage: 89.2% of statements [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-23T18:25:17.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.5% of statements [2022-09-23T18:25:17.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-23T18:25:35.817Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-23T18:25:35.817Z] GO111MODULE=on go vet ./... [2022-09-23T18:25:36.382Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-23T18:25:36.382Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-23T18:25:36.382Z] ./bin/test-attribution-txt.sh [2022-09-23T18:25:36.382Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-23T18:25:36.382Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-23T18:25:36.382Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-23T18:25:36.382Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-23T18:25:36.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-23T18:25:36.454Z] $ docker stop --time=1 10de0f61fcc4004c0d01491237d80a7d5751cbe05be6331d66d66762b92f4cde [2022-09-23T18:25:38.549Z] $ docker rm -f 10de0f61fcc4004c0d01491237d80a7d5751cbe05be6331d66d66762b92f4cde [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-23T18:25:39.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-23T18:25:39.195Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-23T18:25:39.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-23T18:25:40.166Z] + ls -al . [2022-09-23T18:25:40.166Z] total 276 [2022-09-23T18:25:40.166Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 18:24 . [2022-09-23T18:25:40.166Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:23 .. [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 18:23 .dockerignore [2022-09-23T18:25:40.166Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 18:25 .git [2022-09-23T18:25:40.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:23 .github [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 23 18:23 .gitignore [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 23 18:23 .golangci.yml [2022-09-23T18:25:40.166Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 18:24 .semver [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 23 18:23 CHANGELOG.md [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 18:23 GOVERNANCE.md [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 23 18:23 Jenkinsfile [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 23 18:23 LICENSE [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 23 18:23 Makefile [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 23 18:23 OWNERS.md [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 23 18:23 README.md [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 18:24 VERSION [2022-09-23T18:25:40.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:23 bin [2022-09-23T18:25:40.166Z] -rw-r--r-- 1 jenkins jenkins 101794 Sep 23 18:25 coverage.out [2022-09-23T18:25:40.166Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 23 18:23 example [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 23 18:23 go.mod [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 37485 Sep 23 18:23 go.sum [2022-09-23T18:25:40.166Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 23 18:23 internal [2022-09-23T18:25:40.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:23 openapi [2022-09-23T18:25:40.166Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 23 18:23 pkg [2022-09-23T18:25:40.166Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:23 snap [2022-09-23T18:25:40.166Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 23 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:25:40.547Z] + 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=c7cd50c6e69c915e37397c2df1a48575bb480629 --label arch=amd64 --label version=0.0.0 . [2022-09-23T18:25:40.547Z] Sending build context to Docker daemon 9.994MB [2022-09-23T18:25:40.547Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-23T18:25:40.547Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-23T18:25:40.547Z] ---> 11cfcad82a9e [2022-09-23T18:25:40.547Z] Step 3/25 : ARG MAKE=make build [2022-09-23T18:25:40.547Z] ---> Running in 8b835b4972cb [2022-09-23T18:25:40.805Z] Removing intermediate container 8b835b4972cb [2022-09-23T18:25:40.805Z] ---> b544f8c432d7 [2022-09-23T18:25:40.805Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-23T18:25:40.805Z] ---> Running in 3db73ff94837 [2022-09-23T18:25:40.805Z] Removing intermediate container 3db73ff94837 [2022-09-23T18:25:40.805Z] ---> 69ca3fd431b2 [2022-09-23T18:25:40.805Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-23T18:25:41.064Z] ---> Running in 3fec906b9a47 [2022-09-23T18:25:41.064Z] Removing intermediate container 3fec906b9a47 [2022-09-23T18:25:41.064Z] ---> ecaee1f0737d [2022-09-23T18:25:41.064Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-23T18:25:41.064Z] ---> Running in 5eaeda6dd6b7 [2022-09-23T18:25:41.632Z] Removing intermediate container 5eaeda6dd6b7 [2022-09-23T18:25:41.632Z] ---> 2711bbfdc7e1 [2022-09-23T18:25:41.632Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-23T18:25:41.632Z] ---> Running in dfa60c138819 [2022-09-23T18:25:41.893Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-23T18:25:42.829Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-23T18:25:43.087Z] OK: 211 MiB in 51 packages [2022-09-23T18:25:43.345Z] Removing intermediate container dfa60c138819 [2022-09-23T18:25:43.345Z] ---> 6f6e89885982 [2022-09-23T18:25:43.345Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-23T18:25:43.602Z] ---> abddd35a428f [2022-09-23T18:25:43.602Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-23T18:25:43.602Z] ---> Running in b335f59c6f2c [2022-09-23T18:25:44.167Z] Removing intermediate container b335f59c6f2c [2022-09-23T18:25:44.167Z] ---> df45f503649e [2022-09-23T18:25:44.167Z] Step 10/25 : COPY . . [2022-09-23T18:25:44.732Z] ---> 3cf58d27725c [2022-09-23T18:25:44.732Z] Step 11/25 : RUN ${MAKE} [2022-09-23T18:25:44.732Z] ---> Running in b007a75967fc [2022-09-23T18:25:44.992Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-23T18:26:01.420Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-746 in /w/workspace/gexfoundry_device-sdk-go_PR-1216 [Pipeline] { [Pipeline] ws [2022-09-23T18:26:01.464Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-09-23T18:26:01.544Z] The recommended git tool is: git [2022-09-23T18:26:03.094Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-23T18:26:04.466Z] Removing intermediate container b007a75967fc [2022-09-23T18:26:04.466Z] ---> 74f45661d545 [2022-09-23T18:26:04.466Z] Step 12/25 : FROM alpine:3.16 [2022-09-23T18:26:05.031Z] 3.16: Pulling from library/alpine [2022-09-23T18:26:05.289Z] 213ec9aee27d: Pulling fs layer [2022-09-23T18:26:05.547Z] 213ec9aee27d: Download complete [2022-09-23T18:26:05.547Z] 213ec9aee27d: Pull complete [2022-09-23T18:26:05.547Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-23T18:26:05.548Z] Status: Downloaded newer image for alpine:3.16 [2022-09-23T18:26:05.548Z] ---> 9c6f07244728 [2022-09-23T18:26:05.548Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-23T18:26:05.548Z] ---> Running in 907f1c0445aa [2022-09-23T18:26:05.806Z] Removing intermediate container 907f1c0445aa [2022-09-23T18:26:05.806Z] ---> 25cda5511734 [2022-09-23T18:26:05.806Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-23T18:26:05.806Z] ---> Running in 6465c6d47d9b [2022-09-23T18:26:06.371Z] Removing intermediate container 6465c6d47d9b [2022-09-23T18:26:06.371Z] ---> 02f1787729f9 [2022-09-23T18:26:06.371Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-23T18:26:06.371Z] ---> Running in a580b9d7ab6a [2022-09-23T18:26:06.414Z] using credential edgex-jenkins-ssh [2022-09-23T18:26:06.427Z] Cloning the remote Git repository [2022-09-23T18:26:06.469Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-23T18:26:06.631Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-23T18:26:07.567Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-23T18:26:06.556Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-09-23T18:26:06.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-23T18:26:06.702Z] > git --version # timeout=10 [2022-09-23T18:26:06.730Z] > git --version # 'git version 2.25.1' [2022-09-23T18:26:06.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-23T18:26:06.774Z] Verifying host key using known hosts file [2022-09-23T18:26:06.966Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-23T18:26:06.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-23T18:26:07.826Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-23T18:26:07.826Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-23T18:26:08.085Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-23T18:26:08.085Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-23T18:26:08.345Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-23T18:26:08.345Z] Executing busybox-1.35.0-r17.trigger [2022-09-23T18:26:08.345Z] OK: 8 MiB in 19 packages [2022-09-23T18:26:08.603Z] Removing intermediate container a580b9d7ab6a [2022-09-23T18:26:08.603Z] ---> cda3007bad79 [2022-09-23T18:26:08.603Z] Step 16/25 : WORKDIR / [2022-09-23T18:26:08.862Z] ---> Running in 3c42bd4d591d [2022-09-23T18:26:08.862Z] Removing intermediate container 3c42bd4d591d [2022-09-23T18:26:08.862Z] ---> e81db96392aa [2022-09-23T18:26:08.862Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-23T18:26:08.862Z] ---> 2908aa0f6e3d [2022-09-23T18:26:08.862Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-23T18:26:08.527Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-23T18:26:08.556Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-23T18:26:09.428Z] ---> b77bd0d64897 [2022-09-23T18:26:09.428Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-23T18:26:09.687Z] ---> db962aaee596 [2022-09-23T18:26:09.687Z] Step 20/25 : EXPOSE 59999 [2022-09-23T18:26:09.687Z] ---> Running in a166004298a4 [2022-09-23T18:26:09.945Z] Removing intermediate container a166004298a4 [2022-09-23T18:26:09.945Z] ---> 4802016a43c5 [2022-09-23T18:26:09.945Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-23T18:26:09.945Z] ---> Running in c1063969ce34 [2022-09-23T18:26:09.945Z] Removing intermediate container c1063969ce34 [2022-09-23T18:26:09.945Z] ---> f2b7f37e0d7f [2022-09-23T18:26:09.945Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-23T18:26:09.945Z] ---> Running in 65661e99faea [2022-09-23T18:26:10.101Z] Merging remotes/origin/main commit 2a1e4923af529abf66cb087d1ef4c8494172dbc4 into PR head commit c7cd50c6e69c915e37397c2df1a48575bb480629 [2022-09-23T18:26:10.203Z] Removing intermediate container 65661e99faea [2022-09-23T18:26:10.203Z] ---> 87758d0aeb0c [2022-09-23T18:26:10.203Z] Step 23/25 : LABEL arch=amd64 [2022-09-23T18:26:10.203Z] ---> Running in d7d36f9d2bc5 [2022-09-23T18:26:10.203Z] Removing intermediate container d7d36f9d2bc5 [2022-09-23T18:26:10.203Z] ---> 917c446a0261 [2022-09-23T18:26:10.203Z] Step 24/25 : LABEL git_sha=c7cd50c6e69c915e37397c2df1a48575bb480629 [2022-09-23T18:26:09.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-23T18:26:09.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-23T18:26:09.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-23T18:26:09.414Z] Verifying host key using known hosts file [2022-09-23T18:26:09.421Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-23T18:26:09.431Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1216/head:refs/remotes/origin/PR-1216 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-23T18:26:10.116Z] > git config core.sparsecheckout # timeout=10 [2022-09-23T18:26:10.139Z] > git checkout -f c7cd50c6e69c915e37397c2df1a48575bb480629 # timeout=10 [2022-09-23T18:26:10.240Z] > git remote # timeout=10 [2022-09-23T18:26:10.259Z] > git config --get remote.origin.url # timeout=10 [2022-09-23T18:26:10.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-23T18:26:10.293Z] Verifying host key using known hosts file [2022-09-23T18:26:10.298Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-23T18:26:10.307Z] > git merge 2a1e4923af529abf66cb087d1ef4c8494172dbc4 # timeout=10 [2022-09-23T18:26:10.350Z] Merge succeeded, producing c7cd50c6e69c915e37397c2df1a48575bb480629 [2022-09-23T18:26:10.350Z] Checking out Revision c7cd50c6e69c915e37397c2df1a48575bb480629 (PR-1216) [2022-09-23T18:26:10.462Z] ---> Running in df25405bc594 [2022-09-23T18:26:10.462Z] Removing intermediate container df25405bc594 [2022-09-23T18:26:10.462Z] ---> 30df3341c084 [2022-09-23T18:26:10.462Z] Step 25/25 : LABEL version=0.0.0 [2022-09-23T18:26:10.462Z] ---> Running in 05879938eec9 [2022-09-23T18:26:10.720Z] Removing intermediate container 05879938eec9 [2022-09-23T18:26:10.720Z] ---> 09343151d811 [2022-09-23T18:26:10.720Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-23T18:26:10.720Z] Successfully built 09343151d811 [2022-09-23T18:26:10.720Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:26:11.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-23T18:26:11.598Z] [2022-09-23T18:26:11.598Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:26:10.331Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-23T18:26:10.354Z] > git config core.sparsecheckout # timeout=10 [2022-09-23T18:26:10.369Z] > git checkout -f c7cd50c6e69c915e37397c2df1a48575bb480629 # timeout=10 [2022-09-23T18:26:11.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-23T18:26:11.965Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-23T18:26:11.965Z] 5eb5b503b376: Pulling fs layer [2022-09-23T18:26:11.965Z] 5c69ac0246d0: Pulling fs layer [2022-09-23T18:26:11.965Z] ec43610c2a17: Pulling fs layer [2022-09-23T18:26:11.965Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-23T18:26:11.965Z] 33b1e0a273af: Pulling fs layer [2022-09-23T18:26:11.965Z] 5d3b04190fa2: Pulling fs layer [2022-09-23T18:26:11.965Z] 2f39f015ded8: Pulling fs layer [2022-09-23T18:26:11.965Z] 3a2ae6a8a46f: Waiting [2022-09-23T18:26:11.965Z] 2f39f015ded8: Waiting [2022-09-23T18:26:11.965Z] 33b1e0a273af: Waiting [2022-09-23T18:26:11.965Z] 5d3b04190fa2: Waiting [2022-09-23T18:26:11.965Z] 5c69ac0246d0: Download complete [2022-09-23T18:26:11.965Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-23T18:26:11.965Z] 3a2ae6a8a46f: Download complete [2022-09-23T18:26:12.223Z] 33b1e0a273af: Verifying Checksum [2022-09-23T18:26:12.223Z] 33b1e0a273af: Download complete [2022-09-23T18:26:12.223Z] 5d3b04190fa2: Verifying Checksum [2022-09-23T18:26:12.223Z] 5d3b04190fa2: Download complete [2022-09-23T18:26:12.223Z] ec43610c2a17: Verifying Checksum [2022-09-23T18:26:12.223Z] ec43610c2a17: Download complete [2022-09-23T18:26:12.223Z] 5eb5b503b376: Download complete [2022-09-23T18:26:12.790Z] 2f39f015ded8: Download complete [2022-09-23T18:26:13.357Z] 5eb5b503b376: Pull complete [2022-09-23T18:26:13.615Z] 5c69ac0246d0: Pull complete [2022-09-23T18:26:13.848Z] Commit message: "fix: Skip Subscription to Empty Command Request Topic" [2022-09-23T18:26:13.872Z] ec43610c2a17: Pull complete [2022-09-23T18:26:13.898Z] > git --version # timeout=10 [2022-09-23T18:26:13.910Z] > git --version # 'git version 2.25.1' [2022-09-23T18:26:13.928Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-23T18:26:14.129Z] 3a2ae6a8a46f: Pull complete [2022-09-23T18:26:14.130Z] 33b1e0a273af: Pull complete [2022-09-23T18:26:14.341Z] [2022-09-23T18:26:14.341Z] GitHub has been notified of this commit’s build result [2022-09-23T18:26:14.341Z] [Pipeline] withEnv [Pipeline] { [2022-09-23T18:26:14.387Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-23T18:26:15.154Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-23T18:26:15.154Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-23T18:26:15.154Z] Dload Upload Total Spent Left Speed [2022-09-23T18:26:15.154Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 61 12602 61 7747 0 0 46951 0 --:--:-- --:--:-- --:--:-- 46668 100 12602 100 12602 0 0 75461 0 --:--:-- --:--:-- --:--:-- 75011 [Pipeline] sh [2022-09-23T18:26:15.848Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-23T18:26:16.187Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-23T18:26:16.187Z] + sudo tee /etc/docker/daemon.new [2022-09-23T18:26:16.187Z] { [2022-09-23T18:26:16.187Z] "registry-mirrors": [ [2022-09-23T18:26:16.187Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-23T18:26:16.187Z] ], [2022-09-23T18:26:16.187Z] "bip": "10.250.0.254/24", [2022-09-23T18:26:16.187Z] "hosts": [ [2022-09-23T18:26:16.187Z] "tcp://0.0.0.0:5555", [2022-09-23T18:26:16.187Z] "unix:///var/run/docker.sock" [2022-09-23T18:26:16.187Z] ], [2022-09-23T18:26:16.187Z] "mtu": 1458, [2022-09-23T18:26:16.187Z] "selinux-enabled": true, [2022-09-23T18:26:16.187Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-23T18:26:16.187Z] } [Pipeline] sh [2022-09-23T18:26:16.526Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-23T18:26:16.866Z] + sudo service docker restart [2022-09-23T18:26:18.567Z] 2f39f015ded8: Pull complete [2022-09-23T18:26:18.567Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-23T18:26:18.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-23T18:26:18.567Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-23T18:26:18.793Z] prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container [2022-09-23T18:26:18.816Z] $ 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-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-23T18:26:20.411Z] $ docker top 4acf7bfa94729d59525e2669c9468375147765c20d5dd6cb23d9ec4848c3897a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:26:20.867Z] ---> job-cost.sh [2022-09-23T18:26:20.867Z] lf-activate-venv: SKIPPING [2022-09-23T18:26:20.867Z] INFO: No Stack... [2022-09-23T18:26:21.126Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-23T18:26:21.696Z] INFO: Archiving Costs [Pipeline] sh [2022-09-23T18:26:22.010Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives/cost.csv [2022-09-23T18:26:22.010Z] + cut -d, -f6 [Pipeline] lock [2022-09-23T18:26:22.054Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [2022-09-23T18:26:22.060Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] did not exist. Created. [2022-09-23T18:26:22.060Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-23T18:26:22.450Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-23T18:26:22.503Z] Stashed 1 file(s) [Pipeline] } [2022-09-23T18:26:22.531Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-23T18:26:22.600Z] $ docker stop --time=1 4acf7bfa94729d59525e2669c9468375147765c20d5dd6cb23d9ec4848c3897a [2022-09-23T18:26:23.769Z] $ docker rm -f 4acf7bfa94729d59525e2669c9468375147765c20d5dd6cb23d9ec4848c3897a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-23T18:26:35.178Z] provisioning config files... [2022-09-23T18:26:35.202Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config93510594851722078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:26:35.582Z] ---> docker-login.sh [2022-09-23T18:26:35.582Z] nexus3.edgexfoundry.org:10001 [2022-09-23T18:26:35.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:26:36.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:26:36.121Z] Configure a credential helper to remove this warning. See [2022-09-23T18:26:36.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:26:36.121Z] [2022-09-23T18:26:36.121Z] Login Succeeded [2022-09-23T18:26:36.121Z] nexus3.edgexfoundry.org:10002 [2022-09-23T18:26:36.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:26:36.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:26:36.391Z] Configure a credential helper to remove this warning. See [2022-09-23T18:26:36.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:26:36.391Z] [2022-09-23T18:26:36.391Z] Login Succeeded [2022-09-23T18:26:36.391Z] nexus3.edgexfoundry.org:10003 [2022-09-23T18:26:36.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:26:36.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:26:36.925Z] Configure a credential helper to remove this warning. See [2022-09-23T18:26:36.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:26:36.925Z] [2022-09-23T18:26:36.925Z] Login Succeeded [2022-09-23T18:26:36.925Z] nexus3.edgexfoundry.org:10004 [2022-09-23T18:26:36.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:26:37.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:26:37.196Z] Configure a credential helper to remove this warning. See [2022-09-23T18:26:37.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:26:37.196Z] [2022-09-23T18:26:37.196Z] Login Succeeded [2022-09-23T18:26:37.196Z] docker.io [2022-09-23T18:26:37.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-23T18:26:37.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-23T18:26:37.733Z] Configure a credential helper to remove this warning. See [2022-09-23T18:26:37.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-23T18:26:37.733Z] [2022-09-23T18:26:37.733Z] Login Succeeded [2022-09-23T18:26:37.733Z] ---> docker-login.sh ends [Pipeline] } [2022-09-23T18:26:37.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-23T18:26:38.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-23T18:26:38.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-23T18:26:38.084Z] ========================================================= [2022-09-23T18:26:38.084Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-23T18:26:38.084Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:26:38.557Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-23T18:26:38.826Z] Sending build context to Docker daemon 5.313MB [2022-09-23T18:26:38.826Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-23T18:26:38.826Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-23T18:26:39.092Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-23T18:26:39.092Z] b3c136eddcbf: Pulling fs layer [2022-09-23T18:26:39.092Z] c0a3192eca97: Pulling fs layer [2022-09-23T18:26:39.092Z] a050256f5b6f: Pulling fs layer [2022-09-23T18:26:39.092Z] 656be50a0ddc: Pulling fs layer [2022-09-23T18:26:39.092Z] 2bbca73fdf42: Pulling fs layer [2022-09-23T18:26:39.092Z] 46d945488cbd: Pulling fs layer [2022-09-23T18:26:39.092Z] 8a5474983e97: Pulling fs layer [2022-09-23T18:26:39.092Z] 329c88fbcd65: Pulling fs layer [2022-09-23T18:26:39.092Z] 2bbca73fdf42: Waiting [2022-09-23T18:26:39.092Z] 46d945488cbd: Waiting [2022-09-23T18:26:39.092Z] 8a5474983e97: Waiting [2022-09-23T18:26:39.092Z] 329c88fbcd65: Waiting [2022-09-23T18:26:39.092Z] 656be50a0ddc: Waiting [2022-09-23T18:26:39.092Z] c0a3192eca97: Verifying Checksum [2022-09-23T18:26:39.092Z] c0a3192eca97: Download complete [2022-09-23T18:26:39.092Z] 2bbca73fdf42: Verifying Checksum [2022-09-23T18:26:39.092Z] 2bbca73fdf42: Download complete [2022-09-23T18:26:39.092Z] 46d945488cbd: Verifying Checksum [2022-09-23T18:26:39.092Z] 46d945488cbd: Download complete [2022-09-23T18:26:39.092Z] b3c136eddcbf: Verifying Checksum [2022-09-23T18:26:39.092Z] b3c136eddcbf: Download complete [2022-09-23T18:26:40.068Z] b3c136eddcbf: Pull complete [2022-09-23T18:26:40.068Z] 329c88fbcd65: Verifying Checksum [2022-09-23T18:26:40.068Z] 329c88fbcd65: Download complete [2022-09-23T18:26:40.657Z] c0a3192eca97: Pull complete [2022-09-23T18:26:40.927Z] a050256f5b6f: Pull complete [2022-09-23T18:26:41.207Z] 8a5474983e97: Verifying Checksum [2022-09-23T18:26:41.207Z] 8a5474983e97: Download complete [2022-09-23T18:26:42.169Z] 656be50a0ddc: Verifying Checksum [2022-09-23T18:26:42.169Z] 656be50a0ddc: Download complete [2022-09-23T18:26:54.501Z] 656be50a0ddc: Pull complete [2022-09-23T18:26:54.501Z] 2bbca73fdf42: Pull complete [2022-09-23T18:26:54.769Z] 46d945488cbd: Pull complete [2022-09-23T18:27:01.436Z] 8a5474983e97: Pull complete [2022-09-23T18:27:02.859Z] 329c88fbcd65: Pull complete [2022-09-23T18:27:02.859Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-23T18:27:02.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-23T18:27:02.859Z] ---> ff4287adb874 [2022-09-23T18:27:02.859Z] Step 3/11 : ARG MAKE=make build [2022-09-23T18:27:04.917Z] ---> Running in cd111aec4116 [2022-09-23T18:27:04.917Z] Removing intermediate container cd111aec4116 [2022-09-23T18:27:04.917Z] ---> 4c44590519ed [2022-09-23T18:27:04.917Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-23T18:27:04.917Z] ---> Running in dc632930455f [2022-09-23T18:27:05.188Z] Removing intermediate container dc632930455f [2022-09-23T18:27:05.188Z] ---> 0264ed7bc808 [2022-09-23T18:27:05.188Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-23T18:27:05.456Z] ---> Running in bbdc2ebea626 [2022-09-23T18:27:05.726Z] Removing intermediate container bbdc2ebea626 [2022-09-23T18:27:05.726Z] ---> bec3399fcc97 [2022-09-23T18:27:05.726Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-23T18:27:05.726Z] ---> Running in 34f2be2e4786 [2022-09-23T18:27:07.680Z] Removing intermediate container 34f2be2e4786 [2022-09-23T18:27:07.680Z] ---> 28f034294470 [2022-09-23T18:27:07.680Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-23T18:27:07.680Z] ---> Running in 6de6482e537d [2022-09-23T18:27:08.642Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-23T18:27:09.224Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-23T18:27:10.182Z] OK: 221 MiB in 51 packages [2022-09-23T18:27:11.148Z] Removing intermediate container 6de6482e537d [2022-09-23T18:27:11.148Z] ---> dc499d2621f9 [2022-09-23T18:27:11.148Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-23T18:27:11.416Z] ---> c6bcac694d0c [2022-09-23T18:27:11.416Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-23T18:27:11.685Z] ---> Running in 9121bc0e7e82 [2022-09-23T18:27:58.578Z] Removing intermediate container 9121bc0e7e82 [2022-09-23T18:27:58.578Z] ---> d906cbb65b78 [2022-09-23T18:27:58.578Z] Step 10/11 : COPY . . [2022-09-23T18:27:59.542Z] ---> b50056672f34 [2022-09-23T18:27:59.542Z] Step 11/11 : RUN ${MAKE} [2022-09-23T18:27:59.542Z] ---> Running in c13bbb0cfdd7 [2022-09-23T18:28:00.501Z] noop [2022-09-23T18:28:01.083Z] Removing intermediate container c13bbb0cfdd7 [2022-09-23T18:28:01.083Z] ---> 6a59122ea691 [2022-09-23T18:28:01.083Z] Successfully built 6a59122ea691 [2022-09-23T18:28:01.083Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:28:01.551Z] + docker inspect -f . ci-base-image-arm64 [2022-09-23T18:28:01.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-23T18:28:01.799Z] prd-ubuntu20.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2022-09-23T18:28:01.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-23T18:28:03.036Z] $ docker top 66322c1976245902f6e96953283e5f5d17384df38b2b05667ac82b3552fa6fab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-23T18:28:03.915Z] + go version [2022-09-23T18:28:03.916Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-23T18:28:03.948Z] $ docker stop --time=1 66322c1976245902f6e96953283e5f5d17384df38b2b05667ac82b3552fa6fab [2022-09-23T18:28:05.552Z] $ docker rm -f 66322c1976245902f6e96953283e5f5d17384df38b2b05667ac82b3552fa6fab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:28:06.402Z] + docker inspect -f . ci-base-image-arm64 [2022-09-23T18:28:06.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-23T18:28:06.647Z] prd-ubuntu20.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2022-09-23T18:28:06.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-23T18:28:07.838Z] $ docker top cadd4d68d460cd76de8a4afca67832c8fa9f17e7e936fce756efda49bf3f8020 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-23T18:28:08.385Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-23T18:28:08.769Z] + make test [2022-09-23T18:28:08.769Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-23T18:28:40.986Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-23T18:30:32.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-23T18:30:32.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-23T18:30:32.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-23T18:30:32.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-23T18:30:32.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-23T18:30:32.641Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.381s coverage: 27.6% of statements [2022-09-23T18:30:32.641Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.593s coverage: 78.9% of statements [2022-09-23T18:30:32.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-23T18:30:36.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.491s coverage: 60.0% of statements [2022-09-23T18:30:36.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-23T18:30:36.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-23T18:30:40.298Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.999s coverage: 54.4% of statements [2022-09-23T18:30:40.298Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-23T18:30:40.298Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-23T18:30:40.298Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-23T18:30:40.298Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-23T18:30:41.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.582s coverage: 65.1% of statements [2022-09-23T18:30:41.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-23T18:30:41.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-23T18:30:42.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.570s coverage: 89.2% of statements [2022-09-23T18:30:42.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-23T18:30:46.027Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.250s coverage: 4.5% of statements [2022-09-23T18:30:46.027Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-23T18:30:46.986Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-23T18:30:46.986Z] GO111MODULE=on go vet ./... [2022-09-23T18:32:23.620Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-23T18:32:23.620Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-23T18:32:23.620Z] ./bin/test-attribution-txt.sh [2022-09-23T18:32:23.620Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-23T18:32:23.620Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-23T18:32:23.620Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-23T18:32:23.620Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-23T18:32:23.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-23T18:32:23.693Z] $ docker stop --time=1 cadd4d68d460cd76de8a4afca67832c8fa9f17e7e936fce756efda49bf3f8020 [2022-09-23T18:32:25.515Z] $ docker rm -f cadd4d68d460cd76de8a4afca67832c8fa9f17e7e936fce756efda49bf3f8020 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-23T18:32:26.909Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-23T18:32:26.945Z] Warning: overwriting stash ‘coverage-report’ [2022-09-23T18:32:27.473Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-23T18:32:28.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-23T18:32:28.404Z] + ls -al . [2022-09-23T18:32:28.404Z] total 272 [2022-09-23T18:32:28.404Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 18:28 . [2022-09-23T18:32:28.404Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:26 .. [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 18:26 .dockerignore [2022-09-23T18:32:28.404Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 18:26 .git [2022-09-23T18:32:28.404Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:26 .github [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 23 18:26 .gitignore [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 23 18:26 .golangci.yml [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 23 18:26 CHANGELOG.md [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 18:26 GOVERNANCE.md [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 23 18:26 Jenkinsfile [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 23 18:26 LICENSE [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 23 18:26 Makefile [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 23 18:26 OWNERS.md [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 23 18:26 README.md [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 18:24 VERSION [2022-09-23T18:32:28.404Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:26 bin [2022-09-23T18:32:28.404Z] -rw-r--r-- 1 jenkins jenkins 101794 Sep 23 18:30 coverage.out [2022-09-23T18:32:28.404Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 23 18:26 example [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 23 18:26 go.mod [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 37485 Sep 23 18:26 go.sum [2022-09-23T18:32:28.404Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 23 18:26 internal [2022-09-23T18:32:28.404Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:26 openapi [2022-09-23T18:32:28.404Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 23 18:26 pkg [2022-09-23T18:32:28.404Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:26 snap [2022-09-23T18:32:28.404Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 23 18:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:32:28.809Z] + 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=c7cd50c6e69c915e37397c2df1a48575bb480629 --label arch=arm64 --label version=0.0.0 . [2022-09-23T18:32:30.217Z] Sending build context to Docker daemon 5.415MB [2022-09-23T18:32:30.217Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-23T18:32:30.217Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-23T18:32:30.217Z] ---> 6a59122ea691 [2022-09-23T18:32:30.217Z] Step 3/25 : ARG MAKE=make build [2022-09-23T18:32:30.488Z] ---> Running in 61265667b401 [2022-09-23T18:32:30.755Z] Removing intermediate container 61265667b401 [2022-09-23T18:32:30.755Z] ---> e0071ca46624 [2022-09-23T18:32:30.755Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-23T18:32:30.755Z] ---> Running in 3d9144c1e5e3 [2022-09-23T18:32:31.023Z] Removing intermediate container 3d9144c1e5e3 [2022-09-23T18:32:31.023Z] ---> b8b6199fc0b0 [2022-09-23T18:32:31.023Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-23T18:32:31.023Z] ---> Running in 0651f2665d8b [2022-09-23T18:32:31.294Z] Removing intermediate container 0651f2665d8b [2022-09-23T18:32:31.295Z] ---> edb6ca9cc5e4 [2022-09-23T18:32:31.295Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-23T18:32:31.563Z] ---> Running in 354ba791e69a [2022-09-23T18:32:32.988Z] Removing intermediate container 354ba791e69a [2022-09-23T18:32:32.988Z] ---> b2de0cb7929a [2022-09-23T18:32:32.988Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-23T18:32:32.988Z] ---> Running in c03c2bee9a6b [2022-09-23T18:32:33.950Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-23T18:32:34.912Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-23T18:32:35.872Z] OK: 221 MiB in 51 packages [2022-09-23T18:32:36.832Z] Removing intermediate container c03c2bee9a6b [2022-09-23T18:32:36.832Z] ---> 65e16f6d90ad [2022-09-23T18:32:36.832Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-23T18:32:37.098Z] ---> 7976496328fc [2022-09-23T18:32:37.098Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-23T18:32:37.098Z] ---> Running in 1b71515af3e7 [2022-09-23T18:32:39.036Z] Removing intermediate container 1b71515af3e7 [2022-09-23T18:32:39.036Z] ---> 67881a11b45a [2022-09-23T18:32:39.036Z] Step 10/25 : COPY . . [2022-09-23T18:32:39.994Z] ---> c63ae78f479e [2022-09-23T18:32:39.994Z] Step 11/25 : RUN ${MAKE} [2022-09-23T18:32:39.994Z] ---> Running in 3286b40c1d94 [2022-09-23T18:32:40.954Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-23T18:34:47.594Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-23T18:34:47.594Z] Removing intermediate container 3286b40c1d94 [2022-09-23T18:34:47.594Z] ---> 1f96df800b2e [2022-09-23T18:34:47.594Z] Step 12/25 : FROM alpine:3.16 [2022-09-23T18:34:47.594Z] 3.16: Pulling from library/alpine [2022-09-23T18:34:47.594Z] 9b18e9b68314: Pulling fs layer [2022-09-23T18:34:47.594Z] 9b18e9b68314: Verifying Checksum [2022-09-23T18:34:47.594Z] 9b18e9b68314: Download complete [2022-09-23T18:34:47.594Z] 9b18e9b68314: Pull complete [2022-09-23T18:34:47.594Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-23T18:34:47.861Z] Status: Downloaded newer image for alpine:3.16 [2022-09-23T18:34:47.861Z] ---> a6215f271958 [2022-09-23T18:34:47.861Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-23T18:34:47.861Z] ---> Running in b51540424323 [2022-09-23T18:34:48.128Z] Removing intermediate container b51540424323 [2022-09-23T18:34:48.128Z] ---> 45bc8555656b [2022-09-23T18:34:48.128Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-23T18:34:48.128Z] ---> Running in c0866bddc2a2 [2022-09-23T18:34:50.069Z] Removing intermediate container c0866bddc2a2 [2022-09-23T18:34:50.069Z] ---> 500c8bdd6afa [2022-09-23T18:34:50.069Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-23T18:34:50.069Z] ---> Running in 3cff55ee1678 [2022-09-23T18:34:50.649Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-23T18:34:51.601Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-23T18:34:52.560Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-23T18:34:52.560Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-23T18:34:52.835Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-23T18:34:52.835Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-23T18:34:53.103Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-23T18:34:53.103Z] Executing busybox-1.35.0-r17.trigger [2022-09-23T18:34:53.103Z] OK: 8 MiB in 19 packages [2022-09-23T18:34:54.072Z] Removing intermediate container 3cff55ee1678 [2022-09-23T18:34:54.072Z] ---> e9c3ef4524aa [2022-09-23T18:34:54.072Z] Step 16/25 : WORKDIR / [2022-09-23T18:34:54.072Z] ---> Running in 00a93af41f29 [2022-09-23T18:34:54.338Z] Removing intermediate container 00a93af41f29 [2022-09-23T18:34:54.338Z] ---> 367b50f386b1 [2022-09-23T18:34:54.338Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-23T18:34:54.918Z] ---> 226281043bf0 [2022-09-23T18:34:54.918Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-23T18:34:56.324Z] ---> 3d0ed7d512a8 [2022-09-23T18:34:56.324Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-23T18:34:56.908Z] ---> ba7963342bbe [2022-09-23T18:34:56.908Z] Step 20/25 : EXPOSE 59999 [2022-09-23T18:34:56.908Z] ---> Running in a3b8ab11244d [2022-09-23T18:34:57.175Z] Removing intermediate container a3b8ab11244d [2022-09-23T18:34:57.175Z] ---> d55cf4ba139d [2022-09-23T18:34:57.175Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-23T18:34:57.442Z] ---> Running in 59df26fdc9e0 [2022-09-23T18:34:57.707Z] Removing intermediate container 59df26fdc9e0 [2022-09-23T18:34:57.707Z] ---> 575b8dcc06db [2022-09-23T18:34:57.707Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-23T18:34:57.707Z] ---> Running in 17f41dee6178 [2022-09-23T18:34:57.973Z] Removing intermediate container 17f41dee6178 [2022-09-23T18:34:57.973Z] ---> f794c570c0ed [2022-09-23T18:34:57.973Z] Step 23/25 : LABEL arch=arm64 [2022-09-23T18:34:57.973Z] ---> Running in 8bfd30fdafcf [2022-09-23T18:34:58.239Z] Removing intermediate container 8bfd30fdafcf [2022-09-23T18:34:58.239Z] ---> d9147875ad93 [2022-09-23T18:34:58.239Z] Step 24/25 : LABEL git_sha=c7cd50c6e69c915e37397c2df1a48575bb480629 [2022-09-23T18:34:58.239Z] ---> Running in 6ba9054f90e0 [2022-09-23T18:34:58.507Z] Removing intermediate container 6ba9054f90e0 [2022-09-23T18:34:58.507Z] ---> 3dfcbc9c5e4e [2022-09-23T18:34:58.507Z] Step 25/25 : LABEL version=0.0.0 [2022-09-23T18:34:58.774Z] ---> Running in c2c4bbfcea6e [2022-09-23T18:34:59.039Z] Removing intermediate container c2c4bbfcea6e [2022-09-23T18:34:59.039Z] ---> 224e775bfbd0 [2022-09-23T18:34:59.039Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-23T18:34:59.039Z] Successfully built 224e775bfbd0 [2022-09-23T18:34:59.039Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:34:59.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-23T18:34:59.829Z] [2022-09-23T18:34:59.829Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:35:00.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-23T18:35:00.230Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-23T18:35:00.230Z] 8998bd30e6a1: Pulling fs layer [2022-09-23T18:35:00.230Z] 04944245beec: Pulling fs layer [2022-09-23T18:35:00.230Z] 699f458cf7ca: Pulling fs layer [2022-09-23T18:35:00.230Z] 765212b225bb: Pulling fs layer [2022-09-23T18:35:00.230Z] f23df028b6ca: Pulling fs layer [2022-09-23T18:35:00.230Z] d65c8cfc05b1: Pulling fs layer [2022-09-23T18:35:00.230Z] 2437ff75d9bd: Pulling fs layer [2022-09-23T18:35:00.230Z] 765212b225bb: Waiting [2022-09-23T18:35:00.230Z] f23df028b6ca: Waiting [2022-09-23T18:35:00.230Z] d65c8cfc05b1: Waiting [2022-09-23T18:35:00.230Z] 2437ff75d9bd: Waiting [2022-09-23T18:35:00.501Z] 04944245beec: Verifying Checksum [2022-09-23T18:35:00.501Z] 04944245beec: Download complete [2022-09-23T18:35:00.501Z] 765212b225bb: Verifying Checksum [2022-09-23T18:35:00.501Z] 765212b225bb: Download complete [2022-09-23T18:35:00.501Z] f23df028b6ca: Verifying Checksum [2022-09-23T18:35:00.501Z] f23df028b6ca: Download complete [2022-09-23T18:35:00.501Z] d65c8cfc05b1: Verifying Checksum [2022-09-23T18:35:00.501Z] d65c8cfc05b1: Download complete [2022-09-23T18:35:00.774Z] 699f458cf7ca: Verifying Checksum [2022-09-23T18:35:00.774Z] 699f458cf7ca: Download complete [2022-09-23T18:35:01.042Z] 8998bd30e6a1: Download complete [2022-09-23T18:35:03.624Z] 2437ff75d9bd: Verifying Checksum [2022-09-23T18:35:03.624Z] 2437ff75d9bd: Download complete [2022-09-23T18:35:05.028Z] 8998bd30e6a1: Pull complete [2022-09-23T18:35:05.296Z] 04944245beec: Pull complete [2022-09-23T18:35:06.696Z] 699f458cf7ca: Pull complete [2022-09-23T18:35:06.975Z] 765212b225bb: Pull complete [2022-09-23T18:35:07.565Z] f23df028b6ca: Pull complete [2022-09-23T18:35:07.830Z] d65c8cfc05b1: Pull complete [2022-09-23T18:35:22.803Z] 2437ff75d9bd: Pull complete [2022-09-23T18:35:22.803Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-23T18:35:22.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-23T18:35:22.803Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-23T18:35:23.120Z] prd-ubuntu20.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2022-09-23T18:35:23.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-23T18:35:25.595Z] $ docker top cf7fecc92cb5608036f3846c73d0776cd34d0c3c655ad1172cd607d7f1c56992 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:35:26.161Z] ---> job-cost.sh [2022-09-23T18:35:26.427Z] lf-activate-venv: SKIPPING [2022-09-23T18:35:26.427Z] INFO: No Stack... [2022-09-23T18:35:27.006Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-23T18:35:27.585Z] INFO: Archiving Costs [Pipeline] sh [2022-09-23T18:35:27.916Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-09-23T18:35:27.916Z] + cut -d, -f6 [Pipeline] lock [2022-09-23T18:35:27.985Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [2022-09-23T18:35:27.990Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] did not exist. Created. [2022-09-23T18:35:27.990Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-23T18:35:28.386Z] /w/workspace/device-sdk-go/1@tmp/durable-18fc61f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-23T18:35:28.731Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-23T18:35:28.766Z] Warning: overwriting stash ‘stack-cost’ [2022-09-23T18:35:28.828Z] Stashed 1 file(s) [Pipeline] } [2022-09-23T18:35:28.843Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-23T18:35:28.916Z] $ docker stop --time=1 cf7fecc92cb5608036f3846c73d0776cd34d0c3c655ad1172cd607d7f1c56992 [2022-09-23T18:35:30.365Z] $ docker rm -f cf7fecc92cb5608036f3846c73d0776cd34d0c3c655ad1172cd607d7f1c56992 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-23T18:35:31.286Z] provisioning config files... [2022-09-23T18:35:31.293Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/config3707044633543574805tmp [Pipeline] { [Pipeline] sh [2022-09-23T18:35:31.627Z] + set +x [2022-09-23T18:35:31.627Z] + curl -s https://codecov.io/bash [2022-09-23T18:35:31.627Z] + bash -s -- [2022-09-23T18:35:31.627Z] [2022-09-23T18:35:31.627Z] _____ _ [2022-09-23T18:35:31.627Z] / ____| | | [2022-09-23T18:35:31.627Z] | | ___ __| | ___ ___ _____ __ [2022-09-23T18:35:31.627Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-23T18:35:31.627Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-23T18:35:31.627Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-23T18:35:31.627Z] Bash-1.0.6 [2022-09-23T18:35:31.627Z] [2022-09-23T18:35:31.627Z] [2022-09-23T18:35:31.627Z] ==> git version 2.25.1 found [2022-09-23T18:35:31.627Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-23T18:35:31.627Z] Release-Date: 2020-01-08 [2022-09-23T18:35:31.628Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-23T18:35:31.628Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-23T18:35:31.628Z] ==> Jenkins CI detected. [2022-09-23T18:35:31.628Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1216 [2022-09-23T18:35:31.628Z] project root: . [2022-09-23T18:35:31.628Z] --> token set from env [2022-09-23T18:35:31.628Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-23T18:35:31.628Z] ==> Running gcov in . (disable via -X gcov) [2022-09-23T18:35:31.628Z] ==> Python coveragepy not found [2022-09-23T18:35:31.628Z] ==> Searching for coverage reports in: [2022-09-23T18:35:31.628Z] + . [2022-09-23T18:35:31.887Z] -> Found 1 reports [2022-09-23T18:35:31.887Z] ==> Detecting git/mercurial file structure [2022-09-23T18:35:31.887Z] ==> Reading reports [2022-09-23T18:35:31.887Z] + ./coverage.out bytes=101794 [2022-09-23T18:35:31.887Z] ==> Appending adjustments [2022-09-23T18:35:31.887Z] https://docs.codecov.io/docs/fixing-reports [2022-09-23T18:35:32.148Z] + Found adjustments [2022-09-23T18:35:32.148Z] ==> Gzipping contents [2022-09-23T18:35:32.148Z] 16K /tmp/codecov.W0mvd0.gz [2022-09-23T18:35:32.148Z] ==> Uploading reports [2022-09-23T18:35:32.148Z] url: https://codecov.io [2022-09-23T18:35:32.149Z] query: branch=PR-1216&commit=c7cd50c6e69c915e37397c2df1a48575bb480629&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1216&job=&cmd_args= [2022-09-23T18:35:32.149Z] -> Pinging Codecov [2022-09-23T18:35:32.149Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1216&commit=c7cd50c6e69c915e37397c2df1a48575bb480629&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1216&job=&cmd_args= [2022-09-23T18:35:32.408Z] -> Uploading to [2022-09-23T18:35:32.408Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-23/7E55EF52A471D76F132DFD9A03CDDE97/c7cd50c6e69c915e37397c2df1a48575bb480629/9488145c-66ad-45ec-a6f4-305b2407259d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220923T183532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43b55afaf9a891b5fbe9bc795c0bb8df61b187794c1b0e624558fc8e3bc3a5ae [2022-09-23T18:35:32.408Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-23T18:35:32.408Z] Dload Upload Total Spent Left Speed [2022-09-23T18:35:32.666Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14613 0 0 100 14613 0 58219 --:--:-- --:--:-- --:--:-- 58219 [2022-09-23T18:35:32.666Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c7cd50c6e69c915e37397c2df1a48575bb480629 [Pipeline] } [2022-09-23T18:35:32.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-23T18:35:34.404Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives ] [2022-09-23T18:35:34.404Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives [2022-09-23T18:35:34.404Z] total 16 [2022-09-23T18:35:34.404Z] drwxr-xr-x 3 root root 4096 Sep 23 18:26 . [2022-09-23T18:35:34.404Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 18:26 .. [2022-09-23T18:35:34.404Z] drwxr-xr-x 2 root root 4096 Sep 23 18:26 cost [2022-09-23T18:35:34.404Z] -rw-r--r-- 1 root root 86 Sep 23 18:26 cost.csv [2022-09-23T18:35:34.404Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives [2022-09-23T18:35:34.404Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives [2022-09-23T18:35:34.404Z] total 16 [2022-09-23T18:35:34.404Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 18:26 . [2022-09-23T18:35:34.404Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 18:26 .. [2022-09-23T18:35:34.404Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 18:26 cost [2022-09-23T18:35:34.404Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 23 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:35:34.733Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:35:35.630Z] ---> package-listing.sh [2022-09-23T18:35:35.630Z] ++ facter osfamily [2022-09-23T18:35:35.630Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-23T18:35:35.889Z] + OS_FAMILY=debian [2022-09-23T18:35:35.889Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1216 [2022-09-23T18:35:35.889Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-23T18:35:35.889Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-23T18:35:35.889Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-23T18:35:35.889Z] + PACKAGES=/tmp/packages_start.txt [2022-09-23T18:35:35.889Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1216 ']' [2022-09-23T18:35:35.889Z] + PACKAGES=/tmp/packages_end.txt [2022-09-23T18:35:35.889Z] + case "${OS_FAMILY}" in [2022-09-23T18:35:35.889Z] + dpkg -l [2022-09-23T18:35:35.889Z] + grep '^ii' [2022-09-23T18:35:35.889Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-23T18:35:35.889Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-23T18:35:35.889Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-23T18:35:35.889Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1216 ']' [2022-09-23T18:35:35.889Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives/ [2022-09-23T18:35:35.889Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1216/archives/ [Pipeline] echo [2022-09-23T18:35:35.921Z] 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-1216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-23T18:35:36.210Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-23T18:35:36.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-23T18:35:36.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-23T18:35:36.952Z] prd-ubuntu20.04-docker-8c-8g-745 does not seem to be running inside a container [2022-09-23T18:35:36.976Z] $ 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-1216/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-1216 -v /w/workspace/gexfoundry_device-sdk-go_PR-1216:/w/workspace/gexfoundry_device-sdk-go_PR-1216:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-23T18:35:37.168Z] $ docker top 41736a4fb81aa90cfbf0b24ca4781ee58ee6bb7c49b9667aeb6c4b7cb7bd1ee3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-23T18:35:37.553Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-23T18:35:37.858Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-23T18:35:38.165Z] + ls /var/log/sa-host [2022-09-23T18:35:38.165Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-23T18:35:38.368Z] provisioning config files... [2022-09-23T18:35:38.377Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1216@tmp/config2187146142236692662tmp [Pipeline] { [Pipeline] echo [2022-09-23T18:35:38.423Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:35:38.730Z] ---> create-netrc.sh [Pipeline] } [2022-09-23T18:35:38.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:35:39.163Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-23T18:35:39.192Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:35:39.502Z] ---> sudo-logs.sh [2022-09-23T18:35:39.502Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-23T18:35:39.582Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:35:39.890Z] ---> job-cost.sh [2022-09-23T18:35:39.890Z] lf-activate-venv: SKIPPING [2022-09-23T18:35:39.890Z] DEBUG: total: 0.2199999988079071 [2022-09-23T18:35:39.890Z] INFO: Retrieving Stack Cost... [2022-09-23T18:35:40.458Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-23T18:35:40.718Z] INFO: Archiving Costs [Pipeline] echo [2022-09-23T18:35:40.752Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-23T18:35:41.063Z] ---> logs-deploy.sh [2022-09-23T18:35:41.063Z] lf-activate-venv: SKIPPING [2022-09-23T18:35:41.063Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1216/1 [2022-09-23T18:35:41.063Z] INFO: archiving workspace using pattern(s): [2022-09-23T18:35:42.000Z] Archives upload complete. [2022-09-23T18:35:42.259Z] INFO: archiving logs to Nexus