Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ff2bdc244935d5b40da6f20198b29dfc476efd7a 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-ssh7721991536247893981.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh1582995579891676144.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7693129761792607873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh12064053912833103133.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh544378272264828262.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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5081 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh860243765731458485.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 ff2bdc244935d5b40da6f20198b29dfc476efd7a (main) > 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 ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 Commit message: "Merge pull request #1094 from lenny-intel/clients" > git rev-list --no-walk 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-11T16:47:20.291Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-11T16:47:20.351Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-11T16:47:20.369Z] ========================================================= [2022-02-11T16:47:20.369Z] EdgeX Global Pipelines Version Info [2022-02-11T16:47:20.369Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:47:21.495Z] ------------------- [2022-02-11T16:47:21.495Z] stable info: [2022-02-11T16:47:21.495Z] ------------------- [2022-02-11T16:47:21.495Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-11T16:47:21.495Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-11T16:47:21.495Z] Message: update stable to v1.0.220 [2022-02-11T16:47:22.069Z] ------------------- [2022-02-11T16:47:22.069Z] experimental info: [2022-02-11T16:47:22.069Z] ------------------- [2022-02-11T16:47:22.069Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-11T16:47:22.069Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-11T16:47:22.069Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-11T16:47:22.214Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-11T16:47:22.228Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-11T16:47:22.293Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-11T16:47:22.305Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-11T16:47:22.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-11T16:47:22.329Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-11T16:47:22.343Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-11T16:47:22.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-11T16:47:22.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-11T16:47:22.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-11T16:47:22.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-11T16:47:22.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-11T16:47:22.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-11T16:47:22.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-11T16:47:22.451Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-11T16:47:22.468Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-11T16:47:22.485Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-11T16:47:22.495Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-11T16:47:22.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-11T16:47:22.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-11T16:47:22.535Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-11T16:47:22.550Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-11T16:47:22.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-11T16:47:22.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-11T16:47:22.596Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-11T16:47:22.608Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-11T16:47:22.620Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-02-11T16:47:22.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-02-11T16:47:22.645Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-02-11T16:47:22.657Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff2bdc244935d5b40da6f20198b29dfc476efd7a [Pipeline] echo [2022-02-11T16:47:22.671Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff2bdc2 [Pipeline] echo [2022-02-11T16:47:22.683Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T16:47:22.731Z] provisioning config files... [2022-02-11T16:47:22.744Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5540519866768267683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:47:23.053Z] ---> docker-login.sh [2022-02-11T16:47:23.053Z] nexus3.edgexfoundry.org:10001 [2022-02-11T16:47:23.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:23.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:23.313Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:23.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:23.313Z] [2022-02-11T16:47:23.313Z] Login Succeeded [2022-02-11T16:47:23.313Z] nexus3.edgexfoundry.org:10002 [2022-02-11T16:47:23.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:23.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:23.313Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:23.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:23.313Z] [2022-02-11T16:47:23.313Z] Login Succeeded [2022-02-11T16:47:23.313Z] nexus3.edgexfoundry.org:10003 [2022-02-11T16:47:23.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:23.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:23.573Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:23.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:23.573Z] [2022-02-11T16:47:23.573Z] Login Succeeded [2022-02-11T16:47:23.573Z] nexus3.edgexfoundry.org:10004 [2022-02-11T16:47:23.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:23.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:23.573Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:23.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:23.573Z] [2022-02-11T16:47:23.573Z] Login Succeeded [2022-02-11T16:47:23.573Z] docker.io [2022-02-11T16:47:23.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:23.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:23.836Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:23.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:23.836Z] [2022-02-11T16:47:23.836Z] Login Succeeded [2022-02-11T16:47:23.836Z] ---> docker-login.sh ends [Pipeline] } [2022-02-11T16:47:23.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-11T16:47:24.243Z] + git rev-list -1 --merges ff2bdc244935d5b40da6f20198b29dfc476efd7a~1..ff2bdc244935d5b40da6f20198b29dfc476efd7a [Pipeline] echo [2022-02-11T16:47:24.271Z] -----------> git rev-list -1 --merges ff2bdc244935d5b40da6f20198b29dfc476efd7a~1..ff2bdc244935d5b40da6f20198b29dfc476efd7a ff2bdc244935d5b40da6f20198b29dfc476efd7a [2022-02-11T16:47:24.271Z] ff2bdc244935d5b40da6f20198b29dfc476efd7a [false] [Pipeline] sh [2022-02-11T16:47:24.562Z] + git log --format=format:%s -1 ff2bdc244935d5b40da6f20198b29dfc476efd7a [Pipeline] echo [2022-02-11T16:47:24.582Z] ========================================================= [2022-02-11T16:47:24.582Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-11T16:47:24.582Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-11T16:47:24.899Z] + git log --format=format:%s -1 ff2bdc244935d5b40da6f20198b29dfc476efd7a [Pipeline] echo [2022-02-11T16:47:24.911Z] [semverPrep] GIT_COMMIT: ff2bdc244935d5b40da6f20198b29dfc476efd7a, Commit Message: Merge pull request #1094 from lenny-intel/clients [Pipeline] echo [2022-02-11T16:47:24.922Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-11T16:47:25.357Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-11T16:47:25.357Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-11T16:47:25.357Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-11T16:47:25.357Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-11T16:47:25.357Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-11T16:47:25.357Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-11T16:47:25.357Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:47:25.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T16:47:25.806Z] [2022-02-11T16:47:25.806Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:47:26.125Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T16:47:26.126Z] latest: Pulling from edgex-devops/git-semver [2022-02-11T16:47:26.126Z] a0d0a0d46f8b: Pulling fs layer [2022-02-11T16:47:26.126Z] 3e5f54012d9b: Pulling fs layer [2022-02-11T16:47:26.126Z] 4c7163046ea9: Pulling fs layer [2022-02-11T16:47:26.126Z] 0c2d73faf560: Pulling fs layer [2022-02-11T16:47:26.126Z] 0c2d73faf560: Waiting [2022-02-11T16:47:26.126Z] 3e5f54012d9b: Verifying Checksum [2022-02-11T16:47:26.126Z] 3e5f54012d9b: Download complete [2022-02-11T16:47:26.126Z] a0d0a0d46f8b: Verifying Checksum [2022-02-11T16:47:26.126Z] a0d0a0d46f8b: Download complete [2022-02-11T16:47:26.390Z] 0c2d73faf560: Verifying Checksum [2022-02-11T16:47:26.390Z] 0c2d73faf560: Download complete [2022-02-11T16:47:26.390Z] 4c7163046ea9: Verifying Checksum [2022-02-11T16:47:26.390Z] 4c7163046ea9: Download complete [2022-02-11T16:47:26.390Z] a0d0a0d46f8b: Pull complete [2022-02-11T16:47:26.390Z] 3e5f54012d9b: Pull complete [2022-02-11T16:47:26.656Z] 4c7163046ea9: Pull complete [2022-02-11T16:47:26.918Z] 0c2d73faf560: Pull complete [2022-02-11T16:47:26.918Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-11T16:47:26.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T16:47:26.918Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-11T16:47:26.987Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:47:27.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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-02-11T16:47:27.605Z] $ docker top 9af6ee83bd4da521cfdcbb32286ae3f66132f7a462a32c10577af72b026744cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-11T16:47:27.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-11T16:47:27.696Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-11T16:47:27.797Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-11T16:47:27.800Z] $ docker exec 9af6ee83bd4da521cfdcbb32286ae3f66132f7a462a32c10577af72b026744cd ssh-agent [2022-02-11T16:47:27.900Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdGDido/agent.14 [2022-02-11T16:47:27.900Z] SSH_AGENT_PID=20 [2022-02-11T16:47:27.907Z] Running ssh-add (command line suppressed) [2022-02-11T16:47:27.995Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8196022290103846736.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8196022290103846736.key) [2022-02-11T16:47:28.007Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-11T16:47:28.303Z] + git tag --points-at HEAD [Pipeline] } [2022-02-11T16:47:28.322Z] $ docker exec --env ******** --env ******** 9af6ee83bd4da521cfdcbb32286ae3f66132f7a462a32c10577af72b026744cd ssh-agent -k [2022-02-11T16:47:28.405Z] unset SSH_AUTH_SOCK; [2022-02-11T16:47:28.405Z] unset SSH_AGENT_PID; [2022-02-11T16:47:28.406Z] echo Agent pid 20 killed; [2022-02-11T16:47:28.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-11T16:47:28.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-11T16:47:28.441Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-11T16:47:28.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-11T16:47:28.550Z] $ docker exec 9af6ee83bd4da521cfdcbb32286ae3f66132f7a462a32c10577af72b026744cd ssh-agent [2022-02-11T16:47:28.670Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCDKDmk/agent.53 [2022-02-11T16:47:28.670Z] SSH_AGENT_PID=59 [2022-02-11T16:47:28.675Z] Running ssh-add (command line suppressed) [2022-02-11T16:47:28.767Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_575807487042772486.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_575807487042772486.key) [2022-02-11T16:47:28.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-11T16:47:29.083Z] + git semver init [2022-02-11T16:47:29.083Z] # -> Open(): unable to determine branch for HEAD [2022-02-11T16:47:29.083Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-02-11T16:47:29.083Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-11T16:47:29.083Z] # $SEMVER_REMOTE_NAME = origin [2022-02-11T16:47:29.083Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-11T16:47:29.083Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-11T16:47:29.083Z] # $SEMVER_BRANCH = main [2022-02-11T16:47:29.083Z] # $SEMVER_TEMP = /tmp/semver-925612944 [2022-02-11T16:47:29.083Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-11T16:47:30.470Z] # '/tmp/semver-925612944' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-02-11T16:47:30.470Z] # -> Force: false [2022-02-11T16:47:30.470Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-02-11T16:47:30.481Z] $ docker exec --env ******** --env ******** 9af6ee83bd4da521cfdcbb32286ae3f66132f7a462a32c10577af72b026744cd ssh-agent -k [2022-02-11T16:47:30.577Z] unset SSH_AUTH_SOCK; [2022-02-11T16:47:30.577Z] unset SSH_AGENT_PID; [2022-02-11T16:47:30.578Z] echo Agent pid 59 killed; [2022-02-11T16:47:30.587Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-11T16:47:30.917Z] + git semver [Pipeline] } [2022-02-11T16:47:30.931Z] $ docker stop --time=1 9af6ee83bd4da521cfdcbb32286ae3f66132f7a462a32c10577af72b026744cd [2022-02-11T16:47:32.169Z] $ docker rm -f 9af6ee83bd4da521cfdcbb32286ae3f66132f7a462a32c10577af72b026744cd [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-11T16:47:32.525Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-11T16:47:32.742Z] Stashed 1 file(s) [Pipeline] echo [2022-02-11T16:47:32.745Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [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-02-11T16:47:32.876Z] provisioning config files... [2022-02-11T16:47:32.886Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config712203992293272742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:47:33.190Z] ---> docker-login.sh [2022-02-11T16:47:33.190Z] nexus3.edgexfoundry.org:10001 [2022-02-11T16:47:33.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:33.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:33.190Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:33.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:33.190Z] [2022-02-11T16:47:33.190Z] Login Succeeded [2022-02-11T16:47:33.190Z] nexus3.edgexfoundry.org:10002 [2022-02-11T16:47:33.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:33.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:33.190Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:33.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:33.190Z] [2022-02-11T16:47:33.190Z] Login Succeeded [2022-02-11T16:47:33.190Z] nexus3.edgexfoundry.org:10003 [2022-02-11T16:47:33.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:33.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:33.451Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:33.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:33.451Z] [2022-02-11T16:47:33.452Z] Login Succeeded [2022-02-11T16:47:33.452Z] nexus3.edgexfoundry.org:10004 [2022-02-11T16:47:33.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:33.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:33.452Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:33.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:33.452Z] [2022-02-11T16:47:33.452Z] Login Succeeded [2022-02-11T16:47:33.452Z] docker.io [2022-02-11T16:47:33.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:47:33.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:47:33.972Z] Configure a credential helper to remove this warning. See [2022-02-11T16:47:33.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:47:33.972Z] [2022-02-11T16:47:33.972Z] Login Succeeded [2022-02-11T16:47:33.972Z] ---> docker-login.sh ends [Pipeline] } [2022-02-11T16:47:33.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-11T16:47:34.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-11T16:47:34.055Z] ========================================================= [2022-02-11T16:47:34.055Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-11T16:47:34.055Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:47:34.369Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-02-11T16:47:34.369Z] Sending build context to Docker daemon 9.443MB [2022-02-11T16:47:34.369Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T16:47:34.369Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-11T16:47:34.369Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-11T16:47:34.369Z] 59bf1c3509f3: Pulling fs layer [2022-02-11T16:47:34.369Z] 666ba61612fd: Pulling fs layer [2022-02-11T16:47:34.369Z] 8ed8ca486205: Pulling fs layer [2022-02-11T16:47:34.369Z] 4fe6c5a15a65: Pulling fs layer [2022-02-11T16:47:34.369Z] 22a0e8bec74d: Pulling fs layer [2022-02-11T16:47:34.369Z] 640e595b4fbd: Pulling fs layer [2022-02-11T16:47:34.369Z] 763cafe07f6e: Pulling fs layer [2022-02-11T16:47:34.369Z] 0c0b528cf693: Pulling fs layer [2022-02-11T16:47:34.369Z] 10935f4eaf8b: Pulling fs layer [2022-02-11T16:47:34.369Z] 4fe6c5a15a65: Waiting [2022-02-11T16:47:34.369Z] 22a0e8bec74d: Waiting [2022-02-11T16:47:34.369Z] 640e595b4fbd: Waiting [2022-02-11T16:47:34.369Z] 763cafe07f6e: Waiting [2022-02-11T16:47:34.369Z] 0c0b528cf693: Waiting [2022-02-11T16:47:34.369Z] 10935f4eaf8b: Waiting [2022-02-11T16:47:34.631Z] 8ed8ca486205: Verifying Checksum [2022-02-11T16:47:34.631Z] 8ed8ca486205: Download complete [2022-02-11T16:47:34.631Z] 666ba61612fd: Verifying Checksum [2022-02-11T16:47:34.631Z] 666ba61612fd: Download complete [2022-02-11T16:47:34.631Z] 22a0e8bec74d: Verifying Checksum [2022-02-11T16:47:34.631Z] 22a0e8bec74d: Download complete [2022-02-11T16:47:34.631Z] 640e595b4fbd: Verifying Checksum [2022-02-11T16:47:34.631Z] 640e595b4fbd: Download complete [2022-02-11T16:47:34.631Z] 59bf1c3509f3: Verifying Checksum [2022-02-11T16:47:34.631Z] 59bf1c3509f3: Download complete [2022-02-11T16:47:34.631Z] 763cafe07f6e: Verifying Checksum [2022-02-11T16:47:34.631Z] 763cafe07f6e: Download complete [2022-02-11T16:47:34.631Z] 0c0b528cf693: Verifying Checksum [2022-02-11T16:47:34.631Z] 0c0b528cf693: Download complete [2022-02-11T16:47:34.903Z] 59bf1c3509f3: Pull complete [2022-02-11T16:47:34.903Z] 666ba61612fd: Pull complete [2022-02-11T16:47:35.170Z] 8ed8ca486205: Pull complete [2022-02-11T16:47:35.170Z] 4fe6c5a15a65: Verifying Checksum [2022-02-11T16:47:35.170Z] 4fe6c5a15a65: Download complete [2022-02-11T16:47:35.436Z] 10935f4eaf8b: Verifying Checksum [2022-02-11T16:47:35.436Z] 10935f4eaf8b: Download complete [2022-02-11T16:47:39.680Z] 4fe6c5a15a65: Pull complete [2022-02-11T16:47:39.680Z] 22a0e8bec74d: Pull complete [2022-02-11T16:47:39.680Z] 640e595b4fbd: Pull complete [2022-02-11T16:47:39.680Z] 763cafe07f6e: Pull complete [2022-02-11T16:47:39.680Z] 0c0b528cf693: Pull complete [2022-02-11T16:47:41.619Z] 10935f4eaf8b: Pull complete [2022-02-11T16:47:41.619Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-11T16:47:41.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-11T16:47:41.619Z] ---> 99d49a6021b9 [2022-02-11T16:47:41.619Z] Step 3/11 : ARG MAKE=make build [2022-02-11T16:47:43.003Z] ---> Running in 25b8aa8e5d89 [2022-02-11T16:47:43.003Z] Removing intermediate container 25b8aa8e5d89 [2022-02-11T16:47:43.003Z] ---> 2e9b1f00434b [2022-02-11T16:47:43.003Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-11T16:47:43.264Z] ---> Running in 43025af56071 [2022-02-11T16:47:43.264Z] Removing intermediate container 43025af56071 [2022-02-11T16:47:43.264Z] ---> e1dfbff64fce [2022-02-11T16:47:43.264Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T16:47:43.264Z] ---> Running in 760cc8fdecf9 [2022-02-11T16:47:43.264Z] Removing intermediate container 760cc8fdecf9 [2022-02-11T16:47:43.264Z] ---> d064212c0ba1 [2022-02-11T16:47:43.264Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T16:47:43.264Z] ---> Running in cfb8f9d30342 [2022-02-11T16:47:43.834Z] Removing intermediate container cfb8f9d30342 [2022-02-11T16:47:43.834Z] ---> dc5e047df441 [2022-02-11T16:47:43.834Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T16:47:43.834Z] ---> Running in 112493df6a18 [2022-02-11T16:47:44.096Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-11T16:47:47.397Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-11T16:47:47.658Z] OK: 221 MiB in 52 packages [2022-02-11T16:47:47.845Z] Still waiting to schedule task [2022-02-11T16:47:47.846Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-11T16:47:47.927Z] Removing intermediate container 112493df6a18 [2022-02-11T16:47:47.927Z] ---> 09d9bdf3d597 [2022-02-11T16:47:47.927Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-11T16:47:47.927Z] ---> 8dba3ba334da [2022-02-11T16:47:47.927Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T16:47:47.927Z] ---> Running in 045acb2c985c [2022-02-11T16:48:26.709Z] Removing intermediate container 045acb2c985c [2022-02-11T16:48:26.709Z] ---> 4656dbd05fea [2022-02-11T16:48:26.709Z] Step 10/11 : COPY . . [2022-02-11T16:48:26.709Z] ---> 6e151b35f286 [2022-02-11T16:48:26.709Z] Step 11/11 : RUN ${MAKE} [2022-02-11T16:48:26.709Z] ---> Running in 48429a2c2d4c [2022-02-11T16:48:26.709Z] noop [2022-02-11T16:48:26.709Z] Removing intermediate container 48429a2c2d4c [2022-02-11T16:48:26.709Z] ---> 13cb78c7ea1b [2022-02-11T16:48:26.709Z] Successfully built 13cb78c7ea1b [2022-02-11T16:48:26.709Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:48:27.008Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-11T16:48:27.008Z] . [Pipeline] withDockerContainer [2022-02-11T16:48:27.075Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:48:27.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-11T16:48:27.437Z] $ docker top fc7aa97331367608215a228db50eb6178aa4a31c30577ad6630410282dae1168 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-11T16:48:27.796Z] + go version [2022-02-11T16:48:27.796Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-11T16:48:27.808Z] $ docker stop --time=1 fc7aa97331367608215a228db50eb6178aa4a31c30577ad6630410282dae1168 [2022-02-11T16:48:29.004Z] $ docker rm -f fc7aa97331367608215a228db50eb6178aa4a31c30577ad6630410282dae1168 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:48:29.413Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-11T16:48:29.414Z] . [Pipeline] withDockerContainer [2022-02-11T16:48:29.478Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:48:29.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-11T16:48:29.843Z] $ docker top 6726c082c16aa065756ec1b60718fcf59ed6d30d8f3ff9f5688b85b4ab02da09 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-11T16:48:30.212Z] + make test [2022-02-11T16:48:30.212Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-11T16:48:30.478Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-11T16:48:45.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-11T16:48:45.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-11T16:48:45.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-11T16:48:45.474Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.013s coverage: 23.3% of statements [2022-02-11T16:48:45.474Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-11T16:48:45.474Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.011s coverage: 27.6% of statements [2022-02-11T16:48:45.741Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.016s coverage: 78.9% of statements [2022-02-11T16:48:46.007Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.022s coverage: 10.8% of statements [2022-02-11T16:48:46.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-11T16:48:46.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-11T16:48:46.007Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-11T16:48:46.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.021s coverage: 28.7% of statements [2022-02-11T16:48:46.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-11T16:48:47.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.009s coverage: 86.1% of statements [2022-02-11T16:48:47.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-11T16:48:47.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-11T16:48:47.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.012s coverage: 57.4% of statements [2022-02-11T16:48:47.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.028s coverage: 89.2% of statements [2022-02-11T16:48:47.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-11T16:48:48.124Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-02-11T16:48:48.124Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-11T16:49:00.442Z] GO111MODULE=on go vet ./... [2022-02-11T16:49:03.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-11T16:49:03.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-11T16:49:03.766Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-11T16:49:04.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-11T16:49:04.056Z] $ docker stop --time=1 6726c082c16aa065756ec1b60718fcf59ed6d30d8f3ff9f5688b85b4ab02da09 [2022-02-11T16:49:05.516Z] $ docker rm -f 6726c082c16aa065756ec1b60718fcf59ed6d30d8f3ff9f5688b85b4ab02da09 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-11T16:49:05.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-11T16:49:06.052Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-02-11T16:49:07.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-11T16:49:07.332Z] + ls -al . [2022-02-11T16:49:07.332Z] total 272 [2022-02-11T16:49:07.332Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 11 16:49 . [2022-02-11T16:49:07.332Z] drwxrwxr-x. 4 jenkins jenkins 110 Feb 11 16:47 .. [2022-02-11T16:49:07.332Z] drwxrwxr-x. 2 jenkins jenkins 37 Feb 11 16:47 bin [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 26321 Feb 11 16:47 CHANGELOG.md [2022-02-11T16:49:07.332Z] -rw-r--r--. 1 jenkins jenkins 128110 Feb 11 16:48 coverage.out [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 11 16:47 .dockerignore [2022-02-11T16:49:07.332Z] drwxrwxr-x. 5 jenkins jenkins 62 Feb 11 16:47 example [2022-02-11T16:49:07.332Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 11 16:47 .git [2022-02-11T16:49:07.332Z] drwxrwxr-x. 3 jenkins jenkins 125 Feb 11 16:47 .github [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 131 Feb 11 16:47 .gitignore [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 42 Feb 11 16:47 .golangci.yml [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 2773 Feb 11 16:47 go.mod [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 49776 Feb 11 16:47 go.sum [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 11 16:47 GOVERNANCE.md [2022-02-11T16:49:07.332Z] drwxrwxr-x. 15 jenkins jenkins 224 Feb 11 16:47 internal [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 880 Feb 11 16:47 Jenkinsfile [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 11 16:47 LICENSE [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 1614 Feb 11 16:47 Makefile [2022-02-11T16:49:07.332Z] drwxrwxr-x. 3 jenkins jenkins 16 Feb 11 16:47 openapi [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 619 Feb 11 16:47 OWNERS.md [2022-02-11T16:49:07.332Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 11 16:47 pkg [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 4881 Feb 11 16:47 README.md [2022-02-11T16:49:07.332Z] drwx------. 3 jenkins jenkins 57 Feb 11 16:47 .semver [2022-02-11T16:49:07.332Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 11 16:47 snap [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 12 Feb 11 16:47 VERSION [2022-02-11T16:49:07.332Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 11 16:47 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:49:07.629Z] + 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=ff2bdc244935d5b40da6f20198b29dfc476efd7a --label arch=amd64 --label version=2.2.0-dev.15 . [2022-02-11T16:49:07.629Z] Sending build context to Docker daemon 9.572MB [2022-02-11T16:49:07.629Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T16:49:07.629Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-11T16:49:07.629Z] ---> 13cb78c7ea1b [2022-02-11T16:49:07.629Z] Step 3/25 : ARG MAKE=make build [2022-02-11T16:49:07.894Z] ---> Running in 89ce95685d80 [2022-02-11T16:49:07.894Z] Removing intermediate container 89ce95685d80 [2022-02-11T16:49:07.894Z] ---> 61937acb1743 [2022-02-11T16:49:07.894Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-11T16:49:07.894Z] ---> Running in f864f9d78ed2 [2022-02-11T16:49:07.894Z] Removing intermediate container f864f9d78ed2 [2022-02-11T16:49:07.894Z] ---> c06f94159f65 [2022-02-11T16:49:07.894Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T16:49:07.894Z] ---> Running in bd4dc5b45258 [2022-02-11T16:49:08.154Z] Removing intermediate container bd4dc5b45258 [2022-02-11T16:49:08.154Z] ---> dfda52d60485 [2022-02-11T16:49:08.154Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T16:49:08.154Z] ---> Running in bdf8de40d13d [2022-02-11T16:49:08.416Z] Removing intermediate container bdf8de40d13d [2022-02-11T16:49:08.416Z] ---> 8f6dcf6bec17 [2022-02-11T16:49:08.416Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T16:49:08.416Z] ---> Running in 24d8a5e8cfe6 [2022-02-11T16:49:08.679Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-11T16:49:09.626Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-11T16:49:11.016Z] OK: 221 MiB in 52 packages [2022-02-11T16:49:11.016Z] Removing intermediate container 24d8a5e8cfe6 [2022-02-11T16:49:11.016Z] ---> 950a57a063a1 [2022-02-11T16:49:11.016Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-11T16:49:11.016Z] ---> fd3490986a81 [2022-02-11T16:49:11.016Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T16:49:11.016Z] ---> Running in 9cfae3d244c1 [2022-02-11T16:49:11.592Z] Removing intermediate container 9cfae3d244c1 [2022-02-11T16:49:11.592Z] ---> cbdc323d8164 [2022-02-11T16:49:11.592Z] Step 10/25 : COPY . . [2022-02-11T16:49:12.160Z] ---> 58d34a404042 [2022-02-11T16:49:12.160Z] Step 11/25 : RUN ${MAKE} [2022-02-11T16:49:12.160Z] ---> Running in 80635f3f67ac [2022-02-11T16:49:12.426Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.15" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-02-11T16:49:16.080Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5082 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-02-11T16:49:16.093Z] Running in /w/workspace/device-sdk-go/48 [Pipeline] { [Pipeline] checkout [2022-02-11T16:49:16.284Z] The recommended git tool is: git [2022-02-11T16:49:20.650Z] using credential edgex-jenkins-ssh [2022-02-11T16:49:20.670Z] Cloning the remote Git repository [2022-02-11T16:49:20.717Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-11T16:49:20.794Z] > git init /w/workspace/device-sdk-go/48 # timeout=10 [2022-02-11T16:49:20.885Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-11T16:49:20.885Z] > git --version # timeout=10 [2022-02-11T16:49:20.903Z] > git --version # 'git version 2.17.1' [2022-02-11T16:49:20.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-11T16:49:20.954Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-11T16:49:22.468Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-11T16:49:22.580Z] Avoid second fetch [2022-02-11T16:49:22.580Z] Checking out Revision ff2bdc244935d5b40da6f20198b29dfc476efd7a (main) [2022-02-11T16:49:22.533Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-11T16:49:22.550Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-11T16:49:22.599Z] > git config core.sparsecheckout # timeout=10 [2022-02-11T16:49:22.613Z] > git checkout -f ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 [2022-02-11T16:49:23.849Z] Removing intermediate container 80635f3f67ac [2022-02-11T16:49:23.849Z] ---> 58031b81c7b3 [2022-02-11T16:49:23.849Z] Step 12/25 : FROM alpine:3.14 [2022-02-11T16:49:24.419Z] 3.14: Pulling from library/alpine [2022-02-11T16:49:24.419Z] 97518928ae5f: Pulling fs layer [2022-02-11T16:49:24.683Z] 97518928ae5f: Verifying Checksum [2022-02-11T16:49:24.683Z] 97518928ae5f: Download complete [2022-02-11T16:49:24.683Z] 97518928ae5f: Pull complete [2022-02-11T16:49:24.683Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-11T16:49:24.684Z] Status: Downloaded newer image for alpine:3.14 [2022-02-11T16:49:24.684Z] ---> 0a97eee8041e [2022-02-11T16:49:24.684Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T16:49:24.684Z] ---> Running in 5f80166ff837 [2022-02-11T16:49:24.946Z] Removing intermediate container 5f80166ff837 [2022-02-11T16:49:24.946Z] ---> 7cfec1a3ab1b [2022-02-11T16:49:24.946Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T16:49:24.946Z] ---> Running in 93562addd99a [2022-02-11T16:49:25.206Z] Removing intermediate container 93562addd99a [2022-02-11T16:49:25.206Z] ---> 6f3f3c9b834d [2022-02-11T16:49:25.206Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-11T16:49:25.473Z] ---> Running in 9be4e2c41bd1 [2022-02-11T16:49:25.734Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-11T16:49:26.676Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-11T16:49:26.676Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-11T16:49:26.751Z] Commit message: "Merge pull request #1094 from lenny-intel/clients" [2022-02-11T16:49:26.937Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-11T16:49:26.937Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-11T16:49:27.198Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-11T16:49:27.198Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-11T16:49:27.198Z] Executing busybox-1.33.1-r6.trigger [2022-02-11T16:49:27.198Z] OK: 8 MiB in 19 packages [2022-02-11T16:49:27.463Z] Removing intermediate container 9be4e2c41bd1 [2022-02-11T16:49:27.463Z] ---> afe37bcff55f [2022-02-11T16:49:27.463Z] Step 16/25 : WORKDIR / [2022-02-11T16:49:27.463Z] ---> Running in 2e8c168de06d [2022-02-11T16:49:27.539Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-11T16:49:27.539Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-11T16:49:27.539Z] Dload Upload Total Spent Left Speed [2022-02-11T16:49:27.539Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 68063 0 --:--:-- --:--:-- --:--:-- 68063 [2022-02-11T16:49:27.722Z] Removing intermediate container 2e8c168de06d [2022-02-11T16:49:27.723Z] ---> 15608c8677ca [2022-02-11T16:49:27.723Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-11T16:49:27.723Z] ---> efc9344d4ccd [2022-02-11T16:49:27.723Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [Pipeline] sh [2022-02-11T16:49:28.077Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-11T16:49:28.305Z] ---> b209158e4721 [2022-02-11T16:49:28.305Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-11T16:49:28.305Z] ---> 1a0e9957c657 [2022-02-11T16:49:28.305Z] Step 20/25 : EXPOSE 59999 [2022-02-11T16:49:28.305Z] ---> Running in 871a5b36c5d4 [2022-02-11T16:49:28.305Z] Removing intermediate container 871a5b36c5d4 [2022-02-11T16:49:28.305Z] ---> 70ead6ba6c94 [2022-02-11T16:49:28.305Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-11T16:49:28.305Z] ---> Running in 8ae6d81fed9e [2022-02-11T16:49:28.418Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-11T16:49:28.418Z] + sudo tee /etc/docker/daemon.new [2022-02-11T16:49:28.418Z] { [2022-02-11T16:49:28.418Z] "registry-mirrors": [ [2022-02-11T16:49:28.418Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-11T16:49:28.418Z] ], [2022-02-11T16:49:28.418Z] "bip": "10.250.0.254/24", [2022-02-11T16:49:28.418Z] "hosts": [ [2022-02-11T16:49:28.418Z] "tcp://0.0.0.0:5555", [2022-02-11T16:49:28.418Z] "unix:///var/run/docker.sock" [2022-02-11T16:49:28.418Z] ], [2022-02-11T16:49:28.418Z] "mtu": 1458, [2022-02-11T16:49:28.418Z] "selinux-enabled": true, [2022-02-11T16:49:28.418Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-11T16:49:28.418Z] } [Pipeline] sh [2022-02-11T16:49:28.567Z] Removing intermediate container 8ae6d81fed9e [2022-02-11T16:49:28.567Z] ---> 8c35571e09df [2022-02-11T16:49:28.567Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-11T16:49:28.567Z] ---> Running in 469658195e4d [2022-02-11T16:49:28.567Z] Removing intermediate container 469658195e4d [2022-02-11T16:49:28.567Z] ---> 8a15e08da4f4 [2022-02-11T16:49:28.567Z] Step 23/25 : LABEL arch=amd64 [2022-02-11T16:49:28.567Z] ---> Running in 6bfa74c62668 [2022-02-11T16:49:28.567Z] Removing intermediate container 6bfa74c62668 [2022-02-11T16:49:28.567Z] ---> cd9842daf5f5 [2022-02-11T16:49:28.567Z] Step 24/25 : LABEL git_sha=ff2bdc244935d5b40da6f20198b29dfc476efd7a [2022-02-11T16:49:28.760Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-11T16:49:28.827Z] ---> Running in ad8a71de5334 [2022-02-11T16:49:28.827Z] Removing intermediate container ad8a71de5334 [2022-02-11T16:49:28.827Z] ---> 5da678fa3988 [2022-02-11T16:49:28.827Z] Step 25/25 : LABEL version=2.2.0-dev.15 [2022-02-11T16:49:28.827Z] ---> Running in 4dd339c3dfdb [2022-02-11T16:49:28.827Z] Removing intermediate container 4dd339c3dfdb [2022-02-11T16:49:28.827Z] ---> 33b7051772fb [2022-02-11T16:49:28.827Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-11T16:49:28.827Z] Successfully built 33b7051772fb [2022-02-11T16:49:28.827Z] 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-02-11T16:49:29.107Z] + sudo service docker restart [2022-02-11T16:49:29.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T16:49:29.258Z] [2022-02-11T16:49:29.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:49:29.559Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T16:49:29.560Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-11T16:49:29.560Z] b4d181a07f80: Pulling fs layer [2022-02-11T16:49:29.560Z] a1111a8f2ec3: Pulling fs layer [2022-02-11T16:49:29.560Z] ed53099fbce6: Pulling fs layer [2022-02-11T16:49:29.560Z] dc539afda2c1: Pulling fs layer [2022-02-11T16:49:29.560Z] 77bc0d833cb6: Pulling fs layer [2022-02-11T16:49:29.560Z] 9065ff56babe: Pulling fs layer [2022-02-11T16:49:29.560Z] d287ab97295c: Pulling fs layer [2022-02-11T16:49:29.560Z] 77bc0d833cb6: Waiting [2022-02-11T16:49:29.560Z] 9065ff56babe: Waiting [2022-02-11T16:49:29.560Z] d287ab97295c: Waiting [2022-02-11T16:49:29.560Z] dc539afda2c1: Waiting [2022-02-11T16:49:29.560Z] a1111a8f2ec3: Verifying Checksum [2022-02-11T16:49:29.560Z] a1111a8f2ec3: Download complete [2022-02-11T16:49:29.560Z] dc539afda2c1: Verifying Checksum [2022-02-11T16:49:29.560Z] dc539afda2c1: Download complete [2022-02-11T16:49:29.560Z] ed53099fbce6: Verifying Checksum [2022-02-11T16:49:29.560Z] ed53099fbce6: Download complete [2022-02-11T16:49:29.560Z] 9065ff56babe: Verifying Checksum [2022-02-11T16:49:29.560Z] 9065ff56babe: Download complete [2022-02-11T16:49:29.560Z] 77bc0d833cb6: Verifying Checksum [2022-02-11T16:49:29.560Z] 77bc0d833cb6: Download complete [2022-02-11T16:49:29.822Z] b4d181a07f80: Verifying Checksum [2022-02-11T16:49:29.822Z] b4d181a07f80: Download complete [2022-02-11T16:49:30.416Z] d287ab97295c: Verifying Checksum [2022-02-11T16:49:30.416Z] d287ab97295c: Download complete [2022-02-11T16:49:31.365Z] b4d181a07f80: Pull complete [2022-02-11T16:49:31.365Z] a1111a8f2ec3: Pull complete [2022-02-11T16:49:31.947Z] ed53099fbce6: Pull complete [2022-02-11T16:49:31.947Z] dc539afda2c1: Pull complete [2022-02-11T16:49:32.224Z] 77bc0d833cb6: Pull complete [2022-02-11T16:49:32.224Z] 9065ff56babe: Pull complete [2022-02-11T16:49:37.565Z] d287ab97295c: Pull complete [2022-02-11T16:49:37.565Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-11T16:49:37.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T16:49:37.565Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-11T16:49:37.632Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:49:37.669Z] $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-11T16:49:39.783Z] $ docker top 0d2d54a6c9b820d9e9eae726628e7926f496e7fea296193e0c7f8aa53cc729e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:49:40.225Z] ---> job-cost.sh [2022-02-11T16:49:40.225Z] lf-activate-venv: SKIPPING [2022-02-11T16:49:40.225Z] INFO: No Stack... [2022-02-11T16:49:40.486Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-11T16:49:40.747Z] INFO: Archiving Costs [Pipeline] sh [2022-02-11T16:49:41.050Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-02-11T16:49:41.051Z] + cut -d, -f6 [Pipeline] lock [2022-02-11T16:49:41.066Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-48-stack-cost] [2022-02-11T16:49:41.075Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-48-stack-cost] did not exist. Created. [2022-02-11T16:49:41.075Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-11T16:49:41.380Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-11T16:49:41.413Z] Stashed 1 file(s) [Pipeline] } [2022-02-11T16:49:41.420Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-11T16:49:41.443Z] $ docker stop --time=1 0d2d54a6c9b820d9e9eae726628e7926f496e7fea296193e0c7f8aa53cc729e6 [2022-02-11T16:49:42.591Z] $ docker rm -f 0d2d54a6c9b820d9e9eae726628e7926f496e7fea296193e0c7f8aa53cc729e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T16:49:47.456Z] provisioning config files... [2022-02-11T16:49:47.479Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/48@tmp/config951120608426897819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:49:47.917Z] ---> docker-login.sh [2022-02-11T16:49:47.917Z] nexus3.edgexfoundry.org:10001 [2022-02-11T16:49:48.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:49:48.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:49:48.784Z] Configure a credential helper to remove this warning. See [2022-02-11T16:49:48.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:49:48.784Z] [2022-02-11T16:49:48.784Z] Login Succeeded [2022-02-11T16:49:48.784Z] nexus3.edgexfoundry.org:10002 [2022-02-11T16:49:49.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:49:49.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:49:49.327Z] Configure a credential helper to remove this warning. See [2022-02-11T16:49:49.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:49:49.327Z] [2022-02-11T16:49:49.327Z] Login Succeeded [2022-02-11T16:49:49.327Z] nexus3.edgexfoundry.org:10003 [2022-02-11T16:49:49.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:49:49.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:49:49.599Z] Configure a credential helper to remove this warning. See [2022-02-11T16:49:49.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:49:49.599Z] [2022-02-11T16:49:49.599Z] Login Succeeded [2022-02-11T16:49:49.599Z] nexus3.edgexfoundry.org:10004 [2022-02-11T16:49:49.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:49:50.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:49:50.172Z] Configure a credential helper to remove this warning. See [2022-02-11T16:49:50.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:49:50.172Z] [2022-02-11T16:49:50.172Z] Login Succeeded [2022-02-11T16:49:50.172Z] docker.io [2022-02-11T16:49:50.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T16:49:50.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T16:49:50.722Z] Configure a credential helper to remove this warning. See [2022-02-11T16:49:50.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T16:49:50.722Z] [2022-02-11T16:49:50.722Z] Login Succeeded [2022-02-11T16:49:50.722Z] ---> docker-login.sh ends [Pipeline] } [2022-02-11T16:49:50.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-11T16:49:51.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-11T16:49:51.143Z] ========================================================= [2022-02-11T16:49:51.143Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-11T16:49:51.143Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:49:51.487Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-02-11T16:49:51.761Z] Sending build context to Docker daemon 5.111MB [2022-02-11T16:49:52.033Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T16:49:52.033Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-11T16:49:52.033Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-11T16:49:52.033Z] 9b3977197b4f: Pulling fs layer [2022-02-11T16:49:52.033Z] 1a89e8eeedd5: Pulling fs layer [2022-02-11T16:49:52.033Z] 94645a83ff95: Pulling fs layer [2022-02-11T16:49:52.033Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-11T16:49:52.033Z] 0c92f367c5e7: Pulling fs layer [2022-02-11T16:49:52.033Z] f7c0051592d6: Pulling fs layer [2022-02-11T16:49:52.033Z] a227ed2f7395: Pulling fs layer [2022-02-11T16:49:52.033Z] 7b1c46037f91: Pulling fs layer [2022-02-11T16:49:52.033Z] 3f3a8bcf1eab: Waiting [2022-02-11T16:49:52.033Z] 0c92f367c5e7: Waiting [2022-02-11T16:49:52.033Z] a227ed2f7395: Waiting [2022-02-11T16:49:52.033Z] f7c0051592d6: Waiting [2022-02-11T16:49:52.033Z] 7b1c46037f91: Waiting [2022-02-11T16:49:52.033Z] 94645a83ff95: Verifying Checksum [2022-02-11T16:49:52.033Z] 94645a83ff95: Download complete [2022-02-11T16:49:52.033Z] 1a89e8eeedd5: Download complete [2022-02-11T16:49:52.033Z] 0c92f367c5e7: Download complete [2022-02-11T16:49:52.033Z] f7c0051592d6: Verifying Checksum [2022-02-11T16:49:52.033Z] f7c0051592d6: Download complete [2022-02-11T16:49:52.033Z] 9b3977197b4f: Verifying Checksum [2022-02-11T16:49:52.033Z] 9b3977197b4f: Download complete [2022-02-11T16:49:52.309Z] a227ed2f7395: Verifying Checksum [2022-02-11T16:49:52.309Z] a227ed2f7395: Download complete [2022-02-11T16:49:52.911Z] 9b3977197b4f: Pull complete [2022-02-11T16:49:53.521Z] 1a89e8eeedd5: Pull complete [2022-02-11T16:49:53.797Z] 94645a83ff95: Pull complete [2022-02-11T16:49:54.070Z] 7b1c46037f91: Verifying Checksum [2022-02-11T16:49:54.070Z] 7b1c46037f91: Download complete [2022-02-11T16:49:54.664Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-11T16:49:54.664Z] 3f3a8bcf1eab: Download complete [2022-02-11T16:50:07.071Z] 3f3a8bcf1eab: Pull complete [2022-02-11T16:50:07.071Z] 0c92f367c5e7: Pull complete [2022-02-11T16:50:07.071Z] f7c0051592d6: Pull complete [2022-02-11T16:50:07.071Z] a227ed2f7395: Pull complete [2022-02-11T16:50:12.463Z] 7b1c46037f91: Pull complete [2022-02-11T16:50:12.463Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-11T16:50:12.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-11T16:50:12.463Z] ---> f79e39bc4007 [2022-02-11T16:50:12.463Z] Step 3/11 : ARG MAKE=make build [2022-02-11T16:50:14.432Z] ---> Running in 482d70163c93 [2022-02-11T16:50:14.432Z] Removing intermediate container 482d70163c93 [2022-02-11T16:50:14.432Z] ---> 6d228bd16e4a [2022-02-11T16:50:14.432Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-11T16:50:14.432Z] ---> Running in 0b794b8c7636 [2022-02-11T16:50:15.026Z] Removing intermediate container 0b794b8c7636 [2022-02-11T16:50:15.026Z] ---> 3d513160f398 [2022-02-11T16:50:15.026Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T16:50:15.026Z] ---> Running in 9a9758a58d48 [2022-02-11T16:50:15.299Z] Removing intermediate container 9a9758a58d48 [2022-02-11T16:50:15.299Z] ---> 2fd3c238ed58 [2022-02-11T16:50:15.299Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T16:50:15.572Z] ---> Running in c4a500bd0e82 [2022-02-11T16:50:17.541Z] Removing intermediate container c4a500bd0e82 [2022-02-11T16:50:17.541Z] ---> aae7641858e8 [2022-02-11T16:50:17.541Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T16:50:17.541Z] ---> Running in 0475d25af009 [2022-02-11T16:50:18.516Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-11T16:50:19.109Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-11T16:50:20.086Z] OK: 220 MiB in 52 packages [2022-02-11T16:50:20.683Z] Removing intermediate container 0475d25af009 [2022-02-11T16:50:20.683Z] ---> 0f0d1565f05b [2022-02-11T16:50:20.683Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-11T16:50:21.279Z] ---> 5c468df1c1ef [2022-02-11T16:50:21.279Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T16:50:21.566Z] ---> Running in cf071b983056 [2022-02-11T16:51:29.604Z] Removing intermediate container cf071b983056 [2022-02-11T16:51:29.604Z] ---> c6d66e72d0cf [2022-02-11T16:51:29.604Z] Step 10/11 : COPY . . [2022-02-11T16:51:30.594Z] ---> 130c58b6a2db [2022-02-11T16:51:30.595Z] Step 11/11 : RUN ${MAKE} [2022-02-11T16:51:30.595Z] ---> Running in cce625f955cb [2022-02-11T16:51:31.577Z] noop [2022-02-11T16:51:32.172Z] Removing intermediate container cce625f955cb [2022-02-11T16:51:32.172Z] ---> fff10cffce5e [2022-02-11T16:51:32.172Z] Successfully built fff10cffce5e [2022-02-11T16:51:32.172Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:51:32.514Z] + docker inspect -f . ci-base-image-arm64 [2022-02-11T16:51:32.514Z] . [Pipeline] withDockerContainer [2022-02-11T16:51:32.734Z] prd-ubuntu18.04-docker-arm64-4c-16g-5082 does not seem to be running inside a container [2022-02-11T16:51:32.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/48 -v /w/workspace/device-sdk-go/48:/w/workspace/device-sdk-go/48:rw,z -v /w/workspace/device-sdk-go/48@tmp:/w/workspace/device-sdk-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-11T16:51:34.097Z] $ docker top cbe5b0725afde83e8a5b561d8c212bde0a0f862143d65f2c62ee5613475ce8da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-11T16:51:34.975Z] + go version [2022-02-11T16:51:34.975Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-11T16:51:34.999Z] $ docker stop --time=1 cbe5b0725afde83e8a5b561d8c212bde0a0f862143d65f2c62ee5613475ce8da [2022-02-11T16:51:36.630Z] $ docker rm -f cbe5b0725afde83e8a5b561d8c212bde0a0f862143d65f2c62ee5613475ce8da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:51:37.201Z] + docker inspect -f . ci-base-image-arm64 [2022-02-11T16:51:37.202Z] . [Pipeline] withDockerContainer [2022-02-11T16:51:37.426Z] prd-ubuntu18.04-docker-arm64-4c-16g-5082 does not seem to be running inside a container [2022-02-11T16:51:37.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/48 -v /w/workspace/device-sdk-go/48:/w/workspace/device-sdk-go/48:rw,z -v /w/workspace/device-sdk-go/48@tmp:/w/workspace/device-sdk-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-11T16:51:38.807Z] $ docker top e733a36100f9a9503b118919a245760b5d6f3aa723374089e0e613ed36af0a99 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-11T16:51:39.700Z] + make test [2022-02-11T16:51:39.700Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-11T16:51:41.138Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-11T16:52:28.140Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-11T16:52:28.140Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-11T16:52:28.140Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-11T16:52:33.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.142s coverage: 23.3% of statements [2022-02-11T16:52:33.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-11T16:52:33.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 27.6% of statements [2022-02-11T16:52:33.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2022-02-11T16:52:33.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.058s coverage: 10.8% of statements [2022-02-11T16:52:33.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-11T16:52:33.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-11T16:52:33.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-11T16:52:34.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 28.7% of statements [2022-02-11T16:52:34.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-11T16:52:36.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 86.1% of statements [2022-02-11T16:52:36.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-11T16:52:36.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-11T16:52:36.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 57.4% of statements [2022-02-11T16:52:36.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.189s coverage: 89.2% of statements [2022-02-11T16:52:36.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-11T16:52:37.880Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.8% of statements [2022-02-11T16:52:37.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-11T16:52:38.152Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-02-11T16:52:38.152Z] GO111MODULE=on go vet ./... [2022-02-11T16:52:56.487Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-11T16:52:56.487Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-11T16:52:56.487Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-11T16:52:57.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-11T16:52:57.948Z] $ docker stop --time=1 e733a36100f9a9503b118919a245760b5d6f3aa723374089e0e613ed36af0a99 [2022-02-11T16:52:59.716Z] $ docker rm -f e733a36100f9a9503b118919a245760b5d6f3aa723374089e0e613ed36af0a99 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-11T16:53:00.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-11T16:53:00.572Z] Warning: overwriting stash ‘coverage-report’ [2022-02-11T16:53:01.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-11T16:53:01.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-11T16:53:01.878Z] + ls -al . [2022-02-11T16:53:01.878Z] total 308 [2022-02-11T16:53:01.878Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 11 16:52 . [2022-02-11T16:53:01.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 16:49 .. [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 11 16:49 .dockerignore [2022-02-11T16:53:01.878Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 11 16:49 .git [2022-02-11T16:53:01.878Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 11 16:49 .github [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 11 16:49 .gitignore [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 11 16:49 .golangci.yml [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 26321 Feb 11 16:49 CHANGELOG.md [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 11 16:49 GOVERNANCE.md [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 11 16:49 Jenkinsfile [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 11 16:49 LICENSE [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 1614 Feb 11 16:49 Makefile [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 11 16:49 OWNERS.md [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 4881 Feb 11 16:49 README.md [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 11 16:47 VERSION [2022-02-11T16:53:01.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 11 16:49 bin [2022-02-11T16:53:01.878Z] -rw-r--r-- 1 jenkins jenkins 128110 Feb 11 16:52 coverage.out [2022-02-11T16:53:01.878Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 11 16:49 example [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 2773 Feb 11 16:49 go.mod [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 49776 Feb 11 16:49 go.sum [2022-02-11T16:53:01.878Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 11 16:49 internal [2022-02-11T16:53:01.878Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 11 16:49 openapi [2022-02-11T16:53:01.878Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 11 16:49 pkg [2022-02-11T16:53:01.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 16:49 snap [2022-02-11T16:53:01.878Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 11 16:49 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:53:02.218Z] + 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=ff2bdc244935d5b40da6f20198b29dfc476efd7a --label arch=arm64 --label version=2.2.0-dev.15 . [2022-02-11T16:53:02.488Z] Sending build context to Docker daemon 5.24MB [2022-02-11T16:53:02.488Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T16:53:02.488Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-11T16:53:02.488Z] ---> fff10cffce5e [2022-02-11T16:53:02.488Z] Step 3/25 : ARG MAKE=make build [2022-02-11T16:53:02.766Z] ---> Running in 27ff4d2f1fa6 [2022-02-11T16:53:03.038Z] Removing intermediate container 27ff4d2f1fa6 [2022-02-11T16:53:03.038Z] ---> bbdfafd1442a [2022-02-11T16:53:03.038Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-11T16:53:03.308Z] ---> Running in 0cd42d20d75a [2022-02-11T16:53:03.580Z] Removing intermediate container 0cd42d20d75a [2022-02-11T16:53:03.580Z] ---> f6c6fd5404ea [2022-02-11T16:53:03.580Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T16:53:03.580Z] ---> Running in 38a3543d7882 [2022-02-11T16:53:03.854Z] Removing intermediate container 38a3543d7882 [2022-02-11T16:53:03.854Z] ---> 1f5ecdd35ef2 [2022-02-11T16:53:03.854Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T16:53:04.123Z] ---> Running in 0efd2546ddf1 [2022-02-11T16:53:05.565Z] Removing intermediate container 0efd2546ddf1 [2022-02-11T16:53:05.565Z] ---> 0a4533bfffa2 [2022-02-11T16:53:05.565Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T16:53:05.839Z] ---> Running in 0c0d1bb6fe5d [2022-02-11T16:53:06.820Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-11T16:53:07.793Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-11T16:53:08.389Z] OK: 220 MiB in 52 packages [2022-02-11T16:53:09.363Z] Removing intermediate container 0c0d1bb6fe5d [2022-02-11T16:53:09.363Z] ---> 6c650cb40b74 [2022-02-11T16:53:09.363Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-11T16:53:09.962Z] ---> 060929255fb3 [2022-02-11T16:53:09.962Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T16:53:09.962Z] ---> Running in 9a55dbf77166 [2022-02-11T16:53:11.932Z] Removing intermediate container 9a55dbf77166 [2022-02-11T16:53:11.932Z] ---> d6770f305ffa [2022-02-11T16:53:11.932Z] Step 10/25 : COPY . . [2022-02-11T16:53:12.909Z] ---> 7368e3c6b0a2 [2022-02-11T16:53:12.909Z] Step 11/25 : RUN ${MAKE} [2022-02-11T16:53:13.182Z] ---> Running in d4dc6592495f [2022-02-11T16:53:14.153Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.15" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-02-11T16:53:53.139Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-11T16:53:53.139Z] Removing intermediate container d4dc6592495f [2022-02-11T16:53:53.139Z] ---> fb724ce77cf4 [2022-02-11T16:53:53.139Z] Step 12/25 : FROM alpine:3.14 [2022-02-11T16:53:53.139Z] 3.14: Pulling from library/alpine [2022-02-11T16:53:53.139Z] be307f383ecc: Pulling fs layer [2022-02-11T16:53:53.139Z] be307f383ecc: Verifying Checksum [2022-02-11T16:53:53.139Z] be307f383ecc: Download complete [2022-02-11T16:53:53.139Z] be307f383ecc: Pull complete [2022-02-11T16:53:53.139Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-11T16:53:53.139Z] Status: Downloaded newer image for alpine:3.14 [2022-02-11T16:53:53.139Z] ---> 5b8b7b635229 [2022-02-11T16:53:53.139Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T16:53:53.139Z] ---> Running in 3ec119c64b7b [2022-02-11T16:53:53.139Z] Removing intermediate container 3ec119c64b7b [2022-02-11T16:53:53.139Z] ---> adca1b223aaa [2022-02-11T16:53:53.139Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T16:53:53.415Z] ---> Running in 9601b8d63bba [2022-02-11T16:53:54.861Z] Removing intermediate container 9601b8d63bba [2022-02-11T16:53:54.862Z] ---> 6989ba0a8299 [2022-02-11T16:53:54.862Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-11T16:53:54.862Z] ---> Running in 26111c3ca273 [2022-02-11T16:53:55.843Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-11T16:53:56.815Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-11T16:53:57.790Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-11T16:53:57.790Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-11T16:53:57.790Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-11T16:53:58.064Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-11T16:53:58.064Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-11T16:53:58.064Z] Executing busybox-1.33.1-r6.trigger [2022-02-11T16:53:58.336Z] OK: 8 MiB in 19 packages [2022-02-11T16:53:59.315Z] Removing intermediate container 26111c3ca273 [2022-02-11T16:53:59.315Z] ---> 38b62542df42 [2022-02-11T16:53:59.315Z] Step 16/25 : WORKDIR / [2022-02-11T16:53:59.315Z] ---> Running in 3a78bc0487c9 [2022-02-11T16:53:59.593Z] Removing intermediate container 3a78bc0487c9 [2022-02-11T16:53:59.593Z] ---> c4f253bd47db [2022-02-11T16:53:59.593Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-11T16:54:00.193Z] ---> d37c2c6afe1d [2022-02-11T16:54:00.193Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-11T16:54:01.171Z] ---> bc1a5fbb260a [2022-02-11T16:54:01.171Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-11T16:54:01.768Z] ---> 9ee74d43bb39 [2022-02-11T16:54:01.768Z] Step 20/25 : EXPOSE 59999 [2022-02-11T16:54:02.045Z] ---> Running in 4eb8b2f66be5 [2022-02-11T16:54:02.321Z] Removing intermediate container 4eb8b2f66be5 [2022-02-11T16:54:02.321Z] ---> 26447924d3b8 [2022-02-11T16:54:02.321Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-11T16:54:02.321Z] ---> Running in 7007dd721710 [2022-02-11T16:54:02.595Z] Removing intermediate container 7007dd721710 [2022-02-11T16:54:02.595Z] ---> a9be13c26ac0 [2022-02-11T16:54:02.595Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-11T16:54:02.869Z] ---> Running in af530282e7e9 [2022-02-11T16:54:03.144Z] Removing intermediate container af530282e7e9 [2022-02-11T16:54:03.144Z] ---> 009c33898301 [2022-02-11T16:54:03.144Z] Step 23/25 : LABEL arch=arm64 [2022-02-11T16:54:03.144Z] ---> Running in 5e344de4d406 [2022-02-11T16:54:03.744Z] Removing intermediate container 5e344de4d406 [2022-02-11T16:54:03.744Z] ---> 35e4040089c4 [2022-02-11T16:54:03.744Z] Step 24/25 : LABEL git_sha=ff2bdc244935d5b40da6f20198b29dfc476efd7a [2022-02-11T16:54:03.744Z] ---> Running in 35edb415c8b5 [2022-02-11T16:54:04.018Z] Removing intermediate container 35edb415c8b5 [2022-02-11T16:54:04.018Z] ---> b782fbc28a41 [2022-02-11T16:54:04.018Z] Step 25/25 : LABEL version=2.2.0-dev.15 [2022-02-11T16:54:04.018Z] ---> Running in e95ba56362a5 [2022-02-11T16:54:04.619Z] Removing intermediate container e95ba56362a5 [2022-02-11T16:54:04.620Z] ---> 5105c4ae73b7 [2022-02-11T16:54:04.620Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-11T16:54:04.620Z] Successfully built 5105c4ae73b7 [2022-02-11T16:54:04.620Z] 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-02-11T16:54:05.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-11T16:54:05.065Z] [2022-02-11T16:54:05.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:54:05.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-11T16:54:05.689Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-11T16:54:05.689Z] 448f6bf000e3: Pulling fs layer [2022-02-11T16:54:05.689Z] f757da607395: Pulling fs layer [2022-02-11T16:54:05.689Z] 05883995daec: Pulling fs layer [2022-02-11T16:54:05.689Z] 8603b9c90790: Pulling fs layer [2022-02-11T16:54:05.689Z] 1560dd03e051: Pulling fs layer [2022-02-11T16:54:05.689Z] 27f5ce0e4adf: Pulling fs layer [2022-02-11T16:54:05.689Z] c2d8d7efcc4b: Pulling fs layer [2022-02-11T16:54:05.689Z] 8603b9c90790: Waiting [2022-02-11T16:54:05.689Z] 1560dd03e051: Waiting [2022-02-11T16:54:05.689Z] 27f5ce0e4adf: Waiting [2022-02-11T16:54:05.689Z] c2d8d7efcc4b: Waiting [2022-02-11T16:54:05.689Z] f757da607395: Verifying Checksum [2022-02-11T16:54:05.689Z] f757da607395: Download complete [2022-02-11T16:54:05.689Z] 8603b9c90790: Verifying Checksum [2022-02-11T16:54:05.689Z] 8603b9c90790: Download complete [2022-02-11T16:54:05.689Z] 1560dd03e051: Verifying Checksum [2022-02-11T16:54:05.689Z] 1560dd03e051: Download complete [2022-02-11T16:54:05.689Z] 27f5ce0e4adf: Verifying Checksum [2022-02-11T16:54:05.689Z] 27f5ce0e4adf: Download complete [2022-02-11T16:54:05.689Z] 05883995daec: Verifying Checksum [2022-02-11T16:54:05.689Z] 05883995daec: Download complete [2022-02-11T16:54:06.291Z] 448f6bf000e3: Verifying Checksum [2022-02-11T16:54:06.291Z] 448f6bf000e3: Download complete [2022-02-11T16:54:08.920Z] c2d8d7efcc4b: Verifying Checksum [2022-02-11T16:54:08.920Z] c2d8d7efcc4b: Download complete [2022-02-11T16:54:09.901Z] 448f6bf000e3: Pull complete [2022-02-11T16:54:10.499Z] f757da607395: Pull complete [2022-02-11T16:54:11.939Z] 05883995daec: Pull complete [2022-02-11T16:54:12.213Z] 8603b9c90790: Pull complete [2022-02-11T16:54:13.194Z] 1560dd03e051: Pull complete [2022-02-11T16:54:13.468Z] 27f5ce0e4adf: Pull complete [2022-02-11T16:54:28.550Z] c2d8d7efcc4b: Pull complete [2022-02-11T16:54:28.550Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-11T16:54:28.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-11T16:54:28.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-11T16:54:28.786Z] prd-ubuntu18.04-docker-arm64-4c-16g-5082 does not seem to be running inside a container [2022-02-11T16:54:28.872Z] $ 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/48 -v /w/workspace/device-sdk-go/48:/w/workspace/device-sdk-go/48:rw,z -v /w/workspace/device-sdk-go/48@tmp:/w/workspace/device-sdk-go/48@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-11T16:54:31.851Z] $ docker top 65cff9e751eba6dfb00d7918a1cd0b830a1623e0c0bb4ab0a5b8babf3d98683d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:54:32.767Z] ---> job-cost.sh [2022-02-11T16:54:32.767Z] lf-activate-venv: SKIPPING [2022-02-11T16:54:32.767Z] INFO: No Stack... [2022-02-11T16:54:33.039Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-11T16:54:33.312Z] INFO: Archiving Costs [Pipeline] sh [2022-02-11T16:54:33.973Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/48/archives/cost.csv [2022-02-11T16:54:33.973Z] [Pipeline] lock [2022-02-11T16:54:34.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-48-stack-cost] [2022-02-11T16:54:34.042Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-48-stack-cost] did not exist. Created. [2022-02-11T16:54:34.042Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-48-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-11T16:54:34.713Z] /w/workspace/device-sdk-go/48@tmp/durable-6464987d/script.sh: 1: /w/workspace/device-sdk-go/48@tmp/durable-6464987d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-11T16:54:35.391Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-11T16:54:35.416Z] Warning: overwriting stash ‘stack-cost’ [2022-02-11T16:54:35.482Z] Stashed 1 file(s) [Pipeline] } [2022-02-11T16:54:35.494Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-48-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-11T16:54:35.514Z] $ docker stop --time=1 65cff9e751eba6dfb00d7918a1cd0b830a1623e0c0bb4ab0a5b8babf3d98683d [2022-02-11T16:54:37.013Z] $ docker rm -f 65cff9e751eba6dfb00d7918a1cd0b830a1623e0c0bb4ab0a5b8babf3d98683d [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-02-11T16:54:37.552Z] provisioning config files... [2022-02-11T16:54:37.598Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7125762138799990876tmp [Pipeline] { [Pipeline] sh [2022-02-11T16:54:37.921Z] + set +x [2022-02-11T16:54:37.921Z] + curl -s https://codecov.io/bash [2022-02-11T16:54:37.921Z] + bash -s -- [2022-02-11T16:54:38.182Z] [2022-02-11T16:54:38.182Z] _____ _ [2022-02-11T16:54:38.182Z] / ____| | | [2022-02-11T16:54:38.182Z] | | ___ __| | ___ ___ _____ __ [2022-02-11T16:54:38.182Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-02-11T16:54:38.182Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-02-11T16:54:38.182Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-02-11T16:54:38.182Z] Bash-1.0.6 [2022-02-11T16:54:38.182Z] [2022-02-11T16:54:38.182Z] [2022-02-11T16:54:38.182Z] ==> git version 2.24.4 found [2022-02-11T16:54:38.182Z] ==> 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-02-11T16:54:38.182Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-02-11T16:54:38.182Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-02-11T16:54:38.182Z] ==> Jenkins CI detected. [2022-02-11T16:54:38.182Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-11T16:54:38.182Z] project root: . [2022-02-11T16:54:38.182Z] --> token set from env [2022-02-11T16:54:38.182Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-02-11T16:54:38.182Z] ==> Running gcov in . (disable via -X gcov) [2022-02-11T16:54:38.182Z] ==> Python coveragepy not found [2022-02-11T16:54:38.182Z] ==> Searching for coverage reports in: [2022-02-11T16:54:38.182Z] + . [2022-02-11T16:54:38.182Z] -> Found 1 reports [2022-02-11T16:54:38.182Z] ==> Detecting git/mercurial file structure [2022-02-11T16:54:38.182Z] ==> Reading reports [2022-02-11T16:54:38.182Z] + ./coverage.out bytes=128110 [2022-02-11T16:54:38.182Z] ==> Appending adjustments [2022-02-11T16:54:38.182Z] https://docs.codecov.io/docs/fixing-reports [2022-02-11T16:54:38.443Z] + Found adjustments [2022-02-11T16:54:38.443Z] ==> Gzipping contents [2022-02-11T16:54:38.443Z] 16K /tmp/codecov.dF4HH0.gz [2022-02-11T16:54:38.443Z] ==> Uploading reports [2022-02-11T16:54:38.443Z] url: https://codecov.io [2022-02-11T16:54:38.443Z] query: branch=main&commit=ff2bdc244935d5b40da6f20198b29dfc476efd7a&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-02-11T16:54:38.443Z] -> Pinging Codecov [2022-02-11T16:54:38.443Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=ff2bdc244935d5b40da6f20198b29dfc476efd7a&build=48&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F48%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-02-11T16:54:38.703Z] -> Uploading to [2022-02-11T16:54:38.703Z] https://storage.googleapis.com/codecov/v4/raw/2022-02-11/7E55EF52A471D76F132DFD9A03CDDE97/ff2bdc244935d5b40da6f20198b29dfc476efd7a/0a0add10-40ca-4ce6-82c9-1c2f4e94a1bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220211%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220211T165438Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f7c55ebc473a09d9b01a4b54bc0327414ba6097a41ce1b644258d9334722fe16 [2022-02-11T16:54:38.703Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-11T16:54:38.703Z] Dload Upload Total Spent Left Speed [2022-02-11T16:54:39.274Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16053 0 0 100 16053 0 45705 --:--:-- --:--:-- --:--:-- 45735 [2022-02-11T16:54:39.274Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ff2bdc244935d5b40da6f20198b29dfc476efd7a [Pipeline] } [2022-02-11T16:54:39.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-02-11T16:54:39.559Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-02-11T16:54:39.570Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:54:39.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-02-11T16:54:39.876Z] [2022-02-11T16:54:39.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:54:40.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-02-11T16:54:40.187Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-02-11T16:54:40.187Z] 188c0c94c7c5: Pulling fs layer [2022-02-11T16:54:40.187Z] 0ef7d3d256c8: Pulling fs layer [2022-02-11T16:54:40.187Z] de9db76c5a1d: Pulling fs layer [2022-02-11T16:54:40.187Z] 0eba1c9be4d2: Pulling fs layer [2022-02-11T16:54:40.187Z] 0d57e429df01: Pulling fs layer [2022-02-11T16:54:40.187Z] 4e4be7b47b0d: Pulling fs layer [2022-02-11T16:54:40.187Z] e1f770b5df2f: Pulling fs layer [2022-02-11T16:54:40.187Z] 85a0685a4137: Pulling fs layer [2022-02-11T16:54:40.187Z] 0eba1c9be4d2: Waiting [2022-02-11T16:54:40.187Z] 0d57e429df01: Waiting [2022-02-11T16:54:40.187Z] 4e4be7b47b0d: Waiting [2022-02-11T16:54:40.187Z] e1f770b5df2f: Waiting [2022-02-11T16:54:40.187Z] 85a0685a4137: Waiting [2022-02-11T16:54:40.187Z] de9db76c5a1d: Download complete [2022-02-11T16:54:40.187Z] 0ef7d3d256c8: Verifying Checksum [2022-02-11T16:54:40.187Z] 0ef7d3d256c8: Download complete [2022-02-11T16:54:40.187Z] 0d57e429df01: Verifying Checksum [2022-02-11T16:54:40.187Z] 0d57e429df01: Download complete [2022-02-11T16:54:40.187Z] 4e4be7b47b0d: Verifying Checksum [2022-02-11T16:54:40.187Z] 4e4be7b47b0d: Download complete [2022-02-11T16:54:40.187Z] 188c0c94c7c5: Verifying Checksum [2022-02-11T16:54:40.187Z] 188c0c94c7c5: Download complete [2022-02-11T16:54:40.459Z] 188c0c94c7c5: Pull complete [2022-02-11T16:54:40.459Z] e1f770b5df2f: Verifying Checksum [2022-02-11T16:54:40.459Z] e1f770b5df2f: Download complete [2022-02-11T16:54:40.725Z] 0ef7d3d256c8: Pull complete [2022-02-11T16:54:40.725Z] de9db76c5a1d: Pull complete [2022-02-11T16:54:40.725Z] 0eba1c9be4d2: Verifying Checksum [2022-02-11T16:54:40.725Z] 0eba1c9be4d2: Download complete [2022-02-11T16:54:41.314Z] 85a0685a4137: Verifying Checksum [2022-02-11T16:54:41.314Z] 85a0685a4137: Download complete [2022-02-11T16:54:45.537Z] 0eba1c9be4d2: Pull complete [2022-02-11T16:54:45.537Z] 0d57e429df01: Pull complete [2022-02-11T16:54:45.537Z] 4e4be7b47b0d: Pull complete [2022-02-11T16:54:45.799Z] e1f770b5df2f: Pull complete [2022-02-11T16:54:50.034Z] 85a0685a4137: Pull complete [2022-02-11T16:54:50.034Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-02-11T16:54:50.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-02-11T16:54:50.034Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-02-11T16:54:50.116Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:54:50.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-02-11T16:54:52.368Z] $ docker top 152b1fa910f641e10aea437fc89f1a2707da60f88b3fb7bf3f814aa692d68a89 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-02-11T16:54:52.456Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-02-11T16:54:52.740Z] + set -o pipefail [2022-02-11T16:54:52.741Z] + snyk monitor '--org=edgex-jenkins' [2022-02-11T16:54:58.049Z] [2022-02-11T16:54:58.049Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-02-11T16:54:58.049Z] [2022-02-11T16:54:58.049Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/bb63062f-61fd-4246-a67b-d0edfd20bd55 [2022-02-11T16:54:58.049Z] [2022-02-11T16:54:58.049Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-02-11T16:54:58.049Z] [2022-02-11T16:54:58.049Z] [Pipeline] } [2022-02-11T16:54:58.062Z] $ docker stop --time=1 152b1fa910f641e10aea437fc89f1a2707da60f88b3fb7bf3f814aa692d68a89 [2022-02-11T16:55:00.021Z] $ docker rm -f 152b1fa910f641e10aea437fc89f1a2707da60f88b3fb7bf3f814aa692d68a89 [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-02-11T16:55:00.494Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T16:55:00.505Z] provisioning config files... [2022-02-11T16:55:00.515Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config348533586315851313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:00.814Z] --> edgex-publish-swagger.sh [2022-02-11T16:55:00.814Z] === Publish openapi/v2 API === [2022-02-11T16:55:00.814Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-02-11T16:55:00.814Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-02-11T16:55:00.814Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-11T16:55:00.814Z] Dload Upload Total Spent Left Speed [2022-02-11T16:55:02.209Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52147 0 0 100 52147 0 42495 0:00:01 0:00:01 --:--:-- 42568 100 52147 0 0 100 52147 0 33238 0:00:01 0:00:01 --:--:-- 33278 [2022-02-11T16:55:02.209Z] [2022-02-11T16:55:02.209Z] [Pipeline] } [2022-02-11T16:55:02.216Z] 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-02-11T16:55:02.601Z] + git log --format=format:%s -1 ff2bdc244935d5b40da6f20198b29dfc476efd7a [Pipeline] sh [2022-02-11T16:55:02.897Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-11T16:55:02.897Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:55:03.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T16:55:03.199Z] . [Pipeline] withDockerContainer [2022-02-11T16:55:03.269Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:55:03.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-11T16:55:03.666Z] $ docker top adea029ef0ce7f3c1636172e8185b2cde83ba858bbd74c302e0987560c9deeb2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-11T16:55:03.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-11T16:55:03.758Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-11T16:55:03.851Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-11T16:55:03.853Z] $ docker exec adea029ef0ce7f3c1636172e8185b2cde83ba858bbd74c302e0987560c9deeb2 ssh-agent [2022-02-11T16:55:03.958Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgAHnJm/agent.14 [2022-02-11T16:55:03.958Z] SSH_AGENT_PID=20 [2022-02-11T16:55:03.963Z] Running ssh-add (command line suppressed) [2022-02-11T16:55:04.055Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5173868139699910101.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5173868139699910101.key) [2022-02-11T16:55:04.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-11T16:55:04.364Z] + git semver tag [2022-02-11T16:55:04.364Z] # -> Open(): unable to determine branch for HEAD [2022-02-11T16:55:04.364Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-02-11T16:55:04.364Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-11T16:55:04.364Z] # $SEMVER_REMOTE_NAME = origin [2022-02-11T16:55:04.364Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-11T16:55:04.364Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-11T16:55:04.364Z] # $SEMVER_BRANCH = main [2022-02-11T16:55:04.364Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-02-11T16:55:04.364Z] # ff2bdc244935d5b40da6f20198b29dfc476efd7a HEAD [2022-02-11T16:55:04.364Z] # -> Force: false [2022-02-11T16:55:04.364Z] # 76ae1a3d57df0e843ebd07c968e70ecf51712a7d refs/tags/v2.2.0-dev.15 [Pipeline] } [2022-02-11T16:55:04.373Z] $ docker exec --env ******** --env ******** adea029ef0ce7f3c1636172e8185b2cde83ba858bbd74c302e0987560c9deeb2 ssh-agent -k [2022-02-11T16:55:04.459Z] unset SSH_AUTH_SOCK; [2022-02-11T16:55:04.460Z] unset SSH_AGENT_PID; [2022-02-11T16:55:04.460Z] echo Agent pid 20 killed; [2022-02-11T16:55:04.473Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-11T16:55:04.784Z] + git semver [Pipeline] } [2022-02-11T16:55:04.796Z] $ docker stop --time=1 adea029ef0ce7f3c1636172e8185b2cde83ba858bbd74c302e0987560c9deeb2 [2022-02-11T16:55:05.958Z] $ docker rm -f adea029ef0ce7f3c1636172e8185b2cde83ba858bbd74c302e0987560c9deeb2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:55:06.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-11T16:55:06.339Z] [2022-02-11T16:55:06.339Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:55:06.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-11T16:55:06.653Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-02-11T16:55:06.653Z] ab5ef0e58194: Pulling fs layer [2022-02-11T16:55:06.653Z] 9712f1f96733: Pulling fs layer [2022-02-11T16:55:06.653Z] 63f879dbbcfc: Pulling fs layer [2022-02-11T16:55:06.653Z] 0d9ebad4ef96: Pulling fs layer [2022-02-11T16:55:06.653Z] e9a5061849ea: Pulling fs layer [2022-02-11T16:55:06.653Z] d747dcd14b5f: Pulling fs layer [2022-02-11T16:55:06.653Z] 2de7ff778b66: Pulling fs layer [2022-02-11T16:55:06.653Z] e9a5061849ea: Waiting [2022-02-11T16:55:06.653Z] d747dcd14b5f: Waiting [2022-02-11T16:55:06.653Z] 2de7ff778b66: Waiting [2022-02-11T16:55:06.653Z] 0d9ebad4ef96: Waiting [2022-02-11T16:55:06.653Z] 9712f1f96733: Verifying Checksum [2022-02-11T16:55:06.653Z] 9712f1f96733: Download complete [2022-02-11T16:55:06.918Z] 63f879dbbcfc: Verifying Checksum [2022-02-11T16:55:06.918Z] 63f879dbbcfc: Download complete [2022-02-11T16:55:07.183Z] ab5ef0e58194: Verifying Checksum [2022-02-11T16:55:07.183Z] ab5ef0e58194: Download complete [2022-02-11T16:55:07.183Z] d747dcd14b5f: Verifying Checksum [2022-02-11T16:55:07.183Z] d747dcd14b5f: Download complete [2022-02-11T16:55:07.183Z] e9a5061849ea: Verifying Checksum [2022-02-11T16:55:07.183Z] e9a5061849ea: Download complete [2022-02-11T16:55:07.444Z] 0d9ebad4ef96: Verifying Checksum [2022-02-11T16:55:07.444Z] 0d9ebad4ef96: Download complete [2022-02-11T16:55:07.444Z] 2de7ff778b66: Verifying Checksum [2022-02-11T16:55:07.444Z] 2de7ff778b66: Download complete [2022-02-11T16:55:09.998Z] ab5ef0e58194: Pull complete [2022-02-11T16:55:09.998Z] 9712f1f96733: Pull complete [2022-02-11T16:55:10.945Z] 63f879dbbcfc: Pull complete [2022-02-11T16:55:15.193Z] 0d9ebad4ef96: Pull complete [2022-02-11T16:55:15.193Z] e9a5061849ea: Pull complete [2022-02-11T16:55:15.193Z] d747dcd14b5f: Pull complete [2022-02-11T16:55:16.137Z] 2de7ff778b66: Pull complete [2022-02-11T16:55:16.137Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-02-11T16:55:16.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-02-11T16:55:16.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-02-11T16:55:16.202Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:55:16.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-02-11T16:55:19.570Z] $ docker top c0a1714561d8d849679c24e32739b60a89e2b7f9cfbef038023d7ff811cb5320 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-02-11T16:55:19.659Z] provisioning config files... [2022-02-11T16:55:19.668Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1740909858353656930tmp [2022-02-11T16:55:19.678Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7837120065809386553tmp [2022-02-11T16:55:19.688Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7379157947006900676tmp [Pipeline] { [Pipeline] echo [2022-02-11T16:55:19.704Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:19.988Z] ---> sigul-configuration.sh [2022-02-11T16:55:19.988Z] gpg: directory `/root/.gnupg' created [2022-02-11T16:55:19.988Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-02-11T16:55:19.988Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-02-11T16:55:19.988Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-02-11T16:55:19.988Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-02-11T16:55:19.988Z] gpg: CAST5 encrypted data [2022-02-11T16:55:19.988Z] gpg: encrypted with 1 passphrase [2022-02-11T16:55:19.988Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-02-11T16:55:20.288Z] + mkdir /home/jenkins [2022-02-11T16:55:20.288Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-02-11T16:55:20.580Z] + 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-02-11T16:55:20.589Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:20.876Z] ---> sigul-install.sh [2022-02-11T16:55:20.876Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-02-11T16:55:21.164Z] + git tag --list [2022-02-11T16:55:21.164Z] 0.7.1 [2022-02-11T16:55:21.164Z] delhi-tag [2022-02-11T16:55:21.164Z] v1.0.0 [2022-02-11T16:55:21.164Z] v1.1.0 [2022-02-11T16:55:21.164Z] v1.1.1 [2022-02-11T16:55:21.164Z] v1.1.2 [2022-02-11T16:55:21.164Z] v1.2.0 [2022-02-11T16:55:21.164Z] v1.2.1 [2022-02-11T16:55:21.164Z] v1.2.2 [2022-02-11T16:55:21.164Z] v1.2.3 [2022-02-11T16:55:21.164Z] v1.3.0 [2022-02-11T16:55:21.164Z] v1.4.0 [2022-02-11T16:55:21.164Z] v2.0.0 [2022-02-11T16:55:21.164Z] v2.0.1-dev.1 [2022-02-11T16:55:21.164Z] v2.0.1-dev.10 [2022-02-11T16:55:21.164Z] v2.0.1-dev.11 [2022-02-11T16:55:21.164Z] v2.0.1-dev.12 [2022-02-11T16:55:21.164Z] v2.0.1-dev.13 [2022-02-11T16:55:21.164Z] v2.0.1-dev.14 [2022-02-11T16:55:21.164Z] v2.0.1-dev.15 [2022-02-11T16:55:21.164Z] v2.0.1-dev.16 [2022-02-11T16:55:21.164Z] v2.0.1-dev.17 [2022-02-11T16:55:21.164Z] v2.0.1-dev.18 [2022-02-11T16:55:21.164Z] v2.0.1-dev.19 [2022-02-11T16:55:21.164Z] v2.0.1-dev.2 [2022-02-11T16:55:21.164Z] v2.0.1-dev.20 [2022-02-11T16:55:21.164Z] v2.0.1-dev.21 [2022-02-11T16:55:21.164Z] v2.0.1-dev.22 [2022-02-11T16:55:21.164Z] v2.0.1-dev.23 [2022-02-11T16:55:21.164Z] v2.0.1-dev.24 [2022-02-11T16:55:21.164Z] v2.0.1-dev.25 [2022-02-11T16:55:21.164Z] v2.0.1-dev.26 [2022-02-11T16:55:21.164Z] v2.0.1-dev.27 [2022-02-11T16:55:21.164Z] v2.0.1-dev.28 [2022-02-11T16:55:21.164Z] v2.0.1-dev.29 [2022-02-11T16:55:21.164Z] v2.0.1-dev.3 [2022-02-11T16:55:21.164Z] v2.0.1-dev.30 [2022-02-11T16:55:21.164Z] v2.0.1-dev.31 [2022-02-11T16:55:21.164Z] v2.0.1-dev.32 [2022-02-11T16:55:21.164Z] v2.0.1-dev.33 [2022-02-11T16:55:21.164Z] v2.0.1-dev.4 [2022-02-11T16:55:21.164Z] v2.0.1-dev.5 [2022-02-11T16:55:21.164Z] v2.0.1-dev.6 [2022-02-11T16:55:21.164Z] v2.0.1-dev.7 [2022-02-11T16:55:21.164Z] v2.0.1-dev.8 [2022-02-11T16:55:21.164Z] v2.0.1-dev.9 [2022-02-11T16:55:21.164Z] v2.1.0 [2022-02-11T16:55:21.164Z] v2.1.1-dev.1 [2022-02-11T16:55:21.164Z] v2.2.0-dev.1 [2022-02-11T16:55:21.164Z] v2.2.0-dev.10 [2022-02-11T16:55:21.164Z] v2.2.0-dev.11 [2022-02-11T16:55:21.164Z] v2.2.0-dev.12 [2022-02-11T16:55:21.164Z] v2.2.0-dev.13 [2022-02-11T16:55:21.164Z] v2.2.0-dev.14 [2022-02-11T16:55:21.164Z] v2.2.0-dev.15 [2022-02-11T16:55:21.164Z] v2.2.0-dev.2 [2022-02-11T16:55:21.164Z] v2.2.0-dev.3 [2022-02-11T16:55:21.164Z] v2.2.0-dev.4 [2022-02-11T16:55:21.164Z] v2.2.0-dev.5 [2022-02-11T16:55:21.164Z] v2.2.0-dev.6 [2022-02-11T16:55:21.164Z] v2.2.0-dev.7 [2022-02-11T16:55:21.164Z] v2.2.0-dev.8 [2022-02-11T16:55:21.164Z] v2.2.0-dev.9 [Pipeline] sh [2022-02-11T16:55:21.455Z] + lftools sign git-tag v2.2.0-dev.15 [2022-02-11T16:55:22.025Z] Signing Git tag with Sigul... [2022-02-11T16:55:22.025Z] Signing v2.2.0-dev.15 [Pipeline] echo [2022-02-11T16:55:22.296Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:22.592Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-02-11T16:55:22.599Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-02-11T16:55:22.620Z] $ docker stop --time=1 c0a1714561d8d849679c24e32739b60a89e2b7f9cfbef038023d7ff811cb5320 [2022-02-11T16:55:23.797Z] $ docker rm -f c0a1714561d8d849679c24e32739b60a89e2b7f9cfbef038023d7ff811cb5320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-02-11T16:55:24.214Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-11T16:55:24.214Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:55:24.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T16:55:24.511Z] . [Pipeline] withDockerContainer [2022-02-11T16:55:24.574Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:55:24.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-11T16:55:24.967Z] $ docker top 505dae1347d78aaeea413dae6a3433212763b0a8957fe002c9b0e551a0bfcecb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-11T16:55:25.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-11T16:55:25.055Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-11T16:55:25.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-11T16:55:25.179Z] $ docker exec 505dae1347d78aaeea413dae6a3433212763b0a8957fe002c9b0e551a0bfcecb ssh-agent [2022-02-11T16:55:25.296Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPicNfo/agent.14 [2022-02-11T16:55:25.296Z] SSH_AGENT_PID=21 [2022-02-11T16:55:25.301Z] Running ssh-add (command line suppressed) [2022-02-11T16:55:25.411Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8487630658204455299.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8487630658204455299.key) [2022-02-11T16:55:25.425Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-11T16:55:25.727Z] + git semver bump pre [2022-02-11T16:55:25.727Z] # -> Open(): unable to determine branch for HEAD [2022-02-11T16:55:25.727Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-02-11T16:55:25.727Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-11T16:55:25.727Z] # $SEMVER_REMOTE_NAME = origin [2022-02-11T16:55:25.727Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-11T16:55:25.727Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-11T16:55:25.727Z] # $SEMVER_BRANCH = main [2022-02-11T16:55:25.727Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-02-11T16:55:25.727Z] 2.2.0-dev.16 [Pipeline] } [2022-02-11T16:55:25.738Z] $ docker exec --env ******** --env ******** 505dae1347d78aaeea413dae6a3433212763b0a8957fe002c9b0e551a0bfcecb ssh-agent -k [2022-02-11T16:55:25.845Z] unset SSH_AUTH_SOCK; [2022-02-11T16:55:25.845Z] unset SSH_AGENT_PID; [2022-02-11T16:55:25.845Z] echo Agent pid 21 killed; [2022-02-11T16:55:25.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-11T16:55:26.161Z] + git semver [Pipeline] } [2022-02-11T16:55:26.173Z] $ docker stop --time=1 505dae1347d78aaeea413dae6a3433212763b0a8957fe002c9b0e551a0bfcecb [2022-02-11T16:55:27.343Z] $ docker rm -f 505dae1347d78aaeea413dae6a3433212763b0a8957fe002c9b0e551a0bfcecb [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-11T16:55:27.709Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-11T16:55:27.709Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:55:28.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T16:55:28.013Z] . [Pipeline] withDockerContainer [2022-02-11T16:55:28.089Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:55:28.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-11T16:55:28.457Z] $ docker top 8eb8fbff7135d04dcf5d5877a51954480027b9b788a2d296453001bb9033aeb9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-11T16:55:28.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-11T16:55:28.542Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-11T16:55:28.647Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-11T16:55:28.649Z] $ docker exec 8eb8fbff7135d04dcf5d5877a51954480027b9b788a2d296453001bb9033aeb9 ssh-agent [2022-02-11T16:55:28.743Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjeDjKm/agent.13 [2022-02-11T16:55:28.743Z] SSH_AGENT_PID=19 [2022-02-11T16:55:28.748Z] Running ssh-add (command line suppressed) [2022-02-11T16:55:28.832Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6728021654514321776.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6728021654514321776.key) [2022-02-11T16:55:28.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-11T16:55:29.131Z] + git semver push [2022-02-11T16:55:29.131Z] # -> Open(): unable to determine branch for HEAD [2022-02-11T16:55:29.131Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-02-11T16:55:29.131Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-02-11T16:55:29.131Z] # $SEMVER_REMOTE_NAME = origin [2022-02-11T16:55:29.131Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-11T16:55:29.131Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-11T16:55:29.131Z] # $SEMVER_BRANCH = main [2022-02-11T16:55:29.131Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-02-11T16:55:31.050Z] $ docker exec --env ******** --env ******** 8eb8fbff7135d04dcf5d5877a51954480027b9b788a2d296453001bb9033aeb9 ssh-agent -k [2022-02-11T16:55:31.145Z] unset SSH_AUTH_SOCK; [2022-02-11T16:55:31.145Z] unset SSH_AGENT_PID; [2022-02-11T16:55:31.146Z] echo Agent pid 19 killed; [2022-02-11T16:55:31.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-11T16:55:31.462Z] + git semver [Pipeline] } [2022-02-11T16:55:31.473Z] $ docker stop --time=1 8eb8fbff7135d04dcf5d5877a51954480027b9b788a2d296453001bb9033aeb9 [2022-02-11T16:55:32.671Z] $ docker rm -f 8eb8fbff7135d04dcf5d5877a51954480027b9b788a2d296453001bb9033aeb9 [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-02-11T16:55:33.320Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [2022-02-11T16:55:33.320Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-02-11T16:55:33.320Z] total 8 [2022-02-11T16:55:33.320Z] drwxr-xr-x. 3 root root 34 Feb 11 16:49 . [2022-02-11T16:55:33.320Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 11 16:55 .. [2022-02-11T16:55:33.320Z] drwxr-xr-x. 2 root root 6 Feb 11 16:49 cost [2022-02-11T16:55:33.320Z] -rw-r--r--. 1 root root 83 Feb 11 16:49 cost.csv [2022-02-11T16:55:33.320Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-02-11T16:55:33.320Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-02-11T16:55:33.320Z] total 8 [2022-02-11T16:55:33.320Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 11 16:49 . [2022-02-11T16:55:33.320Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 11 16:55 .. [2022-02-11T16:55:33.320Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 11 16:49 cost [2022-02-11T16:55:33.320Z] -rw-r--r--. 1 jenkins jenkins 83 Feb 11 16:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:33.611Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:34.169Z] ---> package-listing.sh [2022-02-11T16:55:34.169Z] ++ facter osfamily [2022-02-11T16:55:34.169Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-11T16:55:34.430Z] + OS_FAMILY=redhat [2022-02-11T16:55:34.430Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-02-11T16:55:34.430Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-11T16:55:34.430Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-11T16:55:34.430Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-11T16:55:34.430Z] + PACKAGES=/tmp/packages_start.txt [2022-02-11T16:55:34.430Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-02-11T16:55:34.430Z] + PACKAGES=/tmp/packages_end.txt [2022-02-11T16:55:34.430Z] + case "${OS_FAMILY}" in [2022-02-11T16:55:34.430Z] + sort [2022-02-11T16:55:34.430Z] + rpm -qa [2022-02-11T16:55:35.001Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-11T16:55:35.001Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-11T16:55:35.001Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-11T16:55:35.001Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-02-11T16:55:35.001Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-02-11T16:55:35.001Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-02-11T16:55:35.013Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-11T16:55:35.357Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-11T16:55:35.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T16:55:35.769Z] . [Pipeline] withDockerContainer [2022-02-11T16:55:35.846Z] prd-centos7-docker-4c-2g-5081 does not seem to be running inside a container [2022-02-11T16:55:35.877Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-11T16:55:36.092Z] $ docker top adaf3a78685d0e900e3e1b7a1d18fbd4a12a6b806ae60d1dbe643ea4b268af3b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-11T16:55:36.449Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-11T16:55:36.739Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-11T16:55:37.032Z] + ls /var/log/sa-host [2022-02-11T16:55:37.032Z] + sadf -c /var/log/sa-host/sa11 [2022-02-11T16:55:37.032Z] file_magic: OK [2022-02-11T16:55:37.032Z] HZ: Using current value: 100 [2022-02-11T16:55:37.032Z] file_header: OK [2022-02-11T16:55:37.032Z] 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-02-11T16:55:37.032Z] Statistics: [2022-02-11T16:55:37.032Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-11T16:55:37.032Z] File successfully converted to sysstat format version 12.0.3 [2022-02-11T16:55:37.032Z] + sadf -c /var/log/sa-host/sa17 [2022-02-11T16:55:37.032Z] file_magic: OK [2022-02-11T16:55:37.032Z] HZ: Using current value: 100 [2022-02-11T16:55:37.032Z] file_header: OK [2022-02-11T16:55:37.032Z] 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-02-11T16:55:37.032Z] Statistics: [2022-02-11T16:55:37.032Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-11T16:55:37.032Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T16:55:37.257Z] provisioning config files... [2022-02-11T16:55:37.266Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1985096637908673785tmp [Pipeline] { [Pipeline] echo [2022-02-11T16:55:37.284Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:37.575Z] ---> create-netrc.sh [Pipeline] } [2022-02-11T16:55:37.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:37.911Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-11T16:55:37.921Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:38.211Z] ---> sudo-logs.sh [2022-02-11T16:55:38.211Z] Archiving 'sudo' log.. [2022-02-11T16:55:38.211Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5081.novalocal: Name or service not known [2022-02-11T16:55:38.211Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5081.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-11T16:55:38.236Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:38.520Z] ---> job-cost.sh [2022-02-11T16:55:38.520Z] lf-activate-venv: SKIPPING [2022-02-11T16:55:38.520Z] DEBUG: total: 0.05999999865889549 [2022-02-11T16:55:38.520Z] INFO: Retrieving Stack Cost... [2022-02-11T16:55:39.099Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-11T16:55:39.359Z] INFO: Archiving Costs [Pipeline] echo [2022-02-11T16:55:39.373Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T16:55:39.676Z] ---> logs-deploy.sh [2022-02-11T16:55:39.676Z] lf-activate-venv: SKIPPING [2022-02-11T16:55:39.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/48 [2022-02-11T16:55:39.676Z] INFO: archiving workspace using pattern(s): [2022-02-11T16:55:40.246Z] Archives upload complete. [2022-02-11T16:55:40.507Z] INFO: archiving logs to Nexus