Pull request #1183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e937171a0c827ca073333ea34f9a92e2e0d23ca0+cf6bcd748b49a57926d0cd1f149c1f1b3a309328 (c5f67857fa1346bc3be13d49488942c0101e0a6a) 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-ssh11413839266847926567.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2834411951146558371.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh287428683334597381.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8368937481669473668.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11533542456894355772.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10463524529747221046.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15308 in /w/workspace/gexfoundry_device-sdk-go_PR-1183 [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-1183 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cf6bcd748b49a57926d0cd1f149c1f1b3a309328 into PR head commit e937171a0c827ca073333ea34f9a92e2e0d23ca0 Merge succeeded, producing e937171a0c827ca073333ea34f9a92e2e0d23ca0 Checking out Revision e937171a0c827ca073333ea34f9a92e2e0d23ca0 (PR-1183) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1183/head:refs/remotes/origin/PR-1183 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e937171a0c827ca073333ea34f9a92e2e0d23ca0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cf6bcd748b49a57926d0cd1f149c1f1b3a309328 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e937171a0c827ca073333ea34f9a92e2e0d23ca0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-22T04:06:37.747Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-22T04:06:37.897Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-22T04:06:37.976Z] ========================================================= [2022-06-22T04:06:37.976Z] EdgeX Global Pipelines Version Info [2022-06-22T04:06:37.976Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:06:38.766Z] ------------------- [2022-06-22T04:06:38.766Z] stable info: [2022-06-22T04:06:38.766Z] ------------------- [2022-06-22T04:06:38.766Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-22T04:06:38.766Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-22T04:06:38.766Z] Message: update stable to v1.0.234 [2022-06-22T04:06:39.342Z] ------------------- [2022-06-22T04:06:39.342Z] experimental info: [2022-06-22T04:06:39.342Z] ------------------- [2022-06-22T04:06:39.342Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-22T04:06:39.342Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-22T04:06:39.342Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-22T04:06:39.736Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-22T04:06:39.778Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-22T04:06:39.813Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-22T04:06:39.847Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-22T04:06:39.886Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-22T04:06:39.922Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-22T04:06:39.957Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-22T04:06:39.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-22T04:06:40.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-22T04:06:40.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-22T04:06:40.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-22T04:06:40.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-22T04:06:40.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-22T04:06:40.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-22T04:06:40.243Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-22T04:06:40.279Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T04:06:40.315Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T04:06:40.353Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-22T04:06:40.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-22T04:06:40.424Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-22T04:06:40.463Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-22T04:06:40.498Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-22T04:06:40.530Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-22T04:06:40.565Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-22T04:06:40.597Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-22T04:06:40.630Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-22T04:06:40.663Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-22T04:06:40.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1183 [Pipeline] echo [2022-06-22T04:06:40.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1183 [Pipeline] echo [2022-06-22T04:06:40.781Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1183 [Pipeline] echo [2022-06-22T04:06:40.813Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] echo [2022-06-22T04:06:40.849Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e937171 [Pipeline] echo [2022-06-22T04:06:40.885Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T04:06:40.990Z] provisioning config files... [2022-06-22T04:06:41.003Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/config4153143342259200354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:06:41.352Z] ---> docker-login.sh [2022-06-22T04:06:41.352Z] nexus3.edgexfoundry.org:10001 [2022-06-22T04:06:41.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:41.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:41.874Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:41.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:41.874Z] [2022-06-22T04:06:41.874Z] Login Succeeded [2022-06-22T04:06:41.874Z] nexus3.edgexfoundry.org:10002 [2022-06-22T04:06:41.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:41.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:41.874Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:41.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:41.874Z] [2022-06-22T04:06:41.874Z] Login Succeeded [2022-06-22T04:06:41.874Z] nexus3.edgexfoundry.org:10003 [2022-06-22T04:06:42.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:42.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:42.136Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:42.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:42.136Z] [2022-06-22T04:06:42.136Z] Login Succeeded [2022-06-22T04:06:42.136Z] nexus3.edgexfoundry.org:10004 [2022-06-22T04:06:42.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:42.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:42.136Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:42.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:42.136Z] [2022-06-22T04:06:42.136Z] Login Succeeded [2022-06-22T04:06:42.136Z] docker.io [2022-06-22T04:06:42.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:42.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:42.658Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:42.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:42.658Z] [2022-06-22T04:06:42.658Z] Login Succeeded [2022-06-22T04:06:42.658Z] ---> docker-login.sh ends [Pipeline] } [2022-06-22T04:06:42.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-22T04:06:43.293Z] + git rev-list -1 --merges e937171a0c827ca073333ea34f9a92e2e0d23ca0~1..e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] echo [2022-06-22T04:06:43.343Z] -----------> git rev-list -1 --merges e937171a0c827ca073333ea34f9a92e2e0d23ca0~1..e937171a0c827ca073333ea34f9a92e2e0d23ca0 e937171a0c827ca073333ea34f9a92e2e0d23ca0 [false] [Pipeline] sh [2022-06-22T04:06:43.653Z] + git log --format=format:%s -1 e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] echo [2022-06-22T04:06:43.686Z] ========================================================= [2022-06-22T04:06:43.686Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-22T04:06:43.686Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T04:06:44.111Z] + git log --format=format:%s -1 e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] echo [2022-06-22T04:06:44.141Z] [semverPrep] GIT_COMMIT: e937171a0c827ca073333ea34f9a92e2e0d23ca0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-06-22T04:06:44.170Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-22T04:06:44.564Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-22T04:06:44.564Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-22T04:06:44.564Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-22T04:06:44.564Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-22T04:06:44.564Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-22T04:06:44.564Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-22T04:06:44.564Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:06:45.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T04:06:45.041Z] [2022-06-22T04:06:45.041Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:06:45.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T04:06:45.423Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-22T04:06:45.423Z] 42c077c10790: Pulling fs layer [2022-06-22T04:06:45.423Z] f63e77b7563a: Pulling fs layer [2022-06-22T04:06:45.423Z] bd5fdadae976: Pulling fs layer [2022-06-22T04:06:45.423Z] 205491f53016: Pulling fs layer [2022-06-22T04:06:45.423Z] df18705c85c3: Pulling fs layer [2022-06-22T04:06:45.423Z] bdb3f477010e: Pulling fs layer [2022-06-22T04:06:45.423Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-22T04:06:45.423Z] 2c6e9b1d212d: Pulling fs layer [2022-06-22T04:06:45.423Z] bdb8f0575790: Pulling fs layer [2022-06-22T04:06:45.423Z] 386e3cb2ff24: Pulling fs layer [2022-06-22T04:06:45.423Z] 2343380bae48: Pulling fs layer [2022-06-22T04:06:45.423Z] bdb8f0575790: Waiting [2022-06-22T04:06:45.423Z] 2c6e9b1d212d: Waiting [2022-06-22T04:06:45.423Z] 386e3cb2ff24: Waiting [2022-06-22T04:06:45.423Z] c8a8fc8e1c8f: Waiting [2022-06-22T04:06:45.423Z] 2343380bae48: Waiting [2022-06-22T04:06:45.423Z] 205491f53016: Waiting [2022-06-22T04:06:45.423Z] bdb3f477010e: Waiting [2022-06-22T04:06:45.423Z] df18705c85c3: Waiting [2022-06-22T04:06:45.423Z] f63e77b7563a: Verifying Checksum [2022-06-22T04:06:45.423Z] f63e77b7563a: Download complete [2022-06-22T04:06:45.423Z] 205491f53016: Download complete [2022-06-22T04:06:45.685Z] bd5fdadae976: Verifying Checksum [2022-06-22T04:06:45.685Z] bd5fdadae976: Download complete [2022-06-22T04:06:45.685Z] df18705c85c3: Verifying Checksum [2022-06-22T04:06:45.685Z] df18705c85c3: Download complete [2022-06-22T04:06:45.685Z] bdb3f477010e: Verifying Checksum [2022-06-22T04:06:45.685Z] bdb3f477010e: Download complete [2022-06-22T04:06:45.685Z] 2c6e9b1d212d: Download complete [2022-06-22T04:06:45.685Z] bdb8f0575790: Download complete [2022-06-22T04:06:45.685Z] 386e3cb2ff24: Verifying Checksum [2022-06-22T04:06:45.685Z] 386e3cb2ff24: Download complete [2022-06-22T04:06:45.685Z] 2343380bae48: Verifying Checksum [2022-06-22T04:06:45.685Z] 2343380bae48: Download complete [2022-06-22T04:06:45.685Z] 42c077c10790: Verifying Checksum [2022-06-22T04:06:45.685Z] 42c077c10790: Download complete [2022-06-22T04:06:45.948Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-22T04:06:45.948Z] c8a8fc8e1c8f: Download complete [2022-06-22T04:06:46.892Z] 42c077c10790: Pull complete [2022-06-22T04:06:47.156Z] f63e77b7563a: Pull complete [2022-06-22T04:06:47.726Z] bd5fdadae976: Pull complete [2022-06-22T04:06:47.726Z] 205491f53016: Pull complete [2022-06-22T04:06:47.986Z] df18705c85c3: Pull complete [2022-06-22T04:06:47.986Z] bdb3f477010e: Pull complete [2022-06-22T04:06:49.903Z] c8a8fc8e1c8f: Pull complete [2022-06-22T04:06:49.903Z] 2c6e9b1d212d: Pull complete [2022-06-22T04:06:50.165Z] bdb8f0575790: Pull complete [2022-06-22T04:06:50.165Z] 386e3cb2ff24: Pull complete [2022-06-22T04:06:50.165Z] 2343380bae48: Pull complete [2022-06-22T04:06:50.165Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-22T04:06:50.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-22T04:06:50.165Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:06:50.401Z] prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container [2022-06-22T04:06:50.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-22T04:06:51.994Z] $ docker top 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 -eo pid,comm [2022-06-22T04:06:52.056Z] 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-06-22T04:06:52.056Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-22T04:06:52.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-22T04:06:52.174Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-22T04:06:52.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-22T04:06:52.307Z] $ docker exec 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 ssh-agent [2022-06-22T04:06:52.424Z] SSH_AUTH_SOCK=/tmp/ssh-kzOxFGS6d9Ny/agent.32 [2022-06-22T04:06:52.424Z] SSH_AGENT_PID=39 [2022-06-22T04:06:52.430Z] Running ssh-add (command line suppressed) [2022-06-22T04:06:52.543Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/private_key_8220043734678463793.key (/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/private_key_8220043734678463793.key) [2022-06-22T04:06:52.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-22T04:06:52.878Z] + git tag --points-at HEAD [Pipeline] } [2022-06-22T04:06:52.909Z] $ docker exec --env ******** --env ******** 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 ssh-agent -k [2022-06-22T04:06:53.017Z] unset SSH_AUTH_SOCK; [2022-06-22T04:06:53.017Z] unset SSH_AGENT_PID; [2022-06-22T04:06:53.018Z] echo Agent pid 39 killed; [2022-06-22T04:06:53.025Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-22T04:06:53.105Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-22T04:06:53.105Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-22T04:06:53.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-22T04:06:53.243Z] $ docker exec 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 ssh-agent [2022-06-22T04:06:53.359Z] SSH_AUTH_SOCK=/tmp/ssh-4cVVXPafnUlb/agent.73 [2022-06-22T04:06:53.359Z] SSH_AGENT_PID=79 [2022-06-22T04:06:53.365Z] Running ssh-add (command line suppressed) [2022-06-22T04:06:53.493Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/private_key_3930744012538291920.key (/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/private_key_3930744012538291920.key) [2022-06-22T04:06:53.507Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-22T04:06:53.837Z] + git semver init [2022-06-22T04:06:54.098Z] 2022-06-22 04:06:54,023 [run_init] DEBUG init version:0.0.0 force:False [2022-06-22T04:06:54.098Z] 2022-06-22 04:06:54,024 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver [2022-06-22T04:06:54.098Z] 2022-06-22 04:06:54,024 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver [2022-06-22T04:06:54.098Z] 2022-06-22 04:06:54,024 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1183, universal_newlines=False, shell=None, istream=None) [2022-06-22T04:06:55.041Z] 2022-06-22 04:06:54,800 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183/.git/info/exclude [2022-06-22T04:06:55.041Z] 2022-06-22 04:06:54,801 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver/PR-1183 with force:False [2022-06-22T04:06:55.041Z] 2022-06-22 04:06:54,801 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver/PR-1183 [2022-06-22T04:06:55.041Z] 2022-06-22 04:06:54,805 [execute] INFO git cat-file --batch-check [2022-06-22T04:06:55.041Z] 2022-06-22 04:06:54,806 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver, universal_newlines=False, shell=None, istream=) [2022-06-22T04:06:55.041Z] 2022-06-22 04:06:54,813 [execute] INFO git cat-file --batch [2022-06-22T04:06:55.041Z] 2022-06-22 04:06:54,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver, universal_newlines=False, shell=None, istream=) [2022-06-22T04:06:55.041Z] 2022-06-22 04:06:54,818 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1183/.semver/PR-1183 [2022-06-22T04:06:55.041Z] 0.0.0 [Pipeline] } [2022-06-22T04:06:55.074Z] $ docker exec --env ******** --env ******** 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 ssh-agent -k [2022-06-22T04:06:55.188Z] unset SSH_AUTH_SOCK; [2022-06-22T04:06:55.189Z] unset SSH_AGENT_PID; [2022-06-22T04:06:55.189Z] echo Agent pid 79 killed; [2022-06-22T04:06:55.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-22T04:06:55.625Z] + git semver [Pipeline] } [2022-06-22T04:06:55.922Z] $ docker stop --time=1 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 [2022-06-22T04:06:57.254Z] $ docker rm -f 9b2976722230aaf01ce73f1b5ab1a51de5bed8523daba52eec9b396040fcee52 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T04:06:57.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-22T04:06:57.961Z] Stashed 1 file(s) [Pipeline] echo [2022-06-22T04:06:57.977Z] [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-06-22T04:06:58.479Z] provisioning config files... [2022-06-22T04:06:58.491Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/config681989713182088796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:06:58.843Z] ---> docker-login.sh [2022-06-22T04:06:58.844Z] nexus3.edgexfoundry.org:10001 [2022-06-22T04:06:58.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:58.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:58.844Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:58.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:58.844Z] [2022-06-22T04:06:58.844Z] Login Succeeded [2022-06-22T04:06:58.844Z] nexus3.edgexfoundry.org:10002 [2022-06-22T04:06:58.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:59.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:59.106Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:59.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:59.106Z] [2022-06-22T04:06:59.106Z] Login Succeeded [2022-06-22T04:06:59.106Z] nexus3.edgexfoundry.org:10003 [2022-06-22T04:06:59.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:59.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:59.106Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:59.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:59.106Z] [2022-06-22T04:06:59.106Z] Login Succeeded [2022-06-22T04:06:59.106Z] nexus3.edgexfoundry.org:10004 [2022-06-22T04:06:59.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:59.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:59.368Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:59.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:59.368Z] [2022-06-22T04:06:59.368Z] Login Succeeded [2022-06-22T04:06:59.368Z] docker.io [2022-06-22T04:06:59.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:06:59.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:06:59.630Z] Configure a credential helper to remove this warning. See [2022-06-22T04:06:59.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:06:59.630Z] [2022-06-22T04:06:59.630Z] Login Succeeded [2022-06-22T04:06:59.630Z] ---> docker-login.sh ends [Pipeline] } [2022-06-22T04:06:59.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-22T04:06:59.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T04:06:59.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T04:06:59.896Z] ========================================================= [2022-06-22T04:06:59.896Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-22T04:06:59.896Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:07:00.347Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-22T04:07:00.347Z] Sending build context to Docker daemon 9.674MB [2022-06-22T04:07:00.347Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T04:07:00.347Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-22T04:07:00.610Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-22T04:07:00.610Z] 59bf1c3509f3: Pulling fs layer [2022-06-22T04:07:00.610Z] 666ba61612fd: Pulling fs layer [2022-06-22T04:07:00.610Z] 8ed8ca486205: Pulling fs layer [2022-06-22T04:07:00.610Z] cc1cd167ecdc: Pulling fs layer [2022-06-22T04:07:00.610Z] c516ae0d96e1: Pulling fs layer [2022-06-22T04:07:00.610Z] 684cea983483: Pulling fs layer [2022-06-22T04:07:00.610Z] dd3240ac7de5: Pulling fs layer [2022-06-22T04:07:00.610Z] b1e948a4e11c: Pulling fs layer [2022-06-22T04:07:00.610Z] a8fd76ee1af6: Pulling fs layer [2022-06-22T04:07:00.610Z] cc1cd167ecdc: Waiting [2022-06-22T04:07:00.610Z] 684cea983483: Waiting [2022-06-22T04:07:00.610Z] dd3240ac7de5: Waiting [2022-06-22T04:07:00.610Z] c516ae0d96e1: Waiting [2022-06-22T04:07:00.610Z] b1e948a4e11c: Waiting [2022-06-22T04:07:00.610Z] a8fd76ee1af6: Waiting [2022-06-22T04:07:00.610Z] 646ad004c059: Pulling fs layer [2022-06-22T04:07:00.610Z] 646ad004c059: Waiting [2022-06-22T04:07:00.610Z] 8ed8ca486205: Verifying Checksum [2022-06-22T04:07:00.610Z] 8ed8ca486205: Download complete [2022-06-22T04:07:00.610Z] 666ba61612fd: Download complete [2022-06-22T04:07:00.610Z] c516ae0d96e1: Download complete [2022-06-22T04:07:00.610Z] 59bf1c3509f3: Verifying Checksum [2022-06-22T04:07:00.610Z] 59bf1c3509f3: Download complete [2022-06-22T04:07:00.610Z] 684cea983483: Verifying Checksum [2022-06-22T04:07:00.610Z] 684cea983483: Download complete [2022-06-22T04:07:00.610Z] dd3240ac7de5: Verifying Checksum [2022-06-22T04:07:00.610Z] dd3240ac7de5: Download complete [2022-06-22T04:07:00.610Z] b1e948a4e11c: Verifying Checksum [2022-06-22T04:07:00.610Z] b1e948a4e11c: Download complete [2022-06-22T04:07:00.875Z] 59bf1c3509f3: Pull complete [2022-06-22T04:07:00.875Z] 666ba61612fd: Pull complete [2022-06-22T04:07:00.875Z] 8ed8ca486205: Pull complete [2022-06-22T04:07:01.136Z] 646ad004c059: Verifying Checksum [2022-06-22T04:07:01.136Z] 646ad004c059: Download complete [2022-06-22T04:07:01.396Z] a8fd76ee1af6: Verifying Checksum [2022-06-22T04:07:01.396Z] a8fd76ee1af6: Download complete [2022-06-22T04:07:01.396Z] cc1cd167ecdc: Verifying Checksum [2022-06-22T04:07:01.396Z] cc1cd167ecdc: Download complete [2022-06-22T04:07:04.691Z] cc1cd167ecdc: Pull complete [2022-06-22T04:07:04.691Z] c516ae0d96e1: Pull complete [2022-06-22T04:07:04.950Z] 684cea983483: Pull complete [2022-06-22T04:07:04.950Z] dd3240ac7de5: Pull complete [2022-06-22T04:07:04.950Z] b1e948a4e11c: Pull complete [2022-06-22T04:07:07.500Z] a8fd76ee1af6: Pull complete [2022-06-22T04:07:07.762Z] 646ad004c059: Pull complete [2022-06-22T04:07:07.762Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-22T04:07:07.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-22T04:07:07.762Z] ---> 8f69c11f6b0c [2022-06-22T04:07:07.762Z] Step 3/11 : ARG MAKE=make build [2022-06-22T04:07:10.309Z] ---> Running in 6fdd40852c5f [2022-06-22T04:07:10.309Z] Removing intermediate container 6fdd40852c5f [2022-06-22T04:07:10.309Z] ---> 989575a8b43d [2022-06-22T04:07:10.309Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-22T04:07:10.309Z] ---> Running in 491d5e1d7a58 [2022-06-22T04:07:10.309Z] Removing intermediate container 491d5e1d7a58 [2022-06-22T04:07:10.309Z] ---> aa1905befde0 [2022-06-22T04:07:10.309Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-22T04:07:10.309Z] ---> Running in 153b891ec25b [2022-06-22T04:07:10.309Z] Removing intermediate container 153b891ec25b [2022-06-22T04:07:10.309Z] ---> 2eeb66066b66 [2022-06-22T04:07:10.309Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T04:07:10.309Z] ---> Running in 3cbe925fafde [2022-06-22T04:07:10.881Z] Removing intermediate container 3cbe925fafde [2022-06-22T04:07:10.881Z] ---> 0bc907241eed [2022-06-22T04:07:10.881Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-22T04:07:10.881Z] ---> Running in de4c36e77e22 [2022-06-22T04:07:11.143Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-22T04:07:12.087Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-22T04:07:12.348Z] OK: 221 MiB in 52 packages [2022-06-22T04:07:12.917Z] Removing intermediate container de4c36e77e22 [2022-06-22T04:07:12.917Z] ---> 1500d178f32b [2022-06-22T04:07:12.917Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-22T04:07:12.917Z] ---> 8351372a699f [2022-06-22T04:07:12.917Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T04:07:12.917Z] ---> Running in f93c614bcf8f [2022-06-22T04:07:13.324Z] Still waiting to schedule task [2022-06-22T04:07:13.325Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-22T04:07:31.136Z] Removing intermediate container f93c614bcf8f [2022-06-22T04:07:31.136Z] ---> 88b290b5317c [2022-06-22T04:07:31.136Z] Step 10/11 : COPY . . [2022-06-22T04:07:31.136Z] ---> 9d8f86c1dab3 [2022-06-22T04:07:31.136Z] Step 11/11 : RUN ${MAKE} [2022-06-22T04:07:31.136Z] ---> Running in 7e1be73a6163 [2022-06-22T04:07:31.136Z] noop [2022-06-22T04:07:31.136Z] Removing intermediate container 7e1be73a6163 [2022-06-22T04:07:31.136Z] ---> 9cb297fc1dae [2022-06-22T04:07:31.136Z] Successfully built 9cb297fc1dae [2022-06-22T04:07:31.136Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:07:31.575Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-22T04:07:31.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:07:31.731Z] prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container [2022-06-22T04:07:31.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@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 ******** ci-base-image-x86_64 cat [2022-06-22T04:07:32.166Z] $ docker top 9a536791fe4c6eb2162aef5daa5b783409e3771b6d742efe9b9a9cfcd78b2edd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T04:07:32.641Z] + go version [2022-06-22T04:07:32.641Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-22T04:07:32.669Z] $ docker stop --time=1 9a536791fe4c6eb2162aef5daa5b783409e3771b6d742efe9b9a9cfcd78b2edd [2022-06-22T04:07:33.983Z] $ docker rm -f 9a536791fe4c6eb2162aef5daa5b783409e3771b6d742efe9b9a9cfcd78b2edd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:07:34.676Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-22T04:07:34.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:07:34.820Z] prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container [2022-06-22T04:07:34.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@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 ******** ci-base-image-x86_64 cat [2022-06-22T04:07:35.216Z] $ docker top b1d94b06090efa5b67a1ba726b965dca94019e8bac99568d5ccc78806732c9f7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-22T04:07:35.655Z] + make test [2022-06-22T04:07:35.656Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-22T04:07:40.936Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-22T04:07:53.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-22T04:07:53.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-22T04:07:53.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-22T04:07:53.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.093s coverage: 23.7% of statements [2022-06-22T04:07:53.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-22T04:07:53.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-06-22T04:07:53.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements [2022-06-22T04:07:53.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements [2022-06-22T04:07:53.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.070s coverage: 60.0% of statements [2022-06-22T04:07:53.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-22T04:07:53.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-22T04:07:53.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 34.8% of statements [2022-06-22T04:07:53.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-22T04:07:53.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 85.4% of statements [2022-06-22T04:07:53.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-22T04:07:53.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-22T04:07:53.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements [2022-06-22T04:07:53.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.769s coverage: 89.2% of statements [2022-06-22T04:07:53.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-22T04:07:53.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-06-22T04:07:53.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-22T04:08:08.307Z] GO111MODULE=on go vet ./... [2022-06-22T04:08:10.213Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T04:08:10.475Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-22T04:08:10.475Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-22T04:08:11.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-22T04:08:11.110Z] $ docker stop --time=1 b1d94b06090efa5b67a1ba726b965dca94019e8bac99568d5ccc78806732c9f7 [2022-06-22T04:08:13.364Z] $ docker rm -f b1d94b06090efa5b67a1ba726b965dca94019e8bac99568d5ccc78806732c9f7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T04:08:13.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-22T04:08:13.986Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-22T04:08:14.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-22T04:08:14.959Z] + ls -al . [2022-06-22T04:08:14.959Z] total 304 [2022-06-22T04:08:14.959Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 04:08 . [2022-06-22T04:08:14.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:06 .. [2022-06-22T04:08:14.959Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 22 04:06 .dockerignore [2022-06-22T04:08:14.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 04:06 .git [2022-06-22T04:08:14.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:06 .github [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 22 04:06 .gitignore [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 22 04:06 .golangci.yml [2022-06-22T04:08:14.960Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 04:06 .semver [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 22 04:06 CHANGELOG.md [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 04:06 GOVERNANCE.md [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 22 04:06 Jenkinsfile [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 22 04:06 LICENSE [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 22 04:06 Makefile [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 22 04:06 OWNERS.md [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 22 04:06 README.md [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 04:06 VERSION [2022-06-22T04:08:14.960Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:06 bin [2022-06-22T04:08:14.960Z] -rw-r--r-- 1 jenkins jenkins 131190 Jun 22 04:07 coverage.out [2022-06-22T04:08:14.960Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 04:06 example [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 22 04:06 go.mod [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 35641 Jun 22 04:06 go.sum [2022-06-22T04:08:14.960Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 22 04:06 internal [2022-06-22T04:08:14.960Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 04:06 openapi [2022-06-22T04:08:14.960Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 04:06 pkg [2022-06-22T04:08:14.960Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:06 snap [2022-06-22T04:08:14.960Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 22 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:08:15.355Z] + 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=e937171a0c827ca073333ea34f9a92e2e0d23ca0 --label arch=amd64 --label version=0.0.0 . [2022-06-22T04:08:15.356Z] Sending build context to Docker daemon 9.806MB [2022-06-22T04:08:15.356Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T04:08:15.356Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-22T04:08:15.356Z] ---> 9cb297fc1dae [2022-06-22T04:08:15.356Z] Step 3/25 : ARG MAKE=make build [2022-06-22T04:08:15.615Z] ---> Running in c8bc8d8ac531 [2022-06-22T04:08:15.615Z] Removing intermediate container c8bc8d8ac531 [2022-06-22T04:08:15.615Z] ---> 6b899623dde2 [2022-06-22T04:08:15.615Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-22T04:08:15.615Z] ---> Running in 398b71b47216 [2022-06-22T04:08:15.615Z] Removing intermediate container 398b71b47216 [2022-06-22T04:08:15.615Z] ---> 1e0f0928bd4b [2022-06-22T04:08:15.615Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-22T04:08:15.877Z] ---> Running in a2351d6c7d49 [2022-06-22T04:08:15.877Z] Removing intermediate container a2351d6c7d49 [2022-06-22T04:08:15.877Z] ---> e4fc5e4e64ff [2022-06-22T04:08:15.877Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T04:08:15.877Z] ---> Running in 9d5a5eadb01d [2022-06-22T04:08:16.445Z] Removing intermediate container 9d5a5eadb01d [2022-06-22T04:08:16.445Z] ---> a86683d6da74 [2022-06-22T04:08:16.445Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-22T04:08:16.445Z] ---> Running in e72fb879a882 [2022-06-22T04:08:16.704Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-22T04:08:17.650Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-22T04:08:17.925Z] OK: 221 MiB in 52 packages [2022-06-22T04:08:18.186Z] Removing intermediate container e72fb879a882 [2022-06-22T04:08:18.186Z] ---> 0697514b82d8 [2022-06-22T04:08:18.186Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-22T04:08:18.186Z] ---> 206a33933ad2 [2022-06-22T04:08:18.186Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T04:08:18.447Z] ---> Running in a84f8a1fd6a2 [2022-06-22T04:08:19.016Z] Removing intermediate container a84f8a1fd6a2 [2022-06-22T04:08:19.016Z] ---> 693dc4266c35 [2022-06-22T04:08:19.016Z] Step 10/25 : COPY . . [2022-06-22T04:08:19.276Z] ---> 74fb8194f081 [2022-06-22T04:08:19.276Z] Step 11/25 : RUN ${MAKE} [2022-06-22T04:08:19.276Z] ---> Running in a3d586bcaab1 [2022-06-22T04:08:19.535Z] 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-06-22T04:08:37.640Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-22T04:08:38.581Z] Removing intermediate container a3d586bcaab1 [2022-06-22T04:08:38.581Z] ---> b4cc4d1ca883 [2022-06-22T04:08:38.581Z] Step 12/25 : FROM alpine:3.14 [2022-06-22T04:08:38.842Z] 3.14: Pulling from library/alpine [2022-06-22T04:08:39.102Z] 8663204ce13b: Pulling fs layer [2022-06-22T04:08:39.102Z] 8663204ce13b: Verifying Checksum [2022-06-22T04:08:39.102Z] 8663204ce13b: Download complete [2022-06-22T04:08:39.363Z] 8663204ce13b: Pull complete [2022-06-22T04:08:39.363Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-22T04:08:39.363Z] Status: Downloaded newer image for alpine:3.14 [2022-06-22T04:08:39.363Z] ---> e04c818066af [2022-06-22T04:08:39.363Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-22T04:08:39.623Z] ---> Running in 7c42c2865d54 [2022-06-22T04:08:39.623Z] Removing intermediate container 7c42c2865d54 [2022-06-22T04:08:39.623Z] ---> c979cf41a40d [2022-06-22T04:08:39.623Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T04:08:39.623Z] ---> Running in 680d5b07da48 [2022-06-22T04:08:40.195Z] Removing intermediate container 680d5b07da48 [2022-06-22T04:08:40.195Z] ---> 6a2301533d5d [2022-06-22T04:08:40.195Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-22T04:08:40.195Z] ---> Running in c70a1469fc4d [2022-06-22T04:08:40.455Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-22T04:08:41.395Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-22T04:08:41.654Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-22T04:08:41.654Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-22T04:08:41.913Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-22T04:08:41.913Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-22T04:08:42.172Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-22T04:08:42.172Z] Executing busybox-1.33.1-r7.trigger [2022-06-22T04:08:42.172Z] OK: 8 MiB in 19 packages [2022-06-22T04:08:42.434Z] Removing intermediate container c70a1469fc4d [2022-06-22T04:08:42.434Z] ---> 89663320cdab [2022-06-22T04:08:42.434Z] Step 16/25 : WORKDIR / [2022-06-22T04:08:42.434Z] ---> Running in 0a6bec0f8ae8 [2022-06-22T04:08:42.693Z] Removing intermediate container 0a6bec0f8ae8 [2022-06-22T04:08:42.693Z] ---> 55f83634fc5b [2022-06-22T04:08:42.693Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-22T04:08:42.693Z] ---> 9b3d9fc97eff [2022-06-22T04:08:42.693Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-22T04:08:43.262Z] ---> f469484930c9 [2022-06-22T04:08:43.262Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-22T04:08:43.523Z] ---> 4e1c68e009f4 [2022-06-22T04:08:43.523Z] Step 20/25 : EXPOSE 59999 [2022-06-22T04:08:43.523Z] ---> Running in d44b554d5c7b [2022-06-22T04:08:43.787Z] Removing intermediate container d44b554d5c7b [2022-06-22T04:08:43.787Z] ---> fc59a766d1f1 [2022-06-22T04:08:43.788Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-22T04:08:43.788Z] ---> Running in 4c78a052779e [2022-06-22T04:08:43.788Z] Removing intermediate container 4c78a052779e [2022-06-22T04:08:43.788Z] ---> e19b65a8ce12 [2022-06-22T04:08:43.788Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-22T04:08:43.788Z] ---> Running in 725a6310ec41 [2022-06-22T04:08:43.788Z] Removing intermediate container 725a6310ec41 [2022-06-22T04:08:43.788Z] ---> 356fb13efc82 [2022-06-22T04:08:43.788Z] Step 23/25 : LABEL arch=amd64 [2022-06-22T04:08:44.054Z] ---> Running in 949ae31e3f6c [2022-06-22T04:08:44.054Z] Removing intermediate container 949ae31e3f6c [2022-06-22T04:08:44.054Z] ---> 47dd5e29de2e [2022-06-22T04:08:44.054Z] Step 24/25 : LABEL git_sha=e937171a0c827ca073333ea34f9a92e2e0d23ca0 [2022-06-22T04:08:44.054Z] ---> Running in 4f4f3b01f246 [2022-06-22T04:08:44.054Z] Removing intermediate container 4f4f3b01f246 [2022-06-22T04:08:44.054Z] ---> 15bc2dfdd428 [2022-06-22T04:08:44.054Z] Step 25/25 : LABEL version=0.0.0 [2022-06-22T04:08:44.315Z] ---> Running in bbc8b019a086 [2022-06-22T04:08:44.315Z] Removing intermediate container bbc8b019a086 [2022-06-22T04:08:44.315Z] ---> 5d276a8a9e21 [2022-06-22T04:08:44.315Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-22T04:08:44.315Z] Successfully built 5d276a8a9e21 [2022-06-22T04:08:44.315Z] 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-06-22T04:08:45.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T04:08:45.170Z] [2022-06-22T04:08:45.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:08:45.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T04:08:45.636Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-22T04:08:45.636Z] 5eb5b503b376: Pulling fs layer [2022-06-22T04:08:45.636Z] 5c69ac0246d0: Pulling fs layer [2022-06-22T04:08:45.636Z] ec43610c2a17: Pulling fs layer [2022-06-22T04:08:45.636Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-22T04:08:45.636Z] 33b1e0a273af: Pulling fs layer [2022-06-22T04:08:45.636Z] 5d3b04190fa2: Pulling fs layer [2022-06-22T04:08:45.636Z] 2f39f015ded8: Pulling fs layer [2022-06-22T04:08:45.636Z] 33b1e0a273af: Waiting [2022-06-22T04:08:45.636Z] 5d3b04190fa2: Waiting [2022-06-22T04:08:45.636Z] 2f39f015ded8: Waiting [2022-06-22T04:08:45.636Z] 3a2ae6a8a46f: Waiting [2022-06-22T04:08:45.636Z] 5c69ac0246d0: Download complete [2022-06-22T04:08:45.636Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-22T04:08:45.636Z] 3a2ae6a8a46f: Download complete [2022-06-22T04:08:45.636Z] ec43610c2a17: Verifying Checksum [2022-06-22T04:08:45.636Z] ec43610c2a17: Download complete [2022-06-22T04:08:45.899Z] 33b1e0a273af: Verifying Checksum [2022-06-22T04:08:45.899Z] 33b1e0a273af: Download complete [2022-06-22T04:08:45.899Z] 5d3b04190fa2: Download complete [2022-06-22T04:08:45.899Z] 5eb5b503b376: Verifying Checksum [2022-06-22T04:08:45.899Z] 5eb5b503b376: Download complete [2022-06-22T04:08:46.515Z] 2f39f015ded8: Verifying Checksum [2022-06-22T04:08:46.515Z] 2f39f015ded8: Download complete [2022-06-22T04:08:47.093Z] 5eb5b503b376: Pull complete [2022-06-22T04:08:47.359Z] 5c69ac0246d0: Pull complete [2022-06-22T04:08:47.618Z] ec43610c2a17: Pull complete [2022-06-22T04:08:47.618Z] 3a2ae6a8a46f: Pull complete [2022-06-22T04:08:47.878Z] 33b1e0a273af: Pull complete [2022-06-22T04:08:48.138Z] 5d3b04190fa2: Pull complete [2022-06-22T04:08:51.281Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15310 in /w/workspace/gexfoundry_device-sdk-go_PR-1183 [Pipeline] { [Pipeline] ws [2022-06-22T04:08:51.324Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-06-22T04:08:51.445Z] The recommended git tool is: git [2022-06-22T04:08:52.329Z] 2f39f015ded8: Pull complete [2022-06-22T04:08:52.330Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-22T04:08:52.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T04:08:52.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:08:52.560Z] prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container [2022-06-22T04:08:52.594Z] $ 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-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-22T04:08:54.949Z] $ docker top 38cf24495ad40e61460e7a8a8c484a8d936d485b175b17f37ee94d4ea9e5c146 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:08:55.409Z] ---> job-cost.sh [2022-06-22T04:08:55.409Z] lf-activate-venv: SKIPPING [2022-06-22T04:08:55.409Z] INFO: No Stack... [2022-06-22T04:08:55.980Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-22T04:08:56.243Z] INFO: Archiving Costs [Pipeline] sh [2022-06-22T04:08:56.556Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives/cost.csv [2022-06-22T04:08:56.556Z] + cut -d, -f6 [Pipeline] lock [2022-06-22T04:08:56.594Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [2022-06-22T04:08:56.598Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] did not exist. Created. [2022-06-22T04:08:56.598Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [Pipeline] { [Pipeline] unstash [2022-06-22T04:08:56.667Z] using credential edgex-jenkins-ssh [2022-06-22T04:08:56.682Z] Cloning the remote Git repository [Pipeline] sh [2022-06-22T04:08:56.735Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-22T04:08:56.804Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-06-22T04:08:56.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-22T04:08:56.893Z] > git --version # timeout=10 [2022-06-22T04:08:56.911Z] > git --version # 'git version 2.25.1' [2022-06-22T04:08:56.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T04:08:56.975Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-22T04:08:57.027Z] Stashed 1 file(s) [Pipeline] } [2022-06-22T04:08:57.052Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-22T04:08:57.136Z] $ docker stop --time=1 38cf24495ad40e61460e7a8a8c484a8d936d485b175b17f37ee94d4ea9e5c146 [2022-06-22T04:08:56.993Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-22T04:08:58.303Z] $ docker rm -f 38cf24495ad40e61460e7a8a8c484a8d936d485b175b17f37ee94d4ea9e5c146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-22T04:08:59.129Z] Merging remotes/origin/main commit cf6bcd748b49a57926d0cd1f149c1f1b3a309328 into PR head commit e937171a0c827ca073333ea34f9a92e2e0d23ca0 [2022-06-22T04:08:59.368Z] Merge succeeded, producing e937171a0c827ca073333ea34f9a92e2e0d23ca0 [2022-06-22T04:08:59.369Z] Checking out Revision e937171a0c827ca073333ea34f9a92e2e0d23ca0 (PR-1183) [2022-06-22T04:08:58.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-22T04:08:58.304Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-22T04:08:58.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-22T04:08:58.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-22T04:08:58.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T04:08:58.424Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1183/head:refs/remotes/origin/PR-1183 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-22T04:08:59.152Z] > git config core.sparsecheckout # timeout=10 [2022-06-22T04:08:59.168Z] > git checkout -f e937171a0c827ca073333ea34f9a92e2e0d23ca0 # timeout=10 [2022-06-22T04:08:59.280Z] > git remote # timeout=10 [2022-06-22T04:08:59.297Z] > git config --get remote.origin.url # timeout=10 [2022-06-22T04:08:59.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-22T04:08:59.328Z] > git merge cf6bcd748b49a57926d0cd1f149c1f1b3a309328 # timeout=10 [2022-06-22T04:08:59.355Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-22T04:08:59.377Z] > git config core.sparsecheckout # timeout=10 [2022-06-22T04:08:59.399Z] > git checkout -f e937171a0c827ca073333ea34f9a92e2e0d23ca0 # timeout=10 [2022-06-22T04:09:03.665Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-06-22T04:09:03.729Z] > git --version # timeout=10 [2022-06-22T04:09:03.739Z] > git --version # 'git version 2.25.1' [2022-06-22T04:09:03.755Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T04:09:04.759Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-22T04:09:04.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-22T04:09:04.759Z] Dload Upload Total Spent Left Speed [2022-06-22T04:09:04.759Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 96480 0 --:--:-- --:--:-- --:--:-- 96480 [Pipeline] sh [2022-06-22T04:09:05.792Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-22T04:09:06.227Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-22T04:09:06.227Z] + sudo tee /etc/docker/daemon.new [2022-06-22T04:09:06.227Z] { [2022-06-22T04:09:06.227Z] "registry-mirrors": [ [2022-06-22T04:09:06.227Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-22T04:09:06.227Z] ], [2022-06-22T04:09:06.227Z] "bip": "10.250.0.254/24", [2022-06-22T04:09:06.227Z] "hosts": [ [2022-06-22T04:09:06.227Z] "tcp://0.0.0.0:5555", [2022-06-22T04:09:06.227Z] "unix:///var/run/docker.sock" [2022-06-22T04:09:06.227Z] ], [2022-06-22T04:09:06.227Z] "mtu": 1458, [2022-06-22T04:09:06.227Z] "selinux-enabled": true, [2022-06-22T04:09:06.227Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-22T04:09:06.227Z] } [Pipeline] sh [2022-06-22T04:09:06.587Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-22T04:09:06.947Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T04:09:25.370Z] provisioning config files... [2022-06-22T04:09:25.400Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7140054261084451439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:09:25.808Z] ---> docker-login.sh [2022-06-22T04:09:25.808Z] nexus3.edgexfoundry.org:10001 [2022-06-22T04:09:26.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:09:26.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:09:26.681Z] Configure a credential helper to remove this warning. See [2022-06-22T04:09:26.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:09:26.681Z] [2022-06-22T04:09:26.681Z] Login Succeeded [2022-06-22T04:09:26.681Z] nexus3.edgexfoundry.org:10002 [2022-06-22T04:09:27.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:09:27.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:09:27.280Z] Configure a credential helper to remove this warning. See [2022-06-22T04:09:27.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:09:27.280Z] [2022-06-22T04:09:27.280Z] Login Succeeded [2022-06-22T04:09:27.280Z] nexus3.edgexfoundry.org:10003 [2022-06-22T04:09:27.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:09:27.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:09:27.833Z] Configure a credential helper to remove this warning. See [2022-06-22T04:09:27.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:09:27.833Z] [2022-06-22T04:09:27.833Z] Login Succeeded [2022-06-22T04:09:27.833Z] nexus3.edgexfoundry.org:10004 [2022-06-22T04:09:28.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:09:28.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:09:28.108Z] Configure a credential helper to remove this warning. See [2022-06-22T04:09:28.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:09:28.108Z] [2022-06-22T04:09:28.108Z] Login Succeeded [2022-06-22T04:09:28.108Z] docker.io [2022-06-22T04:09:28.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-22T04:09:28.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-22T04:09:28.987Z] Configure a credential helper to remove this warning. See [2022-06-22T04:09:28.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-22T04:09:28.987Z] [2022-06-22T04:09:28.987Z] Login Succeeded [2022-06-22T04:09:28.987Z] ---> docker-login.sh ends [Pipeline] } [2022-06-22T04:09:29.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-22T04:09:29.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T04:09:29.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-22T04:09:29.470Z] ========================================================= [2022-06-22T04:09:29.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-22T04:09:29.470Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:09:29.965Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-22T04:09:30.241Z] Sending build context to Docker daemon 5.183MB [2022-06-22T04:09:30.530Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T04:09:30.530Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-22T04:09:30.530Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-22T04:09:30.530Z] 9b3977197b4f: Pulling fs layer [2022-06-22T04:09:30.530Z] 1a89e8eeedd5: Pulling fs layer [2022-06-22T04:09:30.530Z] 94645a83ff95: Pulling fs layer [2022-06-22T04:09:30.530Z] e6fb740bc735: Pulling fs layer [2022-06-22T04:09:30.530Z] 3a77bd46dcc9: Pulling fs layer [2022-06-22T04:09:30.530Z] 355e64cbe906: Pulling fs layer [2022-06-22T04:09:30.530Z] 63ab81a10011: Pulling fs layer [2022-06-22T04:09:30.530Z] 555d1d1c4555: Pulling fs layer [2022-06-22T04:09:30.530Z] 7d9057610161: Pulling fs layer [2022-06-22T04:09:30.530Z] 355e64cbe906: Waiting [2022-06-22T04:09:30.530Z] 63ab81a10011: Waiting [2022-06-22T04:09:30.530Z] 555d1d1c4555: Waiting [2022-06-22T04:09:30.530Z] 7d9057610161: Waiting [2022-06-22T04:09:30.530Z] e6fb740bc735: Waiting [2022-06-22T04:09:30.530Z] 3a77bd46dcc9: Waiting [2022-06-22T04:09:30.530Z] 94645a83ff95: Verifying Checksum [2022-06-22T04:09:30.530Z] 94645a83ff95: Download complete [2022-06-22T04:09:30.530Z] 1a89e8eeedd5: Download complete [2022-06-22T04:09:30.812Z] 3a77bd46dcc9: Verifying Checksum [2022-06-22T04:09:30.813Z] 3a77bd46dcc9: Download complete [2022-06-22T04:09:30.813Z] 9b3977197b4f: Download complete [2022-06-22T04:09:30.813Z] 355e64cbe906: Verifying Checksum [2022-06-22T04:09:30.813Z] 355e64cbe906: Download complete [2022-06-22T04:09:30.813Z] 63ab81a10011: Verifying Checksum [2022-06-22T04:09:30.813Z] 63ab81a10011: Download complete [2022-06-22T04:09:31.818Z] 9b3977197b4f: Pull complete [2022-06-22T04:09:31.818Z] 7d9057610161: Verifying Checksum [2022-06-22T04:09:31.818Z] 7d9057610161: Download complete [2022-06-22T04:09:32.422Z] 1a89e8eeedd5: Pull complete [2022-06-22T04:09:32.699Z] 94645a83ff95: Pull complete [2022-06-22T04:09:32.973Z] 555d1d1c4555: Verifying Checksum [2022-06-22T04:09:32.973Z] 555d1d1c4555: Download complete [2022-06-22T04:09:33.569Z] e6fb740bc735: Verifying Checksum [2022-06-22T04:09:33.569Z] e6fb740bc735: Download complete [2022-06-22T04:09:45.982Z] e6fb740bc735: Pull complete [2022-06-22T04:09:45.982Z] 3a77bd46dcc9: Pull complete [2022-06-22T04:09:45.982Z] 355e64cbe906: Pull complete [2022-06-22T04:09:46.256Z] 63ab81a10011: Pull complete [2022-06-22T04:09:52.985Z] 555d1d1c4555: Pull complete [2022-06-22T04:09:54.973Z] 7d9057610161: Pull complete [2022-06-22T04:09:54.973Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-22T04:09:54.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-22T04:09:54.973Z] ---> 819e984ddca1 [2022-06-22T04:09:54.973Z] Step 3/11 : ARG MAKE=make build [2022-06-22T04:09:56.977Z] ---> Running in d205603f5bcc [2022-06-22T04:09:56.977Z] Removing intermediate container d205603f5bcc [2022-06-22T04:09:56.977Z] ---> bccbb2c5ad05 [2022-06-22T04:09:56.977Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-22T04:09:56.977Z] ---> Running in 003993169cb8 [2022-06-22T04:09:57.590Z] Removing intermediate container 003993169cb8 [2022-06-22T04:09:57.590Z] ---> 1668f8d76201 [2022-06-22T04:09:57.590Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-22T04:09:57.590Z] ---> Running in fc53ca3e8992 [2022-06-22T04:09:57.867Z] Removing intermediate container fc53ca3e8992 [2022-06-22T04:09:57.867Z] ---> c5643f5fa3ee [2022-06-22T04:09:57.867Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T04:09:57.867Z] ---> Running in 0e2c006cd4c0 [2022-06-22T04:09:59.853Z] Removing intermediate container 0e2c006cd4c0 [2022-06-22T04:09:59.853Z] ---> 1e2f6b950452 [2022-06-22T04:09:59.853Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-22T04:09:59.853Z] ---> Running in cdc30ae27787 [2022-06-22T04:10:00.842Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-22T04:10:01.830Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-22T04:10:02.824Z] OK: 220 MiB in 52 packages [2022-06-22T04:10:03.429Z] Removing intermediate container cdc30ae27787 [2022-06-22T04:10:03.429Z] ---> eb45602e1b54 [2022-06-22T04:10:03.429Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-22T04:10:04.042Z] ---> 36f990521f6f [2022-06-22T04:10:04.042Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T04:10:04.042Z] ---> Running in 943490a00362 [2022-06-22T04:10:51.047Z] Removing intermediate container 943490a00362 [2022-06-22T04:10:51.047Z] ---> 8234acb51a9b [2022-06-22T04:10:51.047Z] Step 10/11 : COPY . . [2022-06-22T04:10:51.047Z] ---> ed5d490876bf [2022-06-22T04:10:51.047Z] Step 11/11 : RUN ${MAKE} [2022-06-22T04:10:51.047Z] ---> Running in 0c22d09c88d9 [2022-06-22T04:10:51.047Z] noop [2022-06-22T04:10:51.047Z] Removing intermediate container 0c22d09c88d9 [2022-06-22T04:10:51.047Z] ---> 6449519d158f [2022-06-22T04:10:51.047Z] Successfully built 6449519d158f [2022-06-22T04:10:51.047Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:10:51.513Z] + docker inspect -f . ci-base-image-arm64 [2022-06-22T04:10:51.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:10:51.809Z] prd-ubuntu20.04-docker-arm64-4c-16g-15310 does not seem to be running inside a container [2022-06-22T04:10:51.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-22T04:10:53.164Z] $ docker top c328e23e5fa10240b7cc89f882e88bec645b7eb80c871a588174fec58bf59b45 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T04:10:54.134Z] + go version [2022-06-22T04:10:54.134Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-22T04:10:54.179Z] $ docker stop --time=1 c328e23e5fa10240b7cc89f882e88bec645b7eb80c871a588174fec58bf59b45 [2022-06-22T04:10:55.815Z] $ docker rm -f c328e23e5fa10240b7cc89f882e88bec645b7eb80c871a588174fec58bf59b45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:10:56.671Z] + docker inspect -f . ci-base-image-arm64 [2022-06-22T04:10:56.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:10:56.964Z] prd-ubuntu20.04-docker-arm64-4c-16g-15310 does not seem to be running inside a container [2022-06-22T04:10:57.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-22T04:10:58.320Z] $ docker top 85815fa46a08e7127b55350ba0811f648ef0597f6adaa2b568b5aa43740f58d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-22T04:10:59.324Z] + make test [2022-06-22T04:10:59.324Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-22T04:11:26.152Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-22T04:13:18.065Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-22T04:13:18.065Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-22T04:13:18.065Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-22T04:13:18.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.343s coverage: 23.7% of statements [2022-06-22T04:13:18.341Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-22T04:13:18.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.258s coverage: 27.6% of statements [2022-06-22T04:13:18.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.346s coverage: 78.9% of statements [2022-06-22T04:13:18.341Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.250s coverage: 10.8% of statements [2022-06-22T04:13:23.790Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.581s coverage: 60.0% of statements [2022-06-22T04:13:23.790Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-22T04:13:23.790Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-22T04:13:26.438Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.506s coverage: 34.8% of statements [2022-06-22T04:13:26.438Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-22T04:13:29.137Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.430s coverage: 85.4% of statements [2022-06-22T04:13:29.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-22T04:13:29.137Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-22T04:13:29.137Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.537s coverage: 65.1% of statements [2022-06-22T04:13:31.776Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.179s coverage: 89.2% of statements [2022-06-22T04:13:31.776Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-22T04:13:33.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.7% of statements [2022-06-22T04:13:33.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-22T04:13:33.836Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-22T04:13:33.836Z] GO111MODULE=on go vet ./... [2022-06-22T04:15:10.701Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-22T04:15:10.701Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-22T04:15:10.701Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-22T04:15:10.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-22T04:15:10.774Z] $ docker stop --time=1 85815fa46a08e7127b55350ba0811f648ef0597f6adaa2b568b5aa43740f58d1 [2022-06-22T04:15:12.613Z] $ docker rm -f 85815fa46a08e7127b55350ba0811f648ef0597f6adaa2b568b5aa43740f58d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-22T04:15:14.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-22T04:15:14.128Z] Warning: overwriting stash ‘coverage-report’ [2022-06-22T04:15:14.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-22T04:15:15.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-22T04:15:15.717Z] + ls -al . [2022-06-22T04:15:15.717Z] total 300 [2022-06-22T04:15:15.717Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 04:15 . [2022-06-22T04:15:15.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:08 .. [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 22 04:08 .dockerignore [2022-06-22T04:15:15.717Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 04:09 .git [2022-06-22T04:15:15.717Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:08 .github [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 22 04:08 .gitignore [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 22 04:08 .golangci.yml [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 22 04:08 CHANGELOG.md [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 04:08 GOVERNANCE.md [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 22 04:08 Jenkinsfile [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 22 04:08 LICENSE [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 22 04:08 Makefile [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 22 04:08 OWNERS.md [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 22 04:08 README.md [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 04:06 VERSION [2022-06-22T04:15:15.717Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:08 bin [2022-06-22T04:15:15.717Z] -rw-r--r-- 1 jenkins jenkins 131190 Jun 22 04:13 coverage.out [2022-06-22T04:15:15.717Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 04:08 example [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 22 04:08 go.mod [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 35641 Jun 22 04:08 go.sum [2022-06-22T04:15:15.717Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 22 04:08 internal [2022-06-22T04:15:15.717Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 04:08 openapi [2022-06-22T04:15:15.717Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 04:08 pkg [2022-06-22T04:15:15.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:08 snap [2022-06-22T04:15:15.717Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 22 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:15:16.168Z] + 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=e937171a0c827ca073333ea34f9a92e2e0d23ca0 --label arch=arm64 --label version=0.0.0 . [2022-06-22T04:15:16.777Z] Sending build context to Docker daemon 5.315MB [2022-06-22T04:15:16.777Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-22T04:15:16.777Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-22T04:15:16.777Z] ---> 6449519d158f [2022-06-22T04:15:16.777Z] Step 3/25 : ARG MAKE=make build [2022-06-22T04:15:16.777Z] ---> Running in 37c53149b85c [2022-06-22T04:15:17.055Z] Removing intermediate container 37c53149b85c [2022-06-22T04:15:17.055Z] ---> b4a2b83b3d14 [2022-06-22T04:15:17.055Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-22T04:15:17.333Z] ---> Running in a598bddde86b [2022-06-22T04:15:17.610Z] Removing intermediate container a598bddde86b [2022-06-22T04:15:17.610Z] ---> 77d6b91e2b18 [2022-06-22T04:15:17.610Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-22T04:15:17.610Z] ---> Running in d4f6f5e8c935 [2022-06-22T04:15:17.885Z] Removing intermediate container d4f6f5e8c935 [2022-06-22T04:15:17.885Z] ---> 47fcd8961f5b [2022-06-22T04:15:17.885Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T04:15:18.173Z] ---> Running in 499160361bc9 [2022-06-22T04:15:20.186Z] Removing intermediate container 499160361bc9 [2022-06-22T04:15:20.186Z] ---> 52fdacdf2860 [2022-06-22T04:15:20.186Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-22T04:15:20.186Z] ---> Running in c11b10583061 [2022-06-22T04:15:20.784Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-22T04:15:21.768Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-22T04:15:22.750Z] OK: 220 MiB in 52 packages [2022-06-22T04:15:23.740Z] Removing intermediate container c11b10583061 [2022-06-22T04:15:23.740Z] ---> 07a89606ecd9 [2022-06-22T04:15:23.740Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-22T04:15:24.016Z] ---> 6c41e13a0de2 [2022-06-22T04:15:24.016Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-22T04:15:24.295Z] ---> Running in d62322aecc05 [2022-06-22T04:15:26.280Z] Removing intermediate container d62322aecc05 [2022-06-22T04:15:26.280Z] ---> dab425ff38fe [2022-06-22T04:15:26.280Z] Step 10/25 : COPY . . [2022-06-22T04:15:27.266Z] ---> c1f87f5be323 [2022-06-22T04:15:27.266Z] Step 11/25 : RUN ${MAKE} [2022-06-22T04:15:27.266Z] ---> Running in 211dc9ac8110 [2022-06-22T04:15:28.710Z] 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-06-22T04:17:35.670Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-22T04:17:35.670Z] Removing intermediate container 211dc9ac8110 [2022-06-22T04:17:35.670Z] ---> f06b56c0c5ad [2022-06-22T04:17:35.670Z] Step 12/25 : FROM alpine:3.14 [2022-06-22T04:17:35.670Z] 3.14: Pulling from library/alpine [2022-06-22T04:17:35.946Z] 455c02918c45: Pulling fs layer [2022-06-22T04:17:35.946Z] 455c02918c45: Download complete [2022-06-22T04:17:36.548Z] 455c02918c45: Pull complete [2022-06-22T04:17:36.548Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-22T04:17:36.548Z] Status: Downloaded newer image for alpine:3.14 [2022-06-22T04:17:36.548Z] ---> ac73e934f311 [2022-06-22T04:17:36.548Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-22T04:17:36.825Z] ---> Running in 4c20dbdc2a51 [2022-06-22T04:17:37.111Z] Removing intermediate container 4c20dbdc2a51 [2022-06-22T04:17:37.111Z] ---> 7e7878013ffa [2022-06-22T04:17:37.111Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-22T04:17:37.111Z] ---> Running in 10a416829bbf [2022-06-22T04:17:39.107Z] Removing intermediate container 10a416829bbf [2022-06-22T04:17:39.107Z] ---> 680c4f9eee66 [2022-06-22T04:17:39.107Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-22T04:17:39.107Z] ---> Running in 58dd852e0e9d [2022-06-22T04:17:40.097Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-22T04:17:41.084Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-22T04:17:42.072Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-22T04:17:42.072Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-22T04:17:42.072Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-22T04:17:42.072Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-22T04:17:42.349Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-22T04:17:42.349Z] Executing busybox-1.33.1-r7.trigger [2022-06-22T04:17:42.349Z] OK: 8 MiB in 19 packages [2022-06-22T04:17:43.341Z] Removing intermediate container 58dd852e0e9d [2022-06-22T04:17:43.341Z] ---> 210c6c19102f [2022-06-22T04:17:43.341Z] Step 16/25 : WORKDIR / [2022-06-22T04:17:43.341Z] ---> Running in 70c88c222686 [2022-06-22T04:17:43.620Z] Removing intermediate container 70c88c222686 [2022-06-22T04:17:43.620Z] ---> c77111891c70 [2022-06-22T04:17:43.620Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-22T04:17:44.227Z] ---> 97be9ec2fe3b [2022-06-22T04:17:44.227Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-22T04:17:46.303Z] ---> befaeb3028c4 [2022-06-22T04:17:46.303Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-22T04:17:46.579Z] ---> 2f014b48668d [2022-06-22T04:17:46.579Z] Step 20/25 : EXPOSE 59999 [2022-06-22T04:17:46.579Z] ---> Running in f6db3f133c7a [2022-06-22T04:17:46.856Z] Removing intermediate container f6db3f133c7a [2022-06-22T04:17:46.856Z] ---> 8c2b18a2f31c [2022-06-22T04:17:46.856Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-22T04:17:47.135Z] ---> Running in 1ae2b1d42135 [2022-06-22T04:17:47.411Z] Removing intermediate container 1ae2b1d42135 [2022-06-22T04:17:47.411Z] ---> 5da7971a21fa [2022-06-22T04:17:47.411Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-22T04:17:47.411Z] ---> Running in d78e0bfa675b [2022-06-22T04:17:48.010Z] Removing intermediate container d78e0bfa675b [2022-06-22T04:17:48.010Z] ---> c5e6b8872e49 [2022-06-22T04:17:48.010Z] Step 23/25 : LABEL arch=arm64 [2022-06-22T04:17:48.010Z] ---> Running in 64e0bfacd867 [2022-06-22T04:17:48.286Z] Removing intermediate container 64e0bfacd867 [2022-06-22T04:17:48.286Z] ---> 8a54b887cc33 [2022-06-22T04:17:48.286Z] Step 24/25 : LABEL git_sha=e937171a0c827ca073333ea34f9a92e2e0d23ca0 [2022-06-22T04:17:48.286Z] ---> Running in 24e2c3fbe9ca [2022-06-22T04:17:48.565Z] Removing intermediate container 24e2c3fbe9ca [2022-06-22T04:17:48.565Z] ---> 835d9ee50f54 [2022-06-22T04:17:48.565Z] Step 25/25 : LABEL version=0.0.0 [2022-06-22T04:17:48.840Z] ---> Running in 3278251ec2c6 [2022-06-22T04:17:49.119Z] Removing intermediate container 3278251ec2c6 [2022-06-22T04:17:49.119Z] ---> f6ec0b5f7b7b [2022-06-22T04:17:49.119Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-22T04:17:49.119Z] Successfully built f6ec0b5f7b7b [2022-06-22T04:17:49.119Z] 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-06-22T04:17:49.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T04:17:49.985Z] [2022-06-22T04:17:49.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:17:50.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T04:17:50.685Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-22T04:17:50.685Z] 8998bd30e6a1: Pulling fs layer [2022-06-22T04:17:50.685Z] 04944245beec: Pulling fs layer [2022-06-22T04:17:50.685Z] 699f458cf7ca: Pulling fs layer [2022-06-22T04:17:50.685Z] 765212b225bb: Pulling fs layer [2022-06-22T04:17:50.685Z] f23df028b6ca: Pulling fs layer [2022-06-22T04:17:50.685Z] d65c8cfc05b1: Pulling fs layer [2022-06-22T04:17:50.685Z] 2437ff75d9bd: Pulling fs layer [2022-06-22T04:17:50.685Z] f23df028b6ca: Waiting [2022-06-22T04:17:50.685Z] 2437ff75d9bd: Waiting [2022-06-22T04:17:50.685Z] d65c8cfc05b1: Waiting [2022-06-22T04:17:50.686Z] 765212b225bb: Waiting [2022-06-22T04:17:50.686Z] 04944245beec: Verifying Checksum [2022-06-22T04:17:50.686Z] 04944245beec: Download complete [2022-06-22T04:17:50.686Z] 765212b225bb: Verifying Checksum [2022-06-22T04:17:50.686Z] 765212b225bb: Download complete [2022-06-22T04:17:50.686Z] f23df028b6ca: Verifying Checksum [2022-06-22T04:17:50.686Z] f23df028b6ca: Download complete [2022-06-22T04:17:50.960Z] d65c8cfc05b1: Verifying Checksum [2022-06-22T04:17:50.960Z] d65c8cfc05b1: Download complete [2022-06-22T04:17:50.960Z] 699f458cf7ca: Verifying Checksum [2022-06-22T04:17:50.960Z] 699f458cf7ca: Download complete [2022-06-22T04:17:51.237Z] 8998bd30e6a1: Verifying Checksum [2022-06-22T04:17:51.237Z] 8998bd30e6a1: Download complete [2022-06-22T04:17:53.877Z] 2437ff75d9bd: Verifying Checksum [2022-06-22T04:17:53.877Z] 2437ff75d9bd: Download complete [2022-06-22T04:17:55.865Z] 8998bd30e6a1: Pull complete [2022-06-22T04:17:56.137Z] 04944245beec: Pull complete [2022-06-22T04:17:57.588Z] 699f458cf7ca: Pull complete [2022-06-22T04:17:57.865Z] 765212b225bb: Pull complete [2022-06-22T04:17:58.850Z] f23df028b6ca: Pull complete [2022-06-22T04:17:59.125Z] d65c8cfc05b1: Pull complete [2022-06-22T04:18:14.256Z] 2437ff75d9bd: Pull complete [2022-06-22T04:18:14.256Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-22T04:18:14.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-22T04:18:14.256Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:18:14.648Z] prd-ubuntu20.04-docker-arm64-4c-16g-15310 does not seem to be running inside a container [2022-06-22T04:18:14.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-22T04:18:17.639Z] $ docker top abeadfaba501df34153ca7b186163762e5c90c0094da5e613831e50d9382fa80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:18:18.661Z] ---> job-cost.sh [2022-06-22T04:18:18.661Z] lf-activate-venv: SKIPPING [2022-06-22T04:18:18.661Z] INFO: No Stack... [2022-06-22T04:18:19.262Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-22T04:18:20.246Z] INFO: Archiving Costs [Pipeline] sh [2022-06-22T04:18:21.000Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-06-22T04:18:21.000Z] + cut -d, -f6 [Pipeline] lock [2022-06-22T04:18:21.092Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [2022-06-22T04:18:21.096Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] did not exist. Created. [2022-06-22T04:18:21.096Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-22T04:18:21.960Z] /w/workspace/device-sdk-go/1@tmp/durable-c7f487bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-22T04:18:22.683Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-22T04:18:22.724Z] Warning: overwriting stash ‘stack-cost’ [2022-06-22T04:18:22.793Z] Stashed 1 file(s) [Pipeline] } [2022-06-22T04:18:22.807Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1183-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-22T04:18:22.894Z] $ docker stop --time=1 abeadfaba501df34153ca7b186163762e5c90c0094da5e613831e50d9382fa80 [2022-06-22T04:18:24.471Z] $ docker rm -f abeadfaba501df34153ca7b186163762e5c90c0094da5e613831e50d9382fa80 [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-06-22T04:18:25.494Z] provisioning config files... [2022-06-22T04:18:25.502Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/config8335992978222526545tmp [Pipeline] { [Pipeline] sh [2022-06-22T04:18:25.831Z] + set +x [2022-06-22T04:18:25.831Z] + curl -s https://codecov.io/bash [2022-06-22T04:18:25.831Z] + bash -s -- [2022-06-22T04:18:26.092Z] [2022-06-22T04:18:26.092Z] _____ _ [2022-06-22T04:18:26.092Z] / ____| | | [2022-06-22T04:18:26.092Z] | | ___ __| | ___ ___ _____ __ [2022-06-22T04:18:26.092Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-22T04:18:26.092Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-22T04:18:26.092Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-22T04:18:26.092Z] Bash-1.0.6 [2022-06-22T04:18:26.092Z] [2022-06-22T04:18:26.092Z] [2022-06-22T04:18:26.092Z] ==> git version 2.25.1 found [2022-06-22T04:18:26.092Z] ==> 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-06-22T04:18:26.092Z] Release-Date: 2020-01-08 [2022-06-22T04:18:26.092Z] 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-06-22T04:18:26.092Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-22T04:18:26.092Z] ==> Jenkins CI detected. [2022-06-22T04:18:26.092Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1183 [2022-06-22T04:18:26.092Z] project root: . [2022-06-22T04:18:26.092Z] --> token set from env [2022-06-22T04:18:26.092Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-22T04:18:26.092Z] ==> Running gcov in . (disable via -X gcov) [2022-06-22T04:18:26.092Z] ==> Python coveragepy not found [2022-06-22T04:18:26.092Z] ==> Searching for coverage reports in: [2022-06-22T04:18:26.092Z] + . [2022-06-22T04:18:26.092Z] -> Found 1 reports [2022-06-22T04:18:26.092Z] ==> Detecting git/mercurial file structure [2022-06-22T04:18:26.092Z] ==> Reading reports [2022-06-22T04:18:26.092Z] + ./coverage.out bytes=131190 [2022-06-22T04:18:26.092Z] ==> Appending adjustments [2022-06-22T04:18:26.092Z] https://docs.codecov.io/docs/fixing-reports [2022-06-22T04:18:26.351Z] + Found adjustments [2022-06-22T04:18:26.351Z] ==> Gzipping contents [2022-06-22T04:18:26.351Z] 20K /tmp/codecov.ACzKLM.gz [2022-06-22T04:18:26.351Z] ==> Uploading reports [2022-06-22T04:18:26.351Z] url: https://codecov.io [2022-06-22T04:18:26.351Z] query: branch=PR-1183&commit=e937171a0c827ca073333ea34f9a92e2e0d23ca0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1183&job=&cmd_args= [2022-06-22T04:18:26.351Z] -> Pinging Codecov [2022-06-22T04:18:26.351Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1183&commit=e937171a0c827ca073333ea34f9a92e2e0d23ca0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1183&job=&cmd_args= [2022-06-22T04:18:26.922Z] -> Uploading to [2022-06-22T04:18:26.922Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-22/7E55EF52A471D76F132DFD9A03CDDE97/e937171a0c827ca073333ea34f9a92e2e0d23ca0/17f7ac8b-7345-46d0-adc3-23ffacef6960.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220622T041826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0eca0dfedee1a71dcbc7d242303f01fb9b0e31fa91aeb002c16a9ebefb0dc87 [2022-06-22T04:18:26.922Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-22T04:18:26.922Z] Dload Upload Total Spent Left Speed [2022-06-22T04:18:26.922Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16837 0 0 100 16837 0 73204 --:--:-- --:--:-- --:--:-- 73204 [2022-06-22T04:18:26.922Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e937171a0c827ca073333ea34f9a92e2e0d23ca0 [Pipeline] } [2022-06-22T04:18:26.951Z] 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-06-22T04:18:28.702Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives ] [2022-06-22T04:18:28.702Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives [2022-06-22T04:18:28.702Z] total 16 [2022-06-22T04:18:28.702Z] drwxr-xr-x 3 root root 4096 Jun 22 04:08 . [2022-06-22T04:18:28.702Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 04:08 .. [2022-06-22T04:18:28.702Z] drwxr-xr-x 2 root root 4096 Jun 22 04:08 cost [2022-06-22T04:18:28.702Z] -rw-r--r-- 1 root root 85 Jun 22 04:08 cost.csv [2022-06-22T04:18:28.703Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives [2022-06-22T04:18:28.703Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives [2022-06-22T04:18:28.703Z] total 16 [2022-06-22T04:18:28.703Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 04:08 . [2022-06-22T04:18:28.703Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 04:08 .. [2022-06-22T04:18:28.703Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 04:08 cost [2022-06-22T04:18:28.703Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 22 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:18:29.030Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:18:29.927Z] ---> package-listing.sh [2022-06-22T04:18:29.927Z] ++ facter osfamily [2022-06-22T04:18:29.927Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-22T04:18:30.188Z] + OS_FAMILY=debian [2022-06-22T04:18:30.188Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1183 [2022-06-22T04:18:30.188Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-22T04:18:30.188Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-22T04:18:30.188Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-22T04:18:30.188Z] + PACKAGES=/tmp/packages_start.txt [2022-06-22T04:18:30.188Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1183 ']' [2022-06-22T04:18:30.188Z] + PACKAGES=/tmp/packages_end.txt [2022-06-22T04:18:30.188Z] + case "${OS_FAMILY}" in [2022-06-22T04:18:30.188Z] + dpkg -l [2022-06-22T04:18:30.188Z] + grep '^ii' [2022-06-22T04:18:30.188Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-22T04:18:30.188Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-22T04:18:30.188Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-22T04:18:30.188Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1183 ']' [2022-06-22T04:18:30.188Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives/ [2022-06-22T04:18:30.188Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1183/archives/ [Pipeline] echo [2022-06-22T04:18:30.221Z] 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-1183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-22T04:18:30.514Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-22T04:18:31.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-22T04:18:31.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-22T04:18:31.295Z] prd-ubuntu20.04-docker-8c-8g-15308 does not seem to be running inside a container [2022-06-22T04:18:31.333Z] $ 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-1183/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-1183 -v /w/workspace/gexfoundry_device-sdk-go_PR-1183:/w/workspace/gexfoundry_device-sdk-go_PR-1183:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1183@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-22T04:18:31.569Z] $ docker top 9aff41d575d166e4030af9feaa74e014715953b02bc81fc36ec1c466235b44f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-22T04:18:31.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-22T04:18:32.289Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-22T04:18:32.597Z] + ls /var/log/sa-host [2022-06-22T04:18:32.597Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-22T04:18:32.785Z] provisioning config files... [2022-06-22T04:18:32.795Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1183@tmp/config240313159742275825tmp [Pipeline] { [Pipeline] echo [2022-06-22T04:18:32.844Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:18:33.160Z] ---> create-netrc.sh [Pipeline] } [2022-06-22T04:18:33.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:18:33.707Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-22T04:18:33.738Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:18:34.051Z] ---> sudo-logs.sh [2022-06-22T04:18:34.051Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-22T04:18:34.136Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:18:34.508Z] ---> job-cost.sh [2022-06-22T04:18:34.508Z] lf-activate-venv: SKIPPING [2022-06-22T04:18:34.508Z] DEBUG: total: 0.2199999988079071 [2022-06-22T04:18:34.508Z] INFO: Retrieving Stack Cost... [2022-06-22T04:18:35.078Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-22T04:18:35.339Z] INFO: Archiving Costs [Pipeline] echo [2022-06-22T04:18:35.374Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-22T04:18:35.706Z] ---> logs-deploy.sh [2022-06-22T04:18:35.706Z] lf-activate-venv: SKIPPING [2022-06-22T04:18:35.706Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1183/1 [2022-06-22T04:18:35.706Z] INFO: archiving workspace using pattern(s): [2022-06-22T04:18:36.647Z] Archives upload complete. [2022-06-22T04:18:36.647Z] INFO: archiving logs to Nexus