Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a81118fd5fae2129fb08f9495f332ae0f5b104f 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-ssh10373539377465586727.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh3598547603274781464.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 7a502be46133bd83b74f613648f1d59e9d9e8641 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15169569252402972422.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh7147252572557068878.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/jakarta/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3017581674659816843.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[centos7-docker-4c-2g, ubuntu18.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.16 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-1344 in /w/workspace/gexfoundry_device-sdk-go_jakarta [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_jakarta # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/jenkins-gitclient-ssh565462468679257584.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6a81118fd5fae2129fb08f9495f332ae0f5b104f (jakarta) > 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 core.sparsecheckout # timeout=10 > git checkout -f 6a81118fd5fae2129fb08f9495f332ae0f5b104f # timeout=10 Commit message: "Merge pull request #1069 from cloudxxx8/issue-1059-jakarta" > git rev-list --no-walk 48df9d91fbaf94aabdf03ecb0566b509996ae599 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-12T13:30:19.964Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-12T13:30:20.026Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-12T13:30:20.047Z] ========================================================= [2022-01-12T13:30:20.047Z] EdgeX Global Pipelines Version Info [2022-01-12T13:30:20.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:30:21.196Z] ------------------- [2022-01-12T13:30:21.196Z] stable info: [2022-01-12T13:30:21.196Z] ------------------- [2022-01-12T13:30:21.196Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-12T13:30:21.196Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T13:30:21.196Z] Message: update stable to v1.0.218 [2022-01-12T13:30:21.769Z] ------------------- [2022-01-12T13:30:21.769Z] experimental info: [2022-01-12T13:30:21.769Z] ------------------- [2022-01-12T13:30:21.769Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-12T13:30:21.769Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T13:30:21.769Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-12T13:30:21.938Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-12T13:30:21.950Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-12T13:30:21.962Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-12T13:30:21.974Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-12T13:30:21.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-12T13:30:21.997Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-12T13:30:22.010Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-12T13:30:22.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-12T13:30:22.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-12T13:30:22.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-12T13:30:22.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-12T13:30:22.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-12T13:30:22.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-12T13:30:22.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-12T13:30:22.111Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-12T13:30:22.122Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T13:30:22.137Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T13:30:22.146Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T13:30:22.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-12T13:30:22.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-12T13:30:22.183Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-12T13:30:22.201Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-12T13:30:22.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-12T13:30:22.219Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-12T13:30:22.228Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-12T13:30:22.241Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-12T13:30:22.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2022-01-12T13:30:22.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2022-01-12T13:30:22.275Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2022-01-12T13:30:22.285Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a81118fd5fae2129fb08f9495f332ae0f5b104f [Pipeline] echo [2022-01-12T13:30:22.294Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a81118 [Pipeline] echo [2022-01-12T13:30:22.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T13:30:22.355Z] provisioning config files... [2022-01-12T13:30:22.371Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7069213716222828439tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:30:22.687Z] ---> docker-login.sh [2022-01-12T13:30:22.687Z] nexus3.edgexfoundry.org:10001 [2022-01-12T13:30:22.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:22.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:22.949Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:22.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:22.949Z] [2022-01-12T13:30:22.949Z] Login Succeeded [2022-01-12T13:30:22.949Z] nexus3.edgexfoundry.org:10002 [2022-01-12T13:30:22.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:22.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:22.949Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:22.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:22.949Z] [2022-01-12T13:30:22.949Z] Login Succeeded [2022-01-12T13:30:22.949Z] nexus3.edgexfoundry.org:10003 [2022-01-12T13:30:22.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:23.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:23.210Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:23.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:23.210Z] [2022-01-12T13:30:23.210Z] Login Succeeded [2022-01-12T13:30:23.210Z] nexus3.edgexfoundry.org:10004 [2022-01-12T13:30:23.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:23.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:23.210Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:23.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:23.210Z] [2022-01-12T13:30:23.210Z] Login Succeeded [2022-01-12T13:30:23.210Z] docker.io [2022-01-12T13:30:23.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:23.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:23.791Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:23.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:23.791Z] [2022-01-12T13:30:23.791Z] Login Succeeded [2022-01-12T13:30:23.791Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T13:30:23.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-12T13:30:24.188Z] + git rev-list -1 --merges 6a81118fd5fae2129fb08f9495f332ae0f5b104f~1..6a81118fd5fae2129fb08f9495f332ae0f5b104f [Pipeline] echo [2022-01-12T13:30:24.220Z] -----------> git rev-list -1 --merges 6a81118fd5fae2129fb08f9495f332ae0f5b104f~1..6a81118fd5fae2129fb08f9495f332ae0f5b104f 6a81118fd5fae2129fb08f9495f332ae0f5b104f [2022-01-12T13:30:24.220Z] 6a81118fd5fae2129fb08f9495f332ae0f5b104f [false] [Pipeline] sh [2022-01-12T13:30:24.520Z] + git log --format=format:%s -1 6a81118fd5fae2129fb08f9495f332ae0f5b104f [Pipeline] echo [2022-01-12T13:30:24.536Z] ========================================================= [2022-01-12T13:30:24.536Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-12T13:30:24.536Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T13:30:24.887Z] + git log --format=format:%s -1 6a81118fd5fae2129fb08f9495f332ae0f5b104f [Pipeline] echo [2022-01-12T13:30:24.900Z] [semverPrep] GIT_COMMIT: 6a81118fd5fae2129fb08f9495f332ae0f5b104f, Commit Message: Merge pull request #1069 from cloudxxx8/issue-1059-jakarta [Pipeline] echo [2022-01-12T13:30:24.909Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-12T13:30:25.344Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T13:30:25.345Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-12T13:30:25.345Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-12T13:30:25.345Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-12T13:30:25.345Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-12T13:30:25.345Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-12T13:30:25.345Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:30:25.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T13:30:25.772Z] [2022-01-12T13:30:25.772Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:30:26.088Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T13:30:26.088Z] latest: Pulling from edgex-devops/git-semver [2022-01-12T13:30:26.088Z] a0d0a0d46f8b: Pulling fs layer [2022-01-12T13:30:26.088Z] 3e5f54012d9b: Pulling fs layer [2022-01-12T13:30:26.088Z] 4c7163046ea9: Pulling fs layer [2022-01-12T13:30:26.088Z] 0c2d73faf560: Pulling fs layer [2022-01-12T13:30:26.088Z] 0c2d73faf560: Waiting [2022-01-12T13:30:26.088Z] 3e5f54012d9b: Verifying Checksum [2022-01-12T13:30:26.088Z] 3e5f54012d9b: Download complete [2022-01-12T13:30:26.088Z] a0d0a0d46f8b: Verifying Checksum [2022-01-12T13:30:26.088Z] a0d0a0d46f8b: Download complete [2022-01-12T13:30:26.088Z] 0c2d73faf560: Verifying Checksum [2022-01-12T13:30:26.088Z] 0c2d73faf560: Download complete [2022-01-12T13:30:26.088Z] 4c7163046ea9: Verifying Checksum [2022-01-12T13:30:26.088Z] 4c7163046ea9: Download complete [2022-01-12T13:30:26.350Z] a0d0a0d46f8b: Pull complete [2022-01-12T13:30:26.350Z] 3e5f54012d9b: Pull complete [2022-01-12T13:30:26.612Z] 4c7163046ea9: Pull complete [2022-01-12T13:30:26.873Z] 0c2d73faf560: Pull complete [2022-01-12T13:30:26.874Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-12T13:30:26.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T13:30:26.874Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-12T13:30:26.949Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:30:26.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-12T13:30:27.418Z] $ docker top 6d1998ae52093152652450510feb0acdded30cab401416ebef4be4650dffccf9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T13:30:27.746Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T13:30:27.746Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T13:30:27.864Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T13:30:27.660Z] $ docker exec 6d1998ae52093152652450510feb0acdded30cab401416ebef4be4650dffccf9 ssh-agent [2022-01-12T13:30:27.971Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHhAgpd/agent.16 [2022-01-12T13:30:27.971Z] SSH_AGENT_PID=22 [2022-01-12T13:30:27.978Z] Running ssh-add (command line suppressed) [2022-01-12T13:30:27.897Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1593326068988671140.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1593326068988671140.key) [2022-01-12T13:30:28.099Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T13:30:28.393Z] + git tag --points-at HEAD [Pipeline] } [2022-01-12T13:30:28.252Z] $ docker exec --env ******** --env ******** 6d1998ae52093152652450510feb0acdded30cab401416ebef4be4650dffccf9 ssh-agent -k [2022-01-12T13:30:28.369Z] unset SSH_AUTH_SOCK; [2022-01-12T13:30:28.369Z] unset SSH_AGENT_PID; [2022-01-12T13:30:28.369Z] echo Agent pid 22 killed; [2022-01-12T13:30:28.531Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-12T13:30:28.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T13:30:28.555Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T13:30:28.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T13:30:28.512Z] $ docker exec 6d1998ae52093152652450510feb0acdded30cab401416ebef4be4650dffccf9 ssh-agent [2022-01-12T13:30:28.761Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfcmjae/agent.55 [2022-01-12T13:30:28.761Z] SSH_AGENT_PID=62 [2022-01-12T13:30:28.766Z] Running ssh-add (command line suppressed) [2022-01-12T13:30:28.738Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7113485844051083967.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7113485844051083967.key) [2022-01-12T13:30:28.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T13:30:29.169Z] + git semver init [2022-01-12T13:30:29.169Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T13:30:29.169Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.git [2022-01-12T13:30:29.169Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_jakarta [2022-01-12T13:30:29.169Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T13:30:29.169Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T13:30:29.169Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T13:30:29.169Z] # $SEMVER_BRANCH = jakarta [2022-01-12T13:30:29.169Z] # $SEMVER_TEMP = /tmp/semver-845698262 [2022-01-12T13:30:29.169Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-12T13:30:30.113Z] # '/tmp/semver-845698262' -> '/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver' [2022-01-12T13:30:30.113Z] # -> Force: false [2022-01-12T13:30:30.113Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver [Pipeline] } [2022-01-12T13:30:30.105Z] $ docker exec --env ******** --env ******** 6d1998ae52093152652450510feb0acdded30cab401416ebef4be4650dffccf9 ssh-agent -k [2022-01-12T13:30:30.198Z] unset SSH_AUTH_SOCK; [2022-01-12T13:30:30.199Z] unset SSH_AGENT_PID; [2022-01-12T13:30:30.199Z] echo Agent pid 62 killed; [2022-01-12T13:30:30.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T13:30:30.528Z] + git semver [Pipeline] } [2022-01-12T13:30:30.539Z] $ docker stop --time=1 6d1998ae52093152652450510feb0acdded30cab401416ebef4be4650dffccf9 [2022-01-12T13:30:31.772Z] $ docker rm -f 6d1998ae52093152652450510feb0acdded30cab401416ebef4be4650dffccf9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T13:30:32.139Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-12T13:30:32.409Z] Stashed 1 file(s) [Pipeline] echo [2022-01-12T13:30:32.413Z] [edgeXSemver]: initialized semver on version 2.1.1-dev.1 [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-01-12T13:30:32.573Z] provisioning config files... [2022-01-12T13:30:32.585Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config8448825038543274265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:30:32.890Z] ---> docker-login.sh [2022-01-12T13:30:32.890Z] nexus3.edgexfoundry.org:10001 [2022-01-12T13:30:32.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:32.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:32.890Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:32.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:32.890Z] [2022-01-12T13:30:32.890Z] Login Succeeded [2022-01-12T13:30:32.890Z] nexus3.edgexfoundry.org:10002 [2022-01-12T13:30:32.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:32.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:32.890Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:32.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:32.890Z] [2022-01-12T13:30:32.890Z] Login Succeeded [2022-01-12T13:30:32.890Z] nexus3.edgexfoundry.org:10003 [2022-01-12T13:30:33.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:33.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:33.154Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:33.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:33.154Z] [2022-01-12T13:30:33.154Z] Login Succeeded [2022-01-12T13:30:33.154Z] nexus3.edgexfoundry.org:10004 [2022-01-12T13:30:33.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:33.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:33.154Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:33.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:33.154Z] [2022-01-12T13:30:33.154Z] Login Succeeded [2022-01-12T13:30:33.154Z] docker.io [2022-01-12T13:30:33.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:30:33.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:30:33.726Z] Configure a credential helper to remove this warning. See [2022-01-12T13:30:33.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:30:33.726Z] [2022-01-12T13:30:33.726Z] Login Succeeded [2022-01-12T13:30:33.726Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T13:30:33.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-12T13:30:33.797Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T13:30:33.807Z] ========================================================= [2022-01-12T13:30:33.808Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] [2022-01-12T13:30:33.808Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:30:34.123Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg 'MAKE=echo noop' --target=builder . [2022-01-12T13:30:34.391Z] Sending build context to Docker daemon 20.38MB [2022-01-12T13:30:34.391Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T13:30:34.391Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-12T13:30:34.391Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-01-12T13:30:34.391Z] a0d0a0d46f8b: Already exists [2022-01-12T13:30:34.391Z] 31adcdaf11c8: Pulling fs layer [2022-01-12T13:30:34.391Z] b8b176561691: Pulling fs layer [2022-01-12T13:30:34.391Z] 4527c011a84f: Pulling fs layer [2022-01-12T13:30:34.391Z] 5d74067f8e1e: Pulling fs layer [2022-01-12T13:30:34.391Z] 36f58ee4fdd2: Pulling fs layer [2022-01-12T13:30:34.391Z] 32f094029db3: Pulling fs layer [2022-01-12T13:30:34.391Z] 773a5188bba9: Pulling fs layer [2022-01-12T13:30:34.391Z] 0a89ddfe6704: Pulling fs layer [2022-01-12T13:30:34.391Z] 5d74067f8e1e: Waiting [2022-01-12T13:30:34.391Z] 36f58ee4fdd2: Waiting [2022-01-12T13:30:34.391Z] 32f094029db3: Waiting [2022-01-12T13:30:34.391Z] 773a5188bba9: Waiting [2022-01-12T13:30:34.391Z] 0a89ddfe6704: Waiting [2022-01-12T13:30:34.391Z] b8b176561691: Verifying Checksum [2022-01-12T13:30:34.391Z] b8b176561691: Download complete [2022-01-12T13:30:34.391Z] 31adcdaf11c8: Verifying Checksum [2022-01-12T13:30:34.391Z] 31adcdaf11c8: Download complete [2022-01-12T13:30:34.391Z] 5d74067f8e1e: Verifying Checksum [2022-01-12T13:30:34.391Z] 5d74067f8e1e: Download complete [2022-01-12T13:30:34.654Z] 36f58ee4fdd2: Verifying Checksum [2022-01-12T13:30:34.654Z] 36f58ee4fdd2: Download complete [2022-01-12T13:30:34.654Z] 32f094029db3: Verifying Checksum [2022-01-12T13:30:34.654Z] 32f094029db3: Download complete [2022-01-12T13:30:34.654Z] 31adcdaf11c8: Pull complete [2022-01-12T13:30:34.654Z] 773a5188bba9: Verifying Checksum [2022-01-12T13:30:34.654Z] 773a5188bba9: Download complete [2022-01-12T13:30:34.654Z] b8b176561691: Pull complete [2022-01-12T13:30:35.234Z] 4527c011a84f: Verifying Checksum [2022-01-12T13:30:35.234Z] 4527c011a84f: Download complete [2022-01-12T13:30:35.234Z] 0a89ddfe6704: Verifying Checksum [2022-01-12T13:30:35.234Z] 0a89ddfe6704: Download complete [2022-01-12T13:30:39.483Z] 4527c011a84f: Pull complete [2022-01-12T13:30:39.483Z] 5d74067f8e1e: Pull complete [2022-01-12T13:30:39.483Z] 36f58ee4fdd2: Pull complete [2022-01-12T13:30:39.483Z] 32f094029db3: Pull complete [2022-01-12T13:30:39.483Z] 773a5188bba9: Pull complete [2022-01-12T13:30:42.038Z] 0a89ddfe6704: Pull complete [2022-01-12T13:30:42.038Z] Digest: sha256:1b40dceaf34dee7ca55b3c49faf64f21c87f0328d9001acbe5b0b15629491fba [2022-01-12T13:30:42.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts [2022-01-12T13:30:42.038Z] ---> dd279347b56d [2022-01-12T13:30:42.038Z] Step 3/10 : ARG MAKE=make build [2022-01-12T13:30:43.965Z] ---> Running in 8fe176fbedec [2022-01-12T13:30:44.229Z] Removing intermediate container 8fe176fbedec [2022-01-12T13:30:44.230Z] ---> 32d338848590 [2022-01-12T13:30:44.230Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-12T13:30:44.230Z] ---> Running in 1de8d2f699a9 [2022-01-12T13:30:44.230Z] Removing intermediate container 1de8d2f699a9 [2022-01-12T13:30:44.230Z] ---> 2782e690b55d [2022-01-12T13:30:44.230Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T13:30:44.230Z] ---> Running in c42cc48a3e28 [2022-01-12T13:30:44.494Z] Removing intermediate container c42cc48a3e28 [2022-01-12T13:30:44.494Z] ---> f811177dbe79 [2022-01-12T13:30:44.494Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T13:30:44.494Z] ---> Running in 3436ab72c351 [2022-01-12T13:30:44.760Z] Removing intermediate container 3436ab72c351 [2022-01-12T13:30:44.760Z] ---> 1a400367260b [2022-01-12T13:30:44.760Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T13:30:45.024Z] ---> Running in 93e38292df4e [2022-01-12T13:30:45.283Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T13:30:46.682Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T13:30:46.682Z] OK: 220 MiB in 52 packages [2022-01-12T13:30:46.951Z] Removing intermediate container 93e38292df4e [2022-01-12T13:30:46.951Z] ---> 8bbce78a86ab [2022-01-12T13:30:46.951Z] Step 8/10 : COPY . . [2022-01-12T13:30:47.524Z] Still waiting to schedule task [2022-01-12T13:30:47.525Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-12T13:30:48.351Z] ---> 399e31bcdb55 [2022-01-12T13:30:48.351Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T13:30:48.351Z] ---> Running in 90b40d6c8a56 [2022-01-12T13:30:48.613Z] skipping... [2022-01-12T13:30:48.877Z] Removing intermediate container 90b40d6c8a56 [2022-01-12T13:30:48.877Z] ---> 773b860d139e [2022-01-12T13:30:48.878Z] Step 10/10 : RUN ${MAKE} [2022-01-12T13:30:48.878Z] ---> Running in 0cd7f900ed69 [2022-01-12T13:30:49.141Z] noop [2022-01-12T13:30:49.141Z] Removing intermediate container 0cd7f900ed69 [2022-01-12T13:30:49.141Z] ---> 74b68663611b [2022-01-12T13:30:49.407Z] Successfully built 74b68663611b [2022-01-12T13:30:49.407Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:30:49.709Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T13:30:49.709Z] . [Pipeline] withDockerContainer [2022-01-12T13:30:49.767Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:30:49.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-01-12T13:30:50.138Z] $ docker top db75d5c1eb4176ec0024c30e3a70d8d52ee9c68ad9d23f1a0502b87f52efd373 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T13:30:50.489Z] + go version [2022-01-12T13:30:50.489Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-12T13:30:50.501Z] $ docker stop --time=1 db75d5c1eb4176ec0024c30e3a70d8d52ee9c68ad9d23f1a0502b87f52efd373 [2022-01-12T13:30:51.674Z] $ docker rm -f db75d5c1eb4176ec0024c30e3a70d8d52ee9c68ad9d23f1a0502b87f52efd373 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:30:52.073Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T13:30:52.073Z] . [Pipeline] withDockerContainer [2022-01-12T13:30:52.136Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:30:52.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-01-12T13:30:52.566Z] $ docker top ad99376d6293610e31456def86dbe04afbfec93b9476877f952bf27d956a9648 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T13:30:52.936Z] + make test [2022-01-12T13:30:52.936Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-12T13:30:58.296Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-12T13:31:24.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-12T13:31:24.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-12T13:31:24.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-12T13:31:24.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 23.3% of statements [2022-01-12T13:31:24.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-12T13:31:24.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.043s coverage: 27.6% of statements [2022-01-12T13:31:24.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2022-01-12T13:31:24.947Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.067s coverage: 9.0% of statements [2022-01-12T13:31:24.947Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-12T13:31:24.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-12T13:31:24.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-12T13:31:24.948Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.072s coverage: 28.7% of statements [2022-01-12T13:31:24.948Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-12T13:31:25.896Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 83.3% of statements [2022-01-12T13:31:25.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-12T13:31:25.896Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-12T13:31:25.896Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 57.8% of statements [2022-01-12T13:31:26.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.845s coverage: 89.2% of statements [2022-01-12T13:31:26.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-12T13:31:26.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.8% of statements [2022-01-12T13:31:26.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-12T13:31:26.864Z] GO111MODULE=on go vet ./... [2022-01-12T13:31:45.105Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T13:31:45.105Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-12T13:31:45.105Z] ./bin/test-attribution-txt.sh [2022-01-12T13:31:46.488Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-01-12T13:31:46.488Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-01-12T13:31:46.488Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-12T13:31:46.488Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-12T13:31:46.488Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-01-12T13:31:46.488Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-01-12T13:31:46.488Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2022-01-12T13:31:46.749Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-01-12T13:31:46.749Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-01-12T13:31:46.749Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-12T13:31:46.749Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-01-12T13:31:46.749Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-12T13:31:46.749Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-01-12T13:31:47.018Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-01-12T13:31:47.018Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-01-12T13:31:47.018Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-12T13:31:47.018Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-01-12T13:31:47.018Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-01-12T13:31:47.018Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-01-12T13:31:47.018Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-01-12T13:31:47.278Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-01-12T13:31:47.278Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-01-12T13:31:47.278Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-01-12T13:31:47.278Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-01-12T13:31:47.278Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-12T13:31:47.278Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-01-12T13:31:47.278Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-01-12T13:31:47.278Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-12T13:31:47.278Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-12T13:31:47.278Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-12T13:31:47.278Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-01-12T13:31:47.278Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-01-12T13:31:47.278Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-01-12T13:31:47.863Z] go: downloading golang.org/x/text v0.3.6 [2022-01-12T13:31:48.814Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-12T13:31:48.814Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-01-12T13:31:48.814Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-12T13:31:48.814Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-12T13:31:48.814Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-12T13:31:48.814Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-12T13:31:48.814Z] go: downloading github.com/x448/float16 v0.8.4 [2022-01-12T13:31:48.814Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-12T13:31:48.814Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-12T13:31:48.814Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-01-12T13:31:48.814Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-01-12T13:31:48.814Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-01-12T13:31:48.814Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-12T13:31:48.814Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-12T13:31:48.814Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-12T13:31:49.078Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-01-12T13:31:49.078Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-01-12T13:31:50.037Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-01-12T13:31:50.353Z] + go mod tidy [2022-01-12T13:31:50.353Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-01-12T13:31:50.353Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-01-12T13:31:50.614Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-01-12T13:31:50.614Z] go: downloading github.com/kr/pretty v0.3.0 [2022-01-12T13:31:50.614Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-01-12T13:31:50.614Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-01-12T13:31:50.614Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-01-12T13:31:50.614Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-01-12T13:31:50.877Z] go: downloading github.com/kr/text v0.2.0 [2022-01-12T13:31:50.877Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-01-12T13:31:50.877Z] go: downloading github.com/pkg/errors v0.9.1 [2022-01-12T13:31:50.877Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-01-12T13:31:51.138Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-01-12T13:31:51.138Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-01-12T13:31:51.138Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-01-12T13:31:51.138Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-01-12T13:31:51.138Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-01-12T13:31:51.138Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-01-12T13:31:51.405Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-01-12T13:31:51.405Z] go: downloading github.com/miekg/dns v1.1.26 [2022-01-12T13:31:51.405Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-01-12T13:31:51.405Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-01-12T13:31:51.405Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-01-12T13:31:51.417Z] $ docker stop --time=1 ad99376d6293610e31456def86dbe04afbfec93b9476877f952bf27d956a9648 [2022-01-12T13:31:53.781Z] $ docker rm -f ad99376d6293610e31456def86dbe04afbfec93b9476877f952bf27d956a9648 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T13:31:54.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-12T13:31:54.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-12T13:31:55.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-12T13:31:55.904Z] + ls -al . [2022-01-12T13:31:55.904Z] total 264 [2022-01-12T13:31:55.904Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 12 13:31 . [2022-01-12T13:31:55.904Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 12 13:30 .. [2022-01-12T13:31:55.904Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 12 13:30 bin [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 12 13:30 CHANGELOG.md [2022-01-12T13:31:55.904Z] -rw-r--r--. 1 jenkins jenkins 128370 Jan 12 13:31 coverage.out [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 12 13:30 .dockerignore [2022-01-12T13:31:55.904Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 12 13:30 example [2022-01-12T13:31:55.904Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 12 13:30 .git [2022-01-12T13:31:55.904Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 12 13:30 .github [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 124 Jan 12 13:30 .gitignore [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 576 Jan 12 13:31 go.mod [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 48946 Jan 12 13:30 go.sum [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 12 13:30 GOVERNANCE.md [2022-01-12T13:31:55.904Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 12 13:30 internal [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 12 13:30 Jenkinsfile [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 12 13:30 LICENSE [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 1120 Jan 12 13:30 Makefile [2022-01-12T13:31:55.904Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 12 13:30 openapi [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 12 13:30 OWNERS.md [2022-01-12T13:31:55.904Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 12 13:30 pkg [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 4890 Jan 12 13:30 README.md [2022-01-12T13:31:55.904Z] drwx------. 3 jenkins jenkins 57 Jan 12 13:30 .semver [2022-01-12T13:31:55.904Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 12 13:30 snap [2022-01-12T13:31:55.904Z] drwxrwxr-x. 6 jenkins jenkins 98 Jan 12 13:30 vendor [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 12 13:30 VERSION [2022-01-12T13:31:55.904Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 12 13:30 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:31:56.205Z] + 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=6a81118fd5fae2129fb08f9495f332ae0f5b104f --label arch=amd64 --label version=2.1.1-dev.1 . [2022-01-12T13:31:56.471Z] Sending build context to Docker daemon 20.51MB [2022-01-12T13:31:56.471Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T13:31:56.471Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-12T13:31:56.471Z] ---> 74b68663611b [2022-01-12T13:31:56.471Z] Step 3/24 : ARG MAKE=make build [2022-01-12T13:31:56.740Z] ---> Running in 53ca4f25d977 [2022-01-12T13:31:57.006Z] Removing intermediate container 53ca4f25d977 [2022-01-12T13:31:57.006Z] ---> 8533b956061d [2022-01-12T13:31:57.006Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-12T13:31:57.006Z] ---> Running in 25655024a9f6 [2022-01-12T13:31:57.006Z] Removing intermediate container 25655024a9f6 [2022-01-12T13:31:57.006Z] ---> a1b06d015e97 [2022-01-12T13:31:57.006Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T13:31:57.006Z] ---> Running in 88ef8b51f5fd [2022-01-12T13:31:57.273Z] Removing intermediate container 88ef8b51f5fd [2022-01-12T13:31:57.273Z] ---> c96f6cab6833 [2022-01-12T13:31:57.273Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T13:31:57.273Z] ---> Running in f9546c657317 [2022-01-12T13:31:57.538Z] Removing intermediate container f9546c657317 [2022-01-12T13:31:57.539Z] ---> 7e548100bab6 [2022-01-12T13:31:57.539Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T13:31:57.800Z] ---> Running in f7e48399ac16 [2022-01-12T13:31:58.064Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T13:31:58.635Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T13:31:59.208Z] OK: 220 MiB in 52 packages [2022-01-12T13:31:59.208Z] Removing intermediate container f7e48399ac16 [2022-01-12T13:31:59.208Z] ---> 036a48f07027 [2022-01-12T13:31:59.208Z] Step 8/24 : COPY . . [2022-01-12T13:32:00.594Z] ---> d98dfa3596cb [2022-01-12T13:32:00.594Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T13:32:00.594Z] ---> Running in 8c12ce0666b1 [2022-01-12T13:32:00.594Z] skipping... [2022-01-12T13:32:00.860Z] Removing intermediate container 8c12ce0666b1 [2022-01-12T13:32:00.860Z] ---> 8d1e9b21600d [2022-01-12T13:32:00.860Z] Step 10/24 : RUN ${MAKE} [2022-01-12T13:32:00.860Z] ---> Running in 60ecff1b75b6 [2022-01-12T13:32:01.124Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-12T13:32:13.478Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-12T13:32:13.478Z] Removing intermediate container 60ecff1b75b6 [2022-01-12T13:32:13.478Z] ---> 81c72b37700e [2022-01-12T13:32:13.478Z] Step 11/24 : FROM alpine:3.14 [2022-01-12T13:32:13.478Z] 3.14: Pulling from library/alpine [2022-01-12T13:32:13.478Z] 97518928ae5f: Pulling fs layer [2022-01-12T13:32:13.478Z] 97518928ae5f: Verifying Checksum [2022-01-12T13:32:13.478Z] 97518928ae5f: Download complete [2022-01-12T13:32:13.739Z] 97518928ae5f: Pull complete [2022-01-12T13:32:13.739Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-12T13:32:13.739Z] Status: Downloaded newer image for alpine:3.14 [2022-01-12T13:32:13.739Z] ---> 0a97eee8041e [2022-01-12T13:32:13.739Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T13:32:13.739Z] ---> Running in c89cfd5581d3 [2022-01-12T13:32:13.739Z] Removing intermediate container c89cfd5581d3 [2022-01-12T13:32:13.739Z] ---> 3e259633d1d4 [2022-01-12T13:32:13.739Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T13:32:14.000Z] ---> Running in bb8af6a2f7ef [2022-01-12T13:32:14.261Z] Removing intermediate container bb8af6a2f7ef [2022-01-12T13:32:14.261Z] ---> b0ef8b040eca [2022-01-12T13:32:14.261Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-12T13:32:14.261Z] ---> Running in 8067b0866dbb [2022-01-12T13:32:14.521Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T13:32:15.461Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T13:32:15.601Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1345 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws [2022-01-12T13:32:15.615Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2022-01-12T13:32:15.719Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-12T13:32:15.719Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-12T13:32:15.783Z] The recommended git tool is: git [2022-01-12T13:32:15.982Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-12T13:32:15.982Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-12T13:32:16.248Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-12T13:32:16.248Z] Executing busybox-1.33.1-r6.trigger [2022-01-12T13:32:16.248Z] OK: 8 MiB in 19 packages [2022-01-12T13:32:16.508Z] Removing intermediate container 8067b0866dbb [2022-01-12T13:32:16.508Z] ---> 649f4a5298db [2022-01-12T13:32:16.508Z] Step 15/24 : WORKDIR / [2022-01-12T13:32:16.508Z] ---> Running in 42769d33f108 [2022-01-12T13:32:16.508Z] Removing intermediate container 42769d33f108 [2022-01-12T13:32:16.508Z] ---> d62bc7f81933 [2022-01-12T13:32:16.508Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-12T13:32:16.767Z] ---> b7da10434390 [2022-01-12T13:32:16.767Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-12T13:32:17.028Z] ---> be7737bced8d [2022-01-12T13:32:17.028Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-12T13:32:17.290Z] ---> 1e2c0a2db3ad [2022-01-12T13:32:17.290Z] Step 19/24 : EXPOSE 59999 [2022-01-12T13:32:17.290Z] ---> Running in 7ab3174b93c7 [2022-01-12T13:32:17.290Z] Removing intermediate container 7ab3174b93c7 [2022-01-12T13:32:17.290Z] ---> 509f59b64961 [2022-01-12T13:32:17.290Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-12T13:32:17.290Z] ---> Running in fec08ab1fc3d [2022-01-12T13:32:17.549Z] Removing intermediate container fec08ab1fc3d [2022-01-12T13:32:17.549Z] ---> 382134e8904c [2022-01-12T13:32:17.549Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-12T13:32:17.549Z] ---> Running in 61517b63c825 [2022-01-12T13:32:17.549Z] Removing intermediate container 61517b63c825 [2022-01-12T13:32:17.549Z] ---> 8ceaa6d20ee2 [2022-01-12T13:32:17.549Z] Step 22/24 : LABEL arch=amd64 [2022-01-12T13:32:17.549Z] ---> Running in 9a6fd208d6b9 [2022-01-12T13:32:17.808Z] Removing intermediate container 9a6fd208d6b9 [2022-01-12T13:32:17.808Z] ---> c846247204a4 [2022-01-12T13:32:17.808Z] Step 23/24 : LABEL git_sha=6a81118fd5fae2129fb08f9495f332ae0f5b104f [2022-01-12T13:32:17.808Z] ---> Running in 1c358b30c375 [2022-01-12T13:32:17.808Z] Removing intermediate container 1c358b30c375 [2022-01-12T13:32:17.808Z] ---> c51f5497d0ba [2022-01-12T13:32:17.808Z] Step 24/24 : LABEL version=2.1.1-dev.1 [2022-01-12T13:32:17.808Z] ---> Running in a9938d24b336 [2022-01-12T13:32:17.808Z] Removing intermediate container a9938d24b336 [2022-01-12T13:32:17.808Z] ---> 7c139e8efdff [2022-01-12T13:32:17.808Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-12T13:32:18.068Z] Successfully built 7c139e8efdff [2022-01-12T13:32:18.068Z] 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-01-12T13:32:18.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T13:32:18.480Z] [2022-01-12T13:32:18.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:32:18.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T13:32:18.788Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-12T13:32:18.788Z] b4d181a07f80: Pulling fs layer [2022-01-12T13:32:18.788Z] a1111a8f2ec3: Pulling fs layer [2022-01-12T13:32:18.788Z] ed53099fbce6: Pulling fs layer [2022-01-12T13:32:18.788Z] dc539afda2c1: Pulling fs layer [2022-01-12T13:32:18.788Z] 77bc0d833cb6: Pulling fs layer [2022-01-12T13:32:18.788Z] 9065ff56babe: Pulling fs layer [2022-01-12T13:32:18.788Z] d287ab97295c: Pulling fs layer [2022-01-12T13:32:18.788Z] 77bc0d833cb6: Waiting [2022-01-12T13:32:18.788Z] 9065ff56babe: Waiting [2022-01-12T13:32:18.788Z] d287ab97295c: Waiting [2022-01-12T13:32:18.788Z] dc539afda2c1: Waiting [2022-01-12T13:32:18.788Z] a1111a8f2ec3: Verifying Checksum [2022-01-12T13:32:18.788Z] a1111a8f2ec3: Download complete [2022-01-12T13:32:18.788Z] dc539afda2c1: Verifying Checksum [2022-01-12T13:32:18.788Z] dc539afda2c1: Download complete [2022-01-12T13:32:18.788Z] ed53099fbce6: Verifying Checksum [2022-01-12T13:32:18.788Z] ed53099fbce6: Download complete [2022-01-12T13:32:18.788Z] 9065ff56babe: Verifying Checksum [2022-01-12T13:32:18.788Z] 9065ff56babe: Download complete [2022-01-12T13:32:18.788Z] 77bc0d833cb6: Verifying Checksum [2022-01-12T13:32:18.788Z] 77bc0d833cb6: Download complete [2022-01-12T13:32:19.053Z] b4d181a07f80: Verifying Checksum [2022-01-12T13:32:19.053Z] b4d181a07f80: Download complete [2022-01-12T13:32:19.634Z] d287ab97295c: Verifying Checksum [2022-01-12T13:32:19.634Z] d287ab97295c: Download complete [2022-01-12T13:32:20.150Z] using credential edgex-jenkins-ssh [2022-01-12T13:32:20.169Z] Cloning the remote Git repository [2022-01-12T13:32:20.220Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T13:32:20.296Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2022-01-12T13:32:20.379Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T13:32:20.380Z] > git --version # timeout=10 [2022-01-12T13:32:20.402Z] > git --version # 'git version 2.17.1' [2022-01-12T13:32:20.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-12T13:32:20.475Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T13:32:20.575Z] b4d181a07f80: Pull complete [2022-01-12T13:32:20.575Z] a1111a8f2ec3: Pull complete [2022-01-12T13:32:21.155Z] ed53099fbce6: Pull complete [2022-01-12T13:32:21.155Z] dc539afda2c1: Pull complete [2022-01-12T13:32:21.418Z] 77bc0d833cb6: Pull complete [2022-01-12T13:32:21.418Z] 9065ff56babe: Pull complete [2022-01-12T13:32:21.999Z] Avoid second fetch [2022-01-12T13:32:22.000Z] Checking out Revision 6a81118fd5fae2129fb08f9495f332ae0f5b104f (jakarta) [2022-01-12T13:32:21.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-12T13:32:21.984Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T13:32:22.020Z] > git config core.sparsecheckout # timeout=10 [2022-01-12T13:32:22.038Z] > git checkout -f 6a81118fd5fae2129fb08f9495f332ae0f5b104f # timeout=10 [2022-01-12T13:32:26.501Z] Commit message: "Merge pull request #1069 from cloudxxx8/issue-1059-jakarta" [2022-01-12T13:32:26.730Z] d287ab97295c: Pull complete [2022-01-12T13:32:26.730Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-12T13:32:26.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T13:32:26.730Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-12T13:32:26.793Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:32:26.823Z] $ 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_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-12T13:32:26.866Z] [2022-01-12T13:32:26.866Z] GitHub has been notified of this commit’s build result [2022-01-12T13:32:26.866Z] [2022-01-12T13:32:29.650Z] $ docker top 950f94e4e01b579c6ff4420e9eb25dcd283b57d42403a1fced9e6346ad66d05b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T13:32:30.076Z] ---> job-cost.sh [2022-01-12T13:32:30.076Z] lf-activate-venv: SKIPPING [2022-01-12T13:32:30.076Z] INFO: No Stack... [2022-01-12T13:32:30.343Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T13:32:30.388Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-12T13:32:30.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T13:32:30.388Z] Dload Upload Total Spent Left Speed [2022-01-12T13:32:30.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 74018 0 --:--:-- --:--:-- --:--:-- 73559 100 11843 100 11843 0 0 73559 0 --:--:-- --:--:-- --:--:-- 73104 [Pipeline] sh [2022-01-12T13:32:30.609Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T13:32:30.902Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-12T13:32:31.130Z] + cat /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/cost.csv [2022-01-12T13:32:31.130Z] + cut -d, -f6 [Pipeline] lock [2022-01-12T13:32:31.234Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-5-stack-cost] [2022-01-12T13:32:31.238Z] Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-5-stack-cost] did not exist. Created. [2022-01-12T13:32:31.238Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-5-stack-cost] [Pipeline] { [2022-01-12T13:32:31.245Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-12T13:32:31.245Z] + sudo tee /etc/docker/daemon.new [2022-01-12T13:32:31.245Z] { [2022-01-12T13:32:31.245Z] "registry-mirrors": [ [2022-01-12T13:32:31.245Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-12T13:32:31.245Z] ], [2022-01-12T13:32:31.245Z] "bip": "10.250.0.254/24", [2022-01-12T13:32:31.245Z] "hosts": [ [2022-01-12T13:32:31.245Z] "tcp://0.0.0.0:5555", [2022-01-12T13:32:31.245Z] "unix:///var/run/docker.sock" [2022-01-12T13:32:31.245Z] ], [2022-01-12T13:32:31.245Z] "mtu": 1458, [2022-01-12T13:32:31.245Z] "selinux-enabled": true, [2022-01-12T13:32:31.245Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-12T13:32:31.245Z] } [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2022-01-12T13:32:31.584Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-12T13:32:31.684Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-12T13:32:31.735Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T13:32:31.745Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T13:32:31.766Z] $ docker stop --time=1 950f94e4e01b579c6ff4420e9eb25dcd283b57d42403a1fced9e6346ad66d05b [2022-01-12T13:32:31.920Z] + sudo service docker restart [2022-01-12T13:32:32.901Z] $ docker rm -f 950f94e4e01b579c6ff4420e9eb25dcd283b57d42403a1fced9e6346ad66d05b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T13:32:50.234Z] provisioning config files... [2022-01-12T13:32:50.257Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3399702533143849897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:32:50.608Z] ---> docker-login.sh [2022-01-12T13:32:50.608Z] nexus3.edgexfoundry.org:10001 [2022-01-12T13:32:51.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:32:51.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:32:51.202Z] Configure a credential helper to remove this warning. See [2022-01-12T13:32:51.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:32:51.202Z] [2022-01-12T13:32:51.202Z] Login Succeeded [2022-01-12T13:32:51.202Z] nexus3.edgexfoundry.org:10002 [2022-01-12T13:32:51.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:32:51.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:32:51.746Z] Configure a credential helper to remove this warning. See [2022-01-12T13:32:51.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:32:51.746Z] [2022-01-12T13:32:51.746Z] Login Succeeded [2022-01-12T13:32:51.746Z] nexus3.edgexfoundry.org:10003 [2022-01-12T13:32:52.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:32:52.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:32:52.021Z] Configure a credential helper to remove this warning. See [2022-01-12T13:32:52.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:32:52.021Z] [2022-01-12T13:32:52.021Z] Login Succeeded [2022-01-12T13:32:52.021Z] nexus3.edgexfoundry.org:10004 [2022-01-12T13:32:52.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:32:52.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:32:52.572Z] Configure a credential helper to remove this warning. See [2022-01-12T13:32:52.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:32:52.572Z] [2022-01-12T13:32:52.572Z] Login Succeeded [2022-01-12T13:32:52.572Z] docker.io [2022-01-12T13:32:52.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T13:32:53.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T13:32:53.118Z] Configure a credential helper to remove this warning. See [2022-01-12T13:32:53.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T13:32:53.118Z] [2022-01-12T13:32:53.118Z] Login Succeeded [2022-01-12T13:32:53.118Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T13:32:53.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-12T13:32:53.619Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T13:32:53.637Z] ========================================================= [2022-01-12T13:32:53.637Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] [2022-01-12T13:32:53.637Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:32:54.023Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-01-12T13:32:55.013Z] Sending build context to Docker daemon 16.08MB [2022-01-12T13:32:55.013Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T13:32:55.013Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-12T13:32:55.294Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-12T13:32:55.294Z] 552d1f2373af: Pulling fs layer [2022-01-12T13:32:55.294Z] ea3f2d53f512: Pulling fs layer [2022-01-12T13:32:55.294Z] 9e70ebbbe112: Pulling fs layer [2022-01-12T13:32:55.294Z] 7a9cfe048b4a: Pulling fs layer [2022-01-12T13:32:55.294Z] 72dc09318566: Pulling fs layer [2022-01-12T13:32:55.294Z] 6b38a4ac6b94: Pulling fs layer [2022-01-12T13:32:55.294Z] 1cf82868ecbe: Pulling fs layer [2022-01-12T13:32:55.294Z] cf934696a108: Pulling fs layer [2022-01-12T13:32:55.294Z] 6b38a4ac6b94: Waiting [2022-01-12T13:32:55.294Z] 7a9cfe048b4a: Waiting [2022-01-12T13:32:55.294Z] 1cf82868ecbe: Waiting [2022-01-12T13:32:55.294Z] cf934696a108: Waiting [2022-01-12T13:32:55.294Z] 72dc09318566: Waiting [2022-01-12T13:32:55.294Z] 9e70ebbbe112: Verifying Checksum [2022-01-12T13:32:55.294Z] 9e70ebbbe112: Download complete [2022-01-12T13:32:55.294Z] ea3f2d53f512: Verifying Checksum [2022-01-12T13:32:55.294Z] ea3f2d53f512: Download complete [2022-01-12T13:32:55.294Z] 72dc09318566: Verifying Checksum [2022-01-12T13:32:55.294Z] 72dc09318566: Download complete [2022-01-12T13:32:55.564Z] 6b38a4ac6b94: Verifying Checksum [2022-01-12T13:32:55.564Z] 6b38a4ac6b94: Download complete [2022-01-12T13:32:55.564Z] 552d1f2373af: Download complete [2022-01-12T13:32:55.564Z] 1cf82868ecbe: Verifying Checksum [2022-01-12T13:32:55.564Z] 1cf82868ecbe: Download complete [2022-01-12T13:32:56.160Z] 552d1f2373af: Pull complete [2022-01-12T13:32:56.764Z] ea3f2d53f512: Pull complete [2022-01-12T13:32:57.044Z] 9e70ebbbe112: Pull complete [2022-01-12T13:32:57.317Z] cf934696a108: Verifying Checksum [2022-01-12T13:32:57.317Z] cf934696a108: Download complete [2022-01-12T13:32:57.916Z] 7a9cfe048b4a: Verifying Checksum [2022-01-12T13:32:57.916Z] 7a9cfe048b4a: Download complete [2022-01-12T13:33:10.320Z] 7a9cfe048b4a: Pull complete [2022-01-12T13:33:10.320Z] 72dc09318566: Pull complete [2022-01-12T13:33:10.320Z] 6b38a4ac6b94: Pull complete [2022-01-12T13:33:10.320Z] 1cf82868ecbe: Pull complete [2022-01-12T13:33:14.624Z] cf934696a108: Pull complete [2022-01-12T13:33:14.624Z] Digest: sha256:c7a1c6e7193eac42aea82418dc538ba94561e4292c792d132f5c974f427cd528 [2022-01-12T13:33:14.897Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts [2022-01-12T13:33:14.897Z] ---> 8a4ae6370de5 [2022-01-12T13:33:14.897Z] Step 3/10 : ARG MAKE=make build [2022-01-12T13:33:16.327Z] ---> Running in 644228e67e26 [2022-01-12T13:33:16.925Z] Removing intermediate container 644228e67e26 [2022-01-12T13:33:16.925Z] ---> 10078a0ec3d8 [2022-01-12T13:33:16.925Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-12T13:33:16.925Z] ---> Running in 1d7df96de7d4 [2022-01-12T13:33:17.199Z] Removing intermediate container 1d7df96de7d4 [2022-01-12T13:33:17.199Z] ---> aa4bd52c6ab5 [2022-01-12T13:33:17.199Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T13:33:17.469Z] ---> Running in 7eccee1d2be0 [2022-01-12T13:33:17.747Z] Removing intermediate container 7eccee1d2be0 [2022-01-12T13:33:17.747Z] ---> bc90ad876dfb [2022-01-12T13:33:17.747Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T13:33:17.747Z] ---> Running in 80c7aa9b7f4d [2022-01-12T13:33:19.732Z] Removing intermediate container 80c7aa9b7f4d [2022-01-12T13:33:19.732Z] ---> c5e29ce292bb [2022-01-12T13:33:19.732Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T13:33:19.732Z] ---> Running in d5e28c427711 [2022-01-12T13:33:20.710Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T13:33:21.684Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T13:33:22.279Z] OK: 219 MiB in 52 packages [2022-01-12T13:33:23.261Z] Removing intermediate container d5e28c427711 [2022-01-12T13:33:23.261Z] ---> 2c122786651f [2022-01-12T13:33:23.261Z] Step 8/10 : COPY . . [2022-01-12T13:33:26.667Z] ---> ff2d5e820753 [2022-01-12T13:33:26.667Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T13:33:26.943Z] ---> Running in e5e7d947ad18 [2022-01-12T13:33:27.934Z] skipping... [2022-01-12T13:33:28.531Z] Removing intermediate container e5e7d947ad18 [2022-01-12T13:33:28.531Z] ---> 6b206df4ef01 [2022-01-12T13:33:28.531Z] Step 10/10 : RUN ${MAKE} [2022-01-12T13:33:28.531Z] ---> Running in dd45793c9303 [2022-01-12T13:33:29.518Z] noop [2022-01-12T13:33:30.115Z] Removing intermediate container dd45793c9303 [2022-01-12T13:33:30.115Z] ---> a41df497571d [2022-01-12T13:33:30.388Z] Successfully built a41df497571d [2022-01-12T13:33:30.388Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:33:30.741Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T13:33:30.741Z] . [Pipeline] withDockerContainer [2022-01-12T13:33:30.958Z] prd-ubuntu18.04-docker-arm64-4c-16g-1345 does not seem to be running inside a container [2022-01-12T13:33:31.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat [2022-01-12T13:33:32.319Z] $ docker top eb3c3599dfa23fd00e4f79745a3d4c2deb2806b0906f1a24cc9a4ef95e01a448 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T13:33:33.224Z] + go version [2022-01-12T13:33:33.224Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-12T13:33:33.250Z] $ docker stop --time=1 eb3c3599dfa23fd00e4f79745a3d4c2deb2806b0906f1a24cc9a4ef95e01a448 [2022-01-12T13:33:34.874Z] $ docker rm -f eb3c3599dfa23fd00e4f79745a3d4c2deb2806b0906f1a24cc9a4ef95e01a448 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:33:35.462Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T13:33:35.462Z] . [Pipeline] withDockerContainer [2022-01-12T13:33:35.681Z] prd-ubuntu18.04-docker-arm64-4c-16g-1345 does not seem to be running inside a container [2022-01-12T13:33:35.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat [2022-01-12T13:33:37.074Z] $ docker top 4d3cab34ae19b03e311a4e2c769f9db415dd116895cfae4d0c00cc532fb3fd03 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T13:33:37.953Z] + make test [2022-01-12T13:33:37.953Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-12T13:34:00.106Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-12T13:35:08.133Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-12T13:35:08.133Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-12T13:35:08.133Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-12T13:35:10.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.357s coverage: 23.3% of statements [2022-01-12T13:35:10.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-12T13:35:10.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.216s coverage: 27.6% of statements [2022-01-12T13:35:10.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.321s coverage: 78.9% of statements [2022-01-12T13:35:10.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.192s coverage: 9.0% of statements [2022-01-12T13:35:10.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-12T13:35:10.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-12T13:35:10.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-12T13:35:11.360Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.252s coverage: 28.7% of statements [2022-01-12T13:35:11.360Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-12T13:35:14.762Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.268s coverage: 83.3% of statements [2022-01-12T13:35:14.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-12T13:35:14.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-12T13:35:15.362Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.391s coverage: 57.8% of statements [2022-01-12T13:35:17.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.285s coverage: 89.2% of statements [2022-01-12T13:35:17.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-12T13:35:17.997Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.192s coverage: 4.8% of statements [2022-01-12T13:35:17.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-12T13:35:18.592Z] GO111MODULE=on go vet ./... [2022-01-12T13:36:15.162Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T13:36:15.162Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-12T13:36:15.162Z] ./bin/test-attribution-txt.sh [2022-01-12T13:36:15.162Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-01-12T13:36:15.162Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-12T13:36:15.162Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-01-12T13:36:15.162Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-01-12T13:36:15.162Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-01-12T13:36:15.162Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-12T13:36:15.162Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-01-12T13:36:15.162Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-01-12T13:36:15.162Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-01-12T13:36:15.162Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-12T13:36:15.162Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-01-12T13:36:15.162Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-12T13:36:15.162Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-12T13:36:15.162Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-12T13:36:15.162Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-01-12T13:36:15.162Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-01-12T13:36:15.162Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-01-12T13:36:15.162Z] go: downloading golang.org/x/text v0.3.6 [2022-01-12T13:36:15.433Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-12T13:36:15.433Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-01-12T13:36:15.433Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-12T13:36:15.433Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-12T13:36:15.707Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-12T13:36:15.707Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-12T13:36:15.981Z] go: downloading github.com/x448/float16 v0.8.4 [2022-01-12T13:36:15.981Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-12T13:36:15.981Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-12T13:36:16.255Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-01-12T13:36:17.686Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-01-12T13:36:17.686Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-01-12T13:36:17.686Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-12T13:36:17.686Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-12T13:36:17.686Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-12T13:36:17.686Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-01-12T13:36:17.686Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-01-12T13:36:22.006Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-01-12T13:36:22.686Z] + go mod tidy [2022-01-12T13:36:22.959Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-01-12T13:36:22.959Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-01-12T13:36:22.959Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-01-12T13:36:22.959Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-01-12T13:36:23.232Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-01-12T13:36:23.232Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-01-12T13:36:23.232Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-01-12T13:36:23.232Z] go: downloading github.com/pkg/errors v0.9.1 [2022-01-12T13:36:23.232Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-01-12T13:36:23.232Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-01-12T13:36:23.232Z] go: downloading github.com/kr/pretty v0.3.0 [2022-01-12T13:36:23.508Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-01-12T13:36:23.508Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-01-12T13:36:23.508Z] go: downloading github.com/kr/text v0.2.0 [2022-01-12T13:36:23.508Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-01-12T13:36:23.508Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-01-12T13:36:23.508Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-01-12T13:36:23.508Z] go: downloading github.com/miekg/dns v1.1.26 [2022-01-12T13:36:23.508Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-01-12T13:36:23.779Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-01-12T13:36:23.779Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-01-12T13:36:23.779Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-01-12T13:36:23.779Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-01-12T13:36:23.797Z] $ docker stop --time=1 4d3cab34ae19b03e311a4e2c769f9db415dd116895cfae4d0c00cc532fb3fd03 [2022-01-12T13:36:25.994Z] $ docker rm -f 4d3cab34ae19b03e311a4e2c769f9db415dd116895cfae4d0c00cc532fb3fd03 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T13:36:28.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-12T13:36:28.437Z] Warning: overwriting stash ‘coverage-report’ [2022-01-12T13:36:29.274Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T13:36:29.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-12T13:36:30.015Z] + ls -al . [2022-01-12T13:36:30.015Z] total 304 [2022-01-12T13:36:30.015Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 12 13:36 . [2022-01-12T13:36:30.015Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 13:32 .. [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 13:32 .dockerignore [2022-01-12T13:36:30.015Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 13:32 .git [2022-01-12T13:36:30.015Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 13:32 .github [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 124 Jan 12 13:32 .gitignore [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 12 13:32 CHANGELOG.md [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 13:32 GOVERNANCE.md [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 13:32 Jenkinsfile [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 13:32 LICENSE [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 1120 Jan 12 13:32 Makefile [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 13:32 OWNERS.md [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 4890 Jan 12 13:32 README.md [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 12 13:30 VERSION [2022-01-12T13:36:30.015Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 13:32 bin [2022-01-12T13:36:30.015Z] -rw-r--r-- 1 jenkins jenkins 128369 Jan 12 13:35 coverage.out [2022-01-12T13:36:30.015Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 13:32 example [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 576 Jan 12 13:36 go.mod [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 48946 Jan 12 13:32 go.sum [2022-01-12T13:36:30.015Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 12 13:32 internal [2022-01-12T13:36:30.015Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 13:32 openapi [2022-01-12T13:36:30.015Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 13:32 pkg [2022-01-12T13:36:30.015Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 13:32 snap [2022-01-12T13:36:30.015Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 13:32 vendor [2022-01-12T13:36:30.015Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 13:32 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:36:30.413Z] + 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=6a81118fd5fae2129fb08f9495f332ae0f5b104f --label arch=arm64 --label version=2.1.1-dev.1 . [2022-01-12T13:36:31.876Z] Sending build context to Docker daemon 16.21MB [2022-01-12T13:36:31.876Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T13:36:31.876Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-12T13:36:31.876Z] ---> a41df497571d [2022-01-12T13:36:31.876Z] Step 3/24 : ARG MAKE=make build [2022-01-12T13:36:32.147Z] ---> Running in 693c94802ce7 [2022-01-12T13:36:32.424Z] Removing intermediate container 693c94802ce7 [2022-01-12T13:36:32.424Z] ---> 2ce876f4bb02 [2022-01-12T13:36:32.424Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-12T13:36:32.424Z] ---> Running in 720302b04aa5 [2022-01-12T13:36:33.016Z] Removing intermediate container 720302b04aa5 [2022-01-12T13:36:33.016Z] ---> 42faead1e961 [2022-01-12T13:36:33.016Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T13:36:33.016Z] ---> Running in 79b6badf8054 [2022-01-12T13:36:33.288Z] Removing intermediate container 79b6badf8054 [2022-01-12T13:36:33.288Z] ---> e4219d488fc8 [2022-01-12T13:36:33.288Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T13:36:33.288Z] ---> Running in 7ff84ca69354 [2022-01-12T13:36:35.252Z] Removing intermediate container 7ff84ca69354 [2022-01-12T13:36:35.252Z] ---> 91210eae0cf3 [2022-01-12T13:36:35.252Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T13:36:35.252Z] ---> Running in bc2dd8e16e29 [2022-01-12T13:36:35.847Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T13:36:36.819Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T13:36:37.795Z] OK: 219 MiB in 52 packages [2022-01-12T13:36:38.388Z] Removing intermediate container bc2dd8e16e29 [2022-01-12T13:36:38.388Z] ---> e82777d430a2 [2022-01-12T13:36:38.388Z] Step 8/24 : COPY . . [2022-01-12T13:36:42.690Z] ---> 638e65360f9a [2022-01-12T13:36:42.690Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T13:36:42.690Z] ---> Running in 710021ed3025 [2022-01-12T13:36:43.284Z] skipping... [2022-01-12T13:36:43.878Z] Removing intermediate container 710021ed3025 [2022-01-12T13:36:43.878Z] ---> 463225fcd04d [2022-01-12T13:36:43.878Z] Step 10/24 : RUN ${MAKE} [2022-01-12T13:36:44.154Z] ---> Running in 599f20461d76 [2022-01-12T13:36:45.133Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-12T13:37:17.460Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-12T13:37:19.420Z] Removing intermediate container 599f20461d76 [2022-01-12T13:37:19.420Z] ---> 03eb109c81c0 [2022-01-12T13:37:19.420Z] Step 11/24 : FROM alpine:3.14 [2022-01-12T13:37:19.691Z] 3.14: Pulling from library/alpine [2022-01-12T13:37:19.962Z] be307f383ecc: Pulling fs layer [2022-01-12T13:37:20.232Z] be307f383ecc: Verifying Checksum [2022-01-12T13:37:20.232Z] be307f383ecc: Download complete [2022-01-12T13:37:20.502Z] be307f383ecc: Pull complete [2022-01-12T13:37:20.502Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-12T13:37:20.502Z] Status: Downloaded newer image for alpine:3.14 [2022-01-12T13:37:20.502Z] ---> 5b8b7b635229 [2022-01-12T13:37:20.503Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T13:37:20.772Z] ---> Running in f5322b7791ba [2022-01-12T13:37:21.043Z] Removing intermediate container f5322b7791ba [2022-01-12T13:37:21.043Z] ---> 5ccc7d3c889a [2022-01-12T13:37:21.043Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T13:37:21.043Z] ---> Running in ba9d16263fd6 [2022-01-12T13:37:23.005Z] Removing intermediate container ba9d16263fd6 [2022-01-12T13:37:23.005Z] ---> d1e8aef9472c [2022-01-12T13:37:23.005Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-12T13:37:23.005Z] ---> Running in 7d0a6d147a68 [2022-01-12T13:37:23.597Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T13:37:24.569Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T13:37:25.546Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-12T13:37:25.546Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-12T13:37:25.546Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-12T13:37:25.546Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-12T13:37:25.820Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-12T13:37:25.820Z] Executing busybox-1.33.1-r6.trigger [2022-01-12T13:37:25.820Z] OK: 8 MiB in 19 packages [2022-01-12T13:37:26.793Z] Removing intermediate container 7d0a6d147a68 [2022-01-12T13:37:26.793Z] ---> a73fe906e745 [2022-01-12T13:37:26.793Z] Step 15/24 : WORKDIR / [2022-01-12T13:37:26.793Z] ---> Running in 061fcd7b6e7a [2022-01-12T13:37:27.067Z] Removing intermediate container 061fcd7b6e7a [2022-01-12T13:37:27.067Z] ---> 2ab949a244ae [2022-01-12T13:37:27.067Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-12T13:37:27.666Z] ---> 6c19a3379f77 [2022-01-12T13:37:27.666Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-12T13:37:28.641Z] ---> 9e07cc139817 [2022-01-12T13:37:28.641Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-12T13:37:29.235Z] ---> c4f535efcff4 [2022-01-12T13:37:29.235Z] Step 19/24 : EXPOSE 59999 [2022-01-12T13:37:29.506Z] ---> Running in 07399b775b93 [2022-01-12T13:37:29.779Z] Removing intermediate container 07399b775b93 [2022-01-12T13:37:29.779Z] ---> fc17c60bf61e [2022-01-12T13:37:29.779Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-12T13:37:29.779Z] ---> Running in 900691170c74 [2022-01-12T13:37:30.051Z] Removing intermediate container 900691170c74 [2022-01-12T13:37:30.051Z] ---> 8c9313f68dd9 [2022-01-12T13:37:30.051Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-12T13:37:30.323Z] ---> Running in f6d3b21b220e [2022-01-12T13:37:30.594Z] Removing intermediate container f6d3b21b220e [2022-01-12T13:37:30.594Z] ---> fe0f29d63b0a [2022-01-12T13:37:30.594Z] Step 22/24 : LABEL arch=arm64 [2022-01-12T13:37:30.594Z] ---> Running in c9f2b26005dc [2022-01-12T13:37:31.188Z] Removing intermediate container c9f2b26005dc [2022-01-12T13:37:31.188Z] ---> cf0c73c0f762 [2022-01-12T13:37:31.188Z] Step 23/24 : LABEL git_sha=6a81118fd5fae2129fb08f9495f332ae0f5b104f [2022-01-12T13:37:31.188Z] ---> Running in 95260275124f [2022-01-12T13:37:31.460Z] Removing intermediate container 95260275124f [2022-01-12T13:37:31.460Z] ---> 0398390717c7 [2022-01-12T13:37:31.460Z] Step 24/24 : LABEL version=2.1.1-dev.1 [2022-01-12T13:37:31.460Z] ---> Running in 9442ac5d3a12 [2022-01-12T13:37:31.732Z] Removing intermediate container 9442ac5d3a12 [2022-01-12T13:37:31.732Z] ---> 526358787ad2 [2022-01-12T13:37:31.732Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-12T13:37:32.001Z] Successfully built 526358787ad2 [2022-01-12T13:37:32.001Z] 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-01-12T13:37:32.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T13:37:32.422Z] [2022-01-12T13:37:32.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:37:32.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T13:37:33.039Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-12T13:37:33.039Z] 448f6bf000e3: Pulling fs layer [2022-01-12T13:37:33.039Z] f757da607395: Pulling fs layer [2022-01-12T13:37:33.039Z] 05883995daec: Pulling fs layer [2022-01-12T13:37:33.039Z] 8603b9c90790: Pulling fs layer [2022-01-12T13:37:33.039Z] 1560dd03e051: Pulling fs layer [2022-01-12T13:37:33.039Z] 27f5ce0e4adf: Pulling fs layer [2022-01-12T13:37:33.039Z] c2d8d7efcc4b: Pulling fs layer [2022-01-12T13:37:33.039Z] 1560dd03e051: Waiting [2022-01-12T13:37:33.039Z] 8603b9c90790: Waiting [2022-01-12T13:37:33.039Z] c2d8d7efcc4b: Waiting [2022-01-12T13:37:33.039Z] 27f5ce0e4adf: Waiting [2022-01-12T13:37:33.039Z] f757da607395: Verifying Checksum [2022-01-12T13:37:33.039Z] f757da607395: Download complete [2022-01-12T13:37:33.039Z] 8603b9c90790: Verifying Checksum [2022-01-12T13:37:33.039Z] 8603b9c90790: Download complete [2022-01-12T13:37:33.039Z] 1560dd03e051: Verifying Checksum [2022-01-12T13:37:33.039Z] 1560dd03e051: Download complete [2022-01-12T13:37:33.039Z] 27f5ce0e4adf: Verifying Checksum [2022-01-12T13:37:33.039Z] 27f5ce0e4adf: Download complete [2022-01-12T13:37:33.039Z] 05883995daec: Verifying Checksum [2022-01-12T13:37:33.039Z] 05883995daec: Download complete [2022-01-12T13:37:33.635Z] 448f6bf000e3: Verifying Checksum [2022-01-12T13:37:33.636Z] 448f6bf000e3: Download complete [2022-01-12T13:37:35.599Z] c2d8d7efcc4b: Verifying Checksum [2022-01-12T13:37:35.599Z] c2d8d7efcc4b: Download complete [2022-01-12T13:37:37.036Z] 448f6bf000e3: Pull complete [2022-01-12T13:37:37.632Z] f757da607395: Pull complete [2022-01-12T13:37:39.063Z] 05883995daec: Pull complete [2022-01-12T13:37:39.333Z] 8603b9c90790: Pull complete [2022-01-12T13:37:40.307Z] 1560dd03e051: Pull complete [2022-01-12T13:37:40.580Z] 27f5ce0e4adf: Pull complete [2022-01-12T13:37:55.648Z] c2d8d7efcc4b: Pull complete [2022-01-12T13:37:55.648Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-12T13:37:55.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T13:37:55.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-12T13:37:55.863Z] prd-ubuntu18.04-docker-arm64-4c-16g-1345 does not seem to be running inside a container [2022-01-12T13:37:55.961Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-12T13:37:58.462Z] $ docker top d3eb3690761eb87f7147ebcbce954bd1da90cdf9462809ed8fd94678ba58b2c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:37:59.426Z] ---> job-cost.sh [2022-01-12T13:37:59.426Z] lf-activate-venv: SKIPPING [2022-01-12T13:37:59.426Z] INFO: No Stack... [2022-01-12T13:37:59.426Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-12T13:38:00.026Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T13:38:00.687Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2022-01-12T13:38:00.687Z] + cut -d, -f6 [Pipeline] lock [2022-01-12T13:38:00.747Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-5-stack-cost] [2022-01-12T13:38:00.755Z] Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-5-stack-cost] did not exist. Created. [2022-01-12T13:38:00.756Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T13:38:01.426Z] /w/workspace/device-sdk-go/5@tmp/durable-4f0c8abc/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-4f0c8abc/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-12T13:38:02.103Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-12T13:38:02.131Z] Warning: overwriting stash ‘stack-cost’ [2022-01-12T13:38:02.331Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T13:38:02.338Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T13:38:02.354Z] $ docker stop --time=1 d3eb3690761eb87f7147ebcbce954bd1da90cdf9462809ed8fd94678ba58b2c1 [2022-01-12T13:38:03.854Z] $ docker rm -f d3eb3690761eb87f7147ebcbce954bd1da90cdf9462809ed8fd94678ba58b2c1 [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-01-12T13:38:04.351Z] provisioning config files... [2022-01-12T13:38:04.361Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config8437139885909715507tmp [Pipeline] { [Pipeline] sh [2022-01-12T13:38:04.657Z] + set +x [2022-01-12T13:38:04.657Z] + curl -s https://codecov.io/bash [2022-01-12T13:38:04.657Z] + bash -s -- [2022-01-12T13:38:04.657Z] [2022-01-12T13:38:04.657Z] _____ _ [2022-01-12T13:38:04.657Z] / ____| | | [2022-01-12T13:38:04.657Z] | | ___ __| | ___ ___ _____ __ [2022-01-12T13:38:04.657Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-12T13:38:04.657Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-12T13:38:04.657Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-12T13:38:04.657Z] Bash-1.0.6 [2022-01-12T13:38:04.657Z] [2022-01-12T13:38:04.657Z] [2022-01-12T13:38:04.657Z] ==> git version 2.24.4 found [2022-01-12T13:38:04.657Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-12T13:38:04.657Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-12T13:38:04.657Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-12T13:38:04.657Z] ==> Jenkins CI detected. [2022-01-12T13:38:04.657Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_jakarta [2022-01-12T13:38:04.657Z] project root: . [2022-01-12T13:38:04.657Z] --> token set from env [2022-01-12T13:38:04.657Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-12T13:38:04.918Z] ==> Running gcov in . (disable via -X gcov) [2022-01-12T13:38:04.918Z] ==> Python coveragepy not found [2022-01-12T13:38:04.918Z] ==> Searching for coverage reports in: [2022-01-12T13:38:04.918Z] + . [2022-01-12T13:38:04.918Z] -> Found 1 reports [2022-01-12T13:38:04.918Z] ==> Detecting git/mercurial file structure [2022-01-12T13:38:04.918Z] ==> Reading reports [2022-01-12T13:38:04.918Z] + ./coverage.out bytes=128369 [2022-01-12T13:38:04.918Z] ==> Appending adjustments [2022-01-12T13:38:04.918Z] https://docs.codecov.io/docs/fixing-reports [2022-01-12T13:38:05.179Z] + Found adjustments [2022-01-12T13:38:05.179Z] ==> Gzipping contents [2022-01-12T13:38:05.179Z] 24K /tmp/codecov.zG1doZ.gz [2022-01-12T13:38:05.179Z] ==> Uploading reports [2022-01-12T13:38:05.179Z] url: https://codecov.io [2022-01-12T13:38:05.179Z] query: branch=jakarta&commit=6a81118fd5fae2129fb08f9495f332ae0f5b104f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-12T13:38:05.179Z] -> Pinging Codecov [2022-01-12T13:38:05.179Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=jakarta&commit=6a81118fd5fae2129fb08f9495f332ae0f5b104f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-12T13:38:05.439Z] -> Uploading to [2022-01-12T13:38:05.439Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-12/7E55EF52A471D76F132DFD9A03CDDE97/6a81118fd5fae2129fb08f9495f332ae0f5b104f/ef4c8723-9379-43bf-9fd6-916e3d0dd87e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220112T133805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3682fba0f6f10e76c1f8ca1ca753a3da2495b11b76977542106221b8fc70bcb [2022-01-12T13:38:05.439Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T13:38:05.439Z] Dload Upload Total Spent Left Speed [2022-01-12T13:38:06.010Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23061 0 0 100 23061 0 67254 --:--:-- --:--:-- --:--:-- 67429 [2022-01-12T13:38:06.010Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6a81118fd5fae2129fb08f9495f332ae0f5b104f [Pipeline] } [2022-01-12T13:38:06.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-12T13:38:06.279Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-12T13:38:06.290Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:38:06.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-12T13:38:06.589Z] [2022-01-12T13:38:06.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:38:06.890Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-12T13:38:06.890Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-12T13:38:06.890Z] 188c0c94c7c5: Pulling fs layer [2022-01-12T13:38:06.890Z] 0ef7d3d256c8: Pulling fs layer [2022-01-12T13:38:06.890Z] de9db76c5a1d: Pulling fs layer [2022-01-12T13:38:06.890Z] 0eba1c9be4d2: Pulling fs layer [2022-01-12T13:38:06.890Z] 0d57e429df01: Pulling fs layer [2022-01-12T13:38:06.890Z] 4e4be7b47b0d: Pulling fs layer [2022-01-12T13:38:06.890Z] e1f770b5df2f: Pulling fs layer [2022-01-12T13:38:06.890Z] 85a0685a4137: Pulling fs layer [2022-01-12T13:38:06.890Z] 4e4be7b47b0d: Waiting [2022-01-12T13:38:06.890Z] 0eba1c9be4d2: Waiting [2022-01-12T13:38:06.890Z] e1f770b5df2f: Waiting [2022-01-12T13:38:06.890Z] 85a0685a4137: Waiting [2022-01-12T13:38:06.890Z] 0d57e429df01: Waiting [2022-01-12T13:38:06.890Z] de9db76c5a1d: Verifying Checksum [2022-01-12T13:38:06.890Z] de9db76c5a1d: Download complete [2022-01-12T13:38:06.890Z] 0ef7d3d256c8: Verifying Checksum [2022-01-12T13:38:06.890Z] 0ef7d3d256c8: Download complete [2022-01-12T13:38:06.890Z] 0d57e429df01: Verifying Checksum [2022-01-12T13:38:06.890Z] 0d57e429df01: Download complete [2022-01-12T13:38:06.890Z] 188c0c94c7c5: Verifying Checksum [2022-01-12T13:38:06.890Z] 188c0c94c7c5: Download complete [2022-01-12T13:38:06.890Z] 4e4be7b47b0d: Verifying Checksum [2022-01-12T13:38:06.890Z] 4e4be7b47b0d: Download complete [2022-01-12T13:38:07.152Z] e1f770b5df2f: Verifying Checksum [2022-01-12T13:38:07.152Z] e1f770b5df2f: Download complete [2022-01-12T13:38:07.424Z] 0eba1c9be4d2: Verifying Checksum [2022-01-12T13:38:07.424Z] 0eba1c9be4d2: Download complete [2022-01-12T13:38:07.424Z] 188c0c94c7c5: Pull complete [2022-01-12T13:38:07.692Z] 0ef7d3d256c8: Pull complete [2022-01-12T13:38:07.692Z] de9db76c5a1d: Pull complete [2022-01-12T13:38:07.692Z] 85a0685a4137: Verifying Checksum [2022-01-12T13:38:07.692Z] 85a0685a4137: Download complete [2022-01-12T13:38:11.920Z] 0eba1c9be4d2: Pull complete [2022-01-12T13:38:11.920Z] 0d57e429df01: Pull complete [2022-01-12T13:38:11.920Z] 4e4be7b47b0d: Pull complete [2022-01-12T13:38:12.202Z] e1f770b5df2f: Pull complete [2022-01-12T13:38:15.546Z] 85a0685a4137: Pull complete [2022-01-12T13:38:15.546Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-12T13:38:15.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-12T13:38:15.546Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-12T13:38:15.610Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:38:15.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-12T13:38:17.442Z] $ docker top 27b56fa38f7e1d4c3b38f81a4c49d2e80352c15ffefae616c841e4aa5657a733 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-12T13:38:17.523Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-12T13:38:17.828Z] + set -o pipefail [2022-01-12T13:38:17.828Z] + snyk monitor '--org=edgex-jenkins' [2022-01-12T13:38:19.746Z] [2022-01-12T13:38:19.747Z] Monitoring /w/workspace/gexfoundry_device-sdk-go_jakarta (github.com/edgexfoundry/device-sdk-go/v2)... [2022-01-12T13:38:19.747Z] [2022-01-12T13:38:19.747Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/adab23ff-de00-4c37-804a-f9dbdfc419c0 [2022-01-12T13:38:19.747Z] [2022-01-12T13:38:19.747Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-01-12T13:38:19.747Z] [2022-01-12T13:38:19.747Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-12T13:38:19.747Z] [2022-01-12T13:38:20.009Z] [Pipeline] } [2022-01-12T13:38:20.022Z] $ docker stop --time=1 27b56fa38f7e1d4c3b38f81a4c49d2e80352c15ffefae616c841e4aa5657a733 [2022-01-12T13:38:21.189Z] $ docker rm -f 27b56fa38f7e1d4c3b38f81a4c49d2e80352c15ffefae616c841e4aa5657a733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-01-12T13:38:21.400Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T13:38:21.412Z] provisioning config files... [2022-01-12T13:38:21.422Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config5685718697568814660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:21.724Z] --> edgex-publish-swagger.sh [2022-01-12T13:38:21.724Z] === Publish openapi/v2 API === [2022-01-12T13:38:21.724Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-01-12T13:38:21.724Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/gexfoundry_device-sdk-go_jakarta/openapi/v2/device-sdk.yaml] [2022-01-12T13:38:21.724Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T13:38:21.724Z] Dload Upload Total Spent Left Speed [2022-01-12T13:38:22.297Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 65578 --:--:-- --:--:-- --:--:-- 65640 [2022-01-12T13:38:22.297Z] [2022-01-12T13:38:22.297Z] [Pipeline] } [2022-01-12T13:38:22.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T13:38:22.676Z] + git log --format=format:%s -1 6a81118fd5fae2129fb08f9495f332ae0f5b104f [Pipeline] sh [2022-01-12T13:38:22.974Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T13:38:22.974Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:38:23.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T13:38:23.275Z] . [Pipeline] withDockerContainer [2022-01-12T13:38:23.341Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:38:23.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-12T13:38:23.710Z] $ docker top 702a2ccb28095589e29b156f4e8aa7b3b9f9e60d9a7888e02e5c7cb87aa1ceda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T13:38:23.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T13:38:23.811Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T13:38:23.907Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T13:38:23.908Z] $ docker exec 702a2ccb28095589e29b156f4e8aa7b3b9f9e60d9a7888e02e5c7cb87aa1ceda ssh-agent [2022-01-12T13:38:24.019Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkLcnak/agent.14 [2022-01-12T13:38:24.019Z] SSH_AGENT_PID=21 [2022-01-12T13:38:24.025Z] Running ssh-add (command line suppressed) [2022-01-12T13:38:24.138Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4558439302503801624.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4558439302503801624.key) [2022-01-12T13:38:24.152Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T13:38:24.456Z] + git semver tag [2022-01-12T13:38:24.456Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T13:38:24.456Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.git [2022-01-12T13:38:24.456Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_jakarta [2022-01-12T13:38:24.456Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T13:38:24.456Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T13:38:24.456Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T13:38:24.456Z] # $SEMVER_BRANCH = jakarta [2022-01-12T13:38:24.456Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver [2022-01-12T13:38:24.456Z] # 6a81118fd5fae2129fb08f9495f332ae0f5b104f HEAD [2022-01-12T13:38:24.456Z] # -> Force: false [2022-01-12T13:38:24.456Z] # 7e87bd9c6ac7833a7de802c3af67d47341988edc refs/tags/v2.1.1-dev.1 [Pipeline] } [2022-01-12T13:38:24.464Z] $ docker exec --env ******** --env ******** 702a2ccb28095589e29b156f4e8aa7b3b9f9e60d9a7888e02e5c7cb87aa1ceda ssh-agent -k [2022-01-12T13:38:24.546Z] unset SSH_AUTH_SOCK; [2022-01-12T13:38:24.546Z] unset SSH_AGENT_PID; [2022-01-12T13:38:24.546Z] echo Agent pid 21 killed; [2022-01-12T13:38:24.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T13:38:24.866Z] + git semver [Pipeline] } [2022-01-12T13:38:24.879Z] $ docker stop --time=1 702a2ccb28095589e29b156f4e8aa7b3b9f9e60d9a7888e02e5c7cb87aa1ceda [2022-01-12T13:38:26.057Z] $ docker rm -f 702a2ccb28095589e29b156f4e8aa7b3b9f9e60d9a7888e02e5c7cb87aa1ceda [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:38:26.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-12T13:38:26.449Z] [2022-01-12T13:38:26.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:38:26.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-12T13:38:26.771Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-12T13:38:26.771Z] ab5ef0e58194: Pulling fs layer [2022-01-12T13:38:26.771Z] 9712f1f96733: Pulling fs layer [2022-01-12T13:38:26.771Z] 63f879dbbcfc: Pulling fs layer [2022-01-12T13:38:26.771Z] 0d9ebad4ef96: Pulling fs layer [2022-01-12T13:38:26.771Z] e9a5061849ea: Pulling fs layer [2022-01-12T13:38:26.771Z] d747dcd14b5f: Pulling fs layer [2022-01-12T13:38:26.771Z] 2de7ff778b66: Pulling fs layer [2022-01-12T13:38:26.771Z] e9a5061849ea: Waiting [2022-01-12T13:38:26.771Z] d747dcd14b5f: Waiting [2022-01-12T13:38:26.771Z] 2de7ff778b66: Waiting [2022-01-12T13:38:26.771Z] 0d9ebad4ef96: Waiting [2022-01-12T13:38:26.771Z] 9712f1f96733: Verifying Checksum [2022-01-12T13:38:26.771Z] 9712f1f96733: Download complete [2022-01-12T13:38:27.043Z] 63f879dbbcfc: Verifying Checksum [2022-01-12T13:38:27.043Z] 63f879dbbcfc: Download complete [2022-01-12T13:38:27.304Z] 0d9ebad4ef96: Verifying Checksum [2022-01-12T13:38:27.304Z] 0d9ebad4ef96: Download complete [2022-01-12T13:38:27.304Z] ab5ef0e58194: Verifying Checksum [2022-01-12T13:38:27.304Z] ab5ef0e58194: Download complete [2022-01-12T13:38:27.304Z] d747dcd14b5f: Verifying Checksum [2022-01-12T13:38:27.304Z] d747dcd14b5f: Download complete [2022-01-12T13:38:27.304Z] e9a5061849ea: Verifying Checksum [2022-01-12T13:38:27.304Z] e9a5061849ea: Download complete [2022-01-12T13:38:27.304Z] 2de7ff778b66: Verifying Checksum [2022-01-12T13:38:27.304Z] 2de7ff778b66: Download complete [2022-01-12T13:38:29.906Z] ab5ef0e58194: Pull complete [2022-01-12T13:38:29.906Z] 9712f1f96733: Pull complete [2022-01-12T13:38:31.294Z] 63f879dbbcfc: Pull complete [2022-01-12T13:38:35.553Z] 0d9ebad4ef96: Pull complete [2022-01-12T13:38:35.553Z] e9a5061849ea: Pull complete [2022-01-12T13:38:35.553Z] d747dcd14b5f: Pull complete [2022-01-12T13:38:36.960Z] 2de7ff778b66: Pull complete [2022-01-12T13:38:36.960Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-12T13:38:36.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-12T13:38:36.960Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-12T13:38:37.021Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:38:37.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-12T13:38:40.012Z] $ docker top 6ba6c9a3c5fba4c4b96ff1de7180a436bae19465f51d71098739249edca5d0e1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-12T13:38:40.098Z] provisioning config files... [2022-01-12T13:38:40.107Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config8378833341590994782tmp [2022-01-12T13:38:40.118Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7138972358651120224tmp [2022-01-12T13:38:40.127Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config2281033902932107555tmp [Pipeline] { [Pipeline] echo [2022-01-12T13:38:40.142Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:40.433Z] ---> sigul-configuration.sh [2022-01-12T13:38:40.433Z] gpg: directory `/root/.gnupg' created [2022-01-12T13:38:40.433Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-12T13:38:40.433Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-12T13:38:40.433Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-12T13:38:40.433Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-12T13:38:40.433Z] gpg: CAST5 encrypted data [2022-01-12T13:38:40.433Z] gpg: encrypted with 1 passphrase [2022-01-12T13:38:40.433Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-12T13:38:40.725Z] + mkdir /home/jenkins [2022-01-12T13:38:40.726Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-12T13:38:41.017Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-01-12T13:38:41.027Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:41.315Z] ---> sigul-install.sh [2022-01-12T13:38:41.315Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-12T13:38:41.617Z] + git tag --list [2022-01-12T13:38:41.617Z] 0.7.1 [2022-01-12T13:38:41.617Z] delhi-tag [2022-01-12T13:38:41.617Z] v1.0.0 [2022-01-12T13:38:41.617Z] v1.1.0 [2022-01-12T13:38:41.617Z] v1.1.1 [2022-01-12T13:38:41.617Z] v1.1.2 [2022-01-12T13:38:41.617Z] v1.2.0 [2022-01-12T13:38:41.617Z] v1.2.1 [2022-01-12T13:38:41.617Z] v1.2.2 [2022-01-12T13:38:41.617Z] v1.2.3 [2022-01-12T13:38:41.617Z] v1.3.0 [2022-01-12T13:38:41.617Z] v1.4.0 [2022-01-12T13:38:41.617Z] v2.0.0 [2022-01-12T13:38:41.617Z] v2.0.1-dev.1 [2022-01-12T13:38:41.617Z] v2.0.1-dev.10 [2022-01-12T13:38:41.617Z] v2.0.1-dev.11 [2022-01-12T13:38:41.617Z] v2.0.1-dev.12 [2022-01-12T13:38:41.617Z] v2.0.1-dev.13 [2022-01-12T13:38:41.617Z] v2.0.1-dev.14 [2022-01-12T13:38:41.617Z] v2.0.1-dev.15 [2022-01-12T13:38:41.617Z] v2.0.1-dev.16 [2022-01-12T13:38:41.617Z] v2.0.1-dev.17 [2022-01-12T13:38:41.617Z] v2.0.1-dev.18 [2022-01-12T13:38:41.617Z] v2.0.1-dev.19 [2022-01-12T13:38:41.617Z] v2.0.1-dev.2 [2022-01-12T13:38:41.617Z] v2.0.1-dev.20 [2022-01-12T13:38:41.617Z] v2.0.1-dev.21 [2022-01-12T13:38:41.617Z] v2.0.1-dev.22 [2022-01-12T13:38:41.617Z] v2.0.1-dev.23 [2022-01-12T13:38:41.617Z] v2.0.1-dev.24 [2022-01-12T13:38:41.617Z] v2.0.1-dev.25 [2022-01-12T13:38:41.617Z] v2.0.1-dev.26 [2022-01-12T13:38:41.617Z] v2.0.1-dev.27 [2022-01-12T13:38:41.617Z] v2.0.1-dev.28 [2022-01-12T13:38:41.617Z] v2.0.1-dev.29 [2022-01-12T13:38:41.617Z] v2.0.1-dev.3 [2022-01-12T13:38:41.617Z] v2.0.1-dev.30 [2022-01-12T13:38:41.617Z] v2.0.1-dev.31 [2022-01-12T13:38:41.617Z] v2.0.1-dev.32 [2022-01-12T13:38:41.617Z] v2.0.1-dev.33 [2022-01-12T13:38:41.617Z] v2.0.1-dev.4 [2022-01-12T13:38:41.617Z] v2.0.1-dev.5 [2022-01-12T13:38:41.617Z] v2.0.1-dev.6 [2022-01-12T13:38:41.617Z] v2.0.1-dev.7 [2022-01-12T13:38:41.617Z] v2.0.1-dev.8 [2022-01-12T13:38:41.617Z] v2.0.1-dev.9 [2022-01-12T13:38:41.617Z] v2.1.0 [2022-01-12T13:38:41.617Z] v2.1.1-dev.1 [2022-01-12T13:38:41.617Z] v2.2.0-dev.1 [2022-01-12T13:38:41.617Z] v2.2.0-dev.2 [2022-01-12T13:38:41.617Z] v2.2.0-dev.3 [2022-01-12T13:38:41.617Z] v2.2.0-dev.4 [2022-01-12T13:38:41.617Z] v2.2.0-dev.5 [2022-01-12T13:38:41.617Z] v2.2.0-dev.6 [2022-01-12T13:38:41.617Z] v2.2.0-dev.7 [Pipeline] sh [2022-01-12T13:38:41.908Z] + lftools sign git-tag v2.1.1-dev.1 [2022-01-12T13:38:42.481Z] Signing Git tag with Sigul... [2022-01-12T13:38:42.481Z] Signing v2.1.1-dev.1 [Pipeline] echo [2022-01-12T13:38:42.754Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:43.058Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-12T13:38:43.066Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-12T13:38:43.087Z] $ docker stop --time=1 6ba6c9a3c5fba4c4b96ff1de7180a436bae19465f51d71098739249edca5d0e1 [2022-01-12T13:38:44.286Z] $ docker rm -f 6ba6c9a3c5fba4c4b96ff1de7180a436bae19465f51d71098739249edca5d0e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-12T13:38:44.702Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T13:38:44.702Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:38:45.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T13:38:45.004Z] . [Pipeline] withDockerContainer [2022-01-12T13:38:45.072Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:38:45.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-12T13:38:45.539Z] $ docker top 630c7a0d08770b4a1e7b44b4b3988b1948f42212c5f6e9e111d1264ad7c595e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T13:38:45.635Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T13:38:45.635Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T13:38:45.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T13:38:45.756Z] $ docker exec 630c7a0d08770b4a1e7b44b4b3988b1948f42212c5f6e9e111d1264ad7c595e4 ssh-agent [2022-01-12T13:38:45.850Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBinECf/agent.14 [2022-01-12T13:38:45.850Z] SSH_AGENT_PID=21 [2022-01-12T13:38:45.855Z] Running ssh-add (command line suppressed) [2022-01-12T13:38:45.963Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4757691745766638810.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4757691745766638810.key) [2022-01-12T13:38:45.979Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T13:38:46.271Z] + git semver bump pre [2022-01-12T13:38:46.271Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T13:38:46.271Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.git [2022-01-12T13:38:46.271Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_jakarta [2022-01-12T13:38:46.271Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T13:38:46.271Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T13:38:46.272Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T13:38:46.272Z] # $SEMVER_BRANCH = jakarta [2022-01-12T13:38:46.272Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver [2022-01-12T13:38:46.272Z] 2.1.1-dev.2 [Pipeline] } [2022-01-12T13:38:46.280Z] $ docker exec --env ******** --env ******** 630c7a0d08770b4a1e7b44b4b3988b1948f42212c5f6e9e111d1264ad7c595e4 ssh-agent -k [2022-01-12T13:38:46.370Z] unset SSH_AUTH_SOCK; [2022-01-12T13:38:46.370Z] unset SSH_AGENT_PID; [2022-01-12T13:38:46.370Z] echo Agent pid 21 killed; [2022-01-12T13:38:46.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T13:38:46.697Z] + git semver [Pipeline] } [2022-01-12T13:38:46.710Z] $ docker stop --time=1 630c7a0d08770b4a1e7b44b4b3988b1948f42212c5f6e9e111d1264ad7c595e4 [2022-01-12T13:38:47.900Z] $ docker rm -f 630c7a0d08770b4a1e7b44b4b3988b1948f42212c5f6e9e111d1264ad7c595e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T13:38:48.251Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T13:38:48.251Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:38:48.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T13:38:48.545Z] . [Pipeline] withDockerContainer [2022-01-12T13:38:48.609Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:38:48.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-12T13:38:48.977Z] $ docker top d187e1fb72f9569d1fa8160be05e1042e9f41a17e0f91a4aab036b3be96d91e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T13:38:49.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T13:38:49.070Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T13:38:49.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T13:38:49.178Z] $ docker exec d187e1fb72f9569d1fa8160be05e1042e9f41a17e0f91a4aab036b3be96d91e3 ssh-agent [2022-01-12T13:38:49.275Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIDkipn/agent.14 [2022-01-12T13:38:49.275Z] SSH_AGENT_PID=20 [2022-01-12T13:38:49.284Z] Running ssh-add (command line suppressed) [2022-01-12T13:38:49.374Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1171404477554047589.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1171404477554047589.key) [2022-01-12T13:38:49.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T13:38:49.680Z] + git semver push [2022-01-12T13:38:49.680Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T13:38:49.680Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.git [2022-01-12T13:38:49.680Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_jakarta [2022-01-12T13:38:49.680Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T13:38:49.680Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T13:38:49.680Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T13:38:49.680Z] # $SEMVER_BRANCH = jakarta [2022-01-12T13:38:49.680Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver [Pipeline] } [2022-01-12T13:38:51.611Z] $ docker exec --env ******** --env ******** d187e1fb72f9569d1fa8160be05e1042e9f41a17e0f91a4aab036b3be96d91e3 ssh-agent -k [2022-01-12T13:38:51.706Z] unset SSH_AUTH_SOCK; [2022-01-12T13:38:51.706Z] unset SSH_AGENT_PID; [2022-01-12T13:38:51.706Z] echo Agent pid 20 killed; [2022-01-12T13:38:51.715Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T13:38:52.041Z] + git semver [Pipeline] } [2022-01-12T13:38:52.120Z] $ docker stop --time=1 d187e1fb72f9569d1fa8160be05e1042e9f41a17e0f91a4aab036b3be96d91e3 [2022-01-12T13:38:53.288Z] $ docker rm -f d187e1fb72f9569d1fa8160be05e1042e9f41a17e0f91a4aab036b3be96d91e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-01-12T13:38:53.888Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_jakarta/archives ']' [2022-01-12T13:38:53.888Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives [2022-01-12T13:38:53.888Z] total 8 [2022-01-12T13:38:53.888Z] drwxr-xr-x. 3 root root 34 Jan 12 13:32 . [2022-01-12T13:38:53.888Z] drwxrwxr-x. 13 jenkins jenkins 4096 Jan 12 13:38 .. [2022-01-12T13:38:53.888Z] drwxr-xr-x. 2 root root 6 Jan 12 13:32 cost [2022-01-12T13:38:53.888Z] -rw-r--r--. 1 root root 85 Jan 12 13:32 cost.csv [2022-01-12T13:38:53.888Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_jakarta/archives [2022-01-12T13:38:53.888Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives [2022-01-12T13:38:53.888Z] total 8 [2022-01-12T13:38:53.888Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 12 13:32 . [2022-01-12T13:38:53.888Z] drwxrwxr-x. 13 jenkins jenkins 4096 Jan 12 13:38 .. [2022-01-12T13:38:53.888Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 12 13:32 cost [2022-01-12T13:38:53.888Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 12 13:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:54.185Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:54.750Z] ---> package-listing.sh [2022-01-12T13:38:54.750Z] ++ facter osfamily [2022-01-12T13:38:54.750Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-12T13:38:55.011Z] + OS_FAMILY=redhat [2022-01-12T13:38:55.011Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_jakarta [2022-01-12T13:38:55.011Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-12T13:38:55.011Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-12T13:38:55.011Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-12T13:38:55.011Z] + PACKAGES=/tmp/packages_start.txt [2022-01-12T13:38:55.011Z] + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' [2022-01-12T13:38:55.011Z] + PACKAGES=/tmp/packages_end.txt [2022-01-12T13:38:55.011Z] + case "${OS_FAMILY}" in [2022-01-12T13:38:55.011Z] + rpm -qa [2022-01-12T13:38:55.011Z] + sort [2022-01-12T13:38:55.580Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-12T13:38:55.580Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-12T13:38:55.580Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-12T13:38:55.580Z] + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' [2022-01-12T13:38:55.580Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [2022-01-12T13:38:55.580Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [Pipeline] echo [2022-01-12T13:38:55.593Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-12T13:38:55.871Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-12T13:38:56.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T13:38:56.439Z] . [Pipeline] withDockerContainer [2022-01-12T13:38:56.532Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2022-01-12T13:38:56.564Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_jakarta/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_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-12T13:38:56.784Z] $ docker top fefbad68dfcee62212ed0fbabda96433796a8b9319ef8d0f1eb40c1544eea110 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T13:38:57.141Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-12T13:38:57.430Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-12T13:38:57.723Z] + ls /var/log/sa-host [2022-01-12T13:38:57.723Z] + sadf -c /var/log/sa-host/sa12 [2022-01-12T13:38:57.723Z] file_magic: OK [2022-01-12T13:38:57.723Z] HZ: Using current value: 100 [2022-01-12T13:38:57.723Z] file_header: OK [2022-01-12T13:38:57.723Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-12T13:38:57.723Z] Statistics: [2022-01-12T13:38:57.723Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T13:38:57.723Z] File successfully converted to sysstat format version 12.0.3 [2022-01-12T13:38:57.723Z] + sadf -c /var/log/sa-host/sa17 [2022-01-12T13:38:57.723Z] file_magic: OK [2022-01-12T13:38:57.723Z] HZ: Using current value: 100 [2022-01-12T13:38:57.723Z] file_header: OK [2022-01-12T13:38:57.723Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-12T13:38:57.723Z] Statistics: [2022-01-12T13:38:57.723Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T13:38:57.723Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T13:38:57.931Z] provisioning config files... [2022-01-12T13:38:57.941Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7557790381796509105tmp [Pipeline] { [Pipeline] echo [2022-01-12T13:38:57.957Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:58.241Z] ---> create-netrc.sh [Pipeline] } [2022-01-12T13:38:58.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:58.578Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-12T13:38:58.587Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:58.877Z] ---> sudo-logs.sh [2022-01-12T13:38:58.877Z] Archiving 'sudo' log.. [2022-01-12T13:38:58.877Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1344.novalocal: Name or service not known [2022-01-12T13:38:58.877Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1344.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-12T13:38:58.900Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:38:59.189Z] ---> job-cost.sh [2022-01-12T13:38:59.189Z] lf-activate-venv: SKIPPING [2022-01-12T13:38:59.189Z] DEBUG: total: 0.05999999865889549 [2022-01-12T13:38:59.189Z] INFO: Retrieving Stack Cost... [2022-01-12T13:38:59.453Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T13:38:59.724Z] INFO: Archiving Costs [Pipeline] echo [2022-01-12T13:38:59.742Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T13:39:00.041Z] ---> logs-deploy.sh [2022-01-12T13:39:00.041Z] lf-activate-venv: SKIPPING [2022-01-12T13:39:00.041Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/jakarta/5 [2022-01-12T13:39:00.041Z] INFO: archiving workspace using pattern(s): [2022-01-12T13:39:00.612Z] Archives upload complete. [2022-01-12T13:39:00.872Z] INFO: archiving logs to Nexus