Pull request #1156 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4ba4dfe5bdcf3fbe372c788b043049de3605ce73+cc37b9e2c9629ca07e46878051115594cd22d281 (e40154ae49c86edc920678f74dc1f0e320e9b14d) 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-ssh8066338589806684929.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh11138217719530521927.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-1156/workspace@libs/edgex-global-pipelines # 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-1156/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14687046390201339846.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-1156/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17544920122029646883.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh13431983421740907864.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1156/workspace@libs/lf-pipelines # 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-1156/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2722060139612687700.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [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-41402 in /w/workspace/gexfoundry_device-sdk-go_PR-1156 [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-1156 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 Merge succeeded, producing 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 Checking out Revision 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 (PR-1156) > 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/1156/head:refs/remotes/origin/PR-1156 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 # timeout=10 Commit message: "docs: update Changelog for Kamakura" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-07T19:07:43.420Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-07T19:07:43.606Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-07T19:07:43.700Z] ========================================================= [2022-05-07T19:07:43.700Z] EdgeX Global Pipelines Version Info [2022-05-07T19:07:43.700Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:07:44.591Z] ------------------- [2022-05-07T19:07:44.592Z] stable info: [2022-05-07T19:07:44.592Z] ------------------- [2022-05-07T19:07:44.592Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-07T19:07:44.592Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-07T19:07:44.592Z] Message: update stable to v1.0.227 [2022-05-07T19:07:45.167Z] ------------------- [2022-05-07T19:07:45.167Z] experimental info: [2022-05-07T19:07:45.167Z] ------------------- [2022-05-07T19:07:45.167Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-07T19:07:45.167Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-07T19:07:45.167Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-07T19:07:45.429Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-07T19:07:45.474Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-07T19:07:45.518Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-07T19:07:45.647Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-07T19:07:45.680Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-07T19:07:45.727Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-07T19:07:45.766Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-07T19:07:45.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-07T19:07:45.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-07T19:07:45.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-07T19:07:45.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-07T19:07:45.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-07T19:07:46.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-07T19:07:46.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-07T19:07:46.081Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-07T19:07:46.117Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-07T19:07:46.156Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-07T19:07:46.194Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-07T19:07:46.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-07T19:07:46.274Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-07T19:07:46.314Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-07T19:07:46.355Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-07T19:07:46.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-07T19:07:46.440Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-07T19:07:46.478Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-07T19:07:46.519Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-07T19:07:46.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1156 [Pipeline] echo [2022-05-07T19:07:46.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1156 [Pipeline] echo [2022-05-07T19:07:46.644Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1156 [Pipeline] echo [2022-05-07T19:07:46.682Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [Pipeline] echo [2022-05-07T19:07:46.726Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ba4dfe [Pipeline] echo [2022-05-07T19:07:46.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-07T19:07:46.886Z] provisioning config files... [2022-05-07T19:07:46.900Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config7657856706639299524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:07:47.249Z] ---> docker-login.sh [2022-05-07T19:07:47.249Z] nexus3.edgexfoundry.org:10001 [2022-05-07T19:07:47.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:07:47.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:07:47.511Z] Configure a credential helper to remove this warning. See [2022-05-07T19:07:47.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:07:47.511Z] [2022-05-07T19:07:47.511Z] Login Succeeded [2022-05-07T19:07:47.511Z] nexus3.edgexfoundry.org:10002 [2022-05-07T19:07:47.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:07:47.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:07:47.776Z] Configure a credential helper to remove this warning. See [2022-05-07T19:07:47.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:07:47.776Z] [2022-05-07T19:07:47.776Z] Login Succeeded [2022-05-07T19:07:47.776Z] nexus3.edgexfoundry.org:10003 [2022-05-07T19:07:47.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:07:48.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:07:48.038Z] Configure a credential helper to remove this warning. See [2022-05-07T19:07:48.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:07:48.038Z] [2022-05-07T19:07:48.038Z] Login Succeeded [2022-05-07T19:07:48.038Z] nexus3.edgexfoundry.org:10004 [2022-05-07T19:07:48.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:07:48.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:07:48.038Z] Configure a credential helper to remove this warning. See [2022-05-07T19:07:48.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:07:48.038Z] [2022-05-07T19:07:48.038Z] Login Succeeded [2022-05-07T19:07:48.038Z] docker.io [2022-05-07T19:07:48.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:07:48.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:07:48.612Z] Configure a credential helper to remove this warning. See [2022-05-07T19:07:48.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:07:48.612Z] [2022-05-07T19:07:48.612Z] Login Succeeded [2022-05-07T19:07:48.612Z] ---> docker-login.sh ends [Pipeline] } [2022-05-07T19:07:48.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-07T19:07:49.292Z] + git rev-list -1 --merges 4ba4dfe5bdcf3fbe372c788b043049de3605ce73~1..4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [Pipeline] echo [2022-05-07T19:07:49.347Z] -----------> git rev-list -1 --merges 4ba4dfe5bdcf3fbe372c788b043049de3605ce73~1..4ba4dfe5bdcf3fbe372c788b043049de3605ce73 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [false] [Pipeline] sh [2022-05-07T19:07:49.668Z] + git log --format=format:%s -1 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [Pipeline] echo [2022-05-07T19:07:49.705Z] ========================================================= [2022-05-07T19:07:49.705Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-07T19:07:49.705Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-07T19:07:50.138Z] + git log --format=format:%s -1 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [Pipeline] echo [2022-05-07T19:07:50.171Z] [semverPrep] GIT_COMMIT: 4ba4dfe5bdcf3fbe372c788b043049de3605ce73, Commit Message: docs: update Changelog for Kamakura [Pipeline] echo [2022-05-07T19:07:50.202Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-07T19:07:50.660Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-07T19:07:50.660Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-07T19:07:50.660Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-07T19:07:50.660Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-07T19:07:50.660Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-07T19:07:50.660Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-07T19:07:50.660Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:07:51.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-07T19:07:51.153Z] [2022-05-07T19:07:51.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:07:51.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-07T19:07:51.511Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-07T19:07:51.511Z] 1fe172e4850f: Pulling fs layer [2022-05-07T19:07:51.511Z] caf521ccaac6: Pulling fs layer [2022-05-07T19:07:51.511Z] 3ead6fa29328: Pulling fs layer [2022-05-07T19:07:51.511Z] 5c2a1cbceb83: Pulling fs layer [2022-05-07T19:07:51.511Z] a8d5f1318db7: Pulling fs layer [2022-05-07T19:07:51.511Z] c427282e49a2: Pulling fs layer [2022-05-07T19:07:51.511Z] 1827001aaf11: Pulling fs layer [2022-05-07T19:07:51.511Z] 0714d37db230: Pulling fs layer [2022-05-07T19:07:51.511Z] ac28cf19c067: Pulling fs layer [2022-05-07T19:07:51.511Z] ca983d60f3e2: Pulling fs layer [2022-05-07T19:07:51.511Z] 9f894cec8388: Pulling fs layer [2022-05-07T19:07:51.511Z] 1827001aaf11: Waiting [2022-05-07T19:07:51.511Z] 0714d37db230: Waiting [2022-05-07T19:07:51.511Z] ac28cf19c067: Waiting [2022-05-07T19:07:51.511Z] ca983d60f3e2: Waiting [2022-05-07T19:07:51.511Z] 9f894cec8388: Waiting [2022-05-07T19:07:51.511Z] 5c2a1cbceb83: Waiting [2022-05-07T19:07:51.511Z] c427282e49a2: Waiting [2022-05-07T19:07:51.511Z] a8d5f1318db7: Waiting [2022-05-07T19:07:51.511Z] caf521ccaac6: Download complete [2022-05-07T19:07:51.511Z] 5c2a1cbceb83: Verifying Checksum [2022-05-07T19:07:51.511Z] 5c2a1cbceb83: Download complete [2022-05-07T19:07:51.773Z] a8d5f1318db7: Verifying Checksum [2022-05-07T19:07:51.773Z] a8d5f1318db7: Download complete [2022-05-07T19:07:51.773Z] 3ead6fa29328: Verifying Checksum [2022-05-07T19:07:51.773Z] 3ead6fa29328: Download complete [2022-05-07T19:07:51.773Z] c427282e49a2: Download complete [2022-05-07T19:07:51.773Z] 0714d37db230: Download complete [2022-05-07T19:07:51.773Z] ac28cf19c067: Download complete [2022-05-07T19:07:51.773Z] ca983d60f3e2: Verifying Checksum [2022-05-07T19:07:51.773Z] ca983d60f3e2: Download complete [2022-05-07T19:07:51.773Z] 9f894cec8388: Download complete [2022-05-07T19:07:51.773Z] 1fe172e4850f: Verifying Checksum [2022-05-07T19:07:51.773Z] 1fe172e4850f: Download complete [2022-05-07T19:07:52.033Z] 1827001aaf11: Verifying Checksum [2022-05-07T19:07:52.033Z] 1827001aaf11: Download complete [2022-05-07T19:07:53.421Z] 1fe172e4850f: Pull complete [2022-05-07T19:07:53.421Z] caf521ccaac6: Pull complete [2022-05-07T19:07:53.992Z] 3ead6fa29328: Pull complete [2022-05-07T19:07:53.992Z] 5c2a1cbceb83: Pull complete [2022-05-07T19:07:54.253Z] a8d5f1318db7: Pull complete [2022-05-07T19:07:54.514Z] c427282e49a2: Pull complete [2022-05-07T19:07:56.438Z] 1827001aaf11: Pull complete [2022-05-07T19:07:56.702Z] 0714d37db230: Pull complete [2022-05-07T19:07:56.702Z] ac28cf19c067: Pull complete [2022-05-07T19:07:56.964Z] ca983d60f3e2: Pull complete [2022-05-07T19:07:56.964Z] 9f894cec8388: Pull complete [2022-05-07T19:07:56.964Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-07T19:07:56.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-07T19:07:56.964Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-07T19:07:57.069Z] prd-ubuntu20.04-docker-8c-8g-41402 does not seem to be running inside a container [2022-05-07T19:07:57.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@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-devops/py-git-semver:latest cat [2022-05-07T19:07:58.885Z] $ docker top c595fd37c1b34129b128dde1aea1e6cce32bb074dc2e73a1bcaf22179dfa6ef6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-07T19:07:59.099Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-07T19:07:59.099Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-07T19:07:59.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-07T19:07:59.237Z] $ docker exec c595fd37c1b34129b128dde1aea1e6cce32bb074dc2e73a1bcaf22179dfa6ef6 ssh-agent [2022-05-07T19:07:59.374Z] SSH_AUTH_SOCK=/tmp/ssh-3as81kqwD4d6/agent.34 [2022-05-07T19:07:59.374Z] SSH_AGENT_PID=41 [2022-05-07T19:07:59.382Z] Running ssh-add (command line suppressed) [2022-05-07T19:07:59.518Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_4571724723648369011.key (/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_4571724723648369011.key) [2022-05-07T19:07:59.540Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-07T19:07:59.875Z] + git tag --points-at HEAD [Pipeline] } [2022-05-07T19:07:59.897Z] $ docker exec --env ******** --env ******** c595fd37c1b34129b128dde1aea1e6cce32bb074dc2e73a1bcaf22179dfa6ef6 ssh-agent -k [2022-05-07T19:08:00.020Z] unset SSH_AUTH_SOCK; [2022-05-07T19:08:00.020Z] unset SSH_AGENT_PID; [2022-05-07T19:08:00.020Z] echo Agent pid 41 killed; [2022-05-07T19:08:00.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-07T19:08:00.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-07T19:08:00.126Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-07T19:08:00.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-07T19:08:00.258Z] $ docker exec c595fd37c1b34129b128dde1aea1e6cce32bb074dc2e73a1bcaf22179dfa6ef6 ssh-agent [2022-05-07T19:08:00.405Z] SSH_AUTH_SOCK=/tmp/ssh-dyFN4xwmoZLv/agent.75 [2022-05-07T19:08:00.405Z] SSH_AGENT_PID=81 [2022-05-07T19:08:00.411Z] Running ssh-add (command line suppressed) [2022-05-07T19:08:00.529Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_4180686064007556184.key (/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/private_key_4180686064007556184.key) [2022-05-07T19:08:00.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-07T19:08:00.895Z] + git semver init [2022-05-07T19:08:01.157Z] 2022-05-07 19:08:01,103 [run_init] DEBUG init version:0.0.0 force:False [2022-05-07T19:08:01.157Z] 2022-05-07 19:08:01,104 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver [2022-05-07T19:08:01.157Z] 2022-05-07 19:08:01,105 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver [2022-05-07T19:08:01.157Z] 2022-05-07 19:08:01,105 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1156, universal_newlines=False, shell=None, istream=None) [2022-05-07T19:08:02.106Z] 2022-05-07 19:08:01,943 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.git/info/exclude [2022-05-07T19:08:02.106Z] 2022-05-07 19:08:01,944 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver/PR-1156 with force:False [2022-05-07T19:08:02.106Z] 2022-05-07 19:08:01,945 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver/PR-1156 [2022-05-07T19:08:02.106Z] 2022-05-07 19:08:01,950 [execute] INFO git cat-file --batch-check [2022-05-07T19:08:02.106Z] 2022-05-07 19:08:01,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver, universal_newlines=False, shell=None, istream=) [2022-05-07T19:08:02.106Z] 2022-05-07 19:08:01,958 [execute] INFO git cat-file --batch [2022-05-07T19:08:02.106Z] 2022-05-07 19:08:01,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver, universal_newlines=False, shell=None, istream=) [2022-05-07T19:08:02.106Z] 2022-05-07 19:08:01,964 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1156/.semver/PR-1156 [2022-05-07T19:08:02.106Z] 0.0.0 [Pipeline] } [2022-05-07T19:08:02.130Z] $ docker exec --env ******** --env ******** c595fd37c1b34129b128dde1aea1e6cce32bb074dc2e73a1bcaf22179dfa6ef6 ssh-agent -k [2022-05-07T19:08:02.257Z] unset SSH_AUTH_SOCK; [2022-05-07T19:08:02.257Z] unset SSH_AGENT_PID; [2022-05-07T19:08:02.257Z] echo Agent pid 81 killed; [2022-05-07T19:08:02.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-07T19:08:02.730Z] + git semver [Pipeline] } [2022-05-07T19:08:03.014Z] $ docker stop --time=1 c595fd37c1b34129b128dde1aea1e6cce32bb074dc2e73a1bcaf22179dfa6ef6 [2022-05-07T19:08:04.308Z] $ docker rm -f c595fd37c1b34129b128dde1aea1e6cce32bb074dc2e73a1bcaf22179dfa6ef6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-07T19:08:04.738Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-07T19:08:05.090Z] Stashed 1 file(s) [Pipeline] echo [2022-05-07T19:08:05.109Z] [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-05-07T19:08:05.708Z] provisioning config files... [2022-05-07T19:08:05.721Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config5415214233766985301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:08:06.066Z] ---> docker-login.sh [2022-05-07T19:08:06.066Z] nexus3.edgexfoundry.org:10001 [2022-05-07T19:08:06.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:08:06.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:08:06.066Z] Configure a credential helper to remove this warning. See [2022-05-07T19:08:06.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:08:06.066Z] [2022-05-07T19:08:06.066Z] Login Succeeded [2022-05-07T19:08:06.066Z] nexus3.edgexfoundry.org:10002 [2022-05-07T19:08:06.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:08:06.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:08:06.329Z] Configure a credential helper to remove this warning. See [2022-05-07T19:08:06.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:08:06.329Z] [2022-05-07T19:08:06.329Z] Login Succeeded [2022-05-07T19:08:06.329Z] nexus3.edgexfoundry.org:10003 [2022-05-07T19:08:06.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:08:06.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:08:06.329Z] Configure a credential helper to remove this warning. See [2022-05-07T19:08:06.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:08:06.329Z] [2022-05-07T19:08:06.329Z] Login Succeeded [2022-05-07T19:08:06.329Z] nexus3.edgexfoundry.org:10004 [2022-05-07T19:08:06.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:08:06.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:08:06.593Z] Configure a credential helper to remove this warning. See [2022-05-07T19:08:06.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:08:06.593Z] [2022-05-07T19:08:06.593Z] Login Succeeded [2022-05-07T19:08:06.593Z] docker.io [2022-05-07T19:08:06.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:08:06.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:08:06.854Z] Configure a credential helper to remove this warning. See [2022-05-07T19:08:06.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:08:06.854Z] [2022-05-07T19:08:06.854Z] Login Succeeded [2022-05-07T19:08:06.854Z] ---> docker-login.sh ends [Pipeline] } [2022-05-07T19:08:06.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-07T19:08:07.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-07T19:08:07.116Z] ========================================================= [2022-05-07T19:08:07.116Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-07T19:08:07.116Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:08:07.527Z] + 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-05-07T19:08:07.527Z] Sending build context to Docker daemon 9.722MB [2022-05-07T19:08:07.527Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-07T19:08:07.527Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-07T19:08:07.527Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-07T19:08:07.527Z] 59bf1c3509f3: Pulling fs layer [2022-05-07T19:08:07.527Z] 666ba61612fd: Pulling fs layer [2022-05-07T19:08:07.527Z] 8ed8ca486205: Pulling fs layer [2022-05-07T19:08:07.527Z] 4fe6c5a15a65: Pulling fs layer [2022-05-07T19:08:07.527Z] 22a0e8bec74d: Pulling fs layer [2022-05-07T19:08:07.527Z] ca2b28591e48: Pulling fs layer [2022-05-07T19:08:07.527Z] a51346096db8: Pulling fs layer [2022-05-07T19:08:07.527Z] daebc70d1ce1: Pulling fs layer [2022-05-07T19:08:07.527Z] 0e18a0eac166: Pulling fs layer [2022-05-07T19:08:07.527Z] 4fe6c5a15a65: Waiting [2022-05-07T19:08:07.527Z] 22a0e8bec74d: Waiting [2022-05-07T19:08:07.527Z] ca2b28591e48: Waiting [2022-05-07T19:08:07.527Z] daebc70d1ce1: Waiting [2022-05-07T19:08:07.527Z] 0e18a0eac166: Waiting [2022-05-07T19:08:07.790Z] 8ed8ca486205: Download complete [2022-05-07T19:08:07.790Z] 666ba61612fd: Verifying Checksum [2022-05-07T19:08:07.790Z] 666ba61612fd: Download complete [2022-05-07T19:08:07.790Z] 22a0e8bec74d: Verifying Checksum [2022-05-07T19:08:07.790Z] 22a0e8bec74d: Download complete [2022-05-07T19:08:07.790Z] ca2b28591e48: Verifying Checksum [2022-05-07T19:08:07.790Z] ca2b28591e48: Download complete [2022-05-07T19:08:07.790Z] a51346096db8: Verifying Checksum [2022-05-07T19:08:07.790Z] a51346096db8: Download complete [2022-05-07T19:08:07.790Z] 59bf1c3509f3: Verifying Checksum [2022-05-07T19:08:07.790Z] 59bf1c3509f3: Download complete [2022-05-07T19:08:07.790Z] daebc70d1ce1: Download complete [2022-05-07T19:08:07.790Z] 59bf1c3509f3: Pull complete [2022-05-07T19:08:08.051Z] 666ba61612fd: Pull complete [2022-05-07T19:08:08.051Z] 8ed8ca486205: Pull complete [2022-05-07T19:08:08.313Z] 0e18a0eac166: Verifying Checksum [2022-05-07T19:08:08.313Z] 0e18a0eac166: Download complete [2022-05-07T19:08:08.574Z] 4fe6c5a15a65: Verifying Checksum [2022-05-07T19:08:08.574Z] 4fe6c5a15a65: Download complete [2022-05-07T19:08:12.780Z] 4fe6c5a15a65: Pull complete [2022-05-07T19:08:12.780Z] 22a0e8bec74d: Pull complete [2022-05-07T19:08:12.780Z] ca2b28591e48: Pull complete [2022-05-07T19:08:13.040Z] a51346096db8: Pull complete [2022-05-07T19:08:13.040Z] daebc70d1ce1: Pull complete [2022-05-07T19:08:15.588Z] 0e18a0eac166: Pull complete [2022-05-07T19:08:15.588Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-07T19:08:15.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-07T19:08:15.588Z] ---> f018257e8ee9 [2022-05-07T19:08:15.588Z] Step 3/11 : ARG MAKE=make build [2022-05-07T19:08:17.504Z] ---> Running in 79c5e52bc713 [2022-05-07T19:08:17.504Z] Removing intermediate container 79c5e52bc713 [2022-05-07T19:08:17.504Z] ---> 7ff84814410b [2022-05-07T19:08:17.504Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-07T19:08:17.504Z] ---> Running in 2225d183dee5 [2022-05-07T19:08:17.504Z] Removing intermediate container 2225d183dee5 [2022-05-07T19:08:17.504Z] ---> dcb512835815 [2022-05-07T19:08:17.504Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T19:08:17.504Z] ---> Running in 0768480e50fc [2022-05-07T19:08:17.504Z] Removing intermediate container 0768480e50fc [2022-05-07T19:08:17.504Z] ---> 66e000c6d9db [2022-05-07T19:08:17.504Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T19:08:17.504Z] ---> Running in 9707988d92e7 [2022-05-07T19:08:18.076Z] Removing intermediate container 9707988d92e7 [2022-05-07T19:08:18.076Z] ---> 2c736b3f6432 [2022-05-07T19:08:18.076Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-07T19:08:18.076Z] ---> Running in 78efc7129885 [2022-05-07T19:08:18.648Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-07T19:08:19.592Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-07T19:08:19.856Z] OK: 221 MiB in 52 packages [2022-05-07T19:08:20.117Z] Removing intermediate container 78efc7129885 [2022-05-07T19:08:20.117Z] ---> 931add24e6af [2022-05-07T19:08:20.117Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-07T19:08:20.117Z] ---> c57be8db5b71 [2022-05-07T19:08:20.117Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-07T19:08:20.117Z] ---> Running in 8623a758cf4e [2022-05-07T19:08:20.524Z] Still waiting to schedule task [2022-05-07T19:08:20.525Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-07T19:08:42.162Z] Removing intermediate container 8623a758cf4e [2022-05-07T19:08:42.162Z] ---> 2d09f5551d84 [2022-05-07T19:08:42.162Z] Step 10/11 : COPY . . [2022-05-07T19:08:42.162Z] ---> 690b892b031d [2022-05-07T19:08:42.162Z] Step 11/11 : RUN ${MAKE} [2022-05-07T19:08:42.162Z] ---> Running in 2039f5888d7b [2022-05-07T19:08:42.162Z] noop [2022-05-07T19:08:42.739Z] Removing intermediate container 2039f5888d7b [2022-05-07T19:08:42.739Z] ---> 02963c5f1151 [2022-05-07T19:08:42.739Z] Successfully built 02963c5f1151 [2022-05-07T19:08:42.739Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:08:43.069Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-07T19:08:43.069Z] . [Pipeline] withDockerContainer [2022-05-07T19:08:43.193Z] prd-ubuntu20.04-docker-8c-8g-41402 does not seem to be running inside a container [2022-05-07T19:08:43.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-07T19:08:43.638Z] $ docker top 49e7aa5e8e4104b55c13f09c69d68b3e2662d4639977ecaf4094283cc2efed03 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-07T19:08:44.036Z] + go version [2022-05-07T19:08:44.036Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-07T19:08:44.077Z] $ docker stop --time=1 49e7aa5e8e4104b55c13f09c69d68b3e2662d4639977ecaf4094283cc2efed03 [2022-05-07T19:08:45.353Z] $ docker rm -f 49e7aa5e8e4104b55c13f09c69d68b3e2662d4639977ecaf4094283cc2efed03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:08:46.012Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-07T19:08:46.012Z] . [Pipeline] withDockerContainer [2022-05-07T19:08:46.101Z] prd-ubuntu20.04-docker-8c-8g-41402 does not seem to be running inside a container [2022-05-07T19:08:46.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-07T19:08:46.544Z] $ docker top 7b3fa68e54e2fb7ec72c61616d5a8bd9ddd9d547e6dfe81d1753b4a436f834af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-07T19:08:47.054Z] + make test [2022-05-07T19:08:47.054Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-07T19:08:52.342Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-07T19:09:04.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-07T19:09:04.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-07T19:09:04.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-07T19:09:04.843Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.104s coverage: 23.3% of statements [2022-05-07T19:09:04.843Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-07T19:09:04.843Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements [2022-05-07T19:09:04.843Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.109s coverage: 78.9% of statements [2022-05-07T19:09:04.843Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements [2022-05-07T19:09:04.843Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.081s coverage: 60.0% of statements [2022-05-07T19:09:04.843Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-07T19:09:04.843Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-07T19:09:05.415Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 34.8% of statements [2022-05-07T19:09:05.415Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-07T19:09:06.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 86.1% of statements [2022-05-07T19:09:06.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-07T19:09:06.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-07T19:09:06.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 65.1% of statements [2022-05-07T19:09:06.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.806s coverage: 89.2% of statements [2022-05-07T19:09:06.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-07T19:09:06.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-05-07T19:09:06.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-07T19:09:21.257Z] GO111MODULE=on go vet ./... [2022-05-07T19:09:24.551Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-07T19:09:24.814Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-07T19:09:24.814Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-07T19:09:25.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-07T19:09:25.452Z] $ docker stop --time=1 7b3fa68e54e2fb7ec72c61616d5a8bd9ddd9d547e6dfe81d1753b4a436f834af [2022-05-07T19:09:27.780Z] $ docker rm -f 7b3fa68e54e2fb7ec72c61616d5a8bd9ddd9d547e6dfe81d1753b4a436f834af [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-07T19:09:28.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-07T19:09:28.415Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-07T19:09:29.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-07T19:09:29.545Z] + ls -al . [2022-05-07T19:09:29.545Z] total 296 [2022-05-07T19:09:29.545Z] drwxrwxr-x 11 jenkins jenkins 4096 May 7 19:09 . [2022-05-07T19:09:29.545Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 19:07 .. [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 19:07 .dockerignore [2022-05-07T19:09:29.545Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 19:08 .git [2022-05-07T19:09:29.545Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 19:07 .github [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 131 May 7 19:07 .gitignore [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 42 May 7 19:07 .golangci.yml [2022-05-07T19:09:29.545Z] drwxr-xr-x 3 jenkins jenkins 4096 May 7 19:08 .semver [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 28021 May 7 19:07 CHANGELOG.md [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 677 May 7 19:07 GOVERNANCE.md [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 880 May 7 19:07 Jenkinsfile [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 19:07 LICENSE [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 7 19:07 Makefile [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 619 May 7 19:07 OWNERS.md [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 7 19:07 README.md [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 19:08 VERSION [2022-05-07T19:09:29.545Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 19:07 bin [2022-05-07T19:09:29.545Z] -rw-r--r-- 1 jenkins jenkins 130819 May 7 19:09 coverage.out [2022-05-07T19:09:29.545Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 19:07 example [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 7 19:07 go.mod [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 7 19:07 go.sum [2022-05-07T19:09:29.545Z] drwxrwxr-x 15 jenkins jenkins 4096 May 7 19:07 internal [2022-05-07T19:09:29.545Z] drwxrwxr-x 3 jenkins jenkins 4096 May 7 19:07 openapi [2022-05-07T19:09:29.545Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 19:07 pkg [2022-05-07T19:09:29.545Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 19:07 snap [2022-05-07T19:09:29.545Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 19:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:09:29.872Z] + 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=4ba4dfe5bdcf3fbe372c788b043049de3605ce73 --label arch=amd64 --label version=0.0.0 . [2022-05-07T19:09:29.872Z] Sending build context to Docker daemon 9.853MB [2022-05-07T19:09:29.872Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-07T19:09:29.872Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-07T19:09:29.872Z] ---> 02963c5f1151 [2022-05-07T19:09:29.872Z] Step 3/25 : ARG MAKE=make build [2022-05-07T19:09:30.132Z] ---> Running in 85efa9e7e872 [2022-05-07T19:09:30.132Z] Removing intermediate container 85efa9e7e872 [2022-05-07T19:09:30.132Z] ---> a1ac6918f508 [2022-05-07T19:09:30.132Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-07T19:09:30.132Z] ---> Running in 2acda1b9b352 [2022-05-07T19:09:30.132Z] Removing intermediate container 2acda1b9b352 [2022-05-07T19:09:30.132Z] ---> 9debee135b2f [2022-05-07T19:09:30.132Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T19:09:30.392Z] ---> Running in 121b108d8b91 [2022-05-07T19:09:30.392Z] Removing intermediate container 121b108d8b91 [2022-05-07T19:09:30.392Z] ---> 7ec3debe2eaf [2022-05-07T19:09:30.392Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T19:09:30.392Z] ---> Running in 34e2ef7ec56f [2022-05-07T19:09:30.962Z] Removing intermediate container 34e2ef7ec56f [2022-05-07T19:09:30.962Z] ---> 747045dd7ab1 [2022-05-07T19:09:30.962Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-07T19:09:30.962Z] ---> Running in 03a99a246a7c [2022-05-07T19:09:31.533Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-07T19:09:32.104Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-07T19:09:32.366Z] OK: 221 MiB in 52 packages [2022-05-07T19:09:32.937Z] Removing intermediate container 03a99a246a7c [2022-05-07T19:09:32.937Z] ---> 0f293bf31c72 [2022-05-07T19:09:32.937Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-07T19:09:32.937Z] ---> 0fd713fdbcc6 [2022-05-07T19:09:32.937Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-07T19:09:32.937Z] ---> Running in 1496347dc6a0 [2022-05-07T19:09:33.879Z] Removing intermediate container 1496347dc6a0 [2022-05-07T19:09:33.879Z] ---> 4369a5b55837 [2022-05-07T19:09:33.879Z] Step 10/25 : COPY . . [2022-05-07T19:09:34.149Z] ---> 271f0d17671f [2022-05-07T19:09:34.149Z] Step 11/25 : RUN ${MAKE} [2022-05-07T19:09:34.149Z] ---> Running in adef316bcf21 [2022-05-07T19:09:34.410Z] 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-05-07T19:09:52.523Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-07T19:09:54.433Z] Removing intermediate container adef316bcf21 [2022-05-07T19:09:54.433Z] ---> c597c9342d88 [2022-05-07T19:09:54.433Z] Step 12/25 : FROM alpine:3.14 [2022-05-07T19:09:55.006Z] 3.14: Pulling from library/alpine [2022-05-07T19:09:55.270Z] 8663204ce13b: Pulling fs layer [2022-05-07T19:09:55.548Z] 8663204ce13b: Verifying Checksum [2022-05-07T19:09:55.548Z] 8663204ce13b: Download complete [2022-05-07T19:09:55.548Z] 8663204ce13b: Pull complete [2022-05-07T19:09:55.548Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-07T19:09:55.548Z] Status: Downloaded newer image for alpine:3.14 [2022-05-07T19:09:55.548Z] ---> e04c818066af [2022-05-07T19:09:55.548Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T19:09:55.808Z] ---> Running in 0c32c9357e52 [2022-05-07T19:09:55.808Z] Removing intermediate container 0c32c9357e52 [2022-05-07T19:09:55.808Z] ---> a3d2c82b8b36 [2022-05-07T19:09:55.808Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T19:09:55.808Z] ---> Running in edb8859122d2 [2022-05-07T19:09:56.377Z] Removing intermediate container edb8859122d2 [2022-05-07T19:09:56.377Z] ---> a4317c75387d [2022-05-07T19:09:56.377Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-07T19:09:56.377Z] ---> Running in 8ae4d8f096f0 [2022-05-07T19:09:56.946Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-07T19:09:57.517Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-07T19:09:57.778Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-07T19:09:58.040Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-07T19:09:58.040Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-07T19:09:58.040Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-07T19:09:58.301Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-07T19:09:58.301Z] Executing busybox-1.33.1-r7.trigger [2022-05-07T19:09:58.301Z] OK: 8 MiB in 19 packages [2022-05-07T19:09:58.870Z] Removing intermediate container 8ae4d8f096f0 [2022-05-07T19:09:58.870Z] ---> 505e1bd72011 [2022-05-07T19:09:58.870Z] Step 16/25 : WORKDIR / [2022-05-07T19:09:58.870Z] ---> Running in be6173f870cc [2022-05-07T19:09:58.870Z] Removing intermediate container be6173f870cc [2022-05-07T19:09:58.870Z] ---> 554cf316a2af [2022-05-07T19:09:58.870Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-07T19:09:58.870Z] ---> 1d6f4978f0ec [2022-05-07T19:09:58.870Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-07T19:09:59.810Z] ---> 267834c96333 [2022-05-07T19:09:59.810Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-07T19:09:59.810Z] ---> 8d84a35197f3 [2022-05-07T19:09:59.810Z] Step 20/25 : EXPOSE 59999 [2022-05-07T19:09:59.810Z] ---> Running in b702f291ac2e [2022-05-07T19:09:59.810Z] Removing intermediate container b702f291ac2e [2022-05-07T19:09:59.810Z] ---> 3eb2e5bd8a08 [2022-05-07T19:09:59.810Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-07T19:09:59.810Z] ---> Running in f276dd8752fc [2022-05-07T19:10:00.076Z] Removing intermediate container f276dd8752fc [2022-05-07T19:10:00.076Z] ---> 7008fd5339b4 [2022-05-07T19:10:00.076Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-07T19:10:00.076Z] ---> Running in 94f730327213 [2022-05-07T19:10:00.076Z] Removing intermediate container 94f730327213 [2022-05-07T19:10:00.076Z] ---> 47560fcf770e [2022-05-07T19:10:00.076Z] Step 23/25 : LABEL arch=amd64 [2022-05-07T19:10:00.076Z] ---> Running in 7b3e8997e8dc [2022-05-07T19:10:00.333Z] Removing intermediate container 7b3e8997e8dc [2022-05-07T19:10:00.333Z] ---> 1b7e435a6c3a [2022-05-07T19:10:00.333Z] Step 24/25 : LABEL git_sha=4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [2022-05-07T19:10:00.333Z] ---> Running in 6ecee257a9de [2022-05-07T19:10:00.333Z] Removing intermediate container 6ecee257a9de [2022-05-07T19:10:00.333Z] ---> 56fd8200cde6 [2022-05-07T19:10:00.333Z] Step 25/25 : LABEL version=0.0.0 [2022-05-07T19:10:00.333Z] ---> Running in 4d8cea37d756 [2022-05-07T19:10:00.593Z] Removing intermediate container 4d8cea37d756 [2022-05-07T19:10:00.593Z] ---> 9dda5fbb9658 [2022-05-07T19:10:00.593Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-07T19:10:00.593Z] Successfully built 9dda5fbb9658 [2022-05-07T19:10:00.593Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-05-07T19:10:01.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-07T19:10:01.357Z] [2022-05-07T19:10:01.357Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:10:01.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-07T19:10:01.697Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-07T19:10:01.697Z] 5eb5b503b376: Pulling fs layer [2022-05-07T19:10:01.697Z] 5c69ac0246d0: Pulling fs layer [2022-05-07T19:10:01.697Z] ec43610c2a17: Pulling fs layer [2022-05-07T19:10:01.697Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-07T19:10:01.697Z] 33b1e0a273af: Pulling fs layer [2022-05-07T19:10:01.697Z] 5d3b04190fa2: Pulling fs layer [2022-05-07T19:10:01.697Z] 2f39f015ded8: Pulling fs layer [2022-05-07T19:10:01.697Z] 5d3b04190fa2: Waiting [2022-05-07T19:10:01.697Z] 2f39f015ded8: Waiting [2022-05-07T19:10:01.697Z] 33b1e0a273af: Waiting [2022-05-07T19:10:01.697Z] 5c69ac0246d0: Verifying Checksum [2022-05-07T19:10:01.697Z] 5c69ac0246d0: Download complete [2022-05-07T19:10:01.697Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-07T19:10:01.697Z] 3a2ae6a8a46f: Download complete [2022-05-07T19:10:01.998Z] 33b1e0a273af: Verifying Checksum [2022-05-07T19:10:01.998Z] 33b1e0a273af: Download complete [2022-05-07T19:10:01.998Z] ec43610c2a17: Verifying Checksum [2022-05-07T19:10:01.998Z] ec43610c2a17: Download complete [2022-05-07T19:10:01.998Z] 5d3b04190fa2: Download complete [2022-05-07T19:10:01.998Z] 5eb5b503b376: Verifying Checksum [2022-05-07T19:10:01.998Z] 5eb5b503b376: Download complete [2022-05-07T19:10:02.055Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41403 in /w/workspace/gexfoundry_device-sdk-go_PR-1156 [Pipeline] { [Pipeline] ws [2022-05-07T19:10:02.093Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-05-07T19:10:02.535Z] The recommended git tool is: git [2022-05-07T19:10:02.643Z] 2f39f015ded8: Download complete [2022-05-07T19:10:03.236Z] 5eb5b503b376: Pull complete [2022-05-07T19:10:03.501Z] 5c69ac0246d0: Pull complete [2022-05-07T19:10:04.071Z] ec43610c2a17: Pull complete [2022-05-07T19:10:04.071Z] 3a2ae6a8a46f: Pull complete [2022-05-07T19:10:04.071Z] 33b1e0a273af: Pull complete [2022-05-07T19:10:04.328Z] 5d3b04190fa2: Pull complete [2022-05-07T19:10:08.524Z] using credential edgex-jenkins-ssh [2022-05-07T19:10:08.540Z] Cloning the remote Git repository [2022-05-07T19:10:08.593Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-07T19:10:08.668Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-05-07T19:10:08.754Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-07T19:10:08.755Z] > git --version # timeout=10 [2022-05-07T19:10:08.777Z] > git --version # 'git version 2.25.1' [2022-05-07T19:10:08.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-07T19:10:08.890Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-07T19:10:09.603Z] 2f39f015ded8: Pull complete [2022-05-07T19:10:09.603Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-07T19:10:09.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-07T19:10:09.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-07T19:10:09.692Z] prd-ubuntu20.04-docker-8c-8g-41402 does not seem to be running inside a container [2022-05-07T19:10:09.742Z] $ 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-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-07T19:10:11.061Z] Merging remotes/origin/main commit cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [2022-05-07T19:10:11.312Z] Merge succeeded, producing 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [2022-05-07T19:10:11.313Z] Checking out Revision 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 (PR-1156) [2022-05-07T19:10:10.308Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-07T19:10:10.327Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-07T19:10:10.358Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-07T19:10:10.398Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-07T19:10:10.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-07T19:10:10.412Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1156/head:refs/remotes/origin/PR-1156 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-07T19:10:11.081Z] > git config core.sparsecheckout # timeout=10 [2022-05-07T19:10:11.107Z] > git checkout -f 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 # timeout=10 [2022-05-07T19:10:11.215Z] > git remote # timeout=10 [2022-05-07T19:10:11.232Z] > git config --get remote.origin.url # timeout=10 [2022-05-07T19:10:11.250Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-07T19:10:11.263Z] > git merge cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 [2022-05-07T19:10:11.288Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-07T19:10:11.321Z] > git config core.sparsecheckout # timeout=10 [2022-05-07T19:10:11.336Z] > git checkout -f 4ba4dfe5bdcf3fbe372c788b043049de3605ce73 # timeout=10 [2022-05-07T19:10:12.137Z] $ docker top a1b0832e2fa8a6bf9e38832312dba8334550d8cbe75d3709708dc56c9e938660 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:10:12.625Z] ---> job-cost.sh [2022-05-07T19:10:12.625Z] lf-activate-venv: SKIPPING [2022-05-07T19:10:12.625Z] INFO: No Stack... [2022-05-07T19:10:13.198Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-07T19:10:13.460Z] INFO: Archiving Costs [Pipeline] sh [2022-05-07T19:10:13.793Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives/cost.csv [2022-05-07T19:10:13.793Z] + cut -d, -f6 [Pipeline] lock [2022-05-07T19:10:13.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1156-1-stack-cost] [2022-05-07T19:10:13.838Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-1-stack-cost] did not exist. Created. [2022-05-07T19:10:13.838Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-07T19:10:14.230Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-07T19:10:14.284Z] Stashed 1 file(s) [Pipeline] } [2022-05-07T19:10:14.308Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-07T19:10:14.398Z] $ docker stop --time=1 a1b0832e2fa8a6bf9e38832312dba8334550d8cbe75d3709708dc56c9e938660 [2022-05-07T19:10:15.449Z] Commit message: "docs: update Changelog for Kamakura" [2022-05-07T19:10:15.515Z] > git --version # timeout=10 [2022-05-07T19:10:15.525Z] > git --version # 'git version 2.25.1' [2022-05-07T19:10:15.540Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-07T19:10:15.558Z] $ docker rm -f a1b0832e2fa8a6bf9e38832312dba8334550d8cbe75d3709708dc56c9e938660 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-07T19:10:16.622Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-07T19:10:16.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-07T19:10:16.622Z] Dload Upload Total Spent Left Speed [2022-05-07T19:10:16.622Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97073 [Pipeline] sh [2022-05-07T19:10:17.161Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-07T19:10:17.522Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-07T19:10:17.523Z] + sudo tee /etc/docker/daemon.new [2022-05-07T19:10:17.523Z] { [2022-05-07T19:10:17.523Z] "registry-mirrors": [ [2022-05-07T19:10:17.523Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-07T19:10:17.523Z] ], [2022-05-07T19:10:17.523Z] "bip": "10.250.0.254/24", [2022-05-07T19:10:17.523Z] "hosts": [ [2022-05-07T19:10:17.523Z] "tcp://0.0.0.0:5555", [2022-05-07T19:10:17.523Z] "unix:///var/run/docker.sock" [2022-05-07T19:10:17.523Z] ], [2022-05-07T19:10:17.523Z] "mtu": 1458, [2022-05-07T19:10:17.523Z] "selinux-enabled": true, [2022-05-07T19:10:17.523Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-07T19:10:17.523Z] } [Pipeline] sh [2022-05-07T19:10:17.880Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-07T19:10:18.354Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-07T19:10:36.767Z] provisioning config files... [2022-05-07T19:10:36.792Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1212592654894600084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:10:37.441Z] ---> docker-login.sh [2022-05-07T19:10:37.441Z] nexus3.edgexfoundry.org:10001 [2022-05-07T19:10:38.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:10:38.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:10:38.318Z] Configure a credential helper to remove this warning. See [2022-05-07T19:10:38.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:10:38.318Z] [2022-05-07T19:10:38.318Z] Login Succeeded [2022-05-07T19:10:38.318Z] nexus3.edgexfoundry.org:10002 [2022-05-07T19:10:38.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:10:38.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:10:38.593Z] Configure a credential helper to remove this warning. See [2022-05-07T19:10:38.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:10:38.593Z] [2022-05-07T19:10:38.593Z] Login Succeeded [2022-05-07T19:10:38.593Z] nexus3.edgexfoundry.org:10003 [2022-05-07T19:10:39.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:10:39.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:10:39.196Z] Configure a credential helper to remove this warning. See [2022-05-07T19:10:39.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:10:39.196Z] [2022-05-07T19:10:39.196Z] Login Succeeded [2022-05-07T19:10:39.196Z] nexus3.edgexfoundry.org:10004 [2022-05-07T19:10:39.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:10:39.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:10:39.473Z] Configure a credential helper to remove this warning. See [2022-05-07T19:10:39.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:10:39.473Z] [2022-05-07T19:10:39.473Z] Login Succeeded [2022-05-07T19:10:39.473Z] docker.io [2022-05-07T19:10:40.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-07T19:10:40.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-07T19:10:40.343Z] Configure a credential helper to remove this warning. See [2022-05-07T19:10:40.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-07T19:10:40.343Z] [2022-05-07T19:10:40.343Z] Login Succeeded [2022-05-07T19:10:40.343Z] ---> docker-login.sh ends [Pipeline] } [2022-05-07T19:10:40.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-07T19:10:40.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-07T19:10:40.784Z] ========================================================= [2022-05-07T19:10:40.784Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-07T19:10:40.784Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:10:41.217Z] + 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-05-07T19:10:41.490Z] Sending build context to Docker daemon 5.242MB [2022-05-07T19:10:41.765Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-07T19:10:41.765Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-07T19:10:41.765Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-07T19:10:41.765Z] 9b3977197b4f: Pulling fs layer [2022-05-07T19:10:41.765Z] 1a89e8eeedd5: Pulling fs layer [2022-05-07T19:10:41.765Z] 94645a83ff95: Pulling fs layer [2022-05-07T19:10:41.765Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-07T19:10:41.765Z] 0c92f367c5e7: Pulling fs layer [2022-05-07T19:10:41.765Z] 3096ccb668a1: Pulling fs layer [2022-05-07T19:10:41.765Z] e8cf19c19ddd: Pulling fs layer [2022-05-07T19:10:41.765Z] a4caa8a26152: Pulling fs layer [2022-05-07T19:10:41.765Z] 3f3a8bcf1eab: Waiting [2022-05-07T19:10:41.765Z] 0c92f367c5e7: Waiting [2022-05-07T19:10:41.765Z] 3096ccb668a1: Waiting [2022-05-07T19:10:41.765Z] a4caa8a26152: Waiting [2022-05-07T19:10:41.765Z] e8cf19c19ddd: Waiting [2022-05-07T19:10:41.765Z] 94645a83ff95: Verifying Checksum [2022-05-07T19:10:41.765Z] 94645a83ff95: Download complete [2022-05-07T19:10:41.765Z] 1a89e8eeedd5: Download complete [2022-05-07T19:10:41.765Z] 0c92f367c5e7: Verifying Checksum [2022-05-07T19:10:41.765Z] 0c92f367c5e7: Download complete [2022-05-07T19:10:41.765Z] 3096ccb668a1: Download complete [2022-05-07T19:10:41.765Z] 9b3977197b4f: Verifying Checksum [2022-05-07T19:10:41.765Z] 9b3977197b4f: Download complete [2022-05-07T19:10:42.045Z] e8cf19c19ddd: Verifying Checksum [2022-05-07T19:10:42.045Z] e8cf19c19ddd: Download complete [2022-05-07T19:10:42.646Z] 9b3977197b4f: Pull complete [2022-05-07T19:10:43.245Z] 1a89e8eeedd5: Pull complete [2022-05-07T19:10:43.522Z] 94645a83ff95: Pull complete [2022-05-07T19:10:43.799Z] a4caa8a26152: Verifying Checksum [2022-05-07T19:10:43.799Z] a4caa8a26152: Download complete [2022-05-07T19:10:44.078Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-07T19:10:44.078Z] 3f3a8bcf1eab: Download complete [2022-05-07T19:10:56.492Z] 3f3a8bcf1eab: Pull complete [2022-05-07T19:10:56.492Z] 0c92f367c5e7: Pull complete [2022-05-07T19:10:56.492Z] 3096ccb668a1: Pull complete [2022-05-07T19:10:56.766Z] e8cf19c19ddd: Pull complete [2022-05-07T19:11:03.500Z] a4caa8a26152: Pull complete [2022-05-07T19:11:03.500Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-07T19:11:03.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-07T19:11:03.500Z] ---> 725f1c02e7f9 [2022-05-07T19:11:03.500Z] Step 3/11 : ARG MAKE=make build [2022-05-07T19:11:03.777Z] ---> Running in 4051a966647a [2022-05-07T19:11:04.062Z] Removing intermediate container 4051a966647a [2022-05-07T19:11:04.062Z] ---> 3fe4a923dede [2022-05-07T19:11:04.062Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-07T19:11:04.062Z] ---> Running in d86ef16c6d86 [2022-05-07T19:11:04.336Z] Removing intermediate container d86ef16c6d86 [2022-05-07T19:11:04.336Z] ---> 5733758a5b21 [2022-05-07T19:11:04.336Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T19:11:04.336Z] ---> Running in be6502ff7c59 [2022-05-07T19:11:04.612Z] Removing intermediate container be6502ff7c59 [2022-05-07T19:11:04.612Z] ---> 06aa31d61b9a [2022-05-07T19:11:04.612Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T19:11:04.889Z] ---> Running in 71a8c5477b9e [2022-05-07T19:11:06.862Z] Removing intermediate container 71a8c5477b9e [2022-05-07T19:11:06.862Z] ---> 8d55d6c8f73c [2022-05-07T19:11:06.862Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-07T19:11:06.862Z] ---> Running in ad48c1d3110e [2022-05-07T19:11:07.461Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-07T19:11:08.435Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-07T19:11:09.420Z] OK: 220 MiB in 52 packages [2022-05-07T19:11:10.416Z] Removing intermediate container ad48c1d3110e [2022-05-07T19:11:10.416Z] ---> 777c0b03a916 [2022-05-07T19:11:10.416Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-07T19:11:10.699Z] ---> 1ddf1a073d64 [2022-05-07T19:11:10.699Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-07T19:11:10.982Z] ---> Running in c387779fd78b [2022-05-07T19:11:58.018Z] Removing intermediate container c387779fd78b [2022-05-07T19:11:58.018Z] ---> 99fc2486900f [2022-05-07T19:11:58.018Z] Step 10/11 : COPY . . [2022-05-07T19:11:58.018Z] ---> d3360a3729d0 [2022-05-07T19:11:58.018Z] Step 11/11 : RUN ${MAKE} [2022-05-07T19:11:58.018Z] ---> Running in 898e598ef33e [2022-05-07T19:11:58.018Z] noop [2022-05-07T19:11:58.018Z] Removing intermediate container 898e598ef33e [2022-05-07T19:11:58.018Z] ---> 7098bda6767c [2022-05-07T19:11:58.018Z] Successfully built 7098bda6767c [2022-05-07T19:11:58.018Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:11:58.386Z] + docker inspect -f . ci-base-image-arm64 [2022-05-07T19:11:58.386Z] . [Pipeline] withDockerContainer [2022-05-07T19:11:58.631Z] prd-ubuntu20.04-docker-arm64-4c-16g-41403 does not seem to be running inside a container [2022-05-07T19:11:58.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-07T19:12:00.001Z] $ docker top 1d5dbbbdd96741cc4912cb04b8cd5348a2857d2943b77a60c96abd80176fb883 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-07T19:12:00.969Z] + go version [2022-05-07T19:12:00.969Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-07T19:12:01.004Z] $ docker stop --time=1 1d5dbbbdd96741cc4912cb04b8cd5348a2857d2943b77a60c96abd80176fb883 [2022-05-07T19:12:02.649Z] $ docker rm -f 1d5dbbbdd96741cc4912cb04b8cd5348a2857d2943b77a60c96abd80176fb883 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:12:03.582Z] + docker inspect -f . ci-base-image-arm64 [2022-05-07T19:12:03.582Z] . [Pipeline] withDockerContainer [2022-05-07T19:12:03.808Z] prd-ubuntu20.04-docker-arm64-4c-16g-41403 does not seem to be running inside a container [2022-05-07T19:12:03.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-07T19:12:05.116Z] $ docker top 4d5f573a3651a1fb92ab77e759b642b2f72d38b3d31b0e3b5672f34c23cf49df -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-07T19:12:06.129Z] + make test [2022-05-07T19:12:06.129Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-07T19:12:32.947Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-07T19:14:09.860Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-07T19:14:09.860Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-07T19:14:09.860Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-07T19:14:16.614Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.384s coverage: 23.3% of statements [2022-05-07T19:14:16.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-07T19:14:16.614Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.244s coverage: 27.6% of statements [2022-05-07T19:14:16.614Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.329s coverage: 78.9% of statements [2022-05-07T19:14:16.614Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.267s coverage: 10.8% of statements [2022-05-07T19:14:22.082Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.458s coverage: 60.0% of statements [2022-05-07T19:14:22.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-07T19:14:22.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-07T19:14:24.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.452s coverage: 34.8% of statements [2022-05-07T19:14:24.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-07T19:14:26.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.290s coverage: 86.1% of statements [2022-05-07T19:14:26.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-07T19:14:26.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-07T19:14:26.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.471s coverage: 65.1% of statements [2022-05-07T19:14:29.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.089s coverage: 89.2% of statements [2022-05-07T19:14:29.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-07T19:14:31.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.228s coverage: 4.7% of statements [2022-05-07T19:14:31.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-07T19:14:31.928Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-07T19:14:31.928Z] GO111MODULE=on go vet ./... [2022-05-07T19:15:53.779Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-07T19:15:53.779Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-07T19:15:53.779Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-07T19:15:54.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-07T19:15:54.119Z] $ docker stop --time=1 4d5f573a3651a1fb92ab77e759b642b2f72d38b3d31b0e3b5672f34c23cf49df [2022-05-07T19:15:55.913Z] $ docker rm -f 4d5f573a3651a1fb92ab77e759b642b2f72d38b3d31b0e3b5672f34c23cf49df [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-07T19:15:57.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-07T19:15:57.310Z] Warning: overwriting stash ‘coverage-report’ [2022-05-07T19:15:57.893Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-07T19:15:58.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-07T19:15:58.843Z] + ls -al . [2022-05-07T19:15:58.843Z] total 292 [2022-05-07T19:15:58.843Z] drwxrwxr-x 10 jenkins jenkins 4096 May 7 19:15 . [2022-05-07T19:15:58.843Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 19:10 .. [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 19:10 .dockerignore [2022-05-07T19:15:58.843Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 19:10 .git [2022-05-07T19:15:58.843Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 19:10 .github [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 131 May 7 19:10 .gitignore [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 42 May 7 19:10 .golangci.yml [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 28021 May 7 19:10 CHANGELOG.md [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 677 May 7 19:10 GOVERNANCE.md [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 880 May 7 19:10 Jenkinsfile [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 19:10 LICENSE [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 7 19:10 Makefile [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 619 May 7 19:10 OWNERS.md [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 7 19:10 README.md [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 19:08 VERSION [2022-05-07T19:15:58.843Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 19:10 bin [2022-05-07T19:15:58.843Z] -rw-r--r-- 1 jenkins jenkins 130819 May 7 19:14 coverage.out [2022-05-07T19:15:58.843Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 19:10 example [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 3198 May 7 19:10 go.mod [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 35003 May 7 19:10 go.sum [2022-05-07T19:15:58.843Z] drwxrwxr-x 15 jenkins jenkins 4096 May 7 19:10 internal [2022-05-07T19:15:58.843Z] drwxrwxr-x 3 jenkins jenkins 4096 May 7 19:10 openapi [2022-05-07T19:15:58.843Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 19:10 pkg [2022-05-07T19:15:58.843Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 19:10 snap [2022-05-07T19:15:58.843Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 19:10 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:15:59.210Z] + 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=4ba4dfe5bdcf3fbe372c788b043049de3605ce73 --label arch=arm64 --label version=0.0.0 . [2022-05-07T19:15:59.808Z] Sending build context to Docker daemon 5.373MB [2022-05-07T19:15:59.808Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-07T19:15:59.808Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-07T19:15:59.808Z] ---> 7098bda6767c [2022-05-07T19:15:59.808Z] Step 3/25 : ARG MAKE=make build [2022-05-07T19:15:59.808Z] ---> Running in 7aff9d139bce [2022-05-07T19:16:00.086Z] Removing intermediate container 7aff9d139bce [2022-05-07T19:16:00.086Z] ---> 84c5f2df24c5 [2022-05-07T19:16:00.086Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-07T19:16:00.360Z] ---> Running in e727a110740c [2022-05-07T19:16:00.636Z] Removing intermediate container e727a110740c [2022-05-07T19:16:00.636Z] ---> 8366fdab2bc7 [2022-05-07T19:16:00.636Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T19:16:00.636Z] ---> Running in 7fde04c401d7 [2022-05-07T19:16:00.916Z] Removing intermediate container 7fde04c401d7 [2022-05-07T19:16:00.916Z] ---> f4760552cdfa [2022-05-07T19:16:00.916Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T19:16:00.916Z] ---> Running in 9c83578a84ad [2022-05-07T19:16:02.902Z] Removing intermediate container 9c83578a84ad [2022-05-07T19:16:02.902Z] ---> 25e031912657 [2022-05-07T19:16:02.902Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-07T19:16:02.902Z] ---> Running in 18f2f0e81f35 [2022-05-07T19:16:03.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-07T19:16:04.484Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-07T19:16:05.471Z] OK: 220 MiB in 52 packages [2022-05-07T19:16:06.072Z] Removing intermediate container 18f2f0e81f35 [2022-05-07T19:16:06.072Z] ---> e2f556c697d1 [2022-05-07T19:16:06.072Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-07T19:16:06.674Z] ---> 2f5215589068 [2022-05-07T19:16:06.674Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-07T19:16:06.674Z] ---> Running in 53992d853cd2 [2022-05-07T19:16:08.655Z] Removing intermediate container 53992d853cd2 [2022-05-07T19:16:08.655Z] ---> 6267b4da9848 [2022-05-07T19:16:08.655Z] Step 10/25 : COPY . . [2022-05-07T19:16:09.642Z] ---> 49d05f8c33d2 [2022-05-07T19:16:09.642Z] Step 11/25 : RUN ${MAKE} [2022-05-07T19:16:09.926Z] ---> Running in 124b939d3070 [2022-05-07T19:16:10.932Z] 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-05-07T19:18:02.806Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-07T19:18:04.245Z] Removing intermediate container 124b939d3070 [2022-05-07T19:18:04.245Z] ---> e55e9f7fe779 [2022-05-07T19:18:04.245Z] Step 12/25 : FROM alpine:3.14 [2022-05-07T19:18:04.840Z] 3.14: Pulling from library/alpine [2022-05-07T19:18:05.116Z] 455c02918c45: Pulling fs layer [2022-05-07T19:18:05.393Z] 455c02918c45: Verifying Checksum [2022-05-07T19:18:05.393Z] 455c02918c45: Download complete [2022-05-07T19:18:05.999Z] 455c02918c45: Pull complete [2022-05-07T19:18:05.999Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-07T19:18:05.999Z] Status: Downloaded newer image for alpine:3.14 [2022-05-07T19:18:05.999Z] ---> ac73e934f311 [2022-05-07T19:18:05.999Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-07T19:18:05.999Z] ---> Running in 60f297852a92 [2022-05-07T19:18:06.281Z] Removing intermediate container 60f297852a92 [2022-05-07T19:18:06.281Z] ---> 086b8491bb9a [2022-05-07T19:18:06.281Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-07T19:18:06.281Z] ---> Running in 2d3cb817a617 [2022-05-07T19:18:08.291Z] Removing intermediate container 2d3cb817a617 [2022-05-07T19:18:08.291Z] ---> d16009d41446 [2022-05-07T19:18:08.291Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-07T19:18:08.291Z] ---> Running in d49f16916160 [2022-05-07T19:18:09.273Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-07T19:18:09.870Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-07T19:18:10.852Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-07T19:18:10.852Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-07T19:18:10.852Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-07T19:18:10.852Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-07T19:18:11.127Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-07T19:18:11.127Z] Executing busybox-1.33.1-r7.trigger [2022-05-07T19:18:11.127Z] OK: 8 MiB in 19 packages [2022-05-07T19:18:12.112Z] Removing intermediate container d49f16916160 [2022-05-07T19:18:12.112Z] ---> 451a7e44a479 [2022-05-07T19:18:12.112Z] Step 16/25 : WORKDIR / [2022-05-07T19:18:12.112Z] ---> Running in ae8b35b4df68 [2022-05-07T19:18:12.387Z] Removing intermediate container ae8b35b4df68 [2022-05-07T19:18:12.387Z] ---> 2af6dfae7d8b [2022-05-07T19:18:12.387Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-07T19:18:12.985Z] ---> 60209dfba72d [2022-05-07T19:18:12.985Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-07T19:18:14.419Z] ---> 6c98bc17fe66 [2022-05-07T19:18:14.419Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-07T19:18:15.025Z] ---> fba29f181412 [2022-05-07T19:18:15.025Z] Step 20/25 : EXPOSE 59999 [2022-05-07T19:18:15.025Z] ---> Running in a0362103321c [2022-05-07T19:18:15.301Z] Removing intermediate container a0362103321c [2022-05-07T19:18:15.301Z] ---> af12f92ce88b [2022-05-07T19:18:15.301Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-07T19:18:15.301Z] ---> Running in 7e2e72c6a742 [2022-05-07T19:18:15.576Z] Removing intermediate container 7e2e72c6a742 [2022-05-07T19:18:15.576Z] ---> 3ebbe84547bd [2022-05-07T19:18:15.576Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-07T19:18:15.855Z] ---> Running in 568a0d805374 [2022-05-07T19:18:16.135Z] Removing intermediate container 568a0d805374 [2022-05-07T19:18:16.135Z] ---> 047a64c5fce3 [2022-05-07T19:18:16.135Z] Step 23/25 : LABEL arch=arm64 [2022-05-07T19:18:16.135Z] ---> Running in 620fedc226fc [2022-05-07T19:18:16.409Z] Removing intermediate container 620fedc226fc [2022-05-07T19:18:16.409Z] ---> 0cbf88ea1e35 [2022-05-07T19:18:16.409Z] Step 24/25 : LABEL git_sha=4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [2022-05-07T19:18:16.698Z] ---> Running in 97fd7133211a [2022-05-07T19:18:16.977Z] Removing intermediate container 97fd7133211a [2022-05-07T19:18:16.977Z] ---> cec04e1a30c1 [2022-05-07T19:18:16.977Z] Step 25/25 : LABEL version=0.0.0 [2022-05-07T19:18:16.977Z] ---> Running in 4a7e4317ccf8 [2022-05-07T19:18:17.251Z] Removing intermediate container 4a7e4317ccf8 [2022-05-07T19:18:17.251Z] ---> 724b3673b3fb [2022-05-07T19:18:17.251Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-07T19:18:17.251Z] Successfully built 724b3673b3fb [2022-05-07T19:18:17.251Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-05-07T19:18:17.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-07T19:18:17.944Z] [2022-05-07T19:18:17.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:18:18.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-07T19:18:18.612Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-07T19:18:18.612Z] 8998bd30e6a1: Pulling fs layer [2022-05-07T19:18:18.612Z] 04944245beec: Pulling fs layer [2022-05-07T19:18:18.612Z] 699f458cf7ca: Pulling fs layer [2022-05-07T19:18:18.612Z] 765212b225bb: Pulling fs layer [2022-05-07T19:18:18.612Z] f23df028b6ca: Pulling fs layer [2022-05-07T19:18:18.612Z] d65c8cfc05b1: Pulling fs layer [2022-05-07T19:18:18.612Z] 2437ff75d9bd: Pulling fs layer [2022-05-07T19:18:18.612Z] 765212b225bb: Waiting [2022-05-07T19:18:18.612Z] f23df028b6ca: Waiting [2022-05-07T19:18:18.612Z] d65c8cfc05b1: Waiting [2022-05-07T19:18:18.612Z] 2437ff75d9bd: Waiting [2022-05-07T19:18:18.612Z] 04944245beec: Verifying Checksum [2022-05-07T19:18:18.612Z] 04944245beec: Download complete [2022-05-07T19:18:18.612Z] 765212b225bb: Verifying Checksum [2022-05-07T19:18:18.612Z] 765212b225bb: Download complete [2022-05-07T19:18:18.612Z] f23df028b6ca: Verifying Checksum [2022-05-07T19:18:18.612Z] f23df028b6ca: Download complete [2022-05-07T19:18:18.612Z] d65c8cfc05b1: Verifying Checksum [2022-05-07T19:18:18.612Z] d65c8cfc05b1: Download complete [2022-05-07T19:18:18.888Z] 699f458cf7ca: Verifying Checksum [2022-05-07T19:18:18.888Z] 699f458cf7ca: Download complete [2022-05-07T19:18:19.164Z] 8998bd30e6a1: Verifying Checksum [2022-05-07T19:18:19.164Z] 8998bd30e6a1: Download complete [2022-05-07T19:18:21.791Z] 2437ff75d9bd: Verifying Checksum [2022-05-07T19:18:21.791Z] 2437ff75d9bd: Download complete [2022-05-07T19:18:23.230Z] 8998bd30e6a1: Pull complete [2022-05-07T19:18:23.830Z] 04944245beec: Pull complete [2022-05-07T19:18:25.270Z] 699f458cf7ca: Pull complete [2022-05-07T19:18:25.545Z] 765212b225bb: Pull complete [2022-05-07T19:18:26.532Z] f23df028b6ca: Pull complete [2022-05-07T19:18:26.532Z] d65c8cfc05b1: Pull complete [2022-05-07T19:18:41.647Z] 2437ff75d9bd: Pull complete [2022-05-07T19:18:41.647Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-07T19:18:41.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-07T19:18:41.647Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-07T19:18:41.909Z] prd-ubuntu20.04-docker-arm64-4c-16g-41403 does not seem to be running inside a container [2022-05-07T19:18:41.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-07T19:18:44.467Z] $ docker top cb23c8345c94b250b51c4754ba3e00524fc0a661593b657c095fb38e9cb97e09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:18:45.464Z] ---> job-cost.sh [2022-05-07T19:18:45.464Z] lf-activate-venv: SKIPPING [2022-05-07T19:18:45.464Z] INFO: No Stack... [2022-05-07T19:18:45.737Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-07T19:18:46.715Z] INFO: Archiving Costs [Pipeline] sh [2022-05-07T19:18:47.400Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-05-07T19:18:47.400Z] + cut -d, -f6 [Pipeline] lock [2022-05-07T19:18:47.487Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1156-1-stack-cost] [2022-05-07T19:18:47.492Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-1-stack-cost] did not exist. Created. [2022-05-07T19:18:47.492Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-07T19:18:48.242Z] /w/workspace/device-sdk-go/1@tmp/durable-a14ebd41/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-07T19:18:48.940Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-07T19:18:48.978Z] Warning: overwriting stash ‘stack-cost’ [2022-05-07T19:18:49.056Z] Stashed 1 file(s) [Pipeline] } [2022-05-07T19:18:49.071Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1156-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-07T19:18:49.142Z] $ docker stop --time=1 cb23c8345c94b250b51c4754ba3e00524fc0a661593b657c095fb38e9cb97e09 [2022-05-07T19:18:50.633Z] $ docker rm -f cb23c8345c94b250b51c4754ba3e00524fc0a661593b657c095fb38e9cb97e09 [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-05-07T19:18:51.693Z] provisioning config files... [2022-05-07T19:18:51.702Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config6630073021859942393tmp [Pipeline] { [Pipeline] sh [2022-05-07T19:18:52.041Z] + set +x [2022-05-07T19:18:52.041Z] + curl -s https://codecov.io/bash [2022-05-07T19:18:52.041Z] + bash -s -- [2022-05-07T19:18:52.041Z] [2022-05-07T19:18:52.041Z] _____ _ [2022-05-07T19:18:52.041Z] / ____| | | [2022-05-07T19:18:52.041Z] | | ___ __| | ___ ___ _____ __ [2022-05-07T19:18:52.041Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-07T19:18:52.041Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-07T19:18:52.041Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-07T19:18:52.041Z] Bash-1.0.6 [2022-05-07T19:18:52.041Z] [2022-05-07T19:18:52.041Z] [2022-05-07T19:18:52.041Z] ==> git version 2.25.1 found [2022-05-07T19:18:52.041Z] ==> 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-05-07T19:18:52.041Z] Release-Date: 2020-01-08 [2022-05-07T19:18:52.041Z] 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-05-07T19:18:52.041Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-07T19:18:52.041Z] ==> Jenkins CI detected. [2022-05-07T19:18:52.041Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1156 [2022-05-07T19:18:52.041Z] project root: . [2022-05-07T19:18:52.041Z] --> token set from env [2022-05-07T19:18:52.041Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-07T19:18:52.041Z] ==> Running gcov in . (disable via -X gcov) [2022-05-07T19:18:52.041Z] ==> Python coveragepy not found [2022-05-07T19:18:52.041Z] ==> Searching for coverage reports in: [2022-05-07T19:18:52.041Z] + . [2022-05-07T19:18:52.041Z] -> Found 1 reports [2022-05-07T19:18:52.041Z] ==> Detecting git/mercurial file structure [2022-05-07T19:18:52.041Z] ==> Reading reports [2022-05-07T19:18:52.041Z] + ./coverage.out bytes=130819 [2022-05-07T19:18:52.303Z] ==> Appending adjustments [2022-05-07T19:18:52.304Z] https://docs.codecov.io/docs/fixing-reports [2022-05-07T19:18:52.564Z] + Found adjustments [2022-05-07T19:18:52.564Z] ==> Gzipping contents [2022-05-07T19:18:52.564Z] 20K /tmp/codecov.RgSlvQ.gz [2022-05-07T19:18:52.564Z] ==> Uploading reports [2022-05-07T19:18:52.564Z] url: https://codecov.io [2022-05-07T19:18:52.564Z] query: branch=PR-1156&commit=4ba4dfe5bdcf3fbe372c788b043049de3605ce73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1156%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1156&job=&cmd_args= [2022-05-07T19:18:52.564Z] -> Pinging Codecov [2022-05-07T19:18:52.564Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1156&commit=4ba4dfe5bdcf3fbe372c788b043049de3605ce73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1156%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1156&job=&cmd_args= [2022-05-07T19:18:52.824Z] -> Uploading to [2022-05-07T19:18:52.824Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-07/7E55EF52A471D76F132DFD9A03CDDE97/4ba4dfe5bdcf3fbe372c788b043049de3605ce73/91445e39-fbfa-47b9-954c-4eb8c0c295d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220507T191852Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ada9016fdc25176030985229f1597c1c0adbcd83a28727cf1e8f339c925e877 [2022-05-07T19:18:52.824Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-07T19:18:52.824Z] Dload Upload Total Spent Left Speed [2022-05-07T19:18:53.085Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16807 0 0 100 16807 0 70029 --:--:-- --:--:-- --:--:-- 70029 [2022-05-07T19:18:53.085Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4ba4dfe5bdcf3fbe372c788b043049de3605ce73 [Pipeline] } [2022-05-07T19:18:53.114Z] 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-05-07T19:18:54.842Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives ] [2022-05-07T19:18:54.842Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives [2022-05-07T19:18:54.842Z] total 16 [2022-05-07T19:18:54.842Z] drwxr-xr-x 3 root root 4096 May 7 19:10 . [2022-05-07T19:18:54.842Z] drwxrwxr-x 12 jenkins jenkins 4096 May 7 19:10 .. [2022-05-07T19:18:54.842Z] drwxr-xr-x 2 root root 4096 May 7 19:10 cost [2022-05-07T19:18:54.842Z] -rw-r--r-- 1 root root 85 May 7 19:10 cost.csv [2022-05-07T19:18:54.842Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives [2022-05-07T19:18:54.842Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives [2022-05-07T19:18:54.842Z] total 16 [2022-05-07T19:18:54.842Z] drwxr-xr-x 3 jenkins jenkins 4096 May 7 19:10 . [2022-05-07T19:18:54.842Z] drwxrwxr-x 12 jenkins jenkins 4096 May 7 19:10 .. [2022-05-07T19:18:54.842Z] drwxr-xr-x 2 jenkins jenkins 4096 May 7 19:10 cost [2022-05-07T19:18:54.842Z] -rw-r--r-- 1 jenkins jenkins 85 May 7 19:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:18:55.175Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:18:56.068Z] ---> package-listing.sh [2022-05-07T19:18:56.069Z] ++ facter osfamily [2022-05-07T19:18:56.069Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-07T19:18:56.330Z] + OS_FAMILY=debian [2022-05-07T19:18:56.330Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1156 [2022-05-07T19:18:56.330Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-07T19:18:56.330Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-07T19:18:56.330Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-07T19:18:56.330Z] + PACKAGES=/tmp/packages_start.txt [2022-05-07T19:18:56.330Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1156 ']' [2022-05-07T19:18:56.330Z] + PACKAGES=/tmp/packages_end.txt [2022-05-07T19:18:56.330Z] + case "${OS_FAMILY}" in [2022-05-07T19:18:56.330Z] + dpkg -l [2022-05-07T19:18:56.330Z] + grep '^ii' [2022-05-07T19:18:56.330Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-07T19:18:56.330Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-07T19:18:56.330Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-07T19:18:56.330Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1156 ']' [2022-05-07T19:18:56.330Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives/ [2022-05-07T19:18:56.330Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1156/archives/ [Pipeline] echo [2022-05-07T19:18:56.367Z] 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-1156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-07T19:18:56.663Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-07T19:18:57.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-07T19:18:57.247Z] . [Pipeline] withDockerContainer [2022-05-07T19:18:57.337Z] prd-ubuntu20.04-docker-8c-8g-41402 does not seem to be running inside a container [2022-05-07T19:18:57.391Z] $ 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-1156/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-1156 -v /w/workspace/gexfoundry_device-sdk-go_PR-1156:/w/workspace/gexfoundry_device-sdk-go_PR-1156:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-07T19:18:57.618Z] $ docker top 14f9fb9e3f40f81972e55914ef6fbdaef2018f433319269a5d6c9f6b00c8dc7c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-07T19:18:58.000Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-07T19:18:58.327Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-07T19:18:58.640Z] + ls /var/log/sa-host [2022-05-07T19:18:58.640Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-07T19:18:58.912Z] provisioning config files... [2022-05-07T19:18:58.922Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1156@tmp/config5224667271820515848tmp [Pipeline] { [Pipeline] echo [2022-05-07T19:18:58.971Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:18:59.285Z] ---> create-netrc.sh [Pipeline] } [2022-05-07T19:18:59.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:18:59.722Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-07T19:18:59.754Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:19:00.064Z] ---> sudo-logs.sh [2022-05-07T19:19:00.064Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-07T19:19:00.144Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:19:00.469Z] ---> job-cost.sh [2022-05-07T19:19:00.470Z] lf-activate-venv: SKIPPING [2022-05-07T19:19:00.470Z] DEBUG: total: 0.2199999988079071 [2022-05-07T19:19:00.470Z] INFO: Retrieving Stack Cost... [2022-05-07T19:19:01.039Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-07T19:19:01.302Z] INFO: Archiving Costs [Pipeline] echo [2022-05-07T19:19:01.338Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-07T19:19:01.664Z] ---> logs-deploy.sh [2022-05-07T19:19:01.664Z] lf-activate-venv: SKIPPING [2022-05-07T19:19:01.664Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1156/1 [2022-05-07T19:19:01.664Z] INFO: archiving workspace using pattern(s): [2022-05-07T19:19:02.613Z] Archives upload complete. [2022-05-07T19:19:02.613Z] INFO: archiving logs to Nexus