Pull request #1236 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6995182f3f60d6e642695a3ed6f97c51734b7d0e+4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 (e2ee03105723a1eaa4bf532663e762e3b2296c5e) 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-ssh10715495187306163298.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-ssh16948468642065370925.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10261848863724916320.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11135896932371659718.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh911321879172829548.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7805 in /w/workspace/gexfoundry_device-sdk-go_PR-1236 [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-1236 # 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/1236/head:refs/remotes/origin/PR-1236 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 into PR head commit 6995182f3f60d6e642695a3ed6f97c51734b7d0e Merge succeeded, producing 5d89824f5431919bca3f6f61f39e47996172db86 Checking out Revision 5d89824f5431919bca3f6f61f39e47996172db86 (PR-1236) > git config core.sparsecheckout # timeout=10 > git checkout -f 6995182f3f60d6e642695a3ed6f97c51734b7d0e # 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 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d89824f5431919bca3f6f61f39e47996172db86 # timeout=10 Commit message: "Merge commit '4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-13T04:58:55.010Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-13T04:58:55.054Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-13T04:58:55.065Z] ========================================================= [2022-10-13T04:58:55.065Z] EdgeX Global Pipelines Version Info [2022-10-13T04:58:55.065Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:58:55.768Z] ------------------- [2022-10-13T04:58:55.768Z] stable info: [2022-10-13T04:58:55.768Z] ------------------- [2022-10-13T04:58:55.768Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-13T04:58:55.768Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T04:58:55.768Z] Message: update stable to v1.0.239 > git rev-list --no-walk ad57e9545f0400bbf82677090cd003fd0fb66bd3 # timeout=10 [2022-10-13T04:58:56.338Z] ------------------- [2022-10-13T04:58:56.338Z] experimental info: [2022-10-13T04:58:56.338Z] ------------------- [2022-10-13T04:58:56.338Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-13T04:58:56.338Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-13T04:58:56.338Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-13T04:58:56.491Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-10-13T04:58:56.499Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-10-13T04:58:56.507Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-13T04:58:56.515Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-13T04:58:56.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-13T04:58:56.530Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-13T04:58:56.538Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-13T04:58:56.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-10-13T04:58:56.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-13T04:58:56.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-13T04:58:56.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-13T04:58:56.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-10-13T04:58:56.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-13T04:58:56.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-13T04:58:56.620Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-13T04:58:56.631Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T04:58:56.641Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T04:58:56.659Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-13T04:58:56.675Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-13T04:58:56.690Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-13T04:58:56.700Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-13T04:58:56.710Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-10-13T04:58:56.723Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-13T04:58:56.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-13T04:58:56.744Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-13T04:58:56.755Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-13T04:58:56.766Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-13T04:58:56.778Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1236 [Pipeline] echo [2022-10-13T04:58:56.792Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1236 [Pipeline] echo [2022-10-13T04:58:56.801Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1236 [Pipeline] echo [2022-10-13T04:58:56.813Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] echo [2022-10-13T04:58:56.827Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d89824 [Pipeline] echo [2022-10-13T04:58:56.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T04:58:56.877Z] provisioning config files... [2022-10-13T04:58:56.892Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config3709133387320213651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:58:57.197Z] ---> docker-login.sh [2022-10-13T04:58:57.197Z] nexus3.edgexfoundry.org:10001 [2022-10-13T04:58:57.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:58:57.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:58:57.456Z] Configure a credential helper to remove this warning. See [2022-10-13T04:58:57.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:58:57.456Z] [2022-10-13T04:58:57.456Z] Login Succeeded [2022-10-13T04:58:57.456Z] nexus3.edgexfoundry.org:10002 [2022-10-13T04:58:57.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:58:57.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:58:57.456Z] Configure a credential helper to remove this warning. See [2022-10-13T04:58:57.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:58:57.456Z] [2022-10-13T04:58:57.456Z] Login Succeeded [2022-10-13T04:58:57.456Z] nexus3.edgexfoundry.org:10003 [2022-10-13T04:58:57.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:58:57.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:58:57.716Z] Configure a credential helper to remove this warning. See [2022-10-13T04:58:57.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:58:57.716Z] [2022-10-13T04:58:57.716Z] Login Succeeded [2022-10-13T04:58:57.716Z] nexus3.edgexfoundry.org:10004 [2022-10-13T04:58:57.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:58:57.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:58:57.716Z] Configure a credential helper to remove this warning. See [2022-10-13T04:58:57.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:58:57.716Z] [2022-10-13T04:58:57.716Z] Login Succeeded [2022-10-13T04:58:57.716Z] docker.io [2022-10-13T04:58:57.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:58:58.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:58:58.235Z] Configure a credential helper to remove this warning. See [2022-10-13T04:58:58.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:58:58.235Z] [2022-10-13T04:58:58.235Z] Login Succeeded [2022-10-13T04:58:58.235Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T04:58:58.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-13T04:58:58.608Z] + git rev-list -1 --merges 5d89824f5431919bca3f6f61f39e47996172db86~1..5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] echo [2022-10-13T04:58:58.636Z] -----------> git rev-list -1 --merges 5d89824f5431919bca3f6f61f39e47996172db86~1..5d89824f5431919bca3f6f61f39e47996172db86 5d89824f5431919bca3f6f61f39e47996172db86 [2022-10-13T04:58:58.636Z] 5d89824f5431919bca3f6f61f39e47996172db86 [false] [Pipeline] sh [2022-10-13T04:58:58.923Z] + git log --format=format:%s -1 5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] echo [2022-10-13T04:58:58.938Z] ========================================================= [2022-10-13T04:58:58.938Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-13T04:58:58.938Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T04:58:59.254Z] + git log --format=format:%s -1 5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] echo [2022-10-13T04:58:59.264Z] [semverPrep] GIT_COMMIT: 5d89824f5431919bca3f6f61f39e47996172db86, Commit Message: Merge commit '4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27' into HEAD [Pipeline] echo [2022-10-13T04:58:59.274Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-13T04:58:59.617Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-13T04:58:59.617Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-13T04:58:59.617Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-13T04:58:59.617Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-13T04:58:59.617Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-13T04:58:59.617Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-13T04:58:59.617Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:58:59.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T04:58:59.958Z] [2022-10-13T04:58:59.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:59:00.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T04:59:00.264Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-13T04:59:00.264Z] b85a868b505f: Pulling fs layer [2022-10-13T04:59:00.264Z] e2be974225ed: Pulling fs layer [2022-10-13T04:59:00.264Z] 339a4e72a1f5: Pulling fs layer [2022-10-13T04:59:00.264Z] 988bab9f4d93: Pulling fs layer [2022-10-13T04:59:00.264Z] 1469e6f7b9e6: Pulling fs layer [2022-10-13T04:59:00.264Z] eaf3925da568: Pulling fs layer [2022-10-13T04:59:00.264Z] bab4dde63d76: Pulling fs layer [2022-10-13T04:59:00.264Z] bde34c3a00c8: Pulling fs layer [2022-10-13T04:59:00.264Z] b352a97aabf1: Pulling fs layer [2022-10-13T04:59:00.264Z] 4872d77fe225: Pulling fs layer [2022-10-13T04:59:00.264Z] 5851b861e8e6: Pulling fs layer [2022-10-13T04:59:00.264Z] eaf3925da568: Waiting [2022-10-13T04:59:00.264Z] bab4dde63d76: Waiting [2022-10-13T04:59:00.264Z] bde34c3a00c8: Waiting [2022-10-13T04:59:00.264Z] b352a97aabf1: Waiting [2022-10-13T04:59:00.264Z] 4872d77fe225: Waiting [2022-10-13T04:59:00.264Z] 988bab9f4d93: Waiting [2022-10-13T04:59:00.264Z] 5851b861e8e6: Waiting [2022-10-13T04:59:00.264Z] 1469e6f7b9e6: Waiting [2022-10-13T04:59:00.264Z] e2be974225ed: Verifying Checksum [2022-10-13T04:59:00.264Z] e2be974225ed: Download complete [2022-10-13T04:59:00.264Z] 988bab9f4d93: Download complete [2022-10-13T04:59:00.523Z] 1469e6f7b9e6: Verifying Checksum [2022-10-13T04:59:00.523Z] 1469e6f7b9e6: Download complete [2022-10-13T04:59:00.523Z] 339a4e72a1f5: Verifying Checksum [2022-10-13T04:59:00.523Z] 339a4e72a1f5: Download complete [2022-10-13T04:59:00.523Z] eaf3925da568: Download complete [2022-10-13T04:59:00.523Z] bde34c3a00c8: Download complete [2022-10-13T04:59:00.523Z] b352a97aabf1: Verifying Checksum [2022-10-13T04:59:00.523Z] b352a97aabf1: Download complete [2022-10-13T04:59:00.523Z] 4872d77fe225: Download complete [2022-10-13T04:59:00.523Z] 5851b861e8e6: Download complete [2022-10-13T04:59:00.523Z] b85a868b505f: Verifying Checksum [2022-10-13T04:59:00.523Z] b85a868b505f: Download complete [2022-10-13T04:59:00.782Z] bab4dde63d76: Verifying Checksum [2022-10-13T04:59:00.782Z] bab4dde63d76: Download complete [2022-10-13T04:59:01.719Z] b85a868b505f: Pull complete [2022-10-13T04:59:01.978Z] e2be974225ed: Pull complete [2022-10-13T04:59:02.238Z] 339a4e72a1f5: Pull complete [2022-10-13T04:59:02.497Z] 988bab9f4d93: Pull complete [2022-10-13T04:59:02.755Z] 1469e6f7b9e6: Pull complete [2022-10-13T04:59:02.755Z] eaf3925da568: Pull complete [2022-10-13T04:59:04.658Z] bab4dde63d76: Pull complete [2022-10-13T04:59:04.658Z] bde34c3a00c8: Pull complete [2022-10-13T04:59:04.918Z] b352a97aabf1: Pull complete [2022-10-13T04:59:04.918Z] 4872d77fe225: Pull complete [2022-10-13T04:59:04.918Z] 5851b861e8e6: Pull complete [2022-10-13T04:59:04.918Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-13T04:59:04.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-13T04:59:04.918Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:59:04.999Z] prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container [2022-10-13T04:59:05.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-13T04:59:06.492Z] $ docker top daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a -eo pid,comm [2022-10-13T04:59:06.542Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-13T04:59:06.542Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-13T04:59:06.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T04:59:06.580Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T04:59:06.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T04:59:06.724Z] $ docker exec daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a ssh-agent [2022-10-13T04:59:06.829Z] SSH_AUTH_SOCK=/tmp/ssh-AYyKLpzHIxzW/agent.32 [2022-10-13T04:59:06.829Z] SSH_AGENT_PID=38 [2022-10-13T04:59:06.835Z] Running ssh-add (command line suppressed) [2022-10-13T04:59:06.940Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_10643863788541123756.key (/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_10643863788541123756.key) [2022-10-13T04:59:06.953Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T04:59:07.239Z] + git tag --points-at HEAD [Pipeline] } [2022-10-13T04:59:07.255Z] $ docker exec --env ******** --env ******** daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a ssh-agent -k [2022-10-13T04:59:07.360Z] unset SSH_AUTH_SOCK; [2022-10-13T04:59:07.360Z] unset SSH_AGENT_PID; [2022-10-13T04:59:07.361Z] echo Agent pid 38 killed; [2022-10-13T04:59:07.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-13T04:59:07.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-13T04:59:07.393Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-13T04:59:07.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-13T04:59:07.519Z] $ docker exec daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a ssh-agent [2022-10-13T04:59:07.625Z] SSH_AUTH_SOCK=/tmp/ssh-d8a33qEGQahR/agent.70 [2022-10-13T04:59:07.625Z] SSH_AGENT_PID=75 [2022-10-13T04:59:07.630Z] Running ssh-add (command line suppressed) [2022-10-13T04:59:07.729Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_17006686492268007697.key (/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/private_key_17006686492268007697.key) [2022-10-13T04:59:07.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-13T04:59:08.027Z] + git semver init [2022-10-13T04:59:08.286Z] 2022-10-13 04:59:08,200 [run_init] DEBUG init version:0.0.0 force:False [2022-10-13T04:59:08.286Z] 2022-10-13 04:59:08,200 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver [2022-10-13T04:59:08.286Z] 2022-10-13 04:59:08,201 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver [2022-10-13T04:59:08.286Z] 2022-10-13 04:59:08,201 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1236, universal_newlines=False, shell=None, istream=None) [2022-10-13T04:59:09.222Z] 2022-10-13 04:59:09,175 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.git/info/exclude [2022-10-13T04:59:09.222Z] 2022-10-13 04:59:09,175 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver/PR-1236 with force:False [2022-10-13T04:59:09.222Z] 2022-10-13 04:59:09,176 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver/PR-1236 [2022-10-13T04:59:09.222Z] 2022-10-13 04:59:09,180 [execute] INFO git cat-file --batch-check [2022-10-13T04:59:09.222Z] 2022-10-13 04:59:09,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T04:59:09.222Z] 2022-10-13 04:59:09,187 [execute] INFO git cat-file --batch [2022-10-13T04:59:09.222Z] 2022-10-13 04:59:09,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver, universal_newlines=False, shell=None, istream=) [2022-10-13T04:59:09.222Z] 2022-10-13 04:59:09,191 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1236/.semver/PR-1236 [2022-10-13T04:59:09.222Z] 0.0.0 [Pipeline] } [2022-10-13T04:59:09.230Z] $ docker exec --env ******** --env ******** daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a ssh-agent -k [2022-10-13T04:59:09.329Z] unset SSH_AUTH_SOCK; [2022-10-13T04:59:09.329Z] unset SSH_AGENT_PID; [2022-10-13T04:59:09.330Z] echo Agent pid 75 killed; [2022-10-13T04:59:09.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-13T04:59:09.643Z] + git semver [Pipeline] } [2022-10-13T04:59:09.919Z] $ docker stop --time=1 daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a [2022-10-13T04:59:11.316Z] $ docker rm -f daf20f227d96fe8ba07897a7b555e47eebfbe0d298b992382a22c0e727eb830a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T04:59:11.652Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-13T04:59:11.836Z] Stashed 1 file(s) [Pipeline] echo [2022-10-13T04:59:11.839Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T04:59:11.944Z] provisioning config files... [2022-10-13T04:59:11.953Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config18440244048472084999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T04:59:12.250Z] ---> docker-login.sh [2022-10-13T04:59:12.250Z] nexus3.edgexfoundry.org:10001 [2022-10-13T04:59:12.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:59:12.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:59:12.250Z] Configure a credential helper to remove this warning. See [2022-10-13T04:59:12.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:59:12.250Z] [2022-10-13T04:59:12.250Z] Login Succeeded [2022-10-13T04:59:12.250Z] nexus3.edgexfoundry.org:10002 [2022-10-13T04:59:12.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:59:12.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:59:12.250Z] Configure a credential helper to remove this warning. See [2022-10-13T04:59:12.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:59:12.250Z] [2022-10-13T04:59:12.250Z] Login Succeeded [2022-10-13T04:59:12.250Z] nexus3.edgexfoundry.org:10003 [2022-10-13T04:59:12.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:59:12.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:59:12.510Z] Configure a credential helper to remove this warning. See [2022-10-13T04:59:12.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:59:12.510Z] [2022-10-13T04:59:12.511Z] Login Succeeded [2022-10-13T04:59:12.511Z] nexus3.edgexfoundry.org:10004 [2022-10-13T04:59:12.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:59:12.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:59:12.511Z] Configure a credential helper to remove this warning. See [2022-10-13T04:59:12.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:59:12.511Z] [2022-10-13T04:59:12.511Z] Login Succeeded [2022-10-13T04:59:12.511Z] docker.io [2022-10-13T04:59:12.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T04:59:13.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T04:59:13.029Z] Configure a credential helper to remove this warning. See [2022-10-13T04:59:13.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T04:59:13.029Z] [2022-10-13T04:59:13.029Z] Login Succeeded [2022-10-13T04:59:13.029Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T04:59:13.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T04:59:13.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T04:59:13.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T04:59:13.107Z] ========================================================= [2022-10-13T04:59:13.107Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-13T04:59:13.107Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:59:13.412Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-13T04:59:13.412Z] Sending build context to Docker daemon 10MB [2022-10-13T04:59:13.412Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T04:59:13.412Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-13T04:59:13.412Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-13T04:59:13.412Z] 213ec9aee27d: Pulling fs layer [2022-10-13T04:59:13.412Z] 4583459ba037: Pulling fs layer [2022-10-13T04:59:13.412Z] 93c1e223e6f2: Pulling fs layer [2022-10-13T04:59:13.412Z] 53926ce57604: Pulling fs layer [2022-10-13T04:59:13.412Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-13T04:59:13.412Z] 53926ce57604: Waiting [2022-10-13T04:59:13.412Z] 30f14e443154: Pulling fs layer [2022-10-13T04:59:13.412Z] 21b2b0c7a3f4: Waiting [2022-10-13T04:59:13.413Z] 801331c1e519: Pulling fs layer [2022-10-13T04:59:13.413Z] 30f14e443154: Waiting [2022-10-13T04:59:13.413Z] 99cc6dd402b0: Pulling fs layer [2022-10-13T04:59:13.413Z] 801331c1e519: Waiting [2022-10-13T04:59:13.413Z] 7d9ed39f4882: Pulling fs layer [2022-10-13T04:59:13.413Z] 99cc6dd402b0: Waiting [2022-10-13T04:59:13.413Z] 7d9ed39f4882: Waiting [2022-10-13T04:59:13.675Z] 93c1e223e6f2: Verifying Checksum [2022-10-13T04:59:13.675Z] 93c1e223e6f2: Download complete [2022-10-13T04:59:13.675Z] 4583459ba037: Verifying Checksum [2022-10-13T04:59:13.675Z] 4583459ba037: Download complete [2022-10-13T04:59:13.675Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-13T04:59:13.675Z] 21b2b0c7a3f4: Download complete [2022-10-13T04:59:13.675Z] 30f14e443154: Verifying Checksum [2022-10-13T04:59:13.675Z] 30f14e443154: Download complete [2022-10-13T04:59:13.675Z] 213ec9aee27d: Verifying Checksum [2022-10-13T04:59:13.675Z] 213ec9aee27d: Download complete [2022-10-13T04:59:13.675Z] 801331c1e519: Download complete [2022-10-13T04:59:13.675Z] 213ec9aee27d: Pull complete [2022-10-13T04:59:13.949Z] 4583459ba037: Pull complete [2022-10-13T04:59:13.949Z] 7d9ed39f4882: Verifying Checksum [2022-10-13T04:59:13.949Z] 7d9ed39f4882: Download complete [2022-10-13T04:59:13.949Z] 93c1e223e6f2: Pull complete [2022-10-13T04:59:14.533Z] 53926ce57604: Verifying Checksum [2022-10-13T04:59:14.533Z] 53926ce57604: Download complete [2022-10-13T04:59:14.533Z] 99cc6dd402b0: Download complete [2022-10-13T04:59:17.820Z] 53926ce57604: Pull complete [2022-10-13T04:59:18.078Z] 21b2b0c7a3f4: Pull complete [2022-10-13T04:59:18.078Z] 30f14e443154: Pull complete [2022-10-13T04:59:18.078Z] 801331c1e519: Pull complete [2022-10-13T04:59:20.607Z] 99cc6dd402b0: Pull complete [2022-10-13T04:59:21.175Z] 7d9ed39f4882: Pull complete [2022-10-13T04:59:21.175Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-13T04:59:21.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-13T04:59:21.175Z] ---> 1dedd983c030 [2022-10-13T04:59:21.175Z] Step 3/11 : ARG MAKE=make build [2022-10-13T04:59:22.554Z] ---> Running in 6053ae2f33d7 [2022-10-13T04:59:22.814Z] Removing intermediate container 6053ae2f33d7 [2022-10-13T04:59:22.814Z] ---> 30ab32bfe887 [2022-10-13T04:59:22.814Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-13T04:59:22.814Z] ---> Running in baa88046ebb6 [2022-10-13T04:59:22.814Z] Removing intermediate container baa88046ebb6 [2022-10-13T04:59:22.814Z] ---> 645ed364fe56 [2022-10-13T04:59:22.814Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T04:59:23.075Z] ---> Running in 361b07c0ae46 [2022-10-13T04:59:23.076Z] Removing intermediate container 361b07c0ae46 [2022-10-13T04:59:23.076Z] ---> 4fc25b3b3eb6 [2022-10-13T04:59:23.076Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T04:59:23.076Z] ---> Running in 4e582b86217f [2022-10-13T04:59:23.644Z] Removing intermediate container 4e582b86217f [2022-10-13T04:59:23.644Z] ---> 97f7826d0f74 [2022-10-13T04:59:23.644Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T04:59:23.903Z] ---> Running in 595f8e8b8bce [2022-10-13T04:59:24.163Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T04:59:25.102Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T04:59:25.102Z] OK: 211 MiB in 51 packages [2022-10-13T04:59:25.669Z] Removing intermediate container 595f8e8b8bce [2022-10-13T04:59:25.669Z] ---> e561a0cc1233 [2022-10-13T04:59:25.669Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-13T04:59:25.669Z] ---> ebcc3dc29d8e [2022-10-13T04:59:25.669Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T04:59:25.669Z] ---> Running in 6ae36fcf2369 [2022-10-13T04:59:26.918Z] Still waiting to schedule task [2022-10-13T04:59:26.918Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-13T04:59:43.775Z] Removing intermediate container 6ae36fcf2369 [2022-10-13T04:59:43.775Z] ---> 8601f7224936 [2022-10-13T04:59:43.775Z] Step 10/11 : COPY . . [2022-10-13T04:59:43.775Z] ---> d13893cc7be5 [2022-10-13T04:59:43.775Z] Step 11/11 : RUN ${MAKE} [2022-10-13T04:59:43.775Z] ---> Running in 4c8448f36be8 [2022-10-13T04:59:43.775Z] noop [2022-10-13T04:59:43.775Z] Removing intermediate container 4c8448f36be8 [2022-10-13T04:59:43.775Z] ---> 6bb4fe73fc75 [2022-10-13T04:59:43.775Z] Successfully built 6bb4fe73fc75 [2022-10-13T04:59:43.775Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:59:44.079Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T04:59:44.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:59:44.142Z] prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container [2022-10-13T04:59:44.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-13T04:59:44.594Z] $ docker top cd55e6b8fcc0d8497dd656525b4f1851284a7184079d7b7481f01724b310a8e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T04:59:44.935Z] + go version [2022-10-13T04:59:44.935Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-13T04:59:44.947Z] $ docker stop --time=1 cd55e6b8fcc0d8497dd656525b4f1851284a7184079d7b7481f01724b310a8e0 [2022-10-13T04:59:46.248Z] $ docker rm -f cd55e6b8fcc0d8497dd656525b4f1851284a7184079d7b7481f01724b310a8e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T04:59:46.659Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-13T04:59:46.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T04:59:46.733Z] prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container [2022-10-13T04:59:46.763Z] $ 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-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-13T04:59:47.136Z] $ docker top d1c977d85ac985fea85796f879f2918d89e6a60c1017058981fe46f3e31b9b7d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T04:59:47.481Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1236 [Pipeline] fileExists [Pipeline] sh [2022-10-13T04:59:47.779Z] + make test [2022-10-13T04:59:47.779Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-13T04:59:54.343Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-13T05:00:09.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-10-13T05:00:09.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-13T05:00:09.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 60.0% of statements [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-13T05:00:09.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.123s coverage: 54.4% of statements [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-13T05:00:09.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.125s coverage: 65.1% of statements [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-13T05:00:09.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.764s coverage: 89.2% of statements [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-13T05:00:09.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-10-13T05:00:09.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-13T05:00:24.080Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-13T05:00:24.080Z] GO111MODULE=on go vet ./... [2022-10-13T05:00:25.986Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T05:00:25.987Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T05:00:25.987Z] ./bin/test-attribution-txt.sh [2022-10-13T05:00:25.987Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-13T05:00:25.987Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-13T05:00:25.987Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-13T05:00:25.987Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-13T05:00:25.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T05:00:26.010Z] $ docker stop --time=1 d1c977d85ac985fea85796f879f2918d89e6a60c1017058981fe46f3e31b9b7d [2022-10-13T05:00:28.465Z] $ docker rm -f d1c977d85ac985fea85796f879f2918d89e6a60c1017058981fe46f3e31b9b7d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T05:00:28.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T05:00:29.010Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-13T05:00:29.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T05:00:29.710Z] + ls -al . [2022-10-13T05:00:29.710Z] total 276 [2022-10-13T05:00:29.710Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 04:59 . [2022-10-13T05:00:29.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:58 .. [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 04:58 .dockerignore [2022-10-13T05:00:29.710Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 05:00 .git [2022-10-13T05:00:29.710Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:58 .github [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 04:58 .gitignore [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:58 .golangci.yml [2022-10-13T05:00:29.710Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:59 .semver [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 04:58 CHANGELOG.md [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:58 GOVERNANCE.md [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 04:58 Jenkinsfile [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 04:58 LICENSE [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 04:58 Makefile [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 04:58 OWNERS.md [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 04:58 README.md [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 04:59 VERSION [2022-10-13T05:00:29.710Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:58 bin [2022-10-13T05:00:29.710Z] -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 05:00 coverage.out [2022-10-13T05:00:29.710Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 04:58 example [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 04:58 go.mod [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 04:58 go.sum [2022-10-13T05:00:29.710Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 04:58 internal [2022-10-13T05:00:29.710Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:58 openapi [2022-10-13T05:00:29.710Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 04:58 pkg [2022-10-13T05:00:29.710Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:58 snap [2022-10-13T05:00:29.710Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:00:30.016Z] + 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=5d89824f5431919bca3f6f61f39e47996172db86 --label arch=amd64 --label version=0.0.0 . [2022-10-13T05:00:30.016Z] Sending build context to Docker daemon 10.1MB [2022-10-13T05:00:30.016Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T05:00:30.016Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-13T05:00:30.016Z] ---> 6bb4fe73fc75 [2022-10-13T05:00:30.016Z] Step 3/25 : ARG MAKE=make build [2022-10-13T05:00:30.016Z] ---> Running in 34105352411a [2022-10-13T05:00:30.275Z] Removing intermediate container 34105352411a [2022-10-13T05:00:30.275Z] ---> 18f9d43c8aee [2022-10-13T05:00:30.275Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-13T05:00:30.275Z] ---> Running in e18edfd372a1 [2022-10-13T05:00:30.275Z] Removing intermediate container e18edfd372a1 [2022-10-13T05:00:30.275Z] ---> b57b6774a4ea [2022-10-13T05:00:30.275Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T05:00:30.275Z] ---> Running in 1666a5a022c2 [2022-10-13T05:00:30.534Z] Removing intermediate container 1666a5a022c2 [2022-10-13T05:00:30.534Z] ---> 7cb80cabc9a3 [2022-10-13T05:00:30.534Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T05:00:30.534Z] ---> Running in e1994b5ccf87 [2022-10-13T05:00:31.101Z] Removing intermediate container e1994b5ccf87 [2022-10-13T05:00:31.101Z] ---> 69e325cce739 [2022-10-13T05:00:31.101Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T05:00:31.101Z] ---> Running in 5d6d187409f8 [2022-10-13T05:00:31.360Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T05:00:32.298Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T05:00:32.558Z] OK: 211 MiB in 51 packages [2022-10-13T05:00:33.128Z] Removing intermediate container 5d6d187409f8 [2022-10-13T05:00:33.128Z] ---> 8b13b6d3d489 [2022-10-13T05:00:33.128Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-13T05:00:33.128Z] ---> ac3959cd9d59 [2022-10-13T05:00:33.128Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T05:00:33.128Z] ---> Running in 830af5a93d78 [2022-10-13T05:00:34.075Z] Removing intermediate container 830af5a93d78 [2022-10-13T05:00:34.075Z] ---> 3d334657d5e1 [2022-10-13T05:00:34.075Z] Step 10/25 : COPY . . [2022-10-13T05:00:34.338Z] ---> 8d919bc97674 [2022-10-13T05:00:34.338Z] Step 11/25 : RUN ${MAKE} [2022-10-13T05:00:34.338Z] ---> Running in 4b093c714c7b [2022-10-13T05:00:34.597Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-13T05:00:52.690Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-13T05:00:53.628Z] Removing intermediate container 4b093c714c7b [2022-10-13T05:00:53.628Z] ---> b58cdaa2ae7a [2022-10-13T05:00:53.628Z] Step 12/25 : FROM alpine:3.16 [2022-10-13T05:00:53.887Z] 3.16: Pulling from library/alpine [2022-10-13T05:00:54.149Z] 213ec9aee27d: Already exists [2022-10-13T05:00:54.407Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T05:00:54.408Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T05:00:54.408Z] ---> 9c6f07244728 [2022-10-13T05:00:54.408Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T05:00:54.408Z] ---> Running in 7f4687e9d729 [2022-10-13T05:00:54.408Z] Removing intermediate container 7f4687e9d729 [2022-10-13T05:00:54.408Z] ---> 76ad36279159 [2022-10-13T05:00:54.408Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T05:00:54.408Z] ---> Running in a5c215c4b7ea [2022-10-13T05:00:55.345Z] Removing intermediate container a5c215c4b7ea [2022-10-13T05:00:55.345Z] ---> 657f4e48f941 [2022-10-13T05:00:55.345Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-13T05:00:55.345Z] ---> Running in e8428712cfd2 [2022-10-13T05:00:55.345Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-13T05:00:56.284Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-13T05:00:56.544Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T05:00:56.804Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-13T05:00:56.804Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T05:00:57.063Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-13T05:00:57.063Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-13T05:00:57.063Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T05:00:57.063Z] OK: 8 MiB in 19 packages [2022-10-13T05:00:57.633Z] Removing intermediate container e8428712cfd2 [2022-10-13T05:00:57.633Z] ---> d690c54e5b66 [2022-10-13T05:00:57.633Z] Step 16/25 : WORKDIR / [2022-10-13T05:00:57.633Z] ---> Running in 8bf17b2cbe56 [2022-10-13T05:00:57.633Z] Removing intermediate container 8bf17b2cbe56 [2022-10-13T05:00:57.633Z] ---> 9b3ec9884113 [2022-10-13T05:00:57.633Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-13T05:00:57.893Z] ---> 8e7304d757c4 [2022-10-13T05:00:57.893Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-13T05:00:58.462Z] ---> ca9eb35644d3 [2022-10-13T05:00:58.462Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-13T05:00:58.462Z] ---> bd20408ba49d [2022-10-13T05:00:58.462Z] Step 20/25 : EXPOSE 59999 [2022-10-13T05:00:58.462Z] ---> Running in fb93725e1997 [2022-10-13T05:00:58.721Z] Removing intermediate container fb93725e1997 [2022-10-13T05:00:58.721Z] ---> 01b9318b307e [2022-10-13T05:00:58.721Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-13T05:00:58.721Z] ---> Running in e85bfaae1939 [2022-10-13T05:00:58.721Z] Removing intermediate container e85bfaae1939 [2022-10-13T05:00:58.721Z] ---> df12660414c2 [2022-10-13T05:00:58.721Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T05:00:58.981Z] ---> Running in 0da3e3657920 [2022-10-13T05:00:58.981Z] Removing intermediate container 0da3e3657920 [2022-10-13T05:00:58.981Z] ---> b4541dbef913 [2022-10-13T05:00:58.981Z] Step 23/25 : LABEL arch=amd64 [2022-10-13T05:00:58.981Z] ---> Running in 65e039e4fcd1 [2022-10-13T05:00:58.981Z] Removing intermediate container 65e039e4fcd1 [2022-10-13T05:00:58.981Z] ---> 0e271219943a [2022-10-13T05:00:58.981Z] Step 24/25 : LABEL git_sha=5d89824f5431919bca3f6f61f39e47996172db86 [2022-10-13T05:00:59.240Z] ---> Running in a7bce99fb03e [2022-10-13T05:00:59.240Z] Removing intermediate container a7bce99fb03e [2022-10-13T05:00:59.240Z] ---> 8b16930a12f5 [2022-10-13T05:00:59.240Z] Step 25/25 : LABEL version=0.0.0 [2022-10-13T05:00:59.240Z] ---> Running in 986c5301cf92 [2022-10-13T05:00:59.500Z] Removing intermediate container 986c5301cf92 [2022-10-13T05:00:59.500Z] ---> 19e5392ba740 [2022-10-13T05:00:59.500Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T05:00:59.500Z] Successfully built 19e5392ba740 [2022-10-13T05:00:59.500Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:00:59.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T05:00:59.957Z] [2022-10-13T05:00:59.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:01:00.262Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T05:01:00.262Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-13T05:01:00.262Z] 5eb5b503b376: Pulling fs layer [2022-10-13T05:01:00.262Z] 5c69ac0246d0: Pulling fs layer [2022-10-13T05:01:00.262Z] ec43610c2a17: Pulling fs layer [2022-10-13T05:01:00.262Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-13T05:01:00.262Z] 33b1e0a273af: Pulling fs layer [2022-10-13T05:01:00.262Z] 5d3b04190fa2: Pulling fs layer [2022-10-13T05:01:00.262Z] 2f39f015ded8: Pulling fs layer [2022-10-13T05:01:00.262Z] 33b1e0a273af: Waiting [2022-10-13T05:01:00.262Z] 5d3b04190fa2: Waiting [2022-10-13T05:01:00.262Z] 2f39f015ded8: Waiting [2022-10-13T05:01:00.262Z] 3a2ae6a8a46f: Waiting [2022-10-13T05:01:00.262Z] 5c69ac0246d0: Download complete [2022-10-13T05:01:00.262Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-13T05:01:00.262Z] 3a2ae6a8a46f: Download complete [2022-10-13T05:01:00.522Z] ec43610c2a17: Verifying Checksum [2022-10-13T05:01:00.522Z] ec43610c2a17: Download complete [2022-10-13T05:01:00.522Z] 33b1e0a273af: Verifying Checksum [2022-10-13T05:01:00.522Z] 33b1e0a273af: Download complete [2022-10-13T05:01:00.522Z] 5d3b04190fa2: Verifying Checksum [2022-10-13T05:01:00.522Z] 5d3b04190fa2: Download complete [2022-10-13T05:01:00.522Z] 5eb5b503b376: Verifying Checksum [2022-10-13T05:01:00.522Z] 5eb5b503b376: Download complete [2022-10-13T05:01:01.087Z] 2f39f015ded8: Download complete [2022-10-13T05:01:01.658Z] 5eb5b503b376: Pull complete [2022-10-13T05:01:01.658Z] 5c69ac0246d0: Pull complete [2022-10-13T05:01:02.225Z] ec43610c2a17: Pull complete [2022-10-13T05:01:02.225Z] 3a2ae6a8a46f: Pull complete [2022-10-13T05:01:02.484Z] 33b1e0a273af: Pull complete [2022-10-13T05:01:02.484Z] 5d3b04190fa2: Pull complete [2022-10-13T05:01:06.672Z] 2f39f015ded8: Pull complete [2022-10-13T05:01:06.672Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-13T05:01:06.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T05:01:06.672Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T05:01:06.747Z] prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container [2022-10-13T05:01:06.774Z] $ 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-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-13T05:01:08.797Z] $ docker top 0018d72465f2bc836a843c685f2e278afe1887994775150e57825d2147ca4ace -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:01:09.175Z] ---> job-cost.sh [2022-10-13T05:01:09.175Z] lf-activate-venv: SKIPPING [2022-10-13T05:01:09.175Z] INFO: No Stack... [2022-10-13T05:01:09.433Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T05:01:10.000Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T05:01:10.287Z] + cut -d, -f6 [2022-10-13T05:01:10.287Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives/cost.csv [Pipeline] lock [2022-10-13T05:01:10.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [2022-10-13T05:01:10.308Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] did not exist. Created. [2022-10-13T05:01:10.308Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T05:01:10.605Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-13T05:01:10.629Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T05:01:10.638Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T05:01:10.658Z] $ docker stop --time=1 0018d72465f2bc836a843c685f2e278afe1887994775150e57825d2147ca4ace [2022-10-13T05:01:11.850Z] $ docker rm -f 0018d72465f2bc836a843c685f2e278afe1887994775150e57825d2147ca4ace [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-13T05:03:27.284Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7806 in /w/workspace/gexfoundry_device-sdk-go_PR-1236 [Pipeline] { [Pipeline] ws [2022-10-13T05:03:27.297Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-10-13T05:03:27.329Z] The recommended git tool is: git [2022-10-13T05:03:33.171Z] using credential edgex-jenkins-ssh [2022-10-13T05:03:33.191Z] Cloning the remote Git repository [2022-10-13T05:03:33.242Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T05:03:33.321Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-10-13T05:03:33.478Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T05:03:33.479Z] > git --version # timeout=10 [2022-10-13T05:03:33.501Z] > git --version # 'git version 2.25.1' [2022-10-13T05:03:33.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T05:03:33.559Z] Verifying host key using known hosts file [2022-10-13T05:03:33.784Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T05:03:33.799Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T05:03:36.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-13T05:03:36.443Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-13T05:03:37.314Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-10-13T05:03:37.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-10-13T05:03:37.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T05:03:37.370Z] Verifying host key using known hosts file [2022-10-13T05:03:37.376Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T05:03:37.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1236/head:refs/remotes/origin/PR-1236 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-13T05:03:38.068Z] Merging remotes/origin/main commit 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 into PR head commit 6995182f3f60d6e642695a3ed6f97c51734b7d0e [2022-10-13T05:03:38.385Z] Merge succeeded, producing ffef6ba1a259d045c9fd948bbbe0eda42489b44c [2022-10-13T05:03:38.385Z] Checking out Revision ffef6ba1a259d045c9fd948bbbe0eda42489b44c (PR-1236) [2022-10-13T05:03:38.086Z] > git config core.sparsecheckout # timeout=10 [2022-10-13T05:03:38.109Z] > git checkout -f 6995182f3f60d6e642695a3ed6f97c51734b7d0e # timeout=10 [2022-10-13T05:03:38.222Z] > git remote # timeout=10 [2022-10-13T05:03:38.238Z] > git config --get remote.origin.url # timeout=10 [2022-10-13T05:03:38.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-13T05:03:38.260Z] Verifying host key using known hosts file [2022-10-13T05:03:38.266Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-13T05:03:38.275Z] > git merge 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 # timeout=10 [2022-10-13T05:03:38.367Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-13T05:03:38.394Z] > git config core.sparsecheckout # timeout=10 [2022-10-13T05:03:38.410Z] > git checkout -f ffef6ba1a259d045c9fd948bbbe0eda42489b44c # timeout=10 [2022-10-13T05:03:41.931Z] Commit message: "Merge commit '4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27' into HEAD" [2022-10-13T05:03:41.957Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T05:03:41.941Z] > git rev-list --no-walk ad57e9545f0400bbf82677090cd003fd0fb66bd3 # timeout=10 [2022-10-13T05:03:42.802Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-13T05:03:42.802Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T05:03:42.802Z] Dload Upload Total Spent Left Speed [2022-10-13T05:03:42.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2022-10-13T05:03:43.406Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-13T05:03:43.732Z] + sudo tee /etc/docker/daemon.new [2022-10-13T05:03:43.732Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-13T05:03:43.732Z] { [2022-10-13T05:03:43.732Z] "registry-mirrors": [ [2022-10-13T05:03:43.732Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-13T05:03:43.732Z] ], [2022-10-13T05:03:43.732Z] "bip": "10.250.0.254/24", [2022-10-13T05:03:43.732Z] "hosts": [ [2022-10-13T05:03:43.732Z] "tcp://0.0.0.0:5555", [2022-10-13T05:03:43.732Z] "unix:///var/run/docker.sock" [2022-10-13T05:03:43.732Z] ], [2022-10-13T05:03:43.732Z] "mtu": 1458, [2022-10-13T05:03:43.732Z] "selinux-enabled": true, [2022-10-13T05:03:43.732Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-13T05:03:43.732Z] } [Pipeline] sh [2022-10-13T05:03:44.053Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-13T05:03:44.374Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T05:04:02.640Z] provisioning config files... [2022-10-13T05:04:02.664Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15675803743614333779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:04:03.008Z] ---> docker-login.sh [2022-10-13T05:04:03.008Z] nexus3.edgexfoundry.org:10001 [2022-10-13T05:04:03.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T05:04:03.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T05:04:03.595Z] Configure a credential helper to remove this warning. See [2022-10-13T05:04:03.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T05:04:03.595Z] [2022-10-13T05:04:03.595Z] Login Succeeded [2022-10-13T05:04:03.595Z] nexus3.edgexfoundry.org:10002 [2022-10-13T05:04:03.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T05:04:03.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T05:04:03.862Z] Configure a credential helper to remove this warning. See [2022-10-13T05:04:03.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T05:04:03.862Z] [2022-10-13T05:04:03.862Z] Login Succeeded [2022-10-13T05:04:03.862Z] nexus3.edgexfoundry.org:10003 [2022-10-13T05:04:04.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T05:04:04.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T05:04:04.403Z] Configure a credential helper to remove this warning. See [2022-10-13T05:04:04.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T05:04:04.403Z] [2022-10-13T05:04:04.403Z] Login Succeeded [2022-10-13T05:04:04.403Z] nexus3.edgexfoundry.org:10004 [2022-10-13T05:04:04.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T05:04:04.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T05:04:04.673Z] Configure a credential helper to remove this warning. See [2022-10-13T05:04:04.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T05:04:04.673Z] [2022-10-13T05:04:04.673Z] Login Succeeded [2022-10-13T05:04:04.673Z] docker.io [2022-10-13T05:04:04.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-13T05:04:05.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-13T05:04:05.211Z] Configure a credential helper to remove this warning. See [2022-10-13T05:04:05.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-13T05:04:05.211Z] [2022-10-13T05:04:05.211Z] Login Succeeded [2022-10-13T05:04:05.211Z] ---> docker-login.sh ends [Pipeline] } [2022-10-13T05:04:05.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-13T05:04:05.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T05:04:05.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-13T05:04:05.394Z] ========================================================= [2022-10-13T05:04:05.394Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-13T05:04:05.394Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:04:05.724Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-13T05:04:05.991Z] Sending build context to Docker daemon 5.383MB [2022-10-13T05:04:05.991Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T05:04:05.991Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-13T05:04:06.262Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-13T05:04:06.262Z] 9b18e9b68314: Pulling fs layer [2022-10-13T05:04:06.262Z] d32db5db7311: Pulling fs layer [2022-10-13T05:04:06.262Z] d0c4b47475fc: Pulling fs layer [2022-10-13T05:04:06.262Z] 5831b945b038: Pulling fs layer [2022-10-13T05:04:06.262Z] 86bbec2aaacd: Pulling fs layer [2022-10-13T05:04:06.262Z] e10730c5d714: Pulling fs layer [2022-10-13T05:04:06.262Z] 5dd5c2283517: Pulling fs layer [2022-10-13T05:04:06.262Z] d5ac0230b979: Pulling fs layer [2022-10-13T05:04:06.262Z] 5831b945b038: Waiting [2022-10-13T05:04:06.262Z] 86bbec2aaacd: Waiting [2022-10-13T05:04:06.262Z] e10730c5d714: Waiting [2022-10-13T05:04:06.262Z] 5dd5c2283517: Waiting [2022-10-13T05:04:06.262Z] d5ac0230b979: Waiting [2022-10-13T05:04:06.262Z] d0c4b47475fc: Verifying Checksum [2022-10-13T05:04:06.262Z] d0c4b47475fc: Download complete [2022-10-13T05:04:06.262Z] d32db5db7311: Verifying Checksum [2022-10-13T05:04:06.262Z] d32db5db7311: Download complete [2022-10-13T05:04:06.262Z] 86bbec2aaacd: Verifying Checksum [2022-10-13T05:04:06.262Z] 86bbec2aaacd: Download complete [2022-10-13T05:04:06.262Z] e10730c5d714: Verifying Checksum [2022-10-13T05:04:06.262Z] e10730c5d714: Download complete [2022-10-13T05:04:06.262Z] 9b18e9b68314: Verifying Checksum [2022-10-13T05:04:06.262Z] 9b18e9b68314: Download complete [2022-10-13T05:04:07.233Z] 9b18e9b68314: Pull complete [2022-10-13T05:04:07.233Z] d5ac0230b979: Verifying Checksum [2022-10-13T05:04:07.233Z] d5ac0230b979: Download complete [2022-10-13T05:04:07.510Z] d32db5db7311: Pull complete [2022-10-13T05:04:07.779Z] d0c4b47475fc: Pull complete [2022-10-13T05:04:08.370Z] 5dd5c2283517: Verifying Checksum [2022-10-13T05:04:08.370Z] 5dd5c2283517: Download complete [2022-10-13T05:04:08.960Z] 5831b945b038: Verifying Checksum [2022-10-13T05:04:08.960Z] 5831b945b038: Download complete [2022-10-13T05:04:21.271Z] 5831b945b038: Pull complete [2022-10-13T05:04:21.271Z] 86bbec2aaacd: Pull complete [2022-10-13T05:04:21.271Z] e10730c5d714: Pull complete [2022-10-13T05:04:25.544Z] 5dd5c2283517: Pull complete [2022-10-13T05:04:26.975Z] d5ac0230b979: Pull complete [2022-10-13T05:04:26.975Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-13T05:04:26.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-13T05:04:26.975Z] ---> 59b3b1a385d4 [2022-10-13T05:04:26.975Z] Step 3/11 : ARG MAKE=make build [2022-10-13T05:04:28.946Z] ---> Running in d23616a09ad3 [2022-10-13T05:04:28.946Z] Removing intermediate container d23616a09ad3 [2022-10-13T05:04:28.946Z] ---> 08d3543fe421 [2022-10-13T05:04:28.946Z] Step 4/11 : WORKDIR /device-sdk-go [2022-10-13T05:04:29.213Z] ---> Running in f49bdd71c607 [2022-10-13T05:04:29.480Z] Removing intermediate container f49bdd71c607 [2022-10-13T05:04:29.480Z] ---> 8a884c7f3744 [2022-10-13T05:04:29.480Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T05:04:29.480Z] ---> Running in ba4b9b0804fe [2022-10-13T05:04:29.748Z] Removing intermediate container ba4b9b0804fe [2022-10-13T05:04:29.748Z] ---> c5bb9a588e82 [2022-10-13T05:04:29.748Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T05:04:30.017Z] ---> Running in 385fd35bf9e6 [2022-10-13T05:04:31.965Z] Removing intermediate container 385fd35bf9e6 [2022-10-13T05:04:31.965Z] ---> a363a3aa590e [2022-10-13T05:04:31.965Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T05:04:31.965Z] ---> Running in 52e13ec65ac7 [2022-10-13T05:04:32.551Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T05:04:33.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T05:04:34.932Z] OK: 221 MiB in 51 packages [2022-10-13T05:04:36.350Z] Removing intermediate container 52e13ec65ac7 [2022-10-13T05:04:36.350Z] ---> 2bbe4b33c20f [2022-10-13T05:04:36.350Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-13T05:04:36.624Z] ---> 4a2303d9e9ff [2022-10-13T05:04:36.624Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T05:04:36.624Z] ---> Running in c9e8d4f0c17c [2022-10-13T05:05:33.078Z] Removing intermediate container c9e8d4f0c17c [2022-10-13T05:05:33.078Z] ---> 745702c6c38c [2022-10-13T05:05:33.078Z] Step 10/11 : COPY . . [2022-10-13T05:05:33.078Z] ---> 33c9f5920455 [2022-10-13T05:05:33.078Z] Step 11/11 : RUN ${MAKE} [2022-10-13T05:05:33.078Z] ---> Running in cddb2064e6e2 [2022-10-13T05:05:33.078Z] noop [2022-10-13T05:05:33.078Z] Removing intermediate container cddb2064e6e2 [2022-10-13T05:05:33.078Z] ---> 1415ca64e8ad [2022-10-13T05:05:33.078Z] Successfully built 1415ca64e8ad [2022-10-13T05:05:33.078Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:05:33.434Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T05:05:33.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T05:05:33.624Z] prd-ubuntu20.04-docker-arm64-4c-16g-7806 does not seem to be running inside a container [2022-10-13T05:05:33.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-13T05:05:35.258Z] $ docker top 80697bbc4d63e4c3a5e911012dbea2899390712f22f8de6d4eea60c98f0084b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T05:05:36.075Z] + go version [2022-10-13T05:05:36.076Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-13T05:05:36.096Z] $ docker stop --time=1 80697bbc4d63e4c3a5e911012dbea2899390712f22f8de6d4eea60c98f0084b4 [2022-10-13T05:05:37.737Z] $ docker rm -f 80697bbc4d63e4c3a5e911012dbea2899390712f22f8de6d4eea60c98f0084b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:05:38.246Z] + docker inspect -f . ci-base-image-arm64 [2022-10-13T05:05:38.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T05:05:38.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-7806 does not seem to be running inside a container [2022-10-13T05:05:38.489Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-13T05:05:39.662Z] $ docker top 17a2401889206287c5638676a5035bb902b5c6a183369a4905a2d8b177eb4796 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T05:05:40.184Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-13T05:05:40.519Z] + make test [2022-10-13T05:05:40.519Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-10-13T05:06:12.751Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-10-13T05:08:19.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-10-13T05:08:19.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-10-13T05:08:19.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-10-13T05:08:19.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-10-13T05:08:19.442Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-10-13T05:08:24.819Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.282s coverage: 27.6% of statements [2022-10-13T05:08:26.767Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.528s coverage: 78.9% of statements [2022-10-13T05:08:26.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-10-13T05:08:31.024Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.463s coverage: 60.0% of statements [2022-10-13T05:08:31.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-10-13T05:08:31.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-10-13T05:08:37.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.936s coverage: 54.4% of statements [2022-10-13T05:08:37.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-10-13T05:08:37.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-10-13T05:08:37.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-10-13T05:08:37.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-10-13T05:08:37.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.562s coverage: 65.1% of statements [2022-10-13T05:08:37.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-10-13T05:08:37.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-10-13T05:08:37.681Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.679s coverage: 89.2% of statements [2022-10-13T05:08:37.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-10-13T05:08:40.278Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.279s coverage: 4.7% of statements [2022-10-13T05:08:40.278Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-10-13T05:08:40.861Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-13T05:08:40.861Z] GO111MODULE=on go vet ./... [2022-10-13T05:10:17.554Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-13T05:10:17.554Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-13T05:10:17.554Z] ./bin/test-attribution-txt.sh [2022-10-13T05:10:17.554Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-10-13T05:10:17.554Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-10-13T05:10:17.554Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-10-13T05:10:17.554Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-10-13T05:10:17.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-13T05:10:17.587Z] $ docker stop --time=1 17a2401889206287c5638676a5035bb902b5c6a183369a4905a2d8b177eb4796 [2022-10-13T05:10:20.286Z] $ docker rm -f 17a2401889206287c5638676a5035bb902b5c6a183369a4905a2d8b177eb4796 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-13T05:10:21.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-13T05:10:21.654Z] Warning: overwriting stash ‘coverage-report’ [2022-10-13T05:10:22.145Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-13T05:10:22.529Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-13T05:10:22.847Z] + ls -al . [2022-10-13T05:10:22.847Z] total 272 [2022-10-13T05:10:22.847Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 05:05 . [2022-10-13T05:10:22.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 05:03 .. [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 05:03 .dockerignore [2022-10-13T05:10:22.847Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 05:03 .git [2022-10-13T05:10:22.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 05:03 .github [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 05:03 .gitignore [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 05:03 .golangci.yml [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 05:03 CHANGELOG.md [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 05:03 GOVERNANCE.md [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 05:03 Jenkinsfile [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 05:03 LICENSE [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 05:03 Makefile [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 05:03 OWNERS.md [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 05:03 README.md [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 04:59 VERSION [2022-10-13T05:10:22.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 05:03 bin [2022-10-13T05:10:22.847Z] -rw-r--r-- 1 jenkins jenkins 101010 Oct 13 05:08 coverage.out [2022-10-13T05:10:22.847Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 05:03 example [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 05:03 go.mod [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 05:03 go.sum [2022-10-13T05:10:22.847Z] drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 05:03 internal [2022-10-13T05:10:22.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 05:03 openapi [2022-10-13T05:10:22.847Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 05:03 pkg [2022-10-13T05:10:22.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 05:03 snap [2022-10-13T05:10:22.847Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:10:23.180Z] + 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=ffef6ba1a259d045c9fd948bbbe0eda42489b44c --label arch=arm64 --label version=0.0.0 . [2022-10-13T05:10:23.450Z] Sending build context to Docker daemon 5.485MB [2022-10-13T05:10:23.450Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-13T05:10:23.450Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-13T05:10:23.450Z] ---> 1415ca64e8ad [2022-10-13T05:10:23.450Z] Step 3/25 : ARG MAKE=make build [2022-10-13T05:10:23.717Z] ---> Running in 581aaddc4191 [2022-10-13T05:10:23.988Z] Removing intermediate container 581aaddc4191 [2022-10-13T05:10:23.988Z] ---> 056d1a0f875a [2022-10-13T05:10:23.988Z] Step 4/25 : WORKDIR /device-sdk-go [2022-10-13T05:10:23.988Z] ---> Running in cd744a603170 [2022-10-13T05:10:24.259Z] Removing intermediate container cd744a603170 [2022-10-13T05:10:24.259Z] ---> 1dc487345398 [2022-10-13T05:10:24.259Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T05:10:24.527Z] ---> Running in 300a2ad6e166 [2022-10-13T05:10:24.794Z] Removing intermediate container 300a2ad6e166 [2022-10-13T05:10:24.794Z] ---> f9efdad354a3 [2022-10-13T05:10:24.794Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T05:10:24.794Z] ---> Running in d3924ba5022c [2022-10-13T05:10:26.743Z] Removing intermediate container d3924ba5022c [2022-10-13T05:10:26.743Z] ---> 40128c0100fa [2022-10-13T05:10:26.743Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-10-13T05:10:26.743Z] ---> Running in c1eeb3bb7a81 [2022-10-13T05:10:27.329Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T05:10:28.289Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T05:10:29.250Z] OK: 221 MiB in 51 packages [2022-10-13T05:10:30.218Z] Removing intermediate container c1eeb3bb7a81 [2022-10-13T05:10:30.218Z] ---> c2b866dbbb40 [2022-10-13T05:10:30.218Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-13T05:10:30.489Z] ---> 14b6062795ae [2022-10-13T05:10:30.489Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-13T05:10:30.761Z] ---> Running in 8604be7af423 [2022-10-13T05:10:32.715Z] Removing intermediate container 8604be7af423 [2022-10-13T05:10:32.715Z] ---> be8e5dad41f9 [2022-10-13T05:10:32.715Z] Step 10/25 : COPY . . [2022-10-13T05:10:33.681Z] ---> 79b8b041a5f9 [2022-10-13T05:10:33.681Z] Step 11/25 : RUN ${MAKE} [2022-10-13T05:10:33.681Z] ---> Running in b1566044fcee [2022-10-13T05:10:34.641Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-10-13T05:12:56.337Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-10-13T05:12:56.337Z] Removing intermediate container b1566044fcee [2022-10-13T05:12:56.337Z] ---> 6040e29fe2fc [2022-10-13T05:12:56.337Z] Step 12/25 : FROM alpine:3.16 [2022-10-13T05:12:56.337Z] 3.16: Pulling from library/alpine [2022-10-13T05:12:56.337Z] 9b18e9b68314: Already exists [2022-10-13T05:12:56.337Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-13T05:12:56.337Z] Status: Downloaded newer image for alpine:3.16 [2022-10-13T05:12:56.337Z] ---> a6215f271958 [2022-10-13T05:12:56.337Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-13T05:12:56.337Z] ---> Running in ac002b13b423 [2022-10-13T05:12:56.337Z] Removing intermediate container ac002b13b423 [2022-10-13T05:12:56.337Z] ---> 2a64f7504526 [2022-10-13T05:12:56.337Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-13T05:12:56.337Z] ---> Running in a6c45a299d2b [2022-10-13T05:12:56.337Z] Removing intermediate container a6c45a299d2b [2022-10-13T05:12:56.337Z] ---> 52ece7bdde62 [2022-10-13T05:12:56.337Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-10-13T05:12:56.337Z] ---> Running in 7094042701b3 [2022-10-13T05:12:56.337Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-13T05:12:56.337Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-13T05:12:56.337Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-10-13T05:12:56.337Z] (2/5) Installing libsodium (1.0.18-r0) [2022-10-13T05:12:56.337Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-13T05:12:56.337Z] (4/5) Installing libzmq (4.3.4-r0) [2022-10-13T05:12:56.337Z] (5/5) Installing zeromq (4.3.4-r0) [2022-10-13T05:12:56.337Z] Executing busybox-1.35.0-r17.trigger [2022-10-13T05:12:56.337Z] OK: 8 MiB in 19 packages [2022-10-13T05:12:56.337Z] Removing intermediate container 7094042701b3 [2022-10-13T05:12:56.337Z] ---> d75f122c0b1e [2022-10-13T05:12:56.337Z] Step 16/25 : WORKDIR / [2022-10-13T05:12:56.337Z] ---> Running in 4416c0f8b37a [2022-10-13T05:12:56.337Z] Removing intermediate container 4416c0f8b37a [2022-10-13T05:12:56.337Z] ---> 8a608c996b08 [2022-10-13T05:12:56.337Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-10-13T05:12:56.922Z] ---> 92acc220d313 [2022-10-13T05:12:56.922Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-10-13T05:12:58.333Z] ---> 46d6b2804d3b [2022-10-13T05:12:58.333Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-10-13T05:12:58.917Z] ---> fc8c76d7e9f0 [2022-10-13T05:12:58.917Z] Step 20/25 : EXPOSE 59999 [2022-10-13T05:12:58.917Z] ---> Running in c849fd074d0d [2022-10-13T05:12:59.513Z] Removing intermediate container c849fd074d0d [2022-10-13T05:12:59.513Z] ---> d53ca9ee0023 [2022-10-13T05:12:59.513Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-10-13T05:12:59.513Z] ---> Running in a96e825c1894 [2022-10-13T05:12:59.780Z] Removing intermediate container a96e825c1894 [2022-10-13T05:12:59.780Z] ---> 09df236140de [2022-10-13T05:12:59.780Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-13T05:12:59.780Z] ---> Running in 259c4f661ff6 [2022-10-13T05:13:00.049Z] Removing intermediate container 259c4f661ff6 [2022-10-13T05:13:00.049Z] ---> e6a5b9af8b99 [2022-10-13T05:13:00.049Z] Step 23/25 : LABEL arch=arm64 [2022-10-13T05:13:00.049Z] ---> Running in c1b0644529e7 [2022-10-13T05:13:00.636Z] Removing intermediate container c1b0644529e7 [2022-10-13T05:13:00.636Z] ---> f6301b0c34e2 [2022-10-13T05:13:00.636Z] Step 24/25 : LABEL git_sha=ffef6ba1a259d045c9fd948bbbe0eda42489b44c [2022-10-13T05:13:00.636Z] ---> Running in abef720cc467 [2022-10-13T05:13:00.904Z] Removing intermediate container abef720cc467 [2022-10-13T05:13:00.904Z] ---> 11e00ba3220b [2022-10-13T05:13:00.904Z] Step 25/25 : LABEL version=0.0.0 [2022-10-13T05:13:00.904Z] ---> Running in eddd8e64fdc1 [2022-10-13T05:13:01.171Z] Removing intermediate container eddd8e64fdc1 [2022-10-13T05:13:01.171Z] ---> 733e047012dc [2022-10-13T05:13:01.171Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-13T05:13:01.171Z] Successfully built 733e047012dc [2022-10-13T05:13:01.171Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:13:01.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T05:13:01.606Z] [2022-10-13T05:13:01.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:13:01.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T05:13:01.936Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-13T05:13:01.936Z] 8998bd30e6a1: Pulling fs layer [2022-10-13T05:13:01.936Z] 04944245beec: Pulling fs layer [2022-10-13T05:13:01.936Z] 699f458cf7ca: Pulling fs layer [2022-10-13T05:13:01.936Z] 765212b225bb: Pulling fs layer [2022-10-13T05:13:01.936Z] f23df028b6ca: Pulling fs layer [2022-10-13T05:13:01.936Z] d65c8cfc05b1: Pulling fs layer [2022-10-13T05:13:01.936Z] 2437ff75d9bd: Pulling fs layer [2022-10-13T05:13:01.936Z] 765212b225bb: Waiting [2022-10-13T05:13:01.936Z] f23df028b6ca: Waiting [2022-10-13T05:13:01.936Z] d65c8cfc05b1: Waiting [2022-10-13T05:13:01.936Z] 2437ff75d9bd: Waiting [2022-10-13T05:13:02.204Z] 04944245beec: Verifying Checksum [2022-10-13T05:13:02.204Z] 04944245beec: Download complete [2022-10-13T05:13:02.204Z] 765212b225bb: Verifying Checksum [2022-10-13T05:13:02.204Z] 765212b225bb: Download complete [2022-10-13T05:13:02.204Z] f23df028b6ca: Verifying Checksum [2022-10-13T05:13:02.204Z] f23df028b6ca: Download complete [2022-10-13T05:13:02.204Z] d65c8cfc05b1: Verifying Checksum [2022-10-13T05:13:02.204Z] d65c8cfc05b1: Download complete [2022-10-13T05:13:02.473Z] 699f458cf7ca: Verifying Checksum [2022-10-13T05:13:02.473Z] 699f458cf7ca: Download complete [2022-10-13T05:13:02.742Z] 8998bd30e6a1: Download complete [2022-10-13T05:13:05.332Z] 2437ff75d9bd: Download complete [2022-10-13T05:13:06.762Z] 8998bd30e6a1: Pull complete [2022-10-13T05:13:07.031Z] 04944245beec: Pull complete [2022-10-13T05:13:08.442Z] 699f458cf7ca: Pull complete [2022-10-13T05:13:08.708Z] 765212b225bb: Pull complete [2022-10-13T05:13:09.293Z] f23df028b6ca: Pull complete [2022-10-13T05:13:09.560Z] d65c8cfc05b1: Pull complete [2022-10-13T05:13:24.556Z] 2437ff75d9bd: Pull complete [2022-10-13T05:13:24.556Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-13T05:13:24.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-13T05:13:24.556Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T05:13:24.745Z] prd-ubuntu20.04-docker-arm64-4c-16g-7806 does not seem to be running inside a container [2022-10-13T05:13:24.900Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-13T05:13:27.643Z] $ docker top dae57943b4f4d4cee6aa1574a3d1c3277d03ce8cfbd8bed3f67b9b4953188c60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:13:28.529Z] ---> job-cost.sh [2022-10-13T05:13:28.529Z] lf-activate-venv: SKIPPING [2022-10-13T05:13:28.529Z] INFO: No Stack... [2022-10-13T05:13:29.122Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-13T05:13:30.098Z] INFO: Archiving Costs [Pipeline] sh [2022-10-13T05:13:30.775Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-10-13T05:13:30.775Z] + cut -d, -f6 [Pipeline] lock [2022-10-13T05:13:30.866Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [2022-10-13T05:13:30.872Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] did not exist. Created. [2022-10-13T05:13:30.872Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-13T05:13:31.522Z] /w/workspace/device-sdk-go/2@tmp/durable-6e2bc020/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-13T05:13:32.172Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-13T05:13:32.194Z] Warning: overwriting stash ‘stack-cost’ [2022-10-13T05:13:32.259Z] Stashed 1 file(s) [Pipeline] } [2022-10-13T05:13:32.267Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1236-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-13T05:13:32.289Z] $ docker stop --time=1 dae57943b4f4d4cee6aa1574a3d1c3277d03ce8cfbd8bed3f67b9b4953188c60 [2022-10-13T05:13:33.805Z] $ docker rm -f dae57943b4f4d4cee6aa1574a3d1c3277d03ce8cfbd8bed3f67b9b4953188c60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-13T05:13:34.227Z] provisioning config files... [2022-10-13T05:13:34.235Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config1184168472483510133tmp [Pipeline] { [Pipeline] sh [2022-10-13T05:13:34.539Z] + set +x [2022-10-13T05:13:34.539Z] + curl -s https://codecov.io/bash [2022-10-13T05:13:34.539Z] + bash -s -- [2022-10-13T05:13:34.539Z] [2022-10-13T05:13:34.539Z] _____ _ [2022-10-13T05:13:34.539Z] / ____| | | [2022-10-13T05:13:34.539Z] | | ___ __| | ___ ___ _____ __ [2022-10-13T05:13:34.539Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-13T05:13:34.539Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-13T05:13:34.539Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-13T05:13:34.539Z] Bash-1.0.6 [2022-10-13T05:13:34.539Z] [2022-10-13T05:13:34.539Z] [2022-10-13T05:13:34.539Z] ==> git version 2.25.1 found [2022-10-13T05:13:34.539Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-13T05:13:34.539Z] Release-Date: 2020-01-08 [2022-10-13T05:13:34.539Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-13T05:13:34.539Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-13T05:13:34.539Z] ==> Jenkins CI detected. [2022-10-13T05:13:34.539Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1236 [2022-10-13T05:13:34.539Z] project root: . [2022-10-13T05:13:34.539Z] --> token set from env [2022-10-13T05:13:34.539Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-13T05:13:34.539Z] ==> Running gcov in . (disable via -X gcov) [2022-10-13T05:13:34.539Z] ==> Python coveragepy not found [2022-10-13T05:13:34.539Z] ==> Searching for coverage reports in: [2022-10-13T05:13:34.539Z] + . [2022-10-13T05:13:34.539Z] -> Found 1 reports [2022-10-13T05:13:34.539Z] ==> Detecting git/mercurial file structure [2022-10-13T05:13:34.539Z] ==> Reading reports [2022-10-13T05:13:34.539Z] + ./coverage.out bytes=101010 [2022-10-13T05:13:34.539Z] ==> Appending adjustments [2022-10-13T05:13:34.539Z] https://docs.codecov.io/docs/fixing-reports [2022-10-13T05:13:34.798Z] + Found adjustments [2022-10-13T05:13:34.798Z] ==> Gzipping contents [2022-10-13T05:13:35.059Z] 16K /tmp/codecov.4fjkLY.gz [2022-10-13T05:13:35.059Z] ==> Uploading reports [2022-10-13T05:13:35.059Z] url: https://codecov.io [2022-10-13T05:13:35.059Z] query: branch=PR-1236&commit=5d89824f5431919bca3f6f61f39e47996172db86&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1236%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1236&job=&cmd_args= [2022-10-13T05:13:35.059Z] -> Pinging Codecov [2022-10-13T05:13:35.059Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1236&commit=5d89824f5431919bca3f6f61f39e47996172db86&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1236%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1236&job=&cmd_args= [2022-10-13T05:13:35.320Z] -> Uploading to [2022-10-13T05:13:35.320Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-13/7E55EF52A471D76F132DFD9A03CDDE97/5d89824f5431919bca3f6f61f39e47996172db86/d153a3cc-78c9-4408-ae23-e501daa59314.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221013T051335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38a27d5dd9f6e90028f2a0af50dfae25eb2581a484b8b12db2375da7528ecec7 [2022-10-13T05:13:35.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-13T05:13:35.320Z] Dload Upload Total Spent Left Speed [2022-10-13T05:13:35.580Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14569 0 0 100 14569 0 65626 --:--:-- --:--:-- --:--:-- 65331 100 14569 0 0 100 14569 0 61733 --:--:-- --:--:-- --:--:-- 61472 [2022-10-13T05:13:35.580Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5d89824f5431919bca3f6f61f39e47996172db86 [Pipeline] } [2022-10-13T05:13:35.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-13T05:13:36.285Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives ] [2022-10-13T05:13:36.285Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives [2022-10-13T05:13:36.285Z] total 16 [2022-10-13T05:13:36.285Z] drwxr-xr-x 3 root root 4096 Oct 13 05:01 . [2022-10-13T05:13:36.285Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 05:01 .. [2022-10-13T05:13:36.285Z] drwxr-xr-x 2 root root 4096 Oct 13 05:01 cost [2022-10-13T05:13:36.285Z] -rw-r--r-- 1 root root 86 Oct 13 05:01 cost.csv [2022-10-13T05:13:36.285Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives [2022-10-13T05:13:36.285Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives [2022-10-13T05:13:36.285Z] total 16 [2022-10-13T05:13:36.285Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 05:01 . [2022-10-13T05:13:36.285Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 05:01 .. [2022-10-13T05:13:36.285Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 05:01 cost [2022-10-13T05:13:36.285Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 13 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:13:36.581Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:13:37.442Z] ---> package-listing.sh [2022-10-13T05:13:37.442Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-13T05:13:37.442Z] ++ facter osfamily [2022-10-13T05:13:37.702Z] + OS_FAMILY=debian [2022-10-13T05:13:37.702Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1236 [2022-10-13T05:13:37.702Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-13T05:13:37.702Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-13T05:13:37.702Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-13T05:13:37.702Z] + PACKAGES=/tmp/packages_start.txt [2022-10-13T05:13:37.702Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1236 ']' [2022-10-13T05:13:37.702Z] + PACKAGES=/tmp/packages_end.txt [2022-10-13T05:13:37.702Z] + case "${OS_FAMILY}" in [2022-10-13T05:13:37.702Z] + dpkg -l [2022-10-13T05:13:37.702Z] + grep '^ii' [2022-10-13T05:13:37.702Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-13T05:13:37.702Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-13T05:13:37.702Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-13T05:13:37.702Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1236 ']' [2022-10-13T05:13:37.702Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives/ [2022-10-13T05:13:37.702Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1236/archives/ [Pipeline] echo [2022-10-13T05:13:37.715Z] 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-1236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-13T05:13:37.993Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-13T05:13:38.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-13T05:13:38.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-13T05:13:38.613Z] prd-ubuntu20.04-docker-8c-8g-7805 does not seem to be running inside a container [2022-10-13T05:13:38.643Z] $ 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-1236/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-1236 -v /w/workspace/gexfoundry_device-sdk-go_PR-1236:/w/workspace/gexfoundry_device-sdk-go_PR-1236:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-13T05:13:38.849Z] $ docker top 8a9cc424cca4c6cff06c21eaa9d46346e3c9a012a8494a03b9383dd6514f5f0c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-13T05:13:39.193Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-13T05:13:39.480Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-13T05:13:39.765Z] + ls /var/log/sa-host [2022-10-13T05:13:39.765Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-13T05:13:39.835Z] provisioning config files... [2022-10-13T05:13:39.843Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1236@tmp/config2811814102862590440tmp [Pipeline] { [Pipeline] echo [2022-10-13T05:13:39.854Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:13:40.137Z] ---> create-netrc.sh [Pipeline] } [2022-10-13T05:13:40.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:13:40.488Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-13T05:13:40.496Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:13:40.779Z] ---> sudo-logs.sh [2022-10-13T05:13:40.779Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-13T05:13:40.801Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:13:41.084Z] ---> job-cost.sh [2022-10-13T05:13:41.084Z] lf-activate-venv: SKIPPING [2022-10-13T05:13:41.084Z] DEBUG: total: 0.2199999988079071 [2022-10-13T05:13:41.084Z] INFO: Retrieving Stack Cost... [2022-10-13T05:13:41.343Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-13T05:13:41.911Z] INFO: Archiving Costs [Pipeline] echo [2022-10-13T05:13:41.924Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-13T05:13:42.206Z] ---> logs-deploy.sh [2022-10-13T05:13:42.206Z] lf-activate-venv: SKIPPING [2022-10-13T05:13:42.206Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1236/2 [2022-10-13T05:13:42.206Z] INFO: archiving workspace using pattern(s): [2022-10-13T05:13:43.143Z] Archives upload complete. [2022-10-13T05:13:43.402Z] INFO: archiving logs to Nexus