Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b151e3fa1f534c4874e5dba284e716825967557e 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-ssh15318701101376820005.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh10752292029913878324.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh18253212534083369263.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh169463363989463957.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-ssh16018830810191748940.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3874 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-ssh2935688427529813350.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 b151e3fa1f534c4874e5dba284e716825967557e (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 b151e3fa1f534c4874e5dba284e716825967557e # timeout=10 Commit message: "Merge pull request #1084 from ernestojeda/go-1_17-dockerfile-changes" > git rev-list --no-walk 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-25T19:30:50.617Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-25T19:30:50.663Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-25T19:30:50.682Z] ========================================================= [2022-01-25T19:30:50.682Z] EdgeX Global Pipelines Version Info [2022-01-25T19:30:50.682Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:30:51.813Z] ------------------- [2022-01-25T19:30:51.813Z] stable info: [2022-01-25T19:30:51.813Z] ------------------- [2022-01-25T19:30:51.813Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-25T19:30:51.813Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-25T19:30:51.813Z] Message: update stable to v1.0.219 [2022-01-25T19:30:52.385Z] ------------------- [2022-01-25T19:30:52.385Z] experimental info: [2022-01-25T19:30:52.385Z] ------------------- [2022-01-25T19:30:52.385Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-25T19:30:52.385Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-25T19:30:52.385Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-25T19:30:52.510Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-25T19:30:52.523Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-25T19:30:52.535Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-25T19:30:52.546Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-25T19:30:52.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-25T19:30:52.569Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-25T19:30:52.583Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-25T19:30:52.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-25T19:30:52.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-25T19:30:52.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-25T19:30:52.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-25T19:30:52.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-25T19:30:52.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-25T19:30:52.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-25T19:30:52.653Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-25T19:30:52.661Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T19:30:52.670Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T19:30:52.678Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T19:30:52.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-25T19:30:52.695Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-25T19:30:52.703Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-25T19:30:52.711Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-25T19:30:52.720Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-25T19:30:52.728Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-25T19:30:52.736Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-25T19:30:52.745Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-25T19:30:52.753Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-25T19:30:52.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-25T19:30:52.770Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-25T19:30:52.778Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b151e3fa1f534c4874e5dba284e716825967557e [Pipeline] echo [2022-01-25T19:30:52.787Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b151e3f [Pipeline] echo [2022-01-25T19:30:52.795Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:30:52.826Z] provisioning config files... [2022-01-25T19:30:52.839Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4386701086211815636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:30:53.145Z] ---> docker-login.sh [2022-01-25T19:30:53.145Z] nexus3.edgexfoundry.org:10001 [2022-01-25T19:30:53.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:30:53.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:30:53.145Z] Configure a credential helper to remove this warning. See [2022-01-25T19:30:53.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:30:53.145Z] [2022-01-25T19:30:53.145Z] Login Succeeded [2022-01-25T19:30:53.145Z] nexus3.edgexfoundry.org:10002 [2022-01-25T19:30:53.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:30:53.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:30:53.412Z] Configure a credential helper to remove this warning. See [2022-01-25T19:30:53.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:30:53.412Z] [2022-01-25T19:30:53.412Z] Login Succeeded [2022-01-25T19:30:53.412Z] nexus3.edgexfoundry.org:10003 [2022-01-25T19:30:53.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:30:53.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:30:53.412Z] Configure a credential helper to remove this warning. See [2022-01-25T19:30:53.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:30:53.412Z] [2022-01-25T19:30:53.412Z] Login Succeeded [2022-01-25T19:30:53.412Z] nexus3.edgexfoundry.org:10004 [2022-01-25T19:30:53.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:30:53.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:30:53.677Z] Configure a credential helper to remove this warning. See [2022-01-25T19:30:53.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:30:53.677Z] [2022-01-25T19:30:53.677Z] Login Succeeded [2022-01-25T19:30:53.677Z] docker.io [2022-01-25T19:30:53.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:30:53.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:30:53.937Z] Configure a credential helper to remove this warning. See [2022-01-25T19:30:53.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:30:53.937Z] [2022-01-25T19:30:53.937Z] Login Succeeded [2022-01-25T19:30:53.937Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T19:30:53.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-25T19:30:54.337Z] + git rev-list -1 --merges b151e3fa1f534c4874e5dba284e716825967557e~1..b151e3fa1f534c4874e5dba284e716825967557e [Pipeline] echo [2022-01-25T19:30:54.363Z] -----------> git rev-list -1 --merges b151e3fa1f534c4874e5dba284e716825967557e~1..b151e3fa1f534c4874e5dba284e716825967557e b151e3fa1f534c4874e5dba284e716825967557e [2022-01-25T19:30:54.363Z] b151e3fa1f534c4874e5dba284e716825967557e [false] [Pipeline] sh [2022-01-25T19:30:54.672Z] + git log --format=format:%s -1 b151e3fa1f534c4874e5dba284e716825967557e [Pipeline] echo [2022-01-25T19:30:54.689Z] ========================================================= [2022-01-25T19:30:54.689Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-25T19:30:54.689Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T19:30:55.025Z] + git log --format=format:%s -1 b151e3fa1f534c4874e5dba284e716825967557e [Pipeline] echo [2022-01-25T19:30:55.038Z] [semverPrep] GIT_COMMIT: b151e3fa1f534c4874e5dba284e716825967557e, Commit Message: Merge pull request #1084 from ernestojeda/go-1_17-dockerfile-changes [Pipeline] echo [2022-01-25T19:30:55.047Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-25T19:30:55.424Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T19:30:55.424Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-25T19:30:55.424Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-25T19:30:55.424Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-25T19:30:55.424Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-25T19:30:55.424Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-25T19:30:55.424Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:30:55.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:30:55.780Z] [2022-01-25T19:30:55.780Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:30:56.094Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:30:56.094Z] latest: Pulling from edgex-devops/git-semver [2022-01-25T19:30:56.094Z] a0d0a0d46f8b: Pulling fs layer [2022-01-25T19:30:56.094Z] 3e5f54012d9b: Pulling fs layer [2022-01-25T19:30:56.094Z] 4c7163046ea9: Pulling fs layer [2022-01-25T19:30:56.094Z] 0c2d73faf560: Pulling fs layer [2022-01-25T19:30:56.094Z] 0c2d73faf560: Waiting [2022-01-25T19:30:56.094Z] 3e5f54012d9b: Verifying Checksum [2022-01-25T19:30:56.094Z] 3e5f54012d9b: Download complete [2022-01-25T19:30:56.094Z] a0d0a0d46f8b: Verifying Checksum [2022-01-25T19:30:56.094Z] a0d0a0d46f8b: Download complete [2022-01-25T19:30:56.367Z] 0c2d73faf560: Verifying Checksum [2022-01-25T19:30:56.367Z] 0c2d73faf560: Download complete [2022-01-25T19:30:56.367Z] 4c7163046ea9: Verifying Checksum [2022-01-25T19:30:56.367Z] 4c7163046ea9: Download complete [2022-01-25T19:30:56.367Z] a0d0a0d46f8b: Pull complete [2022-01-25T19:30:56.367Z] 3e5f54012d9b: Pull complete [2022-01-25T19:30:56.640Z] 4c7163046ea9: Pull complete [2022-01-25T19:30:56.903Z] 0c2d73faf560: Pull complete [2022-01-25T19:30:56.903Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-25T19:30:56.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:30:56.903Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-25T19:30:56.974Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:30:57.028Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-25T19:30:57.746Z] $ docker top b45120b9575b4c960bbd17a5df6086bca067dfc0f8fe0e476504cee0201f35b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T19:30:57.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:30:57.855Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:30:57.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:30:57.974Z] $ docker exec b45120b9575b4c960bbd17a5df6086bca067dfc0f8fe0e476504cee0201f35b8 ssh-agent [2022-01-25T19:30:58.083Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOdlbmI/agent.14 [2022-01-25T19:30:58.083Z] SSH_AGENT_PID=20 [2022-01-25T19:30:58.092Z] Running ssh-add (command line suppressed) [2022-01-25T19:30:58.197Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4650792390408580815.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4650792390408580815.key) [2022-01-25T19:30:58.211Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:30:58.511Z] + git tag --points-at HEAD [Pipeline] } [2022-01-25T19:30:58.535Z] $ docker exec --env ******** --env ******** b45120b9575b4c960bbd17a5df6086bca067dfc0f8fe0e476504cee0201f35b8 ssh-agent -k [2022-01-25T19:30:58.644Z] unset SSH_AUTH_SOCK; [2022-01-25T19:30:58.645Z] unset SSH_AGENT_PID; [2022-01-25T19:30:58.645Z] echo Agent pid 20 killed; [2022-01-25T19:30:58.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-25T19:30:58.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:30:58.680Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:30:58.804Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:30:58.811Z] $ docker exec b45120b9575b4c960bbd17a5df6086bca067dfc0f8fe0e476504cee0201f35b8 ssh-agent [2022-01-25T19:30:58.921Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgKGGen/agent.55 [2022-01-25T19:30:58.921Z] SSH_AGENT_PID=61 [2022-01-25T19:30:58.927Z] Running ssh-add (command line suppressed) [2022-01-25T19:30:59.035Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_663830434330175690.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_663830434330175690.key) [2022-01-25T19:30:59.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:30:59.358Z] + git semver init [2022-01-25T19:30:59.358Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T19:30:59.358Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-25T19:30:59.358Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:30:59.358Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T19:30:59.358Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T19:30:59.358Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T19:30:59.358Z] # $SEMVER_BRANCH = main [2022-01-25T19:30:59.358Z] # $SEMVER_TEMP = /tmp/semver-480981930 [2022-01-25T19:30:59.358Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-25T19:31:00.301Z] # '/tmp/semver-480981930' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-01-25T19:31:00.301Z] # -> Force: false [2022-01-25T19:31:00.301Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-25T19:31:00.312Z] $ docker exec --env ******** --env ******** b45120b9575b4c960bbd17a5df6086bca067dfc0f8fe0e476504cee0201f35b8 ssh-agent -k [2022-01-25T19:31:00.414Z] unset SSH_AUTH_SOCK; [2022-01-25T19:31:00.414Z] unset SSH_AGENT_PID; [2022-01-25T19:31:00.414Z] echo Agent pid 61 killed; [2022-01-25T19:31:00.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T19:31:00.742Z] + git semver [Pipeline] } [2022-01-25T19:31:00.762Z] $ docker stop --time=1 b45120b9575b4c960bbd17a5df6086bca067dfc0f8fe0e476504cee0201f35b8 [2022-01-25T19:31:02.066Z] $ docker rm -f b45120b9575b4c960bbd17a5df6086bca067dfc0f8fe0e476504cee0201f35b8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:31:02.423Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-25T19:31:02.632Z] Stashed 1 file(s) [Pipeline] echo [2022-01-25T19:31:02.636Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:31:02.816Z] provisioning config files... [2022-01-25T19:31:02.827Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4530306108131057681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:31:03.161Z] ---> docker-login.sh [2022-01-25T19:31:03.161Z] nexus3.edgexfoundry.org:10001 [2022-01-25T19:31:03.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:31:03.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:31:03.161Z] Configure a credential helper to remove this warning. See [2022-01-25T19:31:03.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:31:03.161Z] [2022-01-25T19:31:03.161Z] Login Succeeded [2022-01-25T19:31:03.161Z] nexus3.edgexfoundry.org:10002 [2022-01-25T19:31:03.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:31:03.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:31:03.161Z] Configure a credential helper to remove this warning. See [2022-01-25T19:31:03.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:31:03.161Z] [2022-01-25T19:31:03.161Z] Login Succeeded [2022-01-25T19:31:03.161Z] nexus3.edgexfoundry.org:10003 [2022-01-25T19:31:03.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:31:03.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:31:03.423Z] Configure a credential helper to remove this warning. See [2022-01-25T19:31:03.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:31:03.423Z] [2022-01-25T19:31:03.423Z] Login Succeeded [2022-01-25T19:31:03.423Z] nexus3.edgexfoundry.org:10004 [2022-01-25T19:31:03.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:31:03.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:31:03.423Z] Configure a credential helper to remove this warning. See [2022-01-25T19:31:03.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:31:03.423Z] [2022-01-25T19:31:03.423Z] Login Succeeded [2022-01-25T19:31:03.423Z] docker.io [2022-01-25T19:31:03.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:31:03.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:31:03.944Z] Configure a credential helper to remove this warning. See [2022-01-25T19:31:03.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:31:03.944Z] [2022-01-25T19:31:03.944Z] Login Succeeded [2022-01-25T19:31:03.944Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T19:31:03.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-25T19:31:04.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-25T19:31:04.027Z] ========================================================= [2022-01-25T19:31:04.027Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-25T19:31:04.027Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:31:04.339Z] + 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-01-25T19:31:04.340Z] Sending build context to Docker daemon 9.369MB [2022-01-25T19:31:04.340Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-25T19:31:04.340Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-25T19:31:04.340Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-25T19:31:04.340Z] 59bf1c3509f3: Pulling fs layer [2022-01-25T19:31:04.340Z] 666ba61612fd: Pulling fs layer [2022-01-25T19:31:04.340Z] 8ed8ca486205: Pulling fs layer [2022-01-25T19:31:04.340Z] 4fe6c5a15a65: Pulling fs layer [2022-01-25T19:31:04.340Z] 22a0e8bec74d: Pulling fs layer [2022-01-25T19:31:04.340Z] f965cba54748: Pulling fs layer [2022-01-25T19:31:04.340Z] 861ffc35075e: Pulling fs layer [2022-01-25T19:31:04.340Z] 4b385c91608e: Pulling fs layer [2022-01-25T19:31:04.340Z] 560528eb2ebb: Pulling fs layer [2022-01-25T19:31:04.603Z] 4fe6c5a15a65: Waiting [2022-01-25T19:31:04.603Z] 22a0e8bec74d: Waiting [2022-01-25T19:31:04.603Z] f965cba54748: Waiting [2022-01-25T19:31:04.603Z] 861ffc35075e: Waiting [2022-01-25T19:31:04.603Z] 4b385c91608e: Waiting [2022-01-25T19:31:04.603Z] 560528eb2ebb: Waiting [2022-01-25T19:31:04.603Z] 8ed8ca486205: Verifying Checksum [2022-01-25T19:31:04.603Z] 8ed8ca486205: Download complete [2022-01-25T19:31:04.604Z] 666ba61612fd: Download complete [2022-01-25T19:31:04.604Z] 22a0e8bec74d: Verifying Checksum [2022-01-25T19:31:04.604Z] 22a0e8bec74d: Download complete [2022-01-25T19:31:04.604Z] f965cba54748: Verifying Checksum [2022-01-25T19:31:04.604Z] f965cba54748: Download complete [2022-01-25T19:31:04.604Z] 59bf1c3509f3: Verifying Checksum [2022-01-25T19:31:04.604Z] 59bf1c3509f3: Download complete [2022-01-25T19:31:04.604Z] 861ffc35075e: Verifying Checksum [2022-01-25T19:31:04.604Z] 861ffc35075e: Download complete [2022-01-25T19:31:04.604Z] 4b385c91608e: Verifying Checksum [2022-01-25T19:31:04.604Z] 4b385c91608e: Download complete [2022-01-25T19:31:05.183Z] 560528eb2ebb: Verifying Checksum [2022-01-25T19:31:05.183Z] 560528eb2ebb: Download complete [2022-01-25T19:31:05.183Z] 4fe6c5a15a65: Verifying Checksum [2022-01-25T19:31:05.183Z] 59bf1c3509f3: Pull complete [2022-01-25T19:31:05.183Z] 666ba61612fd: Pull complete [2022-01-25T19:31:05.450Z] 8ed8ca486205: Pull complete [2022-01-25T19:31:09.801Z] 4fe6c5a15a65: Pull complete [2022-01-25T19:31:09.801Z] 22a0e8bec74d: Pull complete [2022-01-25T19:31:10.132Z] f965cba54748: Pull complete [2022-01-25T19:31:10.132Z] 861ffc35075e: Pull complete [2022-01-25T19:31:10.132Z] 4b385c91608e: Pull complete [2022-01-25T19:31:12.711Z] 560528eb2ebb: Pull complete [2022-01-25T19:31:12.711Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-25T19:31:12.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-25T19:31:12.711Z] ---> dd4a08f94e63 [2022-01-25T19:31:12.711Z] Step 3/11 : ARG MAKE=make build [2022-01-25T19:31:14.632Z] ---> Running in 8a8378f1bb68 [2022-01-25T19:31:14.632Z] Removing intermediate container 8a8378f1bb68 [2022-01-25T19:31:14.632Z] ---> 07ce40f81f95 [2022-01-25T19:31:14.632Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-25T19:31:14.632Z] ---> Running in 3ca984756a7b [2022-01-25T19:31:14.632Z] Removing intermediate container 3ca984756a7b [2022-01-25T19:31:14.632Z] ---> 3dfa29c56e7c [2022-01-25T19:31:14.632Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:31:14.632Z] ---> Running in cbae40e06f45 [2022-01-25T19:31:14.632Z] Removing intermediate container cbae40e06f45 [2022-01-25T19:31:14.632Z] ---> ac6ed009b954 [2022-01-25T19:31:14.632Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:31:14.632Z] ---> Running in 811f288cc0a8 [2022-01-25T19:31:15.208Z] Removing intermediate container 811f288cc0a8 [2022-01-25T19:31:15.208Z] ---> e292a67a19f5 [2022-01-25T19:31:15.208Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:31:15.208Z] ---> Running in cecda73393f0 [2022-01-25T19:31:15.469Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-25T19:31:16.411Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-25T19:31:16.671Z] OK: 221 MiB in 52 packages [2022-01-25T19:31:16.931Z] Removing intermediate container cecda73393f0 [2022-01-25T19:31:16.931Z] ---> e97c1f18a441 [2022-01-25T19:31:16.931Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-25T19:31:17.193Z] ---> 322617391678 [2022-01-25T19:31:17.193Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:31:17.193Z] ---> Running in 93c995ec7d7c [2022-01-25T19:31:17.762Z] Still waiting to schedule task [2022-01-25T19:31:17.763Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-25T19:31:43.843Z] Removing intermediate container 93c995ec7d7c [2022-01-25T19:31:43.843Z] ---> 760459453987 [2022-01-25T19:31:43.843Z] Step 10/11 : COPY . . [2022-01-25T19:31:43.843Z] ---> 1bc1764457b6 [2022-01-25T19:31:43.843Z] Step 11/11 : RUN ${MAKE} [2022-01-25T19:31:43.843Z] ---> Running in efce448b1488 [2022-01-25T19:31:44.104Z] noop [2022-01-25T19:31:44.373Z] Removing intermediate container efce448b1488 [2022-01-25T19:31:44.373Z] ---> 0fa0ab08d844 [2022-01-25T19:31:44.373Z] Successfully built 0fa0ab08d844 [2022-01-25T19:31:44.373Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:31:44.676Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-25T19:31:44.676Z] . [Pipeline] withDockerContainer [2022-01-25T19:31:44.757Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:31:44.793Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-25T19:31:45.185Z] $ docker top 7f9252041d40845934a159e3a1d2508a843f49e322d84c0ffa906c25696093af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T19:31:45.548Z] + go version [2022-01-25T19:31:45.548Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-25T19:31:45.560Z] $ docker stop --time=1 7f9252041d40845934a159e3a1d2508a843f49e322d84c0ffa906c25696093af [2022-01-25T19:31:46.767Z] $ docker rm -f 7f9252041d40845934a159e3a1d2508a843f49e322d84c0ffa906c25696093af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:31:47.185Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-25T19:31:47.185Z] . [Pipeline] withDockerContainer [2022-01-25T19:31:47.251Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:31:47.283Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-25T19:31:47.691Z] $ docker top 15f1fd4b9421943b65b0d3fc3acef63b366a2f4d102ccbc462e242e395576096 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-25T19:31:48.068Z] + make test [2022-01-25T19:31:48.068Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-25T19:31:48.332Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-25T19:32:06.550Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-25T19:32:06.550Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-25T19:32:06.550Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-25T19:32:06.550Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.015s coverage: 23.3% of statements [2022-01-25T19:32:06.550Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-25T19:32:06.550Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.009s coverage: 27.6% of statements [2022-01-25T19:32:06.550Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.010s coverage: 78.9% of statements [2022-01-25T19:32:06.550Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.012s coverage: 9.0% of statements [2022-01-25T19:32:06.550Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-25T19:32:06.550Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-25T19:32:06.550Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-25T19:32:06.550Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.010s coverage: 28.7% of statements [2022-01-25T19:32:06.550Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-25T19:32:07.503Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.010s coverage: 86.1% of statements [2022-01-25T19:32:07.503Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-25T19:32:07.503Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-25T19:32:07.503Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.011s coverage: 57.4% of statements [2022-01-25T19:32:07.503Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.027s coverage: 89.2% of statements [2022-01-25T19:32:07.503Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-25T19:32:08.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-01-25T19:32:08.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-25T19:32:23.081Z] GO111MODULE=on go vet ./... [2022-01-25T19:32:26.640Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-25T19:32:26.640Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-25T19:32:26.640Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-25T19:32:26.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-25T19:32:26.929Z] $ docker stop --time=1 15f1fd4b9421943b65b0d3fc3acef63b366a2f4d102ccbc462e242e395576096 [2022-01-25T19:32:28.338Z] $ docker rm -f 15f1fd4b9421943b65b0d3fc3acef63b366a2f4d102ccbc462e242e395576096 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:32:28.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-25T19:32:28.894Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-25T19:32:29.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-25T19:32:30.191Z] + ls -al . [2022-01-25T19:32:30.191Z] total 268 [2022-01-25T19:32:30.191Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 25 19:32 . [2022-01-25T19:32:30.191Z] drwxrwxr-x. 4 jenkins jenkins 110 Jan 25 19:30 .. [2022-01-25T19:32:30.191Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 25 19:30 bin [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 25 19:30 CHANGELOG.md [2022-01-25T19:32:30.191Z] -rw-r--r--. 1 jenkins jenkins 128608 Jan 25 19:32 coverage.out [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 25 19:30 .dockerignore [2022-01-25T19:32:30.191Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 25 19:30 example [2022-01-25T19:32:30.191Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 25 19:30 .git [2022-01-25T19:32:30.191Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 25 19:30 .github [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 25 19:30 .gitignore [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 25 19:30 .golangci.yml [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 2760 Jan 25 19:30 go.mod [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 25 19:30 go.sum [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 25 19:30 GOVERNANCE.md [2022-01-25T19:32:30.191Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 25 19:30 internal [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 25 19:30 Jenkinsfile [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 25 19:30 LICENSE [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 1614 Jan 25 19:30 Makefile [2022-01-25T19:32:30.191Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 25 19:30 openapi [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 25 19:30 OWNERS.md [2022-01-25T19:32:30.191Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 25 19:30 pkg [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 25 19:30 README.md [2022-01-25T19:32:30.191Z] drwx------. 3 jenkins jenkins 57 Jan 25 19:31 .semver [2022-01-25T19:32:30.191Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 25 19:30 snap [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 12 Jan 25 19:31 VERSION [2022-01-25T19:32:30.191Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 25 19:30 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:32:30.495Z] + 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=b151e3fa1f534c4874e5dba284e716825967557e --label arch=amd64 --label version=2.2.0-dev.10 . [2022-01-25T19:32:30.495Z] Sending build context to Docker daemon 9.498MB [2022-01-25T19:32:30.495Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-25T19:32:30.495Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-25T19:32:30.495Z] ---> 0fa0ab08d844 [2022-01-25T19:32:30.495Z] Step 3/25 : ARG MAKE=make build [2022-01-25T19:32:30.756Z] ---> Running in ad6c2f982ce2 [2022-01-25T19:32:30.756Z] Removing intermediate container ad6c2f982ce2 [2022-01-25T19:32:30.756Z] ---> c3f9a0cc613c [2022-01-25T19:32:30.756Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-25T19:32:30.756Z] ---> Running in 7eb811610af0 [2022-01-25T19:32:30.756Z] Removing intermediate container 7eb811610af0 [2022-01-25T19:32:30.756Z] ---> 9482633f8624 [2022-01-25T19:32:30.756Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:32:31.024Z] ---> Running in ac3c995f0b38 [2022-01-25T19:32:31.025Z] Removing intermediate container ac3c995f0b38 [2022-01-25T19:32:31.025Z] ---> 7b6a78fde72d [2022-01-25T19:32:31.025Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:32:31.025Z] ---> Running in 132c499591d4 [2022-01-25T19:32:31.608Z] Removing intermediate container 132c499591d4 [2022-01-25T19:32:31.608Z] ---> c7ae82b1a84d [2022-01-25T19:32:31.608Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:32:31.608Z] ---> Running in 0f7a7fce0498 [2022-01-25T19:32:31.869Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-25T19:32:32.812Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-25T19:32:32.812Z] OK: 221 MiB in 52 packages [2022-01-25T19:32:33.075Z] Removing intermediate container 0f7a7fce0498 [2022-01-25T19:32:33.075Z] ---> 099edbb1544f [2022-01-25T19:32:33.075Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-25T19:32:33.336Z] ---> 3c1b88813062 [2022-01-25T19:32:33.336Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:32:33.336Z] ---> Running in fdd34ca2bdc6 [2022-01-25T19:32:33.913Z] Removing intermediate container fdd34ca2bdc6 [2022-01-25T19:32:33.913Z] ---> f6bd0da2fae9 [2022-01-25T19:32:33.913Z] Step 10/25 : COPY . . [2022-01-25T19:32:34.487Z] ---> b2f2861995a2 [2022-01-25T19:32:34.487Z] Step 11/25 : RUN ${MAKE} [2022-01-25T19:32:34.487Z] ---> Running in e34bb30b2e6e [2022-01-25T19:32:34.748Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-25T19:32:47.038Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-25T19:32:47.038Z] Removing intermediate container e34bb30b2e6e [2022-01-25T19:32:47.038Z] ---> 77e513813339 [2022-01-25T19:32:47.038Z] Step 12/25 : FROM alpine:3.14 [2022-01-25T19:32:47.298Z] 3.14: Pulling from library/alpine [2022-01-25T19:32:47.563Z] 97518928ae5f: Pulling fs layer [2022-01-25T19:32:47.563Z] 97518928ae5f: Verifying Checksum [2022-01-25T19:32:47.563Z] 97518928ae5f: Download complete [2022-01-25T19:32:47.828Z] 97518928ae5f: Pull complete [2022-01-25T19:32:47.828Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-25T19:32:47.828Z] Status: Downloaded newer image for alpine:3.14 [2022-01-25T19:32:47.828Z] ---> 0a97eee8041e [2022-01-25T19:32:47.828Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:32:47.828Z] ---> Running in 397bd4564354 [2022-01-25T19:32:48.095Z] Removing intermediate container 397bd4564354 [2022-01-25T19:32:48.095Z] ---> 66013bb5536d [2022-01-25T19:32:48.095Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:32:48.095Z] ---> Running in b67a4c31cf2a [2022-01-25T19:32:48.359Z] Removing intermediate container b67a4c31cf2a [2022-01-25T19:32:48.359Z] ---> 67ee4e6d2865 [2022-01-25T19:32:48.359Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-25T19:32:48.359Z] ---> Running in 157d71fa5296 [2022-01-25T19:32:48.619Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-25T19:32:49.564Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-25T19:32:49.825Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-25T19:32:50.085Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-25T19:32:50.085Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-25T19:32:50.085Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-25T19:32:50.346Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-25T19:32:50.346Z] Executing busybox-1.33.1-r6.trigger [2022-01-25T19:32:50.346Z] OK: 8 MiB in 19 packages [2022-01-25T19:32:50.613Z] Removing intermediate container 157d71fa5296 [2022-01-25T19:32:50.613Z] ---> ab4856b1f8c3 [2022-01-25T19:32:50.613Z] Step 16/25 : WORKDIR / [2022-01-25T19:32:50.613Z] ---> Running in f71daa9d63a6 [2022-01-25T19:32:50.613Z] Removing intermediate container f71daa9d63a6 [2022-01-25T19:32:50.613Z] ---> 4aaa6faf2164 [2022-01-25T19:32:50.613Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-25T19:32:50.875Z] ---> abd6037fc2ca [2022-01-25T19:32:50.875Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-25T19:32:51.137Z] ---> 871f33ddb585 [2022-01-25T19:32:51.137Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-25T19:32:51.397Z] ---> 9ad9c9ccf97c [2022-01-25T19:32:51.397Z] Step 20/25 : EXPOSE 59999 [2022-01-25T19:32:51.397Z] ---> Running in ea419f86d6da [2022-01-25T19:32:51.397Z] Removing intermediate container ea419f86d6da [2022-01-25T19:32:51.397Z] ---> 0ecbbd035c9f [2022-01-25T19:32:51.397Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-25T19:32:51.397Z] ---> Running in 89724514c050 [2022-01-25T19:32:51.664Z] Removing intermediate container 89724514c050 [2022-01-25T19:32:51.664Z] ---> 9da3f6b10681 [2022-01-25T19:32:51.664Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-25T19:32:51.664Z] ---> Running in 30ffa2da39f0 [2022-01-25T19:32:51.664Z] Removing intermediate container 30ffa2da39f0 [2022-01-25T19:32:51.664Z] ---> 41d9b701edc7 [2022-01-25T19:32:51.664Z] Step 23/25 : LABEL arch=amd64 [2022-01-25T19:32:51.664Z] ---> Running in d6a2dedd0834 [2022-01-25T19:32:51.923Z] Removing intermediate container d6a2dedd0834 [2022-01-25T19:32:51.923Z] ---> 6cf326e0c15f [2022-01-25T19:32:51.923Z] Step 24/25 : LABEL git_sha=b151e3fa1f534c4874e5dba284e716825967557e [2022-01-25T19:32:51.923Z] ---> Running in b778ae19d2e4 [2022-01-25T19:32:51.923Z] Removing intermediate container b778ae19d2e4 [2022-01-25T19:32:51.923Z] ---> 709af4e038ca [2022-01-25T19:32:51.923Z] Step 25/25 : LABEL version=2.2.0-dev.10 [2022-01-25T19:32:51.923Z] ---> Running in ff82999d43d0 [2022-01-25T19:32:51.923Z] Removing intermediate container ff82999d43d0 [2022-01-25T19:32:51.923Z] ---> ffc7955bd0ec [2022-01-25T19:32:51.923Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-25T19:32:52.185Z] Successfully built ffc7955bd0ec [2022-01-25T19:32:52.185Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:32:52.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:32:52.608Z] [2022-01-25T19:32:52.608Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:32:52.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:32:52.918Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-25T19:32:52.918Z] b4d181a07f80: Pulling fs layer [2022-01-25T19:32:52.918Z] a1111a8f2ec3: Pulling fs layer [2022-01-25T19:32:52.918Z] ed53099fbce6: Pulling fs layer [2022-01-25T19:32:52.918Z] dc539afda2c1: Pulling fs layer [2022-01-25T19:32:52.918Z] 77bc0d833cb6: Pulling fs layer [2022-01-25T19:32:52.918Z] 9065ff56babe: Pulling fs layer [2022-01-25T19:32:52.918Z] d287ab97295c: Pulling fs layer [2022-01-25T19:32:52.918Z] dc539afda2c1: Waiting [2022-01-25T19:32:52.918Z] 77bc0d833cb6: Waiting [2022-01-25T19:32:52.918Z] 9065ff56babe: Waiting [2022-01-25T19:32:52.918Z] d287ab97295c: Waiting [2022-01-25T19:32:52.918Z] a1111a8f2ec3: Verifying Checksum [2022-01-25T19:32:52.918Z] a1111a8f2ec3: Download complete [2022-01-25T19:32:52.918Z] dc539afda2c1: Verifying Checksum [2022-01-25T19:32:52.918Z] dc539afda2c1: Download complete [2022-01-25T19:32:52.918Z] ed53099fbce6: Verifying Checksum [2022-01-25T19:32:52.918Z] ed53099fbce6: Download complete [2022-01-25T19:32:52.918Z] 9065ff56babe: Verifying Checksum [2022-01-25T19:32:52.918Z] 9065ff56babe: Download complete [2022-01-25T19:32:53.183Z] 77bc0d833cb6: Verifying Checksum [2022-01-25T19:32:53.184Z] 77bc0d833cb6: Download complete [2022-01-25T19:32:53.184Z] b4d181a07f80: Verifying Checksum [2022-01-25T19:32:53.184Z] b4d181a07f80: Download complete [2022-01-25T19:32:53.762Z] d287ab97295c: Verifying Checksum [2022-01-25T19:32:53.762Z] d287ab97295c: Download complete [2022-01-25T19:32:54.712Z] b4d181a07f80: Pull complete [2022-01-25T19:32:54.981Z] a1111a8f2ec3: Pull complete [2022-01-25T19:32:55.554Z] ed53099fbce6: Pull complete [2022-01-25T19:32:55.554Z] dc539afda2c1: Pull complete [2022-01-25T19:32:55.821Z] 77bc0d833cb6: Pull complete [2022-01-25T19:32:56.082Z] 9065ff56babe: Pull complete [2022-01-25T19:33:02.727Z] d287ab97295c: Pull complete [2022-01-25T19:33:02.727Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-25T19:33:02.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:33:02.727Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-25T19:33:02.808Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:33:02.843Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-25T19:33:05.230Z] $ docker top 23a0012475952cfaa715a6097e3b67d7854affb572c08182862c48482c6e6660 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:33:05.653Z] ---> job-cost.sh [2022-01-25T19:33:05.653Z] lf-activate-venv: SKIPPING [2022-01-25T19:33:05.653Z] INFO: No Stack... [2022-01-25T19:33:05.913Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-25T19:33:06.249Z] INFO: Archiving Costs [Pipeline] sh [2022-01-25T19:33:06.730Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-01-25T19:33:06.730Z] + cut -d, -f6 [Pipeline] lock [2022-01-25T19:33:06.821Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-43-stack-cost] [2022-01-25T19:33:06.829Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-43-stack-cost] did not exist. Created. [2022-01-25T19:33:06.829Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-25T19:33:07.137Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-25T19:33:07.178Z] Stashed 1 file(s) [Pipeline] } [2022-01-25T19:33:07.184Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-25T19:33:07.202Z] $ docker stop --time=1 23a0012475952cfaa715a6097e3b67d7854affb572c08182862c48482c6e6660 [2022-01-25T19:33:08.354Z] $ docker rm -f 23a0012475952cfaa715a6097e3b67d7854affb572c08182862c48482c6e6660 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-25T19:34:00.061Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3877 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-01-25T19:34:00.075Z] Running in /w/workspace/device-sdk-go/43 [Pipeline] { [Pipeline] checkout [2022-01-25T19:34:00.443Z] The recommended git tool is: git [2022-01-25T19:34:04.890Z] using credential edgex-jenkins-ssh [2022-01-25T19:34:04.911Z] Cloning the remote Git repository [2022-01-25T19:34:04.961Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T19:34:05.029Z] > git init /w/workspace/device-sdk-go/43 # timeout=10 [2022-01-25T19:34:05.113Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T19:34:05.113Z] > git --version # timeout=10 [2022-01-25T19:34:05.183Z] > git --version # 'git version 2.17.1' [2022-01-25T19:34:05.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-25T19:34:05.365Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-25T19:34:06.966Z] Avoid second fetch [2022-01-25T19:34:06.966Z] Checking out Revision b151e3fa1f534c4874e5dba284e716825967557e (main) [2022-01-25T19:34:06.927Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-25T19:34:06.946Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-25T19:34:06.983Z] > git config core.sparsecheckout # timeout=10 [2022-01-25T19:34:07.000Z] > git checkout -f b151e3fa1f534c4874e5dba284e716825967557e # timeout=10 [2022-01-25T19:34:11.164Z] Commit message: "Merge pull request #1084 from ernestojeda/go-1_17-dockerfile-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T19:34:11.993Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-25T19:34:11.993Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T19:34:11.993Z] Dload Upload Total Spent Left Speed [2022-01-25T19:34:11.994Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 226k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh [2022-01-25T19:34:12.501Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-25T19:34:12.847Z] + sudo tee /etc/docker/daemon.new [2022-01-25T19:34:12.847Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-25T19:34:12.847Z] { [2022-01-25T19:34:12.847Z] "registry-mirrors": [ [2022-01-25T19:34:12.847Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-25T19:34:12.847Z] ], [2022-01-25T19:34:12.847Z] "bip": "10.250.0.254/24", [2022-01-25T19:34:12.847Z] "hosts": [ [2022-01-25T19:34:12.847Z] "tcp://0.0.0.0:5555", [2022-01-25T19:34:12.847Z] "unix:///var/run/docker.sock" [2022-01-25T19:34:12.847Z] ], [2022-01-25T19:34:12.847Z] "mtu": 1458, [2022-01-25T19:34:12.847Z] "selinux-enabled": true, [2022-01-25T19:34:12.847Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-25T19:34:12.847Z] } [Pipeline] sh [2022-01-25T19:34:13.192Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-25T19:34:13.539Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:34:31.924Z] provisioning config files... [2022-01-25T19:34:31.945Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/43@tmp/config4122047517382876817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:34:32.302Z] ---> docker-login.sh [2022-01-25T19:34:32.303Z] nexus3.edgexfoundry.org:10001 [2022-01-25T19:34:32.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:34:33.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:34:33.169Z] Configure a credential helper to remove this warning. See [2022-01-25T19:34:33.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:34:33.169Z] [2022-01-25T19:34:33.169Z] Login Succeeded [2022-01-25T19:34:33.169Z] nexus3.edgexfoundry.org:10002 [2022-01-25T19:34:33.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:34:33.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:34:33.442Z] Configure a credential helper to remove this warning. See [2022-01-25T19:34:33.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:34:33.442Z] [2022-01-25T19:34:33.442Z] Login Succeeded [2022-01-25T19:34:33.442Z] nexus3.edgexfoundry.org:10003 [2022-01-25T19:34:33.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:34:33.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:34:33.990Z] Configure a credential helper to remove this warning. See [2022-01-25T19:34:33.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:34:33.990Z] [2022-01-25T19:34:33.990Z] Login Succeeded [2022-01-25T19:34:33.990Z] nexus3.edgexfoundry.org:10004 [2022-01-25T19:34:34.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:34:34.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:34:34.264Z] Configure a credential helper to remove this warning. See [2022-01-25T19:34:34.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:34:34.264Z] [2022-01-25T19:34:34.264Z] Login Succeeded [2022-01-25T19:34:34.264Z] docker.io [2022-01-25T19:34:34.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:34:34.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:34:34.809Z] Configure a credential helper to remove this warning. See [2022-01-25T19:34:34.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:34:34.809Z] [2022-01-25T19:34:34.809Z] Login Succeeded [2022-01-25T19:34:34.809Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T19:34:34.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-25T19:34:35.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-25T19:34:35.369Z] ========================================================= [2022-01-25T19:34:35.369Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-25T19:34:35.369Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:34:35.711Z] + 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-01-25T19:34:35.985Z] Sending build context to Docker daemon 5.061MB [2022-01-25T19:34:35.985Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-25T19:34:35.986Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-25T19:34:36.259Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-25T19:34:36.259Z] 9b3977197b4f: Pulling fs layer [2022-01-25T19:34:36.259Z] 1a89e8eeedd5: Pulling fs layer [2022-01-25T19:34:36.259Z] 94645a83ff95: Pulling fs layer [2022-01-25T19:34:36.259Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-25T19:34:36.259Z] 0c92f367c5e7: Pulling fs layer [2022-01-25T19:34:36.259Z] 4b8299f9d1f4: Pulling fs layer [2022-01-25T19:34:36.259Z] 9a6b49a46696: Pulling fs layer [2022-01-25T19:34:36.259Z] cf05db05a679: Pulling fs layer [2022-01-25T19:34:36.259Z] 4b8299f9d1f4: Waiting [2022-01-25T19:34:36.259Z] 9a6b49a46696: Waiting [2022-01-25T19:34:36.259Z] cf05db05a679: Waiting [2022-01-25T19:34:36.259Z] 3f3a8bcf1eab: Waiting [2022-01-25T19:34:36.259Z] 0c92f367c5e7: Waiting [2022-01-25T19:34:36.260Z] 94645a83ff95: Download complete [2022-01-25T19:34:36.260Z] 1a89e8eeedd5: Verifying Checksum [2022-01-25T19:34:36.260Z] 1a89e8eeedd5: Download complete [2022-01-25T19:34:36.260Z] 0c92f367c5e7: Verifying Checksum [2022-01-25T19:34:36.260Z] 0c92f367c5e7: Download complete [2022-01-25T19:34:36.260Z] 4b8299f9d1f4: Verifying Checksum [2022-01-25T19:34:36.260Z] 4b8299f9d1f4: Download complete [2022-01-25T19:34:36.260Z] 9a6b49a46696: Verifying Checksum [2022-01-25T19:34:36.260Z] 9a6b49a46696: Download complete [2022-01-25T19:34:36.260Z] 9b3977197b4f: Verifying Checksum [2022-01-25T19:34:36.260Z] 9b3977197b4f: Download complete [2022-01-25T19:34:37.243Z] 9b3977197b4f: Pull complete [2022-01-25T19:34:37.521Z] 1a89e8eeedd5: Pull complete [2022-01-25T19:34:38.119Z] 94645a83ff95: Pull complete [2022-01-25T19:34:38.119Z] cf05db05a679: Verifying Checksum [2022-01-25T19:34:38.119Z] cf05db05a679: Download complete [2022-01-25T19:34:38.714Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-25T19:34:38.714Z] 3f3a8bcf1eab: Download complete [2022-01-25T19:34:51.104Z] 3f3a8bcf1eab: Pull complete [2022-01-25T19:34:51.104Z] 0c92f367c5e7: Pull complete [2022-01-25T19:34:51.104Z] 4b8299f9d1f4: Pull complete [2022-01-25T19:34:51.104Z] 9a6b49a46696: Pull complete [2022-01-25T19:34:56.516Z] cf05db05a679: Pull complete [2022-01-25T19:34:56.516Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-25T19:34:56.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-25T19:34:56.516Z] ---> 0ccda1f7e2ee [2022-01-25T19:34:56.516Z] Step 3/11 : ARG MAKE=make build [2022-01-25T19:34:57.946Z] ---> Running in 16712a4e4925 [2022-01-25T19:34:57.946Z] Removing intermediate container 16712a4e4925 [2022-01-25T19:34:57.946Z] ---> ae7e3a7a30b7 [2022-01-25T19:34:57.946Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-25T19:34:58.218Z] ---> Running in cdef0f96541c [2022-01-25T19:34:58.495Z] Removing intermediate container cdef0f96541c [2022-01-25T19:34:58.495Z] ---> f267ec62ca47 [2022-01-25T19:34:58.495Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:34:58.495Z] ---> Running in b07bfb808414 [2022-01-25T19:34:59.090Z] Removing intermediate container b07bfb808414 [2022-01-25T19:34:59.090Z] ---> d07c241e59ae [2022-01-25T19:34:59.090Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:34:59.090Z] ---> Running in 3756aa177b9a [2022-01-25T19:35:01.063Z] Removing intermediate container 3756aa177b9a [2022-01-25T19:35:01.063Z] ---> df6c63618c55 [2022-01-25T19:35:01.063Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:35:01.063Z] ---> Running in f96aad47fb70 [2022-01-25T19:35:02.049Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-25T19:35:03.030Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-25T19:35:03.625Z] OK: 220 MiB in 52 packages [2022-01-25T19:35:04.599Z] Removing intermediate container f96aad47fb70 [2022-01-25T19:35:04.599Z] ---> e9aec7f47b21 [2022-01-25T19:35:04.599Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-25T19:35:04.871Z] ---> 9877693779f5 [2022-01-25T19:35:04.871Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:35:05.145Z] ---> Running in 4f02234c589a [2022-01-25T19:36:26.964Z] Removing intermediate container 4f02234c589a [2022-01-25T19:36:26.964Z] ---> 4ff4d378c5dd [2022-01-25T19:36:26.964Z] Step 10/11 : COPY . . [2022-01-25T19:36:26.964Z] ---> c150749ee9f6 [2022-01-25T19:36:26.964Z] Step 11/11 : RUN ${MAKE} [2022-01-25T19:36:26.964Z] ---> Running in 52f799c2247e [2022-01-25T19:36:26.964Z] noop [2022-01-25T19:36:26.964Z] Removing intermediate container 52f799c2247e [2022-01-25T19:36:26.964Z] ---> 5398883b9728 [2022-01-25T19:36:26.964Z] Successfully built 5398883b9728 [2022-01-25T19:36:26.964Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:36:27.335Z] + docker inspect -f . ci-base-image-arm64 [2022-01-25T19:36:27.335Z] . [Pipeline] withDockerContainer [2022-01-25T19:36:27.561Z] prd-ubuntu18.04-docker-arm64-4c-16g-3877 does not seem to be running inside a container [2022-01-25T19:36:27.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/43 -v /w/workspace/device-sdk-go/43:/w/workspace/device-sdk-go/43:rw,z -v /w/workspace/device-sdk-go/43@tmp:/w/workspace/device-sdk-go/43@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-01-25T19:36:29.004Z] $ docker top 64fb3dc157ca6434e6b4ef644b2e2a7db19ce1884c0bd7d7886eb5e1530a7314 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T19:36:29.911Z] + go version [2022-01-25T19:36:29.911Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-25T19:36:29.943Z] $ docker stop --time=1 64fb3dc157ca6434e6b4ef644b2e2a7db19ce1884c0bd7d7886eb5e1530a7314 [2022-01-25T19:36:31.632Z] $ docker rm -f 64fb3dc157ca6434e6b4ef644b2e2a7db19ce1884c0bd7d7886eb5e1530a7314 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:36:32.240Z] + docker inspect -f . ci-base-image-arm64 [2022-01-25T19:36:32.240Z] . [Pipeline] withDockerContainer [2022-01-25T19:36:32.472Z] prd-ubuntu18.04-docker-arm64-4c-16g-3877 does not seem to be running inside a container [2022-01-25T19:36:32.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/43 -v /w/workspace/device-sdk-go/43:/w/workspace/device-sdk-go/43:rw,z -v /w/workspace/device-sdk-go/43@tmp:/w/workspace/device-sdk-go/43@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-01-25T19:36:33.912Z] $ docker top caed64e4570efec18b46686192e66978e0df28a536864984ad242b839dcdb3ab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-25T19:36:34.828Z] + make test [2022-01-25T19:36:34.828Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-25T19:36:36.271Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-25T19:37:23.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-25T19:37:23.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-25T19:37:23.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-25T19:37:31.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.120s coverage: 23.3% of statements [2022-01-25T19:37:31.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-25T19:37:31.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 27.6% of statements [2022-01-25T19:37:31.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2022-01-25T19:37:31.621Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.119s coverage: 9.0% of statements [2022-01-25T19:37:31.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-25T19:37:31.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-25T19:37:31.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-25T19:37:32.611Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 28.7% of statements [2022-01-25T19:37:32.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-25T19:37:34.605Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 86.1% of statements [2022-01-25T19:37:34.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-25T19:37:34.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-25T19:37:34.605Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 57.4% of statements [2022-01-25T19:37:34.605Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.184s coverage: 89.2% of statements [2022-01-25T19:37:34.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-25T19:37:36.035Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.8% of statements [2022-01-25T19:37:36.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-25T19:37:36.631Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-25T19:37:36.631Z] GO111MODULE=on go vet ./... [2022-01-25T19:37:58.830Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-25T19:37:58.830Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-25T19:37:58.830Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-25T19:37:58.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-25T19:37:58.877Z] $ docker stop --time=1 caed64e4570efec18b46686192e66978e0df28a536864984ad242b839dcdb3ab [2022-01-25T19:38:00.656Z] $ docker rm -f caed64e4570efec18b46686192e66978e0df28a536864984ad242b839dcdb3ab [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:38:01.542Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-25T19:38:01.565Z] Warning: overwriting stash ‘coverage-report’ [2022-01-25T19:38:02.178Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T19:38:02.587Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-25T19:38:02.924Z] + ls -al . [2022-01-25T19:38:02.924Z] total 304 [2022-01-25T19:38:02.924Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 19:37 . [2022-01-25T19:38:02.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 19:34 .. [2022-01-25T19:38:02.924Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 19:34 .dockerignore [2022-01-25T19:38:02.924Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 19:34 .git [2022-01-25T19:38:02.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 19:34 .github [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 25 19:34 .gitignore [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 19:34 .golangci.yml [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 25 19:34 CHANGELOG.md [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 19:34 GOVERNANCE.md [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 25 19:34 Jenkinsfile [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 19:34 LICENSE [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 1614 Jan 25 19:34 Makefile [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 19:34 OWNERS.md [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 25 19:34 README.md [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 12 Jan 25 19:31 VERSION [2022-01-25T19:38:02.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 19:34 bin [2022-01-25T19:38:02.925Z] -rw-r--r-- 1 jenkins jenkins 128608 Jan 25 19:37 coverage.out [2022-01-25T19:38:02.925Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 19:34 example [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 2760 Jan 25 19:34 go.mod [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 25 19:34 go.sum [2022-01-25T19:38:02.925Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 25 19:34 internal [2022-01-25T19:38:02.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 19:34 openapi [2022-01-25T19:38:02.925Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 19:34 pkg [2022-01-25T19:38:02.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 19:34 snap [2022-01-25T19:38:02.925Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 19:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:38:03.270Z] + 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=b151e3fa1f534c4874e5dba284e716825967557e --label arch=arm64 --label version=2.2.0-dev.10 . [2022-01-25T19:38:03.866Z] Sending build context to Docker daemon 5.19MB [2022-01-25T19:38:03.866Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-25T19:38:03.866Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-25T19:38:03.866Z] ---> 5398883b9728 [2022-01-25T19:38:03.866Z] Step 3/25 : ARG MAKE=make build [2022-01-25T19:38:03.866Z] ---> Running in 634dddbf8129 [2022-01-25T19:38:04.139Z] Removing intermediate container 634dddbf8129 [2022-01-25T19:38:04.139Z] ---> aaca7b4d5b50 [2022-01-25T19:38:04.139Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-25T19:38:04.411Z] ---> Running in fb1c9993eac2 [2022-01-25T19:38:04.683Z] Removing intermediate container fb1c9993eac2 [2022-01-25T19:38:04.683Z] ---> e834dae98c43 [2022-01-25T19:38:04.683Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:38:04.958Z] ---> Running in b8f2267716a5 [2022-01-25T19:38:05.232Z] Removing intermediate container b8f2267716a5 [2022-01-25T19:38:05.232Z] ---> e0874c094a01 [2022-01-25T19:38:05.232Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:38:05.232Z] ---> Running in f0d2c00ad33b [2022-01-25T19:38:07.221Z] Removing intermediate container f0d2c00ad33b [2022-01-25T19:38:07.222Z] ---> 7459446cc203 [2022-01-25T19:38:07.222Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:38:07.222Z] ---> Running in 877c704d3562 [2022-01-25T19:38:08.277Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-25T19:38:09.284Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-25T19:38:09.989Z] OK: 220 MiB in 52 packages [2022-01-25T19:38:10.993Z] Removing intermediate container 877c704d3562 [2022-01-25T19:38:10.993Z] ---> 22a1721d7478 [2022-01-25T19:38:10.993Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-25T19:38:11.605Z] ---> 45df2f656ff9 [2022-01-25T19:38:11.605Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:38:11.605Z] ---> Running in 932ae58a74c1 [2022-01-25T19:38:13.592Z] Removing intermediate container 932ae58a74c1 [2022-01-25T19:38:13.592Z] ---> 4796f94d812e [2022-01-25T19:38:13.592Z] Step 10/25 : COPY . . [2022-01-25T19:38:15.036Z] ---> 4bd4114ec859 [2022-01-25T19:38:15.036Z] Step 11/25 : RUN ${MAKE} [2022-01-25T19:38:15.036Z] ---> Running in 24183c1b9d01 [2022-01-25T19:38:16.023Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.10" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-25T19:38:55.021Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-25T19:38:55.295Z] Removing intermediate container 24183c1b9d01 [2022-01-25T19:38:55.295Z] ---> fe4b64fb5c29 [2022-01-25T19:38:55.295Z] Step 12/25 : FROM alpine:3.14 [2022-01-25T19:38:55.889Z] 3.14: Pulling from library/alpine [2022-01-25T19:38:56.162Z] be307f383ecc: Pulling fs layer [2022-01-25T19:38:56.435Z] be307f383ecc: Verifying Checksum [2022-01-25T19:38:56.435Z] be307f383ecc: Download complete [2022-01-25T19:38:57.031Z] be307f383ecc: Pull complete [2022-01-25T19:38:57.031Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-25T19:38:57.031Z] Status: Downloaded newer image for alpine:3.14 [2022-01-25T19:38:57.031Z] ---> 5b8b7b635229 [2022-01-25T19:38:57.031Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:38:57.031Z] ---> Running in 2d475cff4203 [2022-01-25T19:38:57.306Z] Removing intermediate container 2d475cff4203 [2022-01-25T19:38:57.306Z] ---> 475a14874f1b [2022-01-25T19:38:57.306Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:38:57.577Z] ---> Running in 9294420d1c29 [2022-01-25T19:38:59.010Z] Removing intermediate container 9294420d1c29 [2022-01-25T19:38:59.010Z] ---> a1abeb481840 [2022-01-25T19:38:59.010Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-25T19:38:59.010Z] ---> Running in d5e13fcb16d2 [2022-01-25T19:39:00.442Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-25T19:39:01.035Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-25T19:39:02.013Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-25T19:39:02.013Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-25T19:39:02.013Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-25T19:39:02.286Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-25T19:39:02.286Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-25T19:39:02.286Z] Executing busybox-1.33.1-r6.trigger [2022-01-25T19:39:02.286Z] OK: 8 MiB in 19 packages [2022-01-25T19:39:03.262Z] Removing intermediate container d5e13fcb16d2 [2022-01-25T19:39:03.262Z] ---> b1525b4c1ea9 [2022-01-25T19:39:03.262Z] Step 16/25 : WORKDIR / [2022-01-25T19:39:03.533Z] ---> Running in 7886312b6ef0 [2022-01-25T19:39:03.806Z] Removing intermediate container 7886312b6ef0 [2022-01-25T19:39:03.806Z] ---> 0406fe8fbb31 [2022-01-25T19:39:03.806Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-25T19:39:04.396Z] ---> 741d1843fac5 [2022-01-25T19:39:04.396Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-25T19:39:05.370Z] ---> bfe8c892d9c5 [2022-01-25T19:39:05.370Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-25T19:39:05.964Z] ---> 5e655b955525 [2022-01-25T19:39:05.964Z] Step 20/25 : EXPOSE 59999 [2022-01-25T19:39:05.964Z] ---> Running in 56d213159c18 [2022-01-25T19:39:06.236Z] Removing intermediate container 56d213159c18 [2022-01-25T19:39:06.236Z] ---> df1c67f40f18 [2022-01-25T19:39:06.236Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-25T19:39:06.509Z] ---> Running in 214b731313c8 [2022-01-25T19:39:06.779Z] Removing intermediate container 214b731313c8 [2022-01-25T19:39:06.779Z] ---> 7765e8d4f82a [2022-01-25T19:39:06.779Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-25T19:39:06.779Z] ---> Running in 8407976bb858 [2022-01-25T19:39:07.049Z] Removing intermediate container 8407976bb858 [2022-01-25T19:39:07.049Z] ---> bccd51b024e7 [2022-01-25T19:39:07.049Z] Step 23/25 : LABEL arch=arm64 [2022-01-25T19:39:07.324Z] ---> Running in 0e1f0475a2c9 [2022-01-25T19:39:07.597Z] Removing intermediate container 0e1f0475a2c9 [2022-01-25T19:39:07.597Z] ---> 66dd00975c1a [2022-01-25T19:39:07.597Z] Step 24/25 : LABEL git_sha=b151e3fa1f534c4874e5dba284e716825967557e [2022-01-25T19:39:07.597Z] ---> Running in 7290dc908111 [2022-01-25T19:39:07.871Z] Removing intermediate container 7290dc908111 [2022-01-25T19:39:07.871Z] ---> 7a40ae263fbb [2022-01-25T19:39:07.871Z] Step 25/25 : LABEL version=2.2.0-dev.10 [2022-01-25T19:39:08.143Z] ---> Running in 62ff0c08b73e [2022-01-25T19:39:08.413Z] Removing intermediate container 62ff0c08b73e [2022-01-25T19:39:08.413Z] ---> 4544182af3fb [2022-01-25T19:39:08.413Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-25T19:39:08.413Z] Successfully built 4544182af3fb [2022-01-25T19:39:08.413Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:39:08.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T19:39:08.836Z] [2022-01-25T19:39:08.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:39:09.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T19:39:09.578Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-25T19:39:09.578Z] 448f6bf000e3: Pulling fs layer [2022-01-25T19:39:09.578Z] f757da607395: Pulling fs layer [2022-01-25T19:39:09.578Z] 05883995daec: Pulling fs layer [2022-01-25T19:39:09.578Z] 8603b9c90790: Pulling fs layer [2022-01-25T19:39:09.578Z] 1560dd03e051: Pulling fs layer [2022-01-25T19:39:09.578Z] 27f5ce0e4adf: Pulling fs layer [2022-01-25T19:39:09.578Z] c2d8d7efcc4b: Pulling fs layer [2022-01-25T19:39:09.578Z] 8603b9c90790: Waiting [2022-01-25T19:39:09.578Z] 1560dd03e051: Waiting [2022-01-25T19:39:09.578Z] 27f5ce0e4adf: Waiting [2022-01-25T19:39:09.578Z] c2d8d7efcc4b: Waiting [2022-01-25T19:39:09.578Z] f757da607395: Verifying Checksum [2022-01-25T19:39:09.578Z] f757da607395: Download complete [2022-01-25T19:39:09.578Z] 8603b9c90790: Download complete [2022-01-25T19:39:09.578Z] 1560dd03e051: Verifying Checksum [2022-01-25T19:39:09.578Z] 1560dd03e051: Download complete [2022-01-25T19:39:09.578Z] 27f5ce0e4adf: Download complete [2022-01-25T19:39:09.852Z] 05883995daec: Verifying Checksum [2022-01-25T19:39:09.852Z] 05883995daec: Download complete [2022-01-25T19:39:10.126Z] 448f6bf000e3: Download complete [2022-01-25T19:39:12.735Z] c2d8d7efcc4b: Verifying Checksum [2022-01-25T19:39:12.735Z] c2d8d7efcc4b: Download complete [2022-01-25T19:39:13.712Z] 448f6bf000e3: Pull complete [2022-01-25T19:39:14.308Z] f757da607395: Pull complete [2022-01-25T19:39:15.738Z] 05883995daec: Pull complete [2022-01-25T19:39:16.009Z] 8603b9c90790: Pull complete [2022-01-25T19:39:16.984Z] 1560dd03e051: Pull complete [2022-01-25T19:39:16.984Z] 27f5ce0e4adf: Pull complete [2022-01-25T19:39:32.042Z] c2d8d7efcc4b: Pull complete [2022-01-25T19:39:32.042Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-25T19:39:32.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T19:39:32.043Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-25T19:39:32.251Z] prd-ubuntu18.04-docker-arm64-4c-16g-3877 does not seem to be running inside a container [2022-01-25T19:39:32.347Z] $ 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/43 -v /w/workspace/device-sdk-go/43:/w/workspace/device-sdk-go/43:rw,z -v /w/workspace/device-sdk-go/43@tmp:/w/workspace/device-sdk-go/43@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-01-25T19:39:35.146Z] $ docker top 3b714be9a6088c5bf6ac58916a070ee129bc83e3ed07db39c78bd7d3b00dc49f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:39:36.017Z] ---> job-cost.sh [2022-01-25T19:39:36.017Z] lf-activate-venv: SKIPPING [2022-01-25T19:39:36.017Z] INFO: No Stack... [2022-01-25T19:39:36.289Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-25T19:39:36.880Z] INFO: Archiving Costs [Pipeline] sh [2022-01-25T19:39:37.570Z] + cat /w/workspace/device-sdk-go/43/archives/cost.csv [2022-01-25T19:39:37.570Z] + cut -d, -f6 [Pipeline] lock [2022-01-25T19:39:37.655Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-43-stack-cost] [2022-01-25T19:39:37.660Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-43-stack-cost] did not exist. Created. [2022-01-25T19:39:37.660Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-25T19:39:38.345Z] /w/workspace/device-sdk-go/43@tmp/durable-652bf8f3/script.sh: 1: /w/workspace/device-sdk-go/43@tmp/durable-652bf8f3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-25T19:39:38.744Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-25T19:39:39.036Z] Warning: overwriting stash ‘stack-cost’ [2022-01-25T19:39:39.091Z] Stashed 1 file(s) [Pipeline] } [2022-01-25T19:39:39.100Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-25T19:39:39.127Z] $ docker stop --time=1 3b714be9a6088c5bf6ac58916a070ee129bc83e3ed07db39c78bd7d3b00dc49f [2022-01-25T19:39:40.625Z] $ docker rm -f 3b714be9a6088c5bf6ac58916a070ee129bc83e3ed07db39c78bd7d3b00dc49f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-25T19:39:41.010Z] provisioning config files... [2022-01-25T19:39:41.018Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4609264548867387775tmp [Pipeline] { [Pipeline] sh [2022-01-25T19:39:41.317Z] + set +x [2022-01-25T19:39:41.317Z] + curl -s https://codecov.io/bash [2022-01-25T19:39:41.317Z] + bash -s -- [2022-01-25T19:39:41.317Z] [2022-01-25T19:39:41.317Z] _____ _ [2022-01-25T19:39:41.317Z] / ____| | | [2022-01-25T19:39:41.317Z] | | ___ __| | ___ ___ _____ __ [2022-01-25T19:39:41.317Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-25T19:39:41.317Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-25T19:39:41.317Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-25T19:39:41.317Z] Bash-1.0.6 [2022-01-25T19:39:41.317Z] [2022-01-25T19:39:41.317Z] [2022-01-25T19:39:41.317Z] ==> git version 2.24.4 found [2022-01-25T19:39:41.317Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-25T19:39:41.317Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-25T19:39:41.317Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-25T19:39:41.317Z] ==> Jenkins CI detected. [2022-01-25T19:39:41.317Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:39:41.317Z] project root: . [2022-01-25T19:39:41.317Z] --> token set from env [2022-01-25T19:39:41.318Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-25T19:39:41.318Z] ==> Running gcov in . (disable via -X gcov) [2022-01-25T19:39:41.318Z] ==> Python coveragepy not found [2022-01-25T19:39:41.318Z] ==> Searching for coverage reports in: [2022-01-25T19:39:41.318Z] + . [2022-01-25T19:39:41.579Z] -> Found 1 reports [2022-01-25T19:39:41.579Z] ==> Detecting git/mercurial file structure [2022-01-25T19:39:41.579Z] ==> Reading reports [2022-01-25T19:39:41.579Z] + ./coverage.out bytes=128608 [2022-01-25T19:39:41.579Z] ==> Appending adjustments [2022-01-25T19:39:41.579Z] https://docs.codecov.io/docs/fixing-reports [2022-01-25T19:39:41.843Z] + Found adjustments [2022-01-25T19:39:41.843Z] ==> Gzipping contents [2022-01-25T19:39:41.843Z] 16K /tmp/codecov.K4dbo8.gz [2022-01-25T19:39:41.843Z] ==> Uploading reports [2022-01-25T19:39:41.843Z] url: https://codecov.io [2022-01-25T19:39:41.843Z] query: branch=main&commit=b151e3fa1f534c4874e5dba284e716825967557e&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-25T19:39:41.843Z] -> Pinging Codecov [2022-01-25T19:39:41.843Z] 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=b151e3fa1f534c4874e5dba284e716825967557e&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-25T19:39:42.104Z] -> Uploading to [2022-01-25T19:39:42.104Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-25/7E55EF52A471D76F132DFD9A03CDDE97/b151e3fa1f534c4874e5dba284e716825967557e/f83a23c2-9315-4b0a-8360-f894d4eb0086.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220125T193941Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b73a04a07be53585e4088be7a50295f69cf117f85b82b6dc4437ba4709ecbc7 [2022-01-25T19:39:42.104Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T19:39:42.104Z] Dload Upload Total Spent Left Speed [2022-01-25T19:39:42.364Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16080 0 0 100 16080 0 51811 --:--:-- --:--:-- --:--:-- 51870 [2022-01-25T19:39:42.364Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b151e3fa1f534c4874e5dba284e716825967557e [Pipeline] } [2022-01-25T19:39:42.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-25T19:39:42.508Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-25T19:39:42.524Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:39:42.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-25T19:39:42.835Z] [2022-01-25T19:39:42.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:39:43.145Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-25T19:39:43.145Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-25T19:39:43.145Z] 188c0c94c7c5: Pulling fs layer [2022-01-25T19:39:43.145Z] 0ef7d3d256c8: Pulling fs layer [2022-01-25T19:39:43.145Z] de9db76c5a1d: Pulling fs layer [2022-01-25T19:39:43.145Z] 0eba1c9be4d2: Pulling fs layer [2022-01-25T19:39:43.145Z] 0d57e429df01: Pulling fs layer [2022-01-25T19:39:43.145Z] 4e4be7b47b0d: Pulling fs layer [2022-01-25T19:39:43.145Z] e1f770b5df2f: Pulling fs layer [2022-01-25T19:39:43.145Z] 85a0685a4137: Pulling fs layer [2022-01-25T19:39:43.145Z] 0eba1c9be4d2: Waiting [2022-01-25T19:39:43.145Z] e1f770b5df2f: Waiting [2022-01-25T19:39:43.145Z] 0d57e429df01: Waiting [2022-01-25T19:39:43.145Z] 85a0685a4137: Waiting [2022-01-25T19:39:43.145Z] 4e4be7b47b0d: Waiting [2022-01-25T19:39:43.145Z] de9db76c5a1d: Verifying Checksum [2022-01-25T19:39:43.145Z] de9db76c5a1d: Download complete [2022-01-25T19:39:43.145Z] 0ef7d3d256c8: Verifying Checksum [2022-01-25T19:39:43.145Z] 0ef7d3d256c8: Download complete [2022-01-25T19:39:43.145Z] 0d57e429df01: Verifying Checksum [2022-01-25T19:39:43.145Z] 0d57e429df01: Download complete [2022-01-25T19:39:43.145Z] 188c0c94c7c5: Verifying Checksum [2022-01-25T19:39:43.145Z] 188c0c94c7c5: Download complete [2022-01-25T19:39:43.145Z] 4e4be7b47b0d: Verifying Checksum [2022-01-25T19:39:43.145Z] 4e4be7b47b0d: Download complete [2022-01-25T19:39:43.422Z] e1f770b5df2f: Verifying Checksum [2022-01-25T19:39:43.422Z] e1f770b5df2f: Download complete [2022-01-25T19:39:43.422Z] 188c0c94c7c5: Pull complete [2022-01-25T19:39:43.706Z] 0ef7d3d256c8: Pull complete [2022-01-25T19:39:43.975Z] de9db76c5a1d: Pull complete [2022-01-25T19:39:43.975Z] 0eba1c9be4d2: Verifying Checksum [2022-01-25T19:39:43.975Z] 0eba1c9be4d2: Download complete [2022-01-25T19:39:43.975Z] 85a0685a4137: Verifying Checksum [2022-01-25T19:39:43.975Z] 85a0685a4137: Download complete [2022-01-25T19:39:49.323Z] 0eba1c9be4d2: Pull complete [2022-01-25T19:39:49.323Z] 0d57e429df01: Pull complete [2022-01-25T19:39:49.323Z] 4e4be7b47b0d: Pull complete [2022-01-25T19:39:49.323Z] e1f770b5df2f: Pull complete [2022-01-25T19:39:53.578Z] 85a0685a4137: Pull complete [2022-01-25T19:39:53.578Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-25T19:39:53.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-25T19:39:53.578Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-25T19:39:53.654Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:39:53.703Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-25T19:39:55.947Z] $ docker top 4396acac3bc6938e36822dc3885f781904f1f049187b1ed30a1b67ba4b31554c -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-25T19:39:56.023Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-25T19:39:56.318Z] + set -o pipefail [2022-01-25T19:39:56.318Z] + snyk monitor '--org=edgex-jenkins' [2022-01-25T19:40:11.275Z] [2022-01-25T19:40:11.275Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-01-25T19:40:11.275Z] [2022-01-25T19:40:11.275Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/7c51aa87-2486-42a2-a63d-a0fb7c47fb0a [2022-01-25T19:40:11.275Z] [2022-01-25T19:40:11.275Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-25T19:40:11.275Z] [2022-01-25T19:40:11.275Z] [Pipeline] } [2022-01-25T19:40:11.287Z] $ docker stop --time=1 4396acac3bc6938e36822dc3885f781904f1f049187b1ed30a1b67ba4b31554c [2022-01-25T19:40:13.087Z] $ docker rm -f 4396acac3bc6938e36822dc3885f781904f1f049187b1ed30a1b67ba4b31554c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-01-25T19:40:13.542Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:40:13.558Z] provisioning config files... [2022-01-25T19:40:13.568Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6229127942722840451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:13.869Z] --> edgex-publish-swagger.sh [2022-01-25T19:40:13.869Z] === Publish openapi/v2 API === [2022-01-25T19:40:13.869Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-01-25T19:40:13.869Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-01-25T19:40:13.869Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T19:40:13.869Z] Dload Upload Total Spent Left Speed [2022-01-25T19:40:14.815Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 58667 --:--:-- --:--:-- --:--:-- 58636 100 51659 0 0 100 51659 0 58654 --:--:-- --:--:-- --:--:-- 58636 [2022-01-25T19:40:14.815Z] [2022-01-25T19:40:14.815Z] [Pipeline] } [2022-01-25T19:40:14.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-25T19:40:15.226Z] + git log --format=format:%s -1 b151e3fa1f534c4874e5dba284e716825967557e [Pipeline] sh [2022-01-25T19:40:15.522Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T19:40:15.523Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:40:15.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:40:15.829Z] . [Pipeline] withDockerContainer [2022-01-25T19:40:15.892Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:40:15.926Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-25T19:40:16.274Z] $ docker top e339becc4e3725c9de4a5f0078520a3b8285a30c513ac3f10f9acd4854444fe9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T19:40:16.365Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:40:16.365Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:40:16.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:40:16.473Z] $ docker exec e339becc4e3725c9de4a5f0078520a3b8285a30c513ac3f10f9acd4854444fe9 ssh-agent [2022-01-25T19:40:16.577Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNhMemN/agent.14 [2022-01-25T19:40:16.577Z] SSH_AGENT_PID=20 [2022-01-25T19:40:16.582Z] Running ssh-add (command line suppressed) [2022-01-25T19:40:16.689Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1475061674695310584.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1475061674695310584.key) [2022-01-25T19:40:16.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:40:17.010Z] + git semver tag [2022-01-25T19:40:17.010Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T19:40:17.010Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-25T19:40:17.010Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:40:17.010Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T19:40:17.010Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T19:40:17.010Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T19:40:17.010Z] # $SEMVER_BRANCH = main [2022-01-25T19:40:17.010Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-25T19:40:17.010Z] # b151e3fa1f534c4874e5dba284e716825967557e HEAD [2022-01-25T19:40:17.010Z] # -> Force: false [2022-01-25T19:40:17.010Z] # 0f6612de52fc78db7b5e3236150e63be8f787948 refs/tags/v2.2.0-dev.10 [Pipeline] } [2022-01-25T19:40:17.021Z] $ docker exec --env ******** --env ******** e339becc4e3725c9de4a5f0078520a3b8285a30c513ac3f10f9acd4854444fe9 ssh-agent -k [2022-01-25T19:40:17.114Z] unset SSH_AUTH_SOCK; [2022-01-25T19:40:17.115Z] unset SSH_AGENT_PID; [2022-01-25T19:40:17.115Z] echo Agent pid 20 killed; [2022-01-25T19:40:17.125Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T19:40:17.449Z] + git semver [Pipeline] } [2022-01-25T19:40:17.463Z] $ docker stop --time=1 e339becc4e3725c9de4a5f0078520a3b8285a30c513ac3f10f9acd4854444fe9 [2022-01-25T19:40:18.672Z] $ docker rm -f e339becc4e3725c9de4a5f0078520a3b8285a30c513ac3f10f9acd4854444fe9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:40:19.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-25T19:40:19.057Z] [2022-01-25T19:40:19.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:40:19.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-25T19:40:19.362Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-25T19:40:19.362Z] ab5ef0e58194: Pulling fs layer [2022-01-25T19:40:19.362Z] 9712f1f96733: Pulling fs layer [2022-01-25T19:40:19.362Z] 63f879dbbcfc: Pulling fs layer [2022-01-25T19:40:19.362Z] 0d9ebad4ef96: Pulling fs layer [2022-01-25T19:40:19.362Z] e9a5061849ea: Pulling fs layer [2022-01-25T19:40:19.362Z] d747dcd14b5f: Pulling fs layer [2022-01-25T19:40:19.362Z] 2de7ff778b66: Pulling fs layer [2022-01-25T19:40:19.362Z] e9a5061849ea: Waiting [2022-01-25T19:40:19.362Z] d747dcd14b5f: Waiting [2022-01-25T19:40:19.362Z] 2de7ff778b66: Waiting [2022-01-25T19:40:19.362Z] 0d9ebad4ef96: Waiting [2022-01-25T19:40:19.362Z] 9712f1f96733: Verifying Checksum [2022-01-25T19:40:19.362Z] 9712f1f96733: Download complete [2022-01-25T19:40:19.945Z] 63f879dbbcfc: Verifying Checksum [2022-01-25T19:40:19.945Z] 63f879dbbcfc: Download complete [2022-01-25T19:40:19.945Z] ab5ef0e58194: Verifying Checksum [2022-01-25T19:40:19.945Z] ab5ef0e58194: Download complete [2022-01-25T19:40:19.945Z] d747dcd14b5f: Verifying Checksum [2022-01-25T19:40:19.945Z] d747dcd14b5f: Download complete [2022-01-25T19:40:19.945Z] e9a5061849ea: Verifying Checksum [2022-01-25T19:40:19.945Z] e9a5061849ea: Download complete [2022-01-25T19:40:19.945Z] 0d9ebad4ef96: Verifying Checksum [2022-01-25T19:40:19.945Z] 0d9ebad4ef96: Download complete [2022-01-25T19:40:20.218Z] 2de7ff778b66: Verifying Checksum [2022-01-25T19:40:20.218Z] 2de7ff778b66: Download complete [2022-01-25T19:40:22.813Z] ab5ef0e58194: Pull complete [2022-01-25T19:40:22.813Z] 9712f1f96733: Pull complete [2022-01-25T19:40:23.755Z] 63f879dbbcfc: Pull complete [2022-01-25T19:40:28.000Z] 0d9ebad4ef96: Pull complete [2022-01-25T19:40:28.262Z] e9a5061849ea: Pull complete [2022-01-25T19:40:28.262Z] d747dcd14b5f: Pull complete [2022-01-25T19:40:29.663Z] 2de7ff778b66: Pull complete [2022-01-25T19:40:29.663Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-25T19:40:29.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-25T19:40:29.663Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-25T19:40:29.732Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:40:29.765Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-25T19:40:33.007Z] $ docker top 4bbf61f9144b7fd83121d1d2ed1021153fca98e505f0421d5bf875428c056d3c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:40:33.092Z] provisioning config files... [2022-01-25T19:40:33.102Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5548800347039713768tmp [2022-01-25T19:40:33.112Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6813329464133224829tmp [2022-01-25T19:40:33.122Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8452527784490554307tmp [Pipeline] { [Pipeline] echo [2022-01-25T19:40:33.135Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:33.423Z] ---> sigul-configuration.sh [2022-01-25T19:40:33.423Z] gpg: directory `/root/.gnupg' created [2022-01-25T19:40:33.423Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-25T19:40:33.423Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-25T19:40:33.423Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-25T19:40:33.423Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-25T19:40:33.423Z] gpg: CAST5 encrypted data [2022-01-25T19:40:33.423Z] gpg: encrypted with 1 passphrase [2022-01-25T19:40:33.423Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-25T19:40:33.715Z] + mkdir /home/jenkins [2022-01-25T19:40:33.715Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-25T19:40:34.010Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-01-25T19:40:34.023Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:34.314Z] ---> sigul-install.sh [2022-01-25T19:40:34.314Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-25T19:40:34.612Z] + git tag --list [2022-01-25T19:40:34.612Z] 0.7.1 [2022-01-25T19:40:34.612Z] delhi-tag [2022-01-25T19:40:34.612Z] v1.0.0 [2022-01-25T19:40:34.612Z] v1.1.0 [2022-01-25T19:40:34.612Z] v1.1.1 [2022-01-25T19:40:34.612Z] v1.1.2 [2022-01-25T19:40:34.612Z] v1.2.0 [2022-01-25T19:40:34.612Z] v1.2.1 [2022-01-25T19:40:34.612Z] v1.2.2 [2022-01-25T19:40:34.612Z] v1.2.3 [2022-01-25T19:40:34.612Z] v1.3.0 [2022-01-25T19:40:34.612Z] v1.4.0 [2022-01-25T19:40:34.612Z] v2.0.0 [2022-01-25T19:40:34.612Z] v2.0.1-dev.1 [2022-01-25T19:40:34.612Z] v2.0.1-dev.10 [2022-01-25T19:40:34.612Z] v2.0.1-dev.11 [2022-01-25T19:40:34.612Z] v2.0.1-dev.12 [2022-01-25T19:40:34.612Z] v2.0.1-dev.13 [2022-01-25T19:40:34.612Z] v2.0.1-dev.14 [2022-01-25T19:40:34.612Z] v2.0.1-dev.15 [2022-01-25T19:40:34.612Z] v2.0.1-dev.16 [2022-01-25T19:40:34.612Z] v2.0.1-dev.17 [2022-01-25T19:40:34.612Z] v2.0.1-dev.18 [2022-01-25T19:40:34.612Z] v2.0.1-dev.19 [2022-01-25T19:40:34.612Z] v2.0.1-dev.2 [2022-01-25T19:40:34.612Z] v2.0.1-dev.20 [2022-01-25T19:40:34.612Z] v2.0.1-dev.21 [2022-01-25T19:40:34.612Z] v2.0.1-dev.22 [2022-01-25T19:40:34.612Z] v2.0.1-dev.23 [2022-01-25T19:40:34.612Z] v2.0.1-dev.24 [2022-01-25T19:40:34.612Z] v2.0.1-dev.25 [2022-01-25T19:40:34.612Z] v2.0.1-dev.26 [2022-01-25T19:40:34.612Z] v2.0.1-dev.27 [2022-01-25T19:40:34.612Z] v2.0.1-dev.28 [2022-01-25T19:40:34.612Z] v2.0.1-dev.29 [2022-01-25T19:40:34.612Z] v2.0.1-dev.3 [2022-01-25T19:40:34.612Z] v2.0.1-dev.30 [2022-01-25T19:40:34.612Z] v2.0.1-dev.31 [2022-01-25T19:40:34.612Z] v2.0.1-dev.32 [2022-01-25T19:40:34.612Z] v2.0.1-dev.33 [2022-01-25T19:40:34.612Z] v2.0.1-dev.4 [2022-01-25T19:40:34.612Z] v2.0.1-dev.5 [2022-01-25T19:40:34.612Z] v2.0.1-dev.6 [2022-01-25T19:40:34.612Z] v2.0.1-dev.7 [2022-01-25T19:40:34.612Z] v2.0.1-dev.8 [2022-01-25T19:40:34.612Z] v2.0.1-dev.9 [2022-01-25T19:40:34.612Z] v2.1.0 [2022-01-25T19:40:34.612Z] v2.1.1-dev.1 [2022-01-25T19:40:34.612Z] v2.2.0-dev.1 [2022-01-25T19:40:34.612Z] v2.2.0-dev.10 [2022-01-25T19:40:34.612Z] v2.2.0-dev.2 [2022-01-25T19:40:34.612Z] v2.2.0-dev.3 [2022-01-25T19:40:34.612Z] v2.2.0-dev.4 [2022-01-25T19:40:34.612Z] v2.2.0-dev.5 [2022-01-25T19:40:34.612Z] v2.2.0-dev.6 [2022-01-25T19:40:34.612Z] v2.2.0-dev.7 [2022-01-25T19:40:34.612Z] v2.2.0-dev.8 [2022-01-25T19:40:34.612Z] v2.2.0-dev.9 [Pipeline] sh [2022-01-25T19:40:34.904Z] + lftools sign git-tag v2.2.0-dev.10 [2022-01-25T19:40:35.476Z] Signing Git tag with Sigul... [2022-01-25T19:40:35.476Z] Signing v2.2.0-dev.10 [Pipeline] echo [2022-01-25T19:40:35.749Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:36.047Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-25T19:40:36.055Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-25T19:40:36.075Z] $ docker stop --time=1 4bbf61f9144b7fd83121d1d2ed1021153fca98e505f0421d5bf875428c056d3c [2022-01-25T19:40:37.289Z] $ docker rm -f 4bbf61f9144b7fd83121d1d2ed1021153fca98e505f0421d5bf875428c056d3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-25T19:40:37.701Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T19:40:37.701Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:40:37.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:40:37.999Z] . [Pipeline] withDockerContainer [2022-01-25T19:40:38.070Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:40:38.109Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-25T19:40:38.504Z] $ docker top 53d4b2a956c258044d21c74e7eb80a57f8796f8b80f677665e0cc86e4e63b473 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T19:40:38.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:40:38.595Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:40:38.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:40:38.720Z] $ docker exec 53d4b2a956c258044d21c74e7eb80a57f8796f8b80f677665e0cc86e4e63b473 ssh-agent [2022-01-25T19:40:38.817Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpfBKdB/agent.15 [2022-01-25T19:40:38.817Z] SSH_AGENT_PID=21 [2022-01-25T19:40:38.823Z] Running ssh-add (command line suppressed) [2022-01-25T19:40:38.911Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7443023984523853708.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7443023984523853708.key) [2022-01-25T19:40:38.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:40:39.224Z] + git semver bump pre [2022-01-25T19:40:39.224Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T19:40:39.224Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-25T19:40:39.224Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:40:39.224Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T19:40:39.224Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T19:40:39.224Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T19:40:39.224Z] # $SEMVER_BRANCH = main [2022-01-25T19:40:39.224Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-25T19:40:39.224Z] 2.2.0-dev.11 [Pipeline] } [2022-01-25T19:40:39.233Z] $ docker exec --env ******** --env ******** 53d4b2a956c258044d21c74e7eb80a57f8796f8b80f677665e0cc86e4e63b473 ssh-agent -k [2022-01-25T19:40:39.333Z] unset SSH_AUTH_SOCK; [2022-01-25T19:40:39.333Z] unset SSH_AGENT_PID; [2022-01-25T19:40:39.333Z] echo Agent pid 21 killed; [2022-01-25T19:40:39.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T19:40:39.646Z] + git semver [Pipeline] } [2022-01-25T19:40:39.659Z] $ docker stop --time=1 53d4b2a956c258044d21c74e7eb80a57f8796f8b80f677665e0cc86e4e63b473 [2022-01-25T19:40:40.840Z] $ docker rm -f 53d4b2a956c258044d21c74e7eb80a57f8796f8b80f677665e0cc86e4e63b473 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:40:41.185Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T19:40:41.185Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:40:41.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:40:41.480Z] . [Pipeline] withDockerContainer [2022-01-25T19:40:41.542Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:40:41.573Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-25T19:40:41.971Z] $ docker top fadca3856bcdc46058860b343094f958c5bd05cbf0e5acfd7b7dc43fbd2d69c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T19:40:42.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:40:42.064Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:40:42.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:40:42.178Z] $ docker exec fadca3856bcdc46058860b343094f958c5bd05cbf0e5acfd7b7dc43fbd2d69c3 ssh-agent [2022-01-25T19:40:42.283Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIcHCCn/agent.14 [2022-01-25T19:40:42.283Z] SSH_AGENT_PID=21 [2022-01-25T19:40:42.289Z] Running ssh-add (command line suppressed) [2022-01-25T19:40:42.393Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9094314353222167458.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9094314353222167458.key) [2022-01-25T19:40:42.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:40:42.697Z] + git semver push [2022-01-25T19:40:42.697Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T19:40:42.697Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-25T19:40:42.697Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:40:42.697Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T19:40:42.697Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T19:40:42.697Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T19:40:42.697Z] # $SEMVER_BRANCH = main [2022-01-25T19:40:42.697Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-25T19:40:45.259Z] $ docker exec --env ******** --env ******** fadca3856bcdc46058860b343094f958c5bd05cbf0e5acfd7b7dc43fbd2d69c3 ssh-agent -k [2022-01-25T19:40:45.359Z] unset SSH_AUTH_SOCK; [2022-01-25T19:40:45.359Z] unset SSH_AGENT_PID; [2022-01-25T19:40:45.359Z] echo Agent pid 21 killed; [2022-01-25T19:40:45.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T19:40:45.687Z] + git semver [Pipeline] } [2022-01-25T19:40:45.702Z] $ docker stop --time=1 fadca3856bcdc46058860b343094f958c5bd05cbf0e5acfd7b7dc43fbd2d69c3 [2022-01-25T19:40:46.907Z] $ docker rm -f fadca3856bcdc46058860b343094f958c5bd05cbf0e5acfd7b7dc43fbd2d69c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-25T19:40:47.724Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [2022-01-25T19:40:47.724Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-25T19:40:47.724Z] total 8 [2022-01-25T19:40:47.724Z] drwxr-xr-x. 3 root root 34 Jan 25 19:33 . [2022-01-25T19:40:47.724Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 25 19:40 .. [2022-01-25T19:40:47.724Z] drwxr-xr-x. 2 root root 6 Jan 25 19:33 cost [2022-01-25T19:40:47.724Z] -rw-r--r--. 1 root root 83 Jan 25 19:33 cost.csv [2022-01-25T19:40:47.724Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-25T19:40:47.724Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-25T19:40:47.724Z] total 8 [2022-01-25T19:40:47.724Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 25 19:33 . [2022-01-25T19:40:47.724Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 25 19:40 .. [2022-01-25T19:40:47.724Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 25 19:33 cost [2022-01-25T19:40:47.724Z] -rw-r--r--. 1 jenkins jenkins 83 Jan 25 19:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:48.074Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:48.635Z] ---> package-listing.sh [2022-01-25T19:40:48.635Z] ++ facter osfamily [2022-01-25T19:40:48.635Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-25T19:40:48.899Z] + OS_FAMILY=redhat [2022-01-25T19:40:48.899Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:40:48.899Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-25T19:40:48.899Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-25T19:40:48.899Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-25T19:40:48.899Z] + PACKAGES=/tmp/packages_start.txt [2022-01-25T19:40:48.899Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-25T19:40:48.899Z] + PACKAGES=/tmp/packages_end.txt [2022-01-25T19:40:48.899Z] + case "${OS_FAMILY}" in [2022-01-25T19:40:48.899Z] + sort [2022-01-25T19:40:48.899Z] + rpm -qa [2022-01-25T19:40:49.469Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-25T19:40:49.469Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-25T19:40:49.469Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-25T19:40:49.469Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-25T19:40:49.469Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-01-25T19:40:49.469Z] + 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-01-25T19:40:49.482Z] 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-01-25T19:40:49.775Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:40:50.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:40:50.343Z] . [Pipeline] withDockerContainer [2022-01-25T19:40:50.415Z] prd-centos7-docker-4c-2g-3874 does not seem to be running inside a container [2022-01-25T19:40:50.450Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-25T19:40:50.678Z] $ docker top 58b5ab58d38ee4a20dddd342bde9b601eab4a9db570cffc36410a249a0a7010a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T19:40:51.040Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-25T19:40:51.330Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-25T19:40:51.622Z] + ls /var/log/sa-host [2022-01-25T19:40:51.622Z] + sadf -c /var/log/sa-host/sa17 [2022-01-25T19:40:51.622Z] file_magic: OK [2022-01-25T19:40:51.622Z] HZ: Using current value: 100 [2022-01-25T19:40:51.622Z] file_header: OK [2022-01-25T19:40:51.622Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-25T19:40:51.622Z] Statistics: [2022-01-25T19:40:51.622Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-25T19:40:51.622Z] File successfully converted to sysstat format version 12.0.3 [2022-01-25T19:40:51.622Z] + sadf -c /var/log/sa-host/sa25 [2022-01-25T19:40:51.622Z] file_magic: OK [2022-01-25T19:40:51.622Z] HZ: Using current value: 100 [2022-01-25T19:40:51.622Z] file_header: OK [2022-01-25T19:40:51.622Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-25T19:40:51.622Z] Statistics: [2022-01-25T19:40:51.622Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-25T19:40:51.622Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:40:51.708Z] provisioning config files... [2022-01-25T19:40:51.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11444070213436564tmp [Pipeline] { [Pipeline] echo [2022-01-25T19:40:51.733Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:52.020Z] ---> create-netrc.sh [Pipeline] } [2022-01-25T19:40:52.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:52.359Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-25T19:40:52.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:52.656Z] ---> sudo-logs.sh [2022-01-25T19:40:52.656Z] Archiving 'sudo' log.. [2022-01-25T19:40:52.656Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3874.novalocal: Name or service not known [2022-01-25T19:40:52.656Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3874.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-25T19:40:52.680Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:52.982Z] ---> job-cost.sh [2022-01-25T19:40:52.982Z] lf-activate-venv: SKIPPING [2022-01-25T19:40:52.982Z] DEBUG: total: 0.05999999865889549 [2022-01-25T19:40:52.982Z] INFO: Retrieving Stack Cost... [2022-01-25T19:40:53.245Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-25T19:40:53.505Z] INFO: Archiving Costs [Pipeline] echo [2022-01-25T19:40:53.518Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:40:53.808Z] ---> logs-deploy.sh [2022-01-25T19:40:53.808Z] lf-activate-venv: SKIPPING [2022-01-25T19:40:53.808Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/43 [2022-01-25T19:40:53.808Z] INFO: archiving workspace using pattern(s): [2022-01-25T19:40:54.379Z] Archives upload complete. [2022-01-25T19:40:54.640Z] INFO: archiving logs to Nexus