Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6af4e576f47094812ab8d15923474e64032289f8 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-ssh5904937438394453429.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh763850017233792926.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/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-ssh635782233993828620.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9906695582715672199.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-ssh6298470474985810954.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1327 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-ssh3068086349206858870.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 6af4e576f47094812ab8d15923474e64032289f8 (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 6af4e576f47094812ab8d15923474e64032289f8 # timeout=10 Commit message: "Merge pull request #1081 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.4" > git rev-list --no-walk df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-12T05:11:19.591Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-12T05:11:19.643Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-12T05:11:19.663Z] ========================================================= [2022-01-12T05:11:19.663Z] EdgeX Global Pipelines Version Info [2022-01-12T05:11:19.663Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:11:20.822Z] ------------------- [2022-01-12T05:11:20.822Z] stable info: [2022-01-12T05:11:20.822Z] ------------------- [2022-01-12T05:11:20.822Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-12T05:11:20.822Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T05:11:20.822Z] Message: update stable to v1.0.218 [2022-01-12T05:11:21.394Z] ------------------- [2022-01-12T05:11:21.394Z] experimental info: [2022-01-12T05:11:21.394Z] ------------------- [2022-01-12T05:11:21.394Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-12T05:11:21.394Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T05:11:21.394Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-12T05:11:21.539Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-12T05:11:21.549Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-12T05:11:21.558Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-12T05:11:21.568Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-12T05:11:21.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-12T05:11:21.586Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-12T05:11:21.595Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-12T05:11:21.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-12T05:11:21.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-12T05:11:21.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-12T05:11:21.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-12T05:11:21.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-12T05:11:21.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-12T05:11:21.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-12T05:11:21.688Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-12T05:11:21.706Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T05:11:21.723Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T05:11:21.741Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T05:11:21.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-12T05:11:21.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-12T05:11:21.783Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-12T05:11:21.797Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-12T05:11:21.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-12T05:11:21.822Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-12T05:11:21.836Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-12T05:11:21.853Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-12T05:11:21.864Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-12T05:11:21.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-12T05:11:21.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-12T05:11:21.903Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6af4e576f47094812ab8d15923474e64032289f8 [Pipeline] echo [2022-01-12T05:11:21.921Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6af4e57 [Pipeline] echo [2022-01-12T05:11:21.938Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T05:11:21.982Z] provisioning config files... [2022-01-12T05:11:21.996Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6463944548601372520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:11:22.296Z] ---> docker-login.sh [2022-01-12T05:11:22.297Z] nexus3.edgexfoundry.org:10001 [2022-01-12T05:11:22.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:22.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:22.557Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:22.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:22.557Z] [2022-01-12T05:11:22.557Z] Login Succeeded [2022-01-12T05:11:22.557Z] nexus3.edgexfoundry.org:10002 [2022-01-12T05:11:22.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:22.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:22.557Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:22.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:22.557Z] [2022-01-12T05:11:22.557Z] Login Succeeded [2022-01-12T05:11:22.557Z] nexus3.edgexfoundry.org:10003 [2022-01-12T05:11:22.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:22.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:22.817Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:22.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:22.817Z] [2022-01-12T05:11:22.817Z] Login Succeeded [2022-01-12T05:11:22.817Z] nexus3.edgexfoundry.org:10004 [2022-01-12T05:11:22.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:22.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:22.817Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:22.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:22.817Z] [2022-01-12T05:11:22.817Z] Login Succeeded [2022-01-12T05:11:22.817Z] docker.io [2022-01-12T05:11:22.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:23.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:23.391Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:23.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:23.391Z] [2022-01-12T05:11:23.391Z] Login Succeeded [2022-01-12T05:11:23.391Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T05:11:23.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-12T05:11:23.757Z] + git rev-list -1 --merges 6af4e576f47094812ab8d15923474e64032289f8~1..6af4e576f47094812ab8d15923474e64032289f8 [Pipeline] echo [2022-01-12T05:11:23.779Z] -----------> git rev-list -1 --merges 6af4e576f47094812ab8d15923474e64032289f8~1..6af4e576f47094812ab8d15923474e64032289f8 6af4e576f47094812ab8d15923474e64032289f8 [2022-01-12T05:11:23.779Z] 6af4e576f47094812ab8d15923474e64032289f8 [false] [Pipeline] sh [2022-01-12T05:11:24.073Z] + git log --format=format:%s -1 6af4e576f47094812ab8d15923474e64032289f8 [Pipeline] echo [2022-01-12T05:11:24.088Z] ========================================================= [2022-01-12T05:11:24.088Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-12T05:11:24.088Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T05:11:24.436Z] + git log --format=format:%s -1 6af4e576f47094812ab8d15923474e64032289f8 [Pipeline] echo [2022-01-12T05:11:24.446Z] [semverPrep] GIT_COMMIT: 6af4e576f47094812ab8d15923474e64032289f8, Commit Message: Merge pull request #1081 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.4 [Pipeline] echo [2022-01-12T05:11:24.458Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-12T05:11:24.913Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T05:11:24.913Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-12T05:11:24.913Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-12T05:11:24.913Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-12T05:11:24.913Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-12T05:11:24.913Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-12T05:11:24.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:11:25.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T05:11:25.336Z] [2022-01-12T05:11:25.336Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:11:25.648Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T05:11:25.648Z] latest: Pulling from edgex-devops/git-semver [2022-01-12T05:11:25.648Z] a0d0a0d46f8b: Pulling fs layer [2022-01-12T05:11:25.648Z] 3e5f54012d9b: Pulling fs layer [2022-01-12T05:11:25.648Z] 4c7163046ea9: Pulling fs layer [2022-01-12T05:11:25.648Z] 0c2d73faf560: Pulling fs layer [2022-01-12T05:11:25.648Z] 0c2d73faf560: Waiting [2022-01-12T05:11:25.648Z] 3e5f54012d9b: Verifying Checksum [2022-01-12T05:11:25.648Z] 3e5f54012d9b: Download complete [2022-01-12T05:11:25.648Z] a0d0a0d46f8b: Verifying Checksum [2022-01-12T05:11:25.648Z] a0d0a0d46f8b: Download complete [2022-01-12T05:11:25.648Z] 0c2d73faf560: Verifying Checksum [2022-01-12T05:11:25.648Z] 0c2d73faf560: Download complete [2022-01-12T05:11:25.648Z] 4c7163046ea9: Verifying Checksum [2022-01-12T05:11:25.648Z] 4c7163046ea9: Download complete [2022-01-12T05:11:25.923Z] a0d0a0d46f8b: Pull complete [2022-01-12T05:11:25.923Z] 3e5f54012d9b: Pull complete [2022-01-12T05:11:26.193Z] 4c7163046ea9: Pull complete [2022-01-12T05:11:26.460Z] 0c2d73faf560: Pull complete [2022-01-12T05:11:26.460Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-12T05:11:26.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T05:11:26.460Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-12T05:11:26.525Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:11:26.396Z] $ 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-12T05:11:27.108Z] $ docker top 1ef08356073c56bdf6c7486badd4ed33064bc1778c383e7df358cb6ea65951bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T05:11:27.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T05:11:27.321Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T05:11:27.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T05:11:27.318Z] $ docker exec 1ef08356073c56bdf6c7486badd4ed33064bc1778c383e7df358cb6ea65951bb ssh-agent [2022-01-12T05:11:27.513Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJhBiLB/agent.13 [2022-01-12T05:11:27.513Z] SSH_AGENT_PID=19 [2022-01-12T05:11:27.520Z] Running ssh-add (command line suppressed) [2022-01-12T05:11:27.512Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3346119340036928752.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3346119340036928752.key) [2022-01-12T05:11:27.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T05:11:27.910Z] + git tag --points-at HEAD [Pipeline] } [2022-01-12T05:11:27.871Z] $ docker exec --env ******** --env ******** 1ef08356073c56bdf6c7486badd4ed33064bc1778c383e7df358cb6ea65951bb ssh-agent -k [2022-01-12T05:11:27.959Z] unset SSH_AUTH_SOCK; [2022-01-12T05:11:27.959Z] unset SSH_AGENT_PID; [2022-01-12T05:11:27.959Z] echo Agent pid 19 killed; [2022-01-12T05:11:28.020Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-12T05:11:28.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T05:11:28.048Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T05:11:28.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T05:11:28.110Z] $ docker exec 1ef08356073c56bdf6c7486badd4ed33064bc1778c383e7df358cb6ea65951bb ssh-agent [2022-01-12T05:11:28.234Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnFfPbi/agent.52 [2022-01-12T05:11:28.234Z] SSH_AGENT_PID=58 [2022-01-12T05:11:28.240Z] Running ssh-add (command line suppressed) [2022-01-12T05:11:28.306Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2702526938459924419.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2702526938459924419.key) [2022-01-12T05:11:28.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T05:11:28.631Z] + git semver init [2022-01-12T05:11:28.631Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T05:11:28.631Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-12T05:11:28.631Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-12T05:11:28.631Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T05:11:28.631Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T05:11:28.631Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T05:11:28.631Z] # $SEMVER_BRANCH = main [2022-01-12T05:11:28.631Z] # $SEMVER_TEMP = /tmp/semver-472651434 [2022-01-12T05:11:28.631Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-12T05:11:29.574Z] # '/tmp/semver-472651434' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-01-12T05:11:29.574Z] # -> Force: false [2022-01-12T05:11:29.574Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-12T05:11:29.587Z] $ docker exec --env ******** --env ******** 1ef08356073c56bdf6c7486badd4ed33064bc1778c383e7df358cb6ea65951bb ssh-agent -k [2022-01-12T05:11:29.665Z] unset SSH_AUTH_SOCK; [2022-01-12T05:11:29.666Z] unset SSH_AGENT_PID; [2022-01-12T05:11:29.666Z] echo Agent pid 58 killed; [2022-01-12T05:11:29.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T05:11:29.981Z] + git semver [Pipeline] } [2022-01-12T05:11:29.996Z] $ docker stop --time=1 1ef08356073c56bdf6c7486badd4ed33064bc1778c383e7df358cb6ea65951bb [2022-01-12T05:11:31.252Z] $ docker rm -f 1ef08356073c56bdf6c7486badd4ed33064bc1778c383e7df358cb6ea65951bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T05:11:31.598Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-12T05:11:31.822Z] Stashed 1 file(s) [Pipeline] echo [2022-01-12T05:11:31.827Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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-12T05:11:31.999Z] provisioning config files... [2022-01-12T05:11:32.010Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7644498385022961570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:11:32.332Z] ---> docker-login.sh [2022-01-12T05:11:32.333Z] nexus3.edgexfoundry.org:10001 [2022-01-12T05:11:32.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:32.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:32.333Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:32.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:32.333Z] [2022-01-12T05:11:32.333Z] Login Succeeded [2022-01-12T05:11:32.333Z] nexus3.edgexfoundry.org:10002 [2022-01-12T05:11:32.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:32.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:32.333Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:32.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:32.333Z] [2022-01-12T05:11:32.333Z] Login Succeeded [2022-01-12T05:11:32.333Z] nexus3.edgexfoundry.org:10003 [2022-01-12T05:11:32.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:32.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:32.595Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:32.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:32.595Z] [2022-01-12T05:11:32.595Z] Login Succeeded [2022-01-12T05:11:32.595Z] nexus3.edgexfoundry.org:10004 [2022-01-12T05:11:32.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:32.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:32.595Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:32.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:32.595Z] [2022-01-12T05:11:32.595Z] Login Succeeded [2022-01-12T05:11:32.595Z] docker.io [2022-01-12T05:11:32.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:11:33.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:11:33.167Z] Configure a credential helper to remove this warning. See [2022-01-12T05:11:33.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:11:33.167Z] [2022-01-12T05:11:33.167Z] Login Succeeded [2022-01-12T05:11:33.167Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T05:11:33.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-12T05:11:33.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T05:11:33.252Z] ========================================================= [2022-01-12T05:11:33.252Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-12T05:11:33.252Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:11:33.564Z] + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-12T05:11:33.564Z] Sending build context to Docker daemon 9.323MB [2022-01-12T05:11:33.564Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T05:11:33.564Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-12T05:11:33.564Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-12T05:11:33.564Z] a0d0a0d46f8b: Already exists [2022-01-12T05:11:33.564Z] 31adcdaf11c8: Pulling fs layer [2022-01-12T05:11:33.564Z] b8b176561691: Pulling fs layer [2022-01-12T05:11:33.564Z] 4527c011a84f: Pulling fs layer [2022-01-12T05:11:33.564Z] 5d74067f8e1e: Pulling fs layer [2022-01-12T05:11:33.564Z] e0aca202a116: Pulling fs layer [2022-01-12T05:11:33.564Z] 3a43be97a3b4: Pulling fs layer [2022-01-12T05:11:33.564Z] 34cad66bf833: Pulling fs layer [2022-01-12T05:11:33.564Z] b4e3c513aaa6: Pulling fs layer [2022-01-12T05:11:33.564Z] 5d74067f8e1e: Waiting [2022-01-12T05:11:33.564Z] e0aca202a116: Waiting [2022-01-12T05:11:33.564Z] 3a43be97a3b4: Waiting [2022-01-12T05:11:33.564Z] 34cad66bf833: Waiting [2022-01-12T05:11:33.564Z] b4e3c513aaa6: Waiting [2022-01-12T05:11:33.828Z] b8b176561691: Verifying Checksum [2022-01-12T05:11:33.828Z] b8b176561691: Download complete [2022-01-12T05:11:33.828Z] 31adcdaf11c8: Verifying Checksum [2022-01-12T05:11:33.828Z] 31adcdaf11c8: Download complete [2022-01-12T05:11:33.828Z] 5d74067f8e1e: Verifying Checksum [2022-01-12T05:11:33.828Z] 5d74067f8e1e: Download complete [2022-01-12T05:11:33.828Z] e0aca202a116: Verifying Checksum [2022-01-12T05:11:33.828Z] e0aca202a116: Download complete [2022-01-12T05:11:33.828Z] 3a43be97a3b4: Verifying Checksum [2022-01-12T05:11:33.828Z] 3a43be97a3b4: Download complete [2022-01-12T05:11:33.828Z] 34cad66bf833: Verifying Checksum [2022-01-12T05:11:33.828Z] 34cad66bf833: Download complete [2022-01-12T05:11:33.828Z] 31adcdaf11c8: Pull complete [2022-01-12T05:11:34.088Z] b8b176561691: Pull complete [2022-01-12T05:11:34.357Z] 4527c011a84f: Verifying Checksum [2022-01-12T05:11:34.357Z] 4527c011a84f: Download complete [2022-01-12T05:11:34.357Z] b4e3c513aaa6: Verifying Checksum [2022-01-12T05:11:34.357Z] b4e3c513aaa6: Download complete [2022-01-12T05:11:38.599Z] 4527c011a84f: Pull complete [2022-01-12T05:11:38.599Z] 5d74067f8e1e: Pull complete [2022-01-12T05:11:38.599Z] e0aca202a116: Pull complete [2022-01-12T05:11:38.599Z] 3a43be97a3b4: Pull complete [2022-01-12T05:11:38.599Z] 34cad66bf833: Pull complete [2022-01-12T05:11:41.169Z] b4e3c513aaa6: Pull complete [2022-01-12T05:11:41.169Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-12T05:11:41.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-12T05:11:41.169Z] ---> 9f6097aaca64 [2022-01-12T05:11:41.169Z] Step 3/10 : ARG MAKE=make build [2022-01-12T05:11:42.552Z] ---> Running in 997251e31a11 [2022-01-12T05:11:42.811Z] Removing intermediate container 997251e31a11 [2022-01-12T05:11:42.811Z] ---> 610bb3ea48ed [2022-01-12T05:11:42.811Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-12T05:11:42.811Z] ---> Running in 5f659b8c863b [2022-01-12T05:11:42.811Z] Removing intermediate container 5f659b8c863b [2022-01-12T05:11:42.811Z] ---> d14205e14169 [2022-01-12T05:11:42.811Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T05:11:42.811Z] ---> Running in b656cd656ee1 [2022-01-12T05:11:42.811Z] Removing intermediate container b656cd656ee1 [2022-01-12T05:11:42.811Z] ---> 5dcc77d0b779 [2022-01-12T05:11:42.811Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T05:11:43.071Z] ---> Running in e4cbcb6d7e7a [2022-01-12T05:11:43.338Z] Removing intermediate container e4cbcb6d7e7a [2022-01-12T05:11:43.338Z] ---> 4d5983d1a219 [2022-01-12T05:11:43.338Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T05:11:43.338Z] ---> Running in 32370433d608 [2022-01-12T05:11:43.602Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T05:11:44.540Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T05:11:44.801Z] OK: 220 MiB in 52 packages [2022-01-12T05:11:45.066Z] Removing intermediate container 32370433d608 [2022-01-12T05:11:45.066Z] ---> 9091bf5a95d3 [2022-01-12T05:11:45.066Z] Step 8/10 : COPY . . [2022-01-12T05:11:45.638Z] ---> 05d0be4b3b62 [2022-01-12T05:11:45.638Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T05:11:45.638Z] ---> Running in a45bb9a924ec [2022-01-12T05:11:46.946Z] Still waiting to schedule task [2022-01-12T05:11:46.946Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-12T05:12:32.355Z] Removing intermediate container a45bb9a924ec [2022-01-12T05:12:32.355Z] ---> a2c93b3f1b6f [2022-01-12T05:12:32.355Z] Step 10/10 : RUN ${MAKE} [2022-01-12T05:12:32.355Z] ---> Running in f22ed6a0106a [2022-01-12T05:12:32.355Z] noop [2022-01-12T05:12:32.355Z] Removing intermediate container f22ed6a0106a [2022-01-12T05:12:32.355Z] ---> f03172b5f9a4 [2022-01-12T05:12:32.355Z] Successfully built f03172b5f9a4 [2022-01-12T05:12:32.355Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:12:32.652Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T05:12:32.652Z] . [Pipeline] withDockerContainer [2022-01-12T05:12:32.722Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:12:32.767Z] $ 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-12T05:12:33.141Z] $ docker top d6eb10099f34c590c38b2450c2321d6142a7bd246dba0df21eb9c4f2a659fd68 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T05:12:33.515Z] + go version [2022-01-12T05:12:33.515Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-12T05:12:33.525Z] $ docker stop --time=1 d6eb10099f34c590c38b2450c2321d6142a7bd246dba0df21eb9c4f2a659fd68 [2022-01-12T05:12:34.723Z] $ docker rm -f d6eb10099f34c590c38b2450c2321d6142a7bd246dba0df21eb9c4f2a659fd68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:12:35.108Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T05:12:35.108Z] . [Pipeline] withDockerContainer [2022-01-12T05:12:35.188Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:12:35.224Z] $ 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-12T05:12:35.560Z] $ docker top 97e9635a691d9cf591554291b899d20f6cca3924751b1dd7a8d06d9eea4d7544 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T05:12:35.944Z] + make test [2022-01-12T05:12:35.944Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-12T05:12:41.318Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-12T05:13:03.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-12T05:13:03.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-12T05:13:03.367Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-12T05:13:05.313Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 23.3% of statements [2022-01-12T05:13:05.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-12T05:13:05.313Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 27.6% of statements [2022-01-12T05:13:05.313Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements [2022-01-12T05:13:05.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2022-01-12T05:13:05.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-12T05:13:05.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-12T05:13:05.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-12T05:13:06.186Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 28.7% of statements [2022-01-12T05:13:06.186Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-12T05:13:07.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.060s coverage: 86.1% of statements [2022-01-12T05:13:07.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-12T05:13:07.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-12T05:13:07.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.4% of statements [2022-01-12T05:13:08.533Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.797s coverage: 89.2% of statements [2022-01-12T05:13:08.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-12T05:13:08.533Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.8% of statements [2022-01-12T05:13:08.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-12T05:13:15.895Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1328 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-01-12T05:13:15.906Z] Running in /w/workspace/device-sdk-go/40 [Pipeline] { [Pipeline] checkout [2022-01-12T05:13:16.062Z] The recommended git tool is: git [2022-01-12T05:13:20.476Z] using credential edgex-jenkins-ssh [2022-01-12T05:13:20.495Z] Cloning the remote Git repository [2022-01-12T05:13:20.546Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T05:13:20.620Z] > git init /w/workspace/device-sdk-go/40 # timeout=10 [2022-01-12T05:13:20.703Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T05:13:20.704Z] > git --version # timeout=10 [2022-01-12T05:13:20.726Z] > git --version # 'git version 2.17.1' [2022-01-12T05:13:20.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-12T05:13:20.788Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T05:13:22.299Z] Avoid second fetch [2022-01-12T05:13:22.299Z] Checking out Revision 6af4e576f47094812ab8d15923474e64032289f8 (main) [2022-01-12T05:13:22.260Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-12T05:13:22.279Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T05:13:22.321Z] > git config core.sparsecheckout # timeout=10 [2022-01-12T05:13:22.335Z] > git checkout -f 6af4e576f47094812ab8d15923474e64032289f8 # timeout=10 [2022-01-12T05:13:26.455Z] Commit message: "Merge pull request #1081 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T05:13:27.368Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-12T05:13:27.368Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T05:13:27.368Z] Dload Upload Total Spent Left Speed [2022-01-12T05:13:27.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 67674 0 --:--:-- --:--:-- --:--:-- 67289 100 11843 100 11843 0 0 67289 0 --:--:-- --:--:-- --:--:-- 66909 [Pipeline] sh [2022-01-12T05:13:27.889Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-12T05:13:28.224Z] + sudo tee /etc/docker/daemon.new [2022-01-12T05:13:28.224Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-12T05:13:28.224Z] { [2022-01-12T05:13:28.224Z] "registry-mirrors": [ [2022-01-12T05:13:28.224Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-12T05:13:28.224Z] ], [2022-01-12T05:13:28.224Z] "bip": "10.250.0.254/24", [2022-01-12T05:13:28.224Z] "hosts": [ [2022-01-12T05:13:28.224Z] "tcp://0.0.0.0:5555", [2022-01-12T05:13:28.224Z] "unix:///var/run/docker.sock" [2022-01-12T05:13:28.224Z] ], [2022-01-12T05:13:28.224Z] "mtu": 1458, [2022-01-12T05:13:28.224Z] "selinux-enabled": true, [2022-01-12T05:13:28.224Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-12T05:13:28.224Z] } [Pipeline] sh [2022-01-12T05:13:28.568Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-12T05:13:28.918Z] + sudo service docker restart [2022-01-12T05:13:30.645Z] GO111MODULE=on go vet ./... [2022-01-12T05:13:35.947Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T05:13:36.209Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-12T05:13:36.209Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-12T05:13:36.796Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-12T05:13:36.808Z] $ docker stop --time=1 97e9635a691d9cf591554291b899d20f6cca3924751b1dd7a8d06d9eea4d7544 [2022-01-12T05:13:38.290Z] $ docker rm -f 97e9635a691d9cf591554291b899d20f6cca3924751b1dd7a8d06d9eea4d7544 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T05:13:38.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-12T05:13:38.860Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-12T05:13:39.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-12T05:13:40.185Z] + ls -al . [2022-01-12T05:13:40.185Z] total 268 [2022-01-12T05:13:40.185Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 12 05:13 . [2022-01-12T05:13:40.185Z] drwxrwxr-x. 4 jenkins jenkins 110 Jan 12 05:11 .. [2022-01-12T05:13:40.185Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 12 05:11 bin [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 12 05:11 CHANGELOG.md [2022-01-12T05:13:40.185Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 12 05:13 coverage.out [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 12 05:11 .dockerignore [2022-01-12T05:13:40.185Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 12 05:11 example [2022-01-12T05:13:40.185Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 12 05:11 .git [2022-01-12T05:13:40.185Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 12 05:11 .github [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 12 05:11 .gitignore [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 12 05:11 .golangci.yml [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 12 05:11 go.mod [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 12 05:11 go.sum [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 12 05:11 GOVERNANCE.md [2022-01-12T05:13:40.185Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 12 05:11 internal [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 12 05:11 Jenkinsfile [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 12 05:11 LICENSE [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 1613 Jan 12 05:11 Makefile [2022-01-12T05:13:40.185Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 12 05:11 openapi [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 12 05:11 OWNERS.md [2022-01-12T05:13:40.185Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 12 05:11 pkg [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 12 05:11 README.md [2022-01-12T05:13:40.185Z] drwx------. 3 jenkins jenkins 57 Jan 12 05:11 .semver [2022-01-12T05:13:40.185Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 12 05:11 snap [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 12 05:11 VERSION [2022-01-12T05:13:40.185Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 12 05:11 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:13:40.492Z] + 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=6af4e576f47094812ab8d15923474e64032289f8 --label arch=amd64 --label version=2.2.0-dev.7 . [2022-01-12T05:13:40.492Z] Sending build context to Docker daemon 9.453MB [2022-01-12T05:13:40.492Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T05:13:40.492Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-12T05:13:40.492Z] ---> f03172b5f9a4 [2022-01-12T05:13:40.492Z] Step 3/24 : ARG MAKE=make build [2022-01-12T05:13:40.753Z] ---> Running in d7548252f909 [2022-01-12T05:13:40.753Z] Removing intermediate container d7548252f909 [2022-01-12T05:13:40.753Z] ---> 1750f99aecec [2022-01-12T05:13:40.753Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-12T05:13:40.753Z] ---> Running in b3f07f3c3301 [2022-01-12T05:13:40.753Z] Removing intermediate container b3f07f3c3301 [2022-01-12T05:13:40.753Z] ---> 4858a55fdb3c [2022-01-12T05:13:40.753Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T05:13:40.753Z] ---> Running in fdd7b2afc03e [2022-01-12T05:13:41.017Z] Removing intermediate container fdd7b2afc03e [2022-01-12T05:13:41.017Z] ---> 812a5ab252af [2022-01-12T05:13:41.017Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T05:13:41.017Z] ---> Running in 335c642722ca [2022-01-12T05:13:41.280Z] Removing intermediate container 335c642722ca [2022-01-12T05:13:41.280Z] ---> f1884356bf20 [2022-01-12T05:13:41.280Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T05:13:41.542Z] ---> Running in f85852258609 [2022-01-12T05:13:41.802Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T05:13:42.374Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T05:13:42.947Z] OK: 220 MiB in 52 packages [2022-01-12T05:13:42.947Z] Removing intermediate container f85852258609 [2022-01-12T05:13:42.947Z] ---> 4705f4f70684 [2022-01-12T05:13:42.947Z] Step 8/24 : COPY . . [2022-01-12T05:13:43.522Z] ---> 59ea89d9429d [2022-01-12T05:13:43.522Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T05:13:43.522Z] ---> Running in 3247d0f20887 [2022-01-12T05:13:44.107Z] Removing intermediate container 3247d0f20887 [2022-01-12T05:13:44.107Z] ---> 178e68672ea7 [2022-01-12T05:13:44.107Z] Step 10/24 : RUN ${MAKE} [2022-01-12T05:13:44.107Z] ---> Running in c40be578944b [2022-01-12T05:13:44.370Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T05:13:47.298Z] provisioning config files... [2022-01-12T05:13:47.320Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/40@tmp/config3888492148366344711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:13:47.675Z] ---> docker-login.sh [2022-01-12T05:13:47.675Z] nexus3.edgexfoundry.org:10001 [2022-01-12T05:13:48.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:13:48.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:13:48.267Z] Configure a credential helper to remove this warning. See [2022-01-12T05:13:48.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:13:48.267Z] [2022-01-12T05:13:48.267Z] Login Succeeded [2022-01-12T05:13:48.267Z] nexus3.edgexfoundry.org:10002 [2022-01-12T05:13:48.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:13:48.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:13:48.810Z] Configure a credential helper to remove this warning. See [2022-01-12T05:13:48.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:13:48.810Z] [2022-01-12T05:13:48.810Z] Login Succeeded [2022-01-12T05:13:48.810Z] nexus3.edgexfoundry.org:10003 [2022-01-12T05:13:49.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:13:49.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:13:49.082Z] Configure a credential helper to remove this warning. See [2022-01-12T05:13:49.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:13:49.082Z] [2022-01-12T05:13:49.082Z] Login Succeeded [2022-01-12T05:13:49.082Z] nexus3.edgexfoundry.org:10004 [2022-01-12T05:13:49.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:13:49.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:13:49.628Z] Configure a credential helper to remove this warning. See [2022-01-12T05:13:49.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:13:49.628Z] [2022-01-12T05:13:49.628Z] Login Succeeded [2022-01-12T05:13:49.628Z] docker.io [2022-01-12T05:13:49.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T05:13:50.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T05:13:50.170Z] Configure a credential helper to remove this warning. See [2022-01-12T05:13:50.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T05:13:50.170Z] [2022-01-12T05:13:50.170Z] Login Succeeded [2022-01-12T05:13:50.170Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T05:13:50.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-12T05:13:50.558Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T05:13:50.570Z] ========================================================= [2022-01-12T05:13:50.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-12T05:13:50.570Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:13:50.912Z] + 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.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-12T05:13:51.183Z] Sending build context to Docker daemon 5.038MB [2022-01-12T05:13:51.459Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T05:13:51.459Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-12T05:13:51.459Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-12T05:13:51.459Z] 552d1f2373af: Pulling fs layer [2022-01-12T05:13:51.459Z] ea3f2d53f512: Pulling fs layer [2022-01-12T05:13:51.459Z] 9e70ebbbe112: Pulling fs layer [2022-01-12T05:13:51.459Z] 7a9cfe048b4a: Pulling fs layer [2022-01-12T05:13:51.459Z] 72dc09318566: Pulling fs layer [2022-01-12T05:13:51.459Z] f4f7b4309257: Pulling fs layer [2022-01-12T05:13:51.459Z] 0ac9a79272e3: Pulling fs layer [2022-01-12T05:13:51.459Z] b78e95d17946: Pulling fs layer [2022-01-12T05:13:51.459Z] f4f7b4309257: Waiting [2022-01-12T05:13:51.459Z] 0ac9a79272e3: Waiting [2022-01-12T05:13:51.459Z] 7a9cfe048b4a: Waiting [2022-01-12T05:13:51.459Z] 72dc09318566: Waiting [2022-01-12T05:13:51.459Z] b78e95d17946: Waiting [2022-01-12T05:13:51.459Z] 9e70ebbbe112: Verifying Checksum [2022-01-12T05:13:51.459Z] 9e70ebbbe112: Download complete [2022-01-12T05:13:51.459Z] ea3f2d53f512: Verifying Checksum [2022-01-12T05:13:51.459Z] ea3f2d53f512: Download complete [2022-01-12T05:13:51.459Z] 72dc09318566: Verifying Checksum [2022-01-12T05:13:51.459Z] 72dc09318566: Download complete [2022-01-12T05:13:51.459Z] f4f7b4309257: Verifying Checksum [2022-01-12T05:13:51.459Z] f4f7b4309257: Download complete [2022-01-12T05:13:51.459Z] 552d1f2373af: Verifying Checksum [2022-01-12T05:13:51.459Z] 552d1f2373af: Download complete [2022-01-12T05:13:51.459Z] 0ac9a79272e3: Verifying Checksum [2022-01-12T05:13:51.459Z] 0ac9a79272e3: Download complete [2022-01-12T05:13:52.442Z] 552d1f2373af: Pull complete [2022-01-12T05:13:52.720Z] ea3f2d53f512: Pull complete [2022-01-12T05:13:53.319Z] 9e70ebbbe112: Pull complete [2022-01-12T05:13:53.319Z] b78e95d17946: Download complete [2022-01-12T05:13:53.915Z] 7a9cfe048b4a: Verifying Checksum [2022-01-12T05:13:53.915Z] 7a9cfe048b4a: Download complete [2022-01-12T05:13:54.462Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-12T05:13:55.406Z] Removing intermediate container c40be578944b [2022-01-12T05:13:55.406Z] ---> b649d2cb1be8 [2022-01-12T05:13:55.406Z] Step 11/24 : FROM alpine:3.14 [2022-01-12T05:13:55.981Z] 3.14: Pulling from library/alpine [2022-01-12T05:13:55.981Z] 97518928ae5f: Pulling fs layer [2022-01-12T05:13:56.241Z] 97518928ae5f: Verifying Checksum [2022-01-12T05:13:56.241Z] 97518928ae5f: Download complete [2022-01-12T05:13:56.504Z] 97518928ae5f: Pull complete [2022-01-12T05:13:56.504Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-12T05:13:56.504Z] Status: Downloaded newer image for alpine:3.14 [2022-01-12T05:13:56.504Z] ---> 0a97eee8041e [2022-01-12T05:13:56.504Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T05:13:56.504Z] ---> Running in 7385ac6a3d92 [2022-01-12T05:13:56.504Z] Removing intermediate container 7385ac6a3d92 [2022-01-12T05:13:56.504Z] ---> 6f891be8ef5f [2022-01-12T05:13:56.504Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T05:13:56.767Z] ---> Running in 2e2d91c592f4 [2022-01-12T05:13:57.344Z] Removing intermediate container 2e2d91c592f4 [2022-01-12T05:13:57.344Z] ---> 4b5d95af7080 [2022-01-12T05:13:57.344Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-12T05:13:57.344Z] ---> Running in b8b22f1debf9 [2022-01-12T05:13:57.607Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T05:13:58.550Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T05:13:58.813Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-12T05:13:58.813Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-12T05:13:58.813Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-12T05:13:59.076Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-12T05:13:59.076Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-12T05:13:59.337Z] Executing busybox-1.33.1-r6.trigger [2022-01-12T05:13:59.337Z] OK: 8 MiB in 19 packages [2022-01-12T05:13:59.600Z] Removing intermediate container b8b22f1debf9 [2022-01-12T05:13:59.600Z] ---> 922f9e7d6eea [2022-01-12T05:13:59.600Z] Step 15/24 : WORKDIR / [2022-01-12T05:13:59.600Z] ---> Running in a12f23fd14fa [2022-01-12T05:13:59.600Z] Removing intermediate container a12f23fd14fa [2022-01-12T05:13:59.600Z] ---> 23c3247da488 [2022-01-12T05:13:59.600Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-12T05:13:59.861Z] ---> d9a578ef1e47 [2022-01-12T05:13:59.861Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-12T05:14:00.121Z] ---> c7138e31a8d0 [2022-01-12T05:14:00.121Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-12T05:14:00.382Z] ---> 526b8bb9f1f7 [2022-01-12T05:14:00.382Z] Step 19/24 : EXPOSE 59999 [2022-01-12T05:14:00.382Z] ---> Running in c7a090b48cd8 [2022-01-12T05:14:00.382Z] Removing intermediate container c7a090b48cd8 [2022-01-12T05:14:00.382Z] ---> 4f69a320b541 [2022-01-12T05:14:00.382Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-12T05:14:00.641Z] ---> Running in ccd38960ae42 [2022-01-12T05:14:00.641Z] Removing intermediate container ccd38960ae42 [2022-01-12T05:14:00.641Z] ---> 299fb9447037 [2022-01-12T05:14:00.641Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-12T05:14:00.641Z] ---> Running in 3e1352cb8303 [2022-01-12T05:14:00.641Z] Removing intermediate container 3e1352cb8303 [2022-01-12T05:14:00.641Z] ---> 968068126bcd [2022-01-12T05:14:00.641Z] Step 22/24 : LABEL arch=amd64 [2022-01-12T05:14:00.641Z] ---> Running in 9a900f13e4c3 [2022-01-12T05:14:00.906Z] Removing intermediate container 9a900f13e4c3 [2022-01-12T05:14:00.906Z] ---> 3b630c943a61 [2022-01-12T05:14:00.906Z] Step 23/24 : LABEL git_sha=6af4e576f47094812ab8d15923474e64032289f8 [2022-01-12T05:14:00.906Z] ---> Running in 6fdd15bb75b9 [2022-01-12T05:14:00.906Z] Removing intermediate container 6fdd15bb75b9 [2022-01-12T05:14:00.906Z] ---> c646b881d823 [2022-01-12T05:14:00.906Z] Step 24/24 : LABEL version=2.2.0-dev.7 [2022-01-12T05:14:00.906Z] ---> Running in 77faf8bb409e [2022-01-12T05:14:00.906Z] Removing intermediate container 77faf8bb409e [2022-01-12T05:14:00.906Z] ---> 447b02546edf [2022-01-12T05:14:00.906Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-12T05:14:00.906Z] Successfully built 447b02546edf [2022-01-12T05:14:00.906Z] 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-12T05:14:01.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T05:14:01.314Z] [2022-01-12T05:14:01.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:14:01.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T05:14:01.638Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-12T05:14:01.638Z] b4d181a07f80: Pulling fs layer [2022-01-12T05:14:01.638Z] a1111a8f2ec3: Pulling fs layer [2022-01-12T05:14:01.638Z] ed53099fbce6: Pulling fs layer [2022-01-12T05:14:01.638Z] dc539afda2c1: Pulling fs layer [2022-01-12T05:14:01.638Z] 77bc0d833cb6: Pulling fs layer [2022-01-12T05:14:01.638Z] 9065ff56babe: Pulling fs layer [2022-01-12T05:14:01.638Z] d287ab97295c: Pulling fs layer [2022-01-12T05:14:01.638Z] 77bc0d833cb6: Waiting [2022-01-12T05:14:01.638Z] 9065ff56babe: Waiting [2022-01-12T05:14:01.638Z] d287ab97295c: Waiting [2022-01-12T05:14:01.638Z] dc539afda2c1: Waiting [2022-01-12T05:14:01.638Z] a1111a8f2ec3: Verifying Checksum [2022-01-12T05:14:01.638Z] a1111a8f2ec3: Download complete [2022-01-12T05:14:01.638Z] dc539afda2c1: Verifying Checksum [2022-01-12T05:14:01.638Z] dc539afda2c1: Download complete [2022-01-12T05:14:01.638Z] ed53099fbce6: Verifying Checksum [2022-01-12T05:14:01.638Z] ed53099fbce6: Download complete [2022-01-12T05:14:01.907Z] 77bc0d833cb6: Verifying Checksum [2022-01-12T05:14:01.907Z] 77bc0d833cb6: Download complete [2022-01-12T05:14:01.907Z] 9065ff56babe: Verifying Checksum [2022-01-12T05:14:01.907Z] 9065ff56babe: Download complete [2022-01-12T05:14:01.907Z] b4d181a07f80: Verifying Checksum [2022-01-12T05:14:01.907Z] b4d181a07f80: Download complete [2022-01-12T05:14:02.491Z] d287ab97295c: Verifying Checksum [2022-01-12T05:14:02.491Z] d287ab97295c: Download complete [2022-01-12T05:14:03.447Z] b4d181a07f80: Pull complete [2022-01-12T05:14:03.447Z] a1111a8f2ec3: Pull complete [2022-01-12T05:14:04.038Z] ed53099fbce6: Pull complete [2022-01-12T05:14:04.038Z] dc539afda2c1: Pull complete [2022-01-12T05:14:04.297Z] 77bc0d833cb6: Pull complete [2022-01-12T05:14:04.297Z] 9065ff56babe: Pull complete [2022-01-12T05:14:06.334Z] 7a9cfe048b4a: Pull complete [2022-01-12T05:14:06.334Z] 72dc09318566: Pull complete [2022-01-12T05:14:06.334Z] f4f7b4309257: Pull complete [2022-01-12T05:14:06.334Z] 0ac9a79272e3: Pull complete [2022-01-12T05:14:09.648Z] d287ab97295c: Pull complete [2022-01-12T05:14:09.648Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-12T05:14:09.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T05:14:09.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-12T05:14:09.713Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:14:09.749Z] $ 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-12T05:14:11.727Z] b78e95d17946: Pull complete [2022-01-12T05:14:11.727Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-12T05:14:11.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-12T05:14:11.727Z] ---> 8b459fc5aaf0 [2022-01-12T05:14:11.727Z] Step 3/10 : ARG MAKE=make build [2022-01-12T05:14:12.368Z] $ docker top 5ec0f4a582f756fecbe95635273bc8b2fc87df1b0bd2176c5d8f7290dd171efc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:14:12.703Z] ---> Running in 3a903cf1c409 [2022-01-12T05:14:12.784Z] ---> job-cost.sh [2022-01-12T05:14:12.784Z] lf-activate-venv: SKIPPING [2022-01-12T05:14:12.784Z] INFO: No Stack... [2022-01-12T05:14:12.984Z] Removing intermediate container 3a903cf1c409 [2022-01-12T05:14:12.984Z] ---> 75fcd8e5599c [2022-01-12T05:14:12.984Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-12T05:14:13.042Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T05:14:13.257Z] ---> Running in b7775f97f0e2 [2022-01-12T05:14:13.301Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T05:14:13.531Z] Removing intermediate container b7775f97f0e2 [2022-01-12T05:14:13.531Z] ---> fde853d7b208 [2022-01-12T05:14:13.531Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T05:14:13.531Z] ---> Running in 80a39e253015 [2022-01-12T05:14:13.592Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-01-12T05:14:13.592Z] + cut -d, -f6 [Pipeline] lock [2022-01-12T05:14:13.606Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-40-stack-cost] [2022-01-12T05:14:13.613Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-40-stack-cost] did not exist. Created. [2022-01-12T05:14:13.613Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T05:14:13.919Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-12T05:14:13.945Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T05:14:13.952Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T05:14:13.970Z] $ docker stop --time=1 5ec0f4a582f756fecbe95635273bc8b2fc87df1b0bd2176c5d8f7290dd171efc [2022-01-12T05:14:14.128Z] Removing intermediate container 80a39e253015 [2022-01-12T05:14:14.128Z] ---> cc671aa44837 [2022-01-12T05:14:14.128Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T05:14:14.128Z] ---> Running in 3a4fdfcced5d [2022-01-12T05:14:15.089Z] $ docker rm -f 5ec0f4a582f756fecbe95635273bc8b2fc87df1b0bd2176c5d8f7290dd171efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-12T05:14:16.104Z] Removing intermediate container 3a4fdfcced5d [2022-01-12T05:14:16.104Z] ---> 96178fd77081 [2022-01-12T05:14:16.104Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T05:14:16.104Z] ---> Running in 14b1e06fa904 [2022-01-12T05:14:17.081Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T05:14:18.062Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T05:14:18.656Z] OK: 219 MiB in 52 packages [2022-01-12T05:14:19.252Z] Removing intermediate container 14b1e06fa904 [2022-01-12T05:14:19.252Z] ---> 093da8c727ac [2022-01-12T05:14:19.252Z] Step 8/10 : COPY . . [2022-01-12T05:14:20.684Z] ---> 5ff6d7dc5786 [2022-01-12T05:14:20.684Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T05:14:20.684Z] ---> Running in e7a6d595d4a2 [2022-01-12T05:15:42.483Z] Removing intermediate container e7a6d595d4a2 [2022-01-12T05:15:42.483Z] ---> c86dd540fbf6 [2022-01-12T05:15:42.483Z] Step 10/10 : RUN ${MAKE} [2022-01-12T05:15:42.483Z] ---> Running in fd13ab5a1f65 [2022-01-12T05:15:42.483Z] noop [2022-01-12T05:15:42.483Z] Removing intermediate container fd13ab5a1f65 [2022-01-12T05:15:42.483Z] ---> f9344ac906b6 [2022-01-12T05:15:42.483Z] Successfully built f9344ac906b6 [2022-01-12T05:15:42.483Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:15:42.832Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T05:15:42.832Z] . [Pipeline] withDockerContainer [2022-01-12T05:15:43.040Z] prd-ubuntu18.04-docker-arm64-4c-16g-1328 does not seem to be running inside a container [2022-01-12T05:15:43.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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-12T05:15:44.458Z] $ docker top c17d2426460d99ed82b46e40998b968a32791ec2820844d15fd3b87d31a076d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T05:15:45.324Z] + go version [2022-01-12T05:15:45.324Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-12T05:15:45.346Z] $ docker stop --time=1 c17d2426460d99ed82b46e40998b968a32791ec2820844d15fd3b87d31a076d9 [2022-01-12T05:15:46.980Z] $ docker rm -f c17d2426460d99ed82b46e40998b968a32791ec2820844d15fd3b87d31a076d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:15:47.531Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T05:15:47.531Z] . [Pipeline] withDockerContainer [2022-01-12T05:15:47.743Z] prd-ubuntu18.04-docker-arm64-4c-16g-1328 does not seem to be running inside a container [2022-01-12T05:15:47.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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-12T05:15:49.095Z] $ docker top 2aff012d73be432a4f0f739f52e405a276f78e75b7b2c4e2372849422a7471aa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T05:15:49.973Z] + make test [2022-01-12T05:15:49.973Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-12T05:16:16.770Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-12T05:17:24.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-12T05:17:24.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-12T05:17:24.829Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-12T05:17:25.437Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.300s coverage: 23.3% of statements [2022-01-12T05:17:25.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-12T05:17:25.437Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.206s coverage: 27.6% of statements [2022-01-12T05:17:25.437Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.290s coverage: 78.9% of statements [2022-01-12T05:17:25.437Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.249s coverage: 9.0% of statements [2022-01-12T05:17:25.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-12T05:17:25.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-12T05:17:25.437Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-12T05:17:26.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.289s coverage: 28.7% of statements [2022-01-12T05:17:26.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-12T05:17:27.161Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.221s coverage: 86.1% of statements [2022-01-12T05:17:27.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-12T05:17:27.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-12T05:17:27.764Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.356s coverage: 57.4% of statements [2022-01-12T05:17:32.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.017s coverage: 89.2% of statements [2022-01-12T05:17:32.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-12T05:17:32.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.201s coverage: 4.8% of statements [2022-01-12T05:17:32.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-12T05:17:32.681Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-12T05:17:32.681Z] GO111MODULE=on go vet ./... [2022-01-12T05:18:29.216Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-12T05:18:29.216Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-12T05:18:29.216Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-12T05:18:29.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-12T05:18:29.250Z] $ docker stop --time=1 2aff012d73be432a4f0f739f52e405a276f78e75b7b2c4e2372849422a7471aa [2022-01-12T05:18:31.063Z] $ docker rm -f 2aff012d73be432a4f0f739f52e405a276f78e75b7b2c4e2372849422a7471aa [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T05:18:32.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-12T05:18:32.130Z] Warning: overwriting stash ‘coverage-report’ [2022-01-12T05:18:32.646Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T05:18:33.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-12T05:18:33.371Z] + ls -al . [2022-01-12T05:18:33.371Z] total 304 [2022-01-12T05:18:33.371Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 05:18 . [2022-01-12T05:18:33.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 05:13 .. [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 05:13 .dockerignore [2022-01-12T05:18:33.371Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 05:13 .git [2022-01-12T05:18:33.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 05:13 .github [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 05:13 .gitignore [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 05:13 .golangci.yml [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 12 05:13 CHANGELOG.md [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 05:13 GOVERNANCE.md [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 05:13 Jenkinsfile [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 05:13 LICENSE [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 1613 Jan 12 05:13 Makefile [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 05:13 OWNERS.md [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 12 05:13 README.md [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 12 05:11 VERSION [2022-01-12T05:18:33.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 05:13 bin [2022-01-12T05:18:33.371Z] -rw-r--r-- 1 jenkins jenkins 128667 Jan 12 05:17 coverage.out [2022-01-12T05:18:33.371Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 05:13 example [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 12 05:13 go.mod [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 12 05:13 go.sum [2022-01-12T05:18:33.371Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 12 05:13 internal [2022-01-12T05:18:33.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 05:13 openapi [2022-01-12T05:18:33.371Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 05:13 pkg [2022-01-12T05:18:33.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 05:13 snap [2022-01-12T05:18:33.371Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 05:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:18:33.715Z] + 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=6af4e576f47094812ab8d15923474e64032289f8 --label arch=arm64 --label version=2.2.0-dev.7 . [2022-01-12T05:18:33.986Z] Sending build context to Docker daemon 5.167MB [2022-01-12T05:18:34.258Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T05:18:34.258Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-12T05:18:34.258Z] ---> f9344ac906b6 [2022-01-12T05:18:34.258Z] Step 3/24 : ARG MAKE=make build [2022-01-12T05:18:34.258Z] ---> Running in 8c1aad5f0d6d [2022-01-12T05:18:34.534Z] Removing intermediate container 8c1aad5f0d6d [2022-01-12T05:18:34.534Z] ---> 1b90cef052c2 [2022-01-12T05:18:34.534Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-12T05:18:34.806Z] ---> Running in fbd4e809af55 [2022-01-12T05:18:35.122Z] Removing intermediate container fbd4e809af55 [2022-01-12T05:18:35.122Z] ---> c7daac954381 [2022-01-12T05:18:35.122Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T05:18:35.122Z] ---> Running in ddf49b42dada [2022-01-12T05:18:35.417Z] Removing intermediate container ddf49b42dada [2022-01-12T05:18:35.417Z] ---> 5c73f46f9eac [2022-01-12T05:18:35.417Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T05:18:35.691Z] ---> Running in 0673e75d6441 [2022-01-12T05:18:37.763Z] Removing intermediate container 0673e75d6441 [2022-01-12T05:18:37.763Z] ---> 0109fe7b59e1 [2022-01-12T05:18:37.763Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T05:18:37.763Z] ---> Running in 7161c857da6d [2022-01-12T05:18:38.749Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T05:18:39.339Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T05:18:40.320Z] OK: 219 MiB in 52 packages [2022-01-12T05:18:41.313Z] Removing intermediate container 7161c857da6d [2022-01-12T05:18:41.313Z] ---> 286cb43929f5 [2022-01-12T05:18:41.313Z] Step 8/24 : COPY . . [2022-01-12T05:18:42.294Z] ---> 4c5fca4dd1dc [2022-01-12T05:18:42.294Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T05:18:42.294Z] ---> Running in 3ef7238b2775 [2022-01-12T05:18:44.279Z] Removing intermediate container 3ef7238b2775 [2022-01-12T05:18:44.279Z] ---> 92993b60d3fd [2022-01-12T05:18:44.279Z] Step 10/24 : RUN ${MAKE} [2022-01-12T05:18:44.551Z] ---> Running in 05f5c286f066 [2022-01-12T05:18:45.528Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-12T05:19:17.874Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-12T05:19:20.488Z] Removing intermediate container 05f5c286f066 [2022-01-12T05:19:20.488Z] ---> 1d1356d65c33 [2022-01-12T05:19:20.488Z] Step 11/24 : FROM alpine:3.14 [2022-01-12T05:19:20.759Z] 3.14: Pulling from library/alpine [2022-01-12T05:19:21.028Z] be307f383ecc: Pulling fs layer [2022-01-12T05:19:21.299Z] be307f383ecc: Verifying Checksum [2022-01-12T05:19:21.299Z] be307f383ecc: Download complete [2022-01-12T05:19:21.891Z] be307f383ecc: Pull complete [2022-01-12T05:19:21.891Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-12T05:19:21.891Z] Status: Downloaded newer image for alpine:3.14 [2022-01-12T05:19:21.891Z] ---> 5b8b7b635229 [2022-01-12T05:19:21.891Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T05:19:21.891Z] ---> Running in a6463a888e18 [2022-01-12T05:19:22.163Z] Removing intermediate container a6463a888e18 [2022-01-12T05:19:22.163Z] ---> 2507b2aa642b [2022-01-12T05:19:22.163Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T05:19:22.437Z] ---> Running in 938221ef299c [2022-01-12T05:19:23.866Z] Removing intermediate container 938221ef299c [2022-01-12T05:19:23.866Z] ---> 005ecaa7957a [2022-01-12T05:19:23.866Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-12T05:19:24.142Z] ---> Running in 7dd1b34937b5 [2022-01-12T05:19:25.113Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T05:19:26.086Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T05:19:26.679Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-12T05:19:26.679Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-12T05:19:26.679Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-12T05:19:26.951Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-12T05:19:26.951Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-12T05:19:26.951Z] Executing busybox-1.33.1-r6.trigger [2022-01-12T05:19:27.223Z] OK: 8 MiB in 19 packages [2022-01-12T05:19:28.199Z] Removing intermediate container 7dd1b34937b5 [2022-01-12T05:19:28.199Z] ---> 38b739015d6e [2022-01-12T05:19:28.199Z] Step 15/24 : WORKDIR / [2022-01-12T05:19:28.199Z] ---> Running in cdd6ae33c6c8 [2022-01-12T05:19:28.471Z] Removing intermediate container cdd6ae33c6c8 [2022-01-12T05:19:28.471Z] ---> aa40e9c71305 [2022-01-12T05:19:28.471Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-12T05:19:29.066Z] ---> 9f9fe9f7ddc5 [2022-01-12T05:19:29.066Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-12T05:19:30.041Z] ---> 55696693f954 [2022-01-12T05:19:30.041Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-12T05:19:30.641Z] ---> da5268849c18 [2022-01-12T05:19:30.641Z] Step 19/24 : EXPOSE 59999 [2022-01-12T05:19:30.642Z] ---> Running in 3038ba69c437 [2022-01-12T05:19:30.915Z] Removing intermediate container 3038ba69c437 [2022-01-12T05:19:30.915Z] ---> d4800e36d2bd [2022-01-12T05:19:30.915Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-12T05:19:31.188Z] ---> Running in 28af5907eb60 [2022-01-12T05:19:31.462Z] Removing intermediate container 28af5907eb60 [2022-01-12T05:19:31.462Z] ---> e20ce83f220b [2022-01-12T05:19:31.462Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-12T05:19:31.462Z] ---> Running in 40d334a4e0b8 [2022-01-12T05:19:31.739Z] Removing intermediate container 40d334a4e0b8 [2022-01-12T05:19:31.739Z] ---> 447cd08be5ed [2022-01-12T05:19:31.739Z] Step 22/24 : LABEL arch=arm64 [2022-01-12T05:19:32.011Z] ---> Running in 164db9c8aa6d [2022-01-12T05:19:32.283Z] Removing intermediate container 164db9c8aa6d [2022-01-12T05:19:32.283Z] ---> 060b31f6e672 [2022-01-12T05:19:32.283Z] Step 23/24 : LABEL git_sha=6af4e576f47094812ab8d15923474e64032289f8 [2022-01-12T05:19:32.283Z] ---> Running in 4a6bd79698e2 [2022-01-12T05:19:32.875Z] Removing intermediate container 4a6bd79698e2 [2022-01-12T05:19:32.875Z] ---> 90ce8ae5a7f9 [2022-01-12T05:19:32.875Z] Step 24/24 : LABEL version=2.2.0-dev.7 [2022-01-12T05:19:32.875Z] ---> Running in 361f777bd4d9 [2022-01-12T05:19:33.147Z] Removing intermediate container 361f777bd4d9 [2022-01-12T05:19:33.147Z] ---> 8c7a1538430e [2022-01-12T05:19:33.147Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-12T05:19:33.147Z] Successfully built 8c7a1538430e [2022-01-12T05:19:33.147Z] 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-12T05:19:33.551Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T05:19:33.551Z] [2022-01-12T05:19:33.551Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:19:33.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T05:19:33.892Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-12T05:19:33.892Z] 448f6bf000e3: Pulling fs layer [2022-01-12T05:19:33.892Z] f757da607395: Pulling fs layer [2022-01-12T05:19:33.892Z] 05883995daec: Pulling fs layer [2022-01-12T05:19:33.892Z] 8603b9c90790: Pulling fs layer [2022-01-12T05:19:33.892Z] 1560dd03e051: Pulling fs layer [2022-01-12T05:19:33.892Z] 27f5ce0e4adf: Pulling fs layer [2022-01-12T05:19:33.892Z] c2d8d7efcc4b: Pulling fs layer [2022-01-12T05:19:33.892Z] 8603b9c90790: Waiting [2022-01-12T05:19:33.892Z] 1560dd03e051: Waiting [2022-01-12T05:19:33.892Z] 27f5ce0e4adf: Waiting [2022-01-12T05:19:33.892Z] c2d8d7efcc4b: Waiting [2022-01-12T05:19:34.169Z] f757da607395: Verifying Checksum [2022-01-12T05:19:34.169Z] f757da607395: Download complete [2022-01-12T05:19:34.169Z] 8603b9c90790: Verifying Checksum [2022-01-12T05:19:34.169Z] 8603b9c90790: Download complete [2022-01-12T05:19:34.169Z] 1560dd03e051: Verifying Checksum [2022-01-12T05:19:34.169Z] 1560dd03e051: Download complete [2022-01-12T05:19:34.169Z] 27f5ce0e4adf: Verifying Checksum [2022-01-12T05:19:34.169Z] 27f5ce0e4adf: Download complete [2022-01-12T05:19:34.169Z] 05883995daec: Verifying Checksum [2022-01-12T05:19:34.169Z] 05883995daec: Download complete [2022-01-12T05:19:34.443Z] 448f6bf000e3: Verifying Checksum [2022-01-12T05:19:34.443Z] 448f6bf000e3: Download complete [2022-01-12T05:19:37.055Z] c2d8d7efcc4b: Verifying Checksum [2022-01-12T05:19:37.055Z] c2d8d7efcc4b: Download complete [2022-01-12T05:19:38.481Z] 448f6bf000e3: Pull complete [2022-01-12T05:19:38.752Z] f757da607395: Pull complete [2022-01-12T05:19:40.182Z] 05883995daec: Pull complete [2022-01-12T05:19:40.457Z] 8603b9c90790: Pull complete [2022-01-12T05:19:41.435Z] 1560dd03e051: Pull complete [2022-01-12T05:19:41.708Z] 27f5ce0e4adf: Pull complete [2022-01-12T05:19:56.768Z] c2d8d7efcc4b: Pull complete [2022-01-12T05:19:56.768Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-12T05:19:56.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T05:19:56.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-12T05:19:56.966Z] prd-ubuntu18.04-docker-arm64-4c-16g-1328 does not seem to be running inside a container [2022-01-12T05:19:57.037Z] $ 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/40 -v /w/workspace/device-sdk-go/40:/w/workspace/device-sdk-go/40:rw,z -v /w/workspace/device-sdk-go/40@tmp:/w/workspace/device-sdk-go/40@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-12T05:19:59.539Z] $ docker top cfff8c42b08199e1073efa46b405b9b963b4dccce2ee133ba4f61ea76771a3c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:20:00.431Z] ---> job-cost.sh [2022-01-12T05:20:00.431Z] lf-activate-venv: SKIPPING [2022-01-12T05:20:00.431Z] INFO: No Stack... [2022-01-12T05:20:00.702Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-12T05:20:00.972Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T05:20:01.625Z] + cat /w/workspace/device-sdk-go/40/archives/cost.csv [2022-01-12T05:20:01.625Z] + cut -d, -f6 [Pipeline] lock [2022-01-12T05:20:01.683Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-40-stack-cost] [2022-01-12T05:20:01.689Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-40-stack-cost] did not exist. Created. [2022-01-12T05:20:01.689Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T05:20:02.362Z] /w/workspace/device-sdk-go/40@tmp/durable-1db24826/script.sh: 1: /w/workspace/device-sdk-go/40@tmp/durable-1db24826/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-12T05:20:03.028Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-12T05:20:03.053Z] Warning: overwriting stash ‘stack-cost’ [2022-01-12T05:20:03.109Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T05:20:03.119Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T05:20:03.147Z] $ docker stop --time=1 cfff8c42b08199e1073efa46b405b9b963b4dccce2ee133ba4f61ea76771a3c5 [2022-01-12T05:20:04.620Z] $ docker rm -f cfff8c42b08199e1073efa46b405b9b963b4dccce2ee133ba4f61ea76771a3c5 [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-12T05:20:05.208Z] provisioning config files... [2022-01-12T05:20:05.234Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8392876689933956029tmp [Pipeline] { [Pipeline] sh [2022-01-12T05:20:05.650Z] + set +x [2022-01-12T05:20:05.650Z] + curl -s https://codecov.io/bash [2022-01-12T05:20:05.650Z] + bash -s -- [2022-01-12T05:20:05.650Z] [2022-01-12T05:20:05.650Z] _____ _ [2022-01-12T05:20:05.650Z] / ____| | | [2022-01-12T05:20:05.650Z] | | ___ __| | ___ ___ _____ __ [2022-01-12T05:20:05.650Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-12T05:20:05.650Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-12T05:20:05.650Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-12T05:20:05.650Z] Bash-1.0.6 [2022-01-12T05:20:05.650Z] [2022-01-12T05:20:05.650Z] [2022-01-12T05:20:05.650Z] ==> git version 2.24.4 found [2022-01-12T05:20:05.650Z] ==> 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-12T05:20:05.650Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-12T05:20:05.650Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-12T05:20:05.650Z] ==> Jenkins CI detected. [2022-01-12T05:20:05.650Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-12T05:20:05.650Z] project root: . [2022-01-12T05:20:05.650Z] --> token set from env [2022-01-12T05:20:05.650Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-12T05:20:05.650Z] ==> Running gcov in . (disable via -X gcov) [2022-01-12T05:20:05.650Z] ==> Python coveragepy not found [2022-01-12T05:20:05.650Z] ==> Searching for coverage reports in: [2022-01-12T05:20:05.650Z] + . [2022-01-12T05:20:05.650Z] -> Found 1 reports [2022-01-12T05:20:05.650Z] ==> Detecting git/mercurial file structure [2022-01-12T05:20:05.650Z] ==> Reading reports [2022-01-12T05:20:05.650Z] + ./coverage.out bytes=128667 [2022-01-12T05:20:05.931Z] ==> Appending adjustments [2022-01-12T05:20:05.931Z] https://docs.codecov.io/docs/fixing-reports [2022-01-12T05:20:05.931Z] + Found adjustments [2022-01-12T05:20:05.931Z] ==> Gzipping contents [2022-01-12T05:20:05.931Z] 16K /tmp/codecov.lffN99.gz [2022-01-12T05:20:05.931Z] ==> Uploading reports [2022-01-12T05:20:05.931Z] url: https://codecov.io [2022-01-12T05:20:05.931Z] query: branch=main&commit=6af4e576f47094812ab8d15923474e64032289f8&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-12T05:20:06.192Z] -> Pinging Codecov [2022-01-12T05:20:06.192Z] 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=6af4e576f47094812ab8d15923474e64032289f8&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-12T05:20:06.451Z] -> Uploading to [2022-01-12T05:20:06.452Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-12/7E55EF52A471D76F132DFD9A03CDDE97/6af4e576f47094812ab8d15923474e64032289f8/c54fec26-3508-4141-9fee-156cb3d340db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220112T052006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4bbb69d44dbac766bcc236418eb7836b372e2891a2850f01912e3bc2c80c918 [2022-01-12T05:20:06.452Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T05:20:06.452Z] Dload Upload Total Spent Left Speed [2022-01-12T05:20:06.712Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16360 0 0 100 16360 0 50189 --:--:-- --:--:-- --:--:-- 50184 [2022-01-12T05:20:06.712Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6af4e576f47094812ab8d15923474e64032289f8 [Pipeline] } [2022-01-12T05:20:06.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-12T05:20:07.039Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-12T05:20:07.053Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:20:07.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-12T05:20:07.346Z] [2022-01-12T05:20:07.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:20:07.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-12T05:20:07.667Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-12T05:20:07.667Z] 188c0c94c7c5: Pulling fs layer [2022-01-12T05:20:07.667Z] 0ef7d3d256c8: Pulling fs layer [2022-01-12T05:20:07.667Z] de9db76c5a1d: Pulling fs layer [2022-01-12T05:20:07.667Z] 0eba1c9be4d2: Pulling fs layer [2022-01-12T05:20:07.667Z] 0d57e429df01: Pulling fs layer [2022-01-12T05:20:07.667Z] 4e4be7b47b0d: Pulling fs layer [2022-01-12T05:20:07.667Z] e1f770b5df2f: Pulling fs layer [2022-01-12T05:20:07.667Z] 85a0685a4137: Pulling fs layer [2022-01-12T05:20:07.667Z] 0eba1c9be4d2: Waiting [2022-01-12T05:20:07.667Z] 0d57e429df01: Waiting [2022-01-12T05:20:07.667Z] 4e4be7b47b0d: Waiting [2022-01-12T05:20:07.667Z] e1f770b5df2f: Waiting [2022-01-12T05:20:07.667Z] 85a0685a4137: Waiting [2022-01-12T05:20:07.667Z] de9db76c5a1d: Verifying Checksum [2022-01-12T05:20:07.667Z] de9db76c5a1d: Download complete [2022-01-12T05:20:07.667Z] 0ef7d3d256c8: Verifying Checksum [2022-01-12T05:20:07.667Z] 0ef7d3d256c8: Download complete [2022-01-12T05:20:07.667Z] 0d57e429df01: Verifying Checksum [2022-01-12T05:20:07.667Z] 0d57e429df01: Download complete [2022-01-12T05:20:07.667Z] 4e4be7b47b0d: Verifying Checksum [2022-01-12T05:20:07.667Z] 4e4be7b47b0d: Download complete [2022-01-12T05:20:07.667Z] 188c0c94c7c5: Verifying Checksum [2022-01-12T05:20:07.667Z] 188c0c94c7c5: Download complete [2022-01-12T05:20:07.931Z] e1f770b5df2f: Verifying Checksum [2022-01-12T05:20:07.931Z] e1f770b5df2f: Download complete [2022-01-12T05:20:08.198Z] 0eba1c9be4d2: Verifying Checksum [2022-01-12T05:20:08.198Z] 0eba1c9be4d2: Download complete [2022-01-12T05:20:08.198Z] 188c0c94c7c5: Pull complete [2022-01-12T05:20:08.457Z] 0ef7d3d256c8: Pull complete [2022-01-12T05:20:08.457Z] 85a0685a4137: Verifying Checksum [2022-01-12T05:20:08.457Z] 85a0685a4137: Download complete [2022-01-12T05:20:08.457Z] de9db76c5a1d: Pull complete [2022-01-12T05:20:12.672Z] 0eba1c9be4d2: Pull complete [2022-01-12T05:20:12.672Z] 0d57e429df01: Pull complete [2022-01-12T05:20:12.672Z] 4e4be7b47b0d: Pull complete [2022-01-12T05:20:12.943Z] e1f770b5df2f: Pull complete [2022-01-12T05:20:16.276Z] 85a0685a4137: Pull complete [2022-01-12T05:20:16.276Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-12T05:20:16.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-12T05:20:16.276Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-12T05:20:16.339Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:20:16.376Z] $ 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-12T05:20:18.506Z] $ docker top a73ffd6d89f5023a4b35a290b2a7fb3792de0186c963fdd6c205d0e0836ecda7 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-12T05:20:18.580Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-12T05:20:18.864Z] + set -o pipefail [2022-01-12T05:20:18.864Z] + snyk monitor '--org=edgex-jenkins' [2022-01-12T05:20:24.200Z] [2022-01-12T05:20:24.200Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-01-12T05:20:24.200Z] [2022-01-12T05:20:24.200Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/519c3e89-8c29-4872-8096-3c19116b4c08 [2022-01-12T05:20:24.200Z] [2022-01-12T05:20:24.200Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-12T05:20:24.200Z] [2022-01-12T05:20:24.200Z] [Pipeline] } [2022-01-12T05:20:24.211Z] $ docker stop --time=1 a73ffd6d89f5023a4b35a290b2a7fb3792de0186c963fdd6c205d0e0836ecda7 [2022-01-12T05:20:26.123Z] $ docker rm -f a73ffd6d89f5023a4b35a290b2a7fb3792de0186c963fdd6c205d0e0836ecda7 [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-12T05:20:26.509Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T05:20:26.520Z] provisioning config files... [2022-01-12T05:20:26.528Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2833596187763510666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:20:26.828Z] --> edgex-publish-swagger.sh [2022-01-12T05:20:26.828Z] === Publish openapi/v2 API === [2022-01-12T05:20:26.828Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-01-12T05:20:26.828Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-01-12T05:20:26.828Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T05:20:26.828Z] Dload Upload Total Spent Left Speed [2022-01-12T05:20:27.400Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 65438 --:--:-- --:--:-- --:--:-- 65557 [2022-01-12T05:20:27.400Z] [2022-01-12T05:20:27.400Z] [Pipeline] } [2022-01-12T05:20:27.407Z] 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-12T05:20:27.800Z] + git log --format=format:%s -1 6af4e576f47094812ab8d15923474e64032289f8 [Pipeline] sh [2022-01-12T05:20:28.096Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T05:20:28.096Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:20:28.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T05:20:28.392Z] . [Pipeline] withDockerContainer [2022-01-12T05:20:28.458Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:20:28.493Z] $ 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-12T05:20:28.844Z] $ docker top 7fdf3e87ce9248f303934e3c10f65f3767d0645fa6e526aa39c445002e84c2ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T05:20:32.805Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T05:20:32.805Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T05:20:32.905Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T05:20:32.908Z] $ docker exec 7fdf3e87ce9248f303934e3c10f65f3767d0645fa6e526aa39c445002e84c2ad ssh-agent [2022-01-12T05:20:33.002Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiMbAHL/agent.15 [2022-01-12T05:20:33.002Z] SSH_AGENT_PID=21 [2022-01-12T05:20:33.007Z] Running ssh-add (command line suppressed) [2022-01-12T05:20:33.105Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8926622644989235244.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8926622644989235244.key) [2022-01-12T05:20:33.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T05:20:33.421Z] + git semver tag [2022-01-12T05:20:33.421Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T05:20:33.421Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-12T05:20:33.421Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-12T05:20:33.421Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T05:20:33.421Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T05:20:33.421Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T05:20:33.421Z] # $SEMVER_BRANCH = main [2022-01-12T05:20:33.421Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-12T05:20:33.421Z] # 6af4e576f47094812ab8d15923474e64032289f8 HEAD [2022-01-12T05:20:33.421Z] # -> Force: false [2022-01-12T05:20:33.421Z] # a5523f2d19a538e8a3f351586a7c084cce1efd1e refs/tags/v2.2.0-dev.7 [Pipeline] } [2022-01-12T05:20:33.430Z] $ docker exec --env ******** --env ******** 7fdf3e87ce9248f303934e3c10f65f3767d0645fa6e526aa39c445002e84c2ad ssh-agent -k [2022-01-12T05:20:33.517Z] unset SSH_AUTH_SOCK; [2022-01-12T05:20:33.517Z] unset SSH_AGENT_PID; [2022-01-12T05:20:33.517Z] echo Agent pid 21 killed; [2022-01-12T05:20:33.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T05:20:33.844Z] + git semver [Pipeline] } [2022-01-12T05:20:33.856Z] $ docker stop --time=1 7fdf3e87ce9248f303934e3c10f65f3767d0645fa6e526aa39c445002e84c2ad [2022-01-12T05:20:35.019Z] $ docker rm -f 7fdf3e87ce9248f303934e3c10f65f3767d0645fa6e526aa39c445002e84c2ad [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:20:35.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-12T05:20:35.407Z] [2022-01-12T05:20:35.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:20:35.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-12T05:20:35.717Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-12T05:20:35.717Z] ab5ef0e58194: Pulling fs layer [2022-01-12T05:20:35.717Z] 9712f1f96733: Pulling fs layer [2022-01-12T05:20:35.717Z] 63f879dbbcfc: Pulling fs layer [2022-01-12T05:20:35.717Z] 0d9ebad4ef96: Pulling fs layer [2022-01-12T05:20:35.717Z] e9a5061849ea: Pulling fs layer [2022-01-12T05:20:35.717Z] d747dcd14b5f: Pulling fs layer [2022-01-12T05:20:35.717Z] 2de7ff778b66: Pulling fs layer [2022-01-12T05:20:35.717Z] 0d9ebad4ef96: Waiting [2022-01-12T05:20:35.717Z] e9a5061849ea: Waiting [2022-01-12T05:20:35.717Z] d747dcd14b5f: Waiting [2022-01-12T05:20:35.717Z] 2de7ff778b66: Waiting [2022-01-12T05:20:35.717Z] 9712f1f96733: Verifying Checksum [2022-01-12T05:20:35.717Z] 9712f1f96733: Download complete [2022-01-12T05:20:35.981Z] 0d9ebad4ef96: Verifying Checksum [2022-01-12T05:20:35.981Z] 0d9ebad4ef96: Download complete [2022-01-12T05:20:36.245Z] 63f879dbbcfc: Verifying Checksum [2022-01-12T05:20:36.245Z] 63f879dbbcfc: Download complete [2022-01-12T05:20:36.245Z] d747dcd14b5f: Verifying Checksum [2022-01-12T05:20:36.245Z] d747dcd14b5f: Download complete [2022-01-12T05:20:36.245Z] e9a5061849ea: Verifying Checksum [2022-01-12T05:20:36.245Z] e9a5061849ea: Download complete [2022-01-12T05:20:36.245Z] ab5ef0e58194: Verifying Checksum [2022-01-12T05:20:36.245Z] ab5ef0e58194: Download complete [2022-01-12T05:20:36.245Z] 2de7ff778b66: Verifying Checksum [2022-01-12T05:20:36.245Z] 2de7ff778b66: Download complete [2022-01-12T05:20:39.578Z] ab5ef0e58194: Pull complete [2022-01-12T05:20:39.578Z] 9712f1f96733: Pull complete [2022-01-12T05:20:40.155Z] 63f879dbbcfc: Pull complete [2022-01-12T05:20:44.396Z] 0d9ebad4ef96: Pull complete [2022-01-12T05:20:44.396Z] e9a5061849ea: Pull complete [2022-01-12T05:20:44.396Z] d747dcd14b5f: Pull complete [2022-01-12T05:20:45.338Z] 2de7ff778b66: Pull complete [2022-01-12T05:20:45.338Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-12T05:20:45.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-12T05:20:45.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-12T05:20:45.399Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:20:45.436Z] $ 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-12T05:20:48.605Z] $ docker top ea4cca9c072bc3e323654ea58e65f8a1708c174cd63d36c2c700723d447db28f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-12T05:20:48.686Z] provisioning config files... [2022-01-12T05:20:48.693Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5890877494549688744tmp [2022-01-12T05:20:48.703Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8998392920102839280tmp [2022-01-12T05:20:48.712Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1901056297234183367tmp [Pipeline] { [Pipeline] echo [2022-01-12T05:20:48.725Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:20:49.019Z] ---> sigul-configuration.sh [2022-01-12T05:20:49.019Z] gpg: directory `/root/.gnupg' created [2022-01-12T05:20:49.019Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-12T05:20:49.019Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-12T05:20:49.019Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-12T05:20:49.019Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-12T05:20:49.019Z] gpg: CAST5 encrypted data [2022-01-12T05:20:49.019Z] gpg: encrypted with 1 passphrase [2022-01-12T05:20:49.019Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-12T05:20:49.305Z] + mkdir /home/jenkins [2022-01-12T05:20:49.305Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-12T05:20:49.602Z] + 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-12T05:20:49.612Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:20:49.906Z] ---> sigul-install.sh [2022-01-12T05:20:49.906Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-12T05:20:50.200Z] + git tag --list [2022-01-12T05:20:50.200Z] 0.7.1 [2022-01-12T05:20:50.200Z] delhi-tag [2022-01-12T05:20:50.200Z] v1.0.0 [2022-01-12T05:20:50.200Z] v1.1.0 [2022-01-12T05:20:50.200Z] v1.1.1 [2022-01-12T05:20:50.200Z] v1.1.2 [2022-01-12T05:20:50.200Z] v1.2.0 [2022-01-12T05:20:50.200Z] v1.2.1 [2022-01-12T05:20:50.200Z] v1.2.2 [2022-01-12T05:20:50.200Z] v1.2.3 [2022-01-12T05:20:50.200Z] v1.3.0 [2022-01-12T05:20:50.200Z] v1.4.0 [2022-01-12T05:20:50.200Z] v2.0.0 [2022-01-12T05:20:50.200Z] v2.0.1-dev.1 [2022-01-12T05:20:50.200Z] v2.0.1-dev.10 [2022-01-12T05:20:50.200Z] v2.0.1-dev.11 [2022-01-12T05:20:50.200Z] v2.0.1-dev.12 [2022-01-12T05:20:50.200Z] v2.0.1-dev.13 [2022-01-12T05:20:50.200Z] v2.0.1-dev.14 [2022-01-12T05:20:50.200Z] v2.0.1-dev.15 [2022-01-12T05:20:50.200Z] v2.0.1-dev.16 [2022-01-12T05:20:50.200Z] v2.0.1-dev.17 [2022-01-12T05:20:50.200Z] v2.0.1-dev.18 [2022-01-12T05:20:50.200Z] v2.0.1-dev.19 [2022-01-12T05:20:50.200Z] v2.0.1-dev.2 [2022-01-12T05:20:50.200Z] v2.0.1-dev.20 [2022-01-12T05:20:50.200Z] v2.0.1-dev.21 [2022-01-12T05:20:50.200Z] v2.0.1-dev.22 [2022-01-12T05:20:50.200Z] v2.0.1-dev.23 [2022-01-12T05:20:50.200Z] v2.0.1-dev.24 [2022-01-12T05:20:50.200Z] v2.0.1-dev.25 [2022-01-12T05:20:50.200Z] v2.0.1-dev.26 [2022-01-12T05:20:50.200Z] v2.0.1-dev.27 [2022-01-12T05:20:50.200Z] v2.0.1-dev.28 [2022-01-12T05:20:50.200Z] v2.0.1-dev.29 [2022-01-12T05:20:50.200Z] v2.0.1-dev.3 [2022-01-12T05:20:50.200Z] v2.0.1-dev.30 [2022-01-12T05:20:50.200Z] v2.0.1-dev.31 [2022-01-12T05:20:50.200Z] v2.0.1-dev.32 [2022-01-12T05:20:50.200Z] v2.0.1-dev.33 [2022-01-12T05:20:50.200Z] v2.0.1-dev.4 [2022-01-12T05:20:50.200Z] v2.0.1-dev.5 [2022-01-12T05:20:50.200Z] v2.0.1-dev.6 [2022-01-12T05:20:50.200Z] v2.0.1-dev.7 [2022-01-12T05:20:50.200Z] v2.0.1-dev.8 [2022-01-12T05:20:50.200Z] v2.0.1-dev.9 [2022-01-12T05:20:50.200Z] v2.1.0 [2022-01-12T05:20:50.200Z] v2.2.0-dev.1 [2022-01-12T05:20:50.200Z] v2.2.0-dev.2 [2022-01-12T05:20:50.200Z] v2.2.0-dev.3 [2022-01-12T05:20:50.200Z] v2.2.0-dev.4 [2022-01-12T05:20:50.200Z] v2.2.0-dev.5 [2022-01-12T05:20:50.200Z] v2.2.0-dev.6 [2022-01-12T05:20:50.200Z] v2.2.0-dev.7 [Pipeline] sh [2022-01-12T05:20:50.485Z] + lftools sign git-tag v2.2.0-dev.7 [2022-01-12T05:20:51.058Z] Signing Git tag with Sigul... [2022-01-12T05:20:51.058Z] Signing v2.2.0-dev.7 [Pipeline] echo [2022-01-12T05:20:51.330Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:20:51.624Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-12T05:20:51.632Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-12T05:20:51.650Z] $ docker stop --time=1 ea4cca9c072bc3e323654ea58e65f8a1708c174cd63d36c2c700723d447db28f [2022-01-12T05:20:52.843Z] $ docker rm -f ea4cca9c072bc3e323654ea58e65f8a1708c174cd63d36c2c700723d447db28f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-12T05:20:53.248Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T05:20:53.248Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:20:53.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T05:20:53.543Z] . [Pipeline] withDockerContainer [2022-01-12T05:20:53.609Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:20:53.645Z] $ 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-12T05:20:53.974Z] $ docker top fabe52b6c8dfba3a22763beb1ffefe09b010084d3eefc1d204ad4ea999c19dcd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T05:20:54.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T05:20:54.062Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T05:20:54.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T05:20:54.170Z] $ docker exec fabe52b6c8dfba3a22763beb1ffefe09b010084d3eefc1d204ad4ea999c19dcd ssh-agent [2022-01-12T05:20:54.259Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfiMBJE/agent.14 [2022-01-12T05:20:54.259Z] SSH_AGENT_PID=20 [2022-01-12T05:20:54.263Z] Running ssh-add (command line suppressed) [2022-01-12T05:20:54.361Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_227702055188057036.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_227702055188057036.key) [2022-01-12T05:20:54.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T05:20:54.663Z] + git semver bump pre [2022-01-12T05:20:54.664Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T05:20:54.664Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-12T05:20:54.664Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-12T05:20:54.664Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T05:20:54.664Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T05:20:54.664Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T05:20:54.664Z] # $SEMVER_BRANCH = main [2022-01-12T05:20:54.664Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-12T05:20:54.664Z] 2.2.0-dev.8 [Pipeline] } [2022-01-12T05:20:54.673Z] $ docker exec --env ******** --env ******** fabe52b6c8dfba3a22763beb1ffefe09b010084d3eefc1d204ad4ea999c19dcd ssh-agent -k [2022-01-12T05:20:54.759Z] unset SSH_AUTH_SOCK; [2022-01-12T05:20:54.759Z] unset SSH_AGENT_PID; [2022-01-12T05:20:54.759Z] echo Agent pid 20 killed; [2022-01-12T05:20:54.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T05:20:55.079Z] + git semver [Pipeline] } [2022-01-12T05:20:55.092Z] $ docker stop --time=1 fabe52b6c8dfba3a22763beb1ffefe09b010084d3eefc1d204ad4ea999c19dcd [2022-01-12T05:20:56.292Z] $ docker rm -f fabe52b6c8dfba3a22763beb1ffefe09b010084d3eefc1d204ad4ea999c19dcd [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T05:20:56.641Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T05:20:56.641Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:20:56.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T05:20:56.937Z] . [Pipeline] withDockerContainer [2022-01-12T05:20:56.993Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:20:57.025Z] $ 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-12T05:20:57.386Z] $ docker top 0931d0f5d65ac35cf8481a3c1fc21efd221fd928613a5582bf7e25077f811983 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T05:20:57.474Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T05:20:57.474Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T05:20:57.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T05:20:57.571Z] $ docker exec 0931d0f5d65ac35cf8481a3c1fc21efd221fd928613a5582bf7e25077f811983 ssh-agent [2022-01-12T05:20:57.670Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXChokNG/agent.13 [2022-01-12T05:20:57.670Z] SSH_AGENT_PID=20 [2022-01-12T05:20:57.679Z] Running ssh-add (command line suppressed) [2022-01-12T05:20:57.773Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4085521516834630103.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4085521516834630103.key) [2022-01-12T05:20:57.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T05:20:58.077Z] + git semver push [2022-01-12T05:20:58.077Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T05:20:58.077Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-12T05:20:58.077Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-12T05:20:58.077Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T05:20:58.078Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T05:20:58.078Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T05:20:58.078Z] # $SEMVER_BRANCH = main [2022-01-12T05:20:58.078Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-12T05:20:59.997Z] $ docker exec --env ******** --env ******** 0931d0f5d65ac35cf8481a3c1fc21efd221fd928613a5582bf7e25077f811983 ssh-agent -k [2022-01-12T05:21:00.079Z] unset SSH_AUTH_SOCK; [2022-01-12T05:21:00.079Z] unset SSH_AGENT_PID; [2022-01-12T05:21:00.079Z] echo Agent pid 20 killed; [2022-01-12T05:21:00.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T05:21:00.402Z] + git semver [Pipeline] } [2022-01-12T05:21:00.416Z] $ docker stop --time=1 0931d0f5d65ac35cf8481a3c1fc21efd221fd928613a5582bf7e25077f811983 [2022-01-12T05:21:01.606Z] $ docker rm -f 0931d0f5d65ac35cf8481a3c1fc21efd221fd928613a5582bf7e25077f811983 [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-12T05:21:02.281Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [2022-01-12T05:21:02.281Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-12T05:21:02.281Z] total 8 [2022-01-12T05:21:02.281Z] drwxr-xr-x. 3 root root 34 Jan 12 05:14 . [2022-01-12T05:21:02.281Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 12 05:20 .. [2022-01-12T05:21:02.281Z] drwxr-xr-x. 2 root root 6 Jan 12 05:14 cost [2022-01-12T05:21:02.281Z] -rw-r--r--. 1 root root 83 Jan 12 05:14 cost.csv [2022-01-12T05:21:02.281Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-12T05:21:02.281Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-12T05:21:02.281Z] total 8 [2022-01-12T05:21:02.281Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 12 05:14 . [2022-01-12T05:21:02.281Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 12 05:20 .. [2022-01-12T05:21:02.281Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 12 05:14 cost [2022-01-12T05:21:02.281Z] -rw-r--r--. 1 jenkins jenkins 83 Jan 12 05:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:21:02.624Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:21:03.186Z] ---> package-listing.sh [2022-01-12T05:21:03.186Z] ++ facter osfamily [2022-01-12T05:21:03.186Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-12T05:21:03.449Z] + OS_FAMILY=redhat [2022-01-12T05:21:03.449Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-01-12T05:21:03.449Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-12T05:21:03.449Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-12T05:21:03.449Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-12T05:21:03.449Z] + PACKAGES=/tmp/packages_start.txt [2022-01-12T05:21:03.449Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-12T05:21:03.449Z] + PACKAGES=/tmp/packages_end.txt [2022-01-12T05:21:03.449Z] + case "${OS_FAMILY}" in [2022-01-12T05:21:03.449Z] + rpm -qa [2022-01-12T05:21:03.449Z] + sort [2022-01-12T05:21:04.019Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-12T05:21:04.019Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-12T05:21:04.019Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-12T05:21:04.019Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-12T05:21:04.019Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-01-12T05:21:04.019Z] + 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-12T05:21:04.032Z] 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-12T05:21:04.315Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-12T05:21:04.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T05:21:04.873Z] . [Pipeline] withDockerContainer [2022-01-12T05:21:04.937Z] prd-centos7-docker-4c-2g-1327 does not seem to be running inside a container [2022-01-12T05:21:04.976Z] $ 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-12T05:21:05.196Z] $ docker top e3cf22cd0b542467bced946bf28f02c06f8813087e61311ce99f2ca7d319f763 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T05:21:05.552Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-12T05:21:05.840Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-12T05:21:06.133Z] + ls /var/log/sa-host [2022-01-12T05:21:06.133Z] + sadf -c /var/log/sa-host/sa12 [2022-01-12T05:21:06.133Z] file_magic: OK [2022-01-12T05:21:06.133Z] HZ: Using current value: 100 [2022-01-12T05:21:06.133Z] file_header: OK [2022-01-12T05:21:06.133Z] 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-12T05:21:06.133Z] Statistics: [2022-01-12T05:21:06.133Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T05:21:06.133Z] File successfully converted to sysstat format version 12.0.3 [2022-01-12T05:21:06.133Z] + sadf -c /var/log/sa-host/sa17 [2022-01-12T05:21:06.133Z] file_magic: OK [2022-01-12T05:21:06.133Z] HZ: Using current value: 100 [2022-01-12T05:21:06.133Z] file_header: OK [2022-01-12T05:21:06.133Z] 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-12T05:21:06.133Z] Statistics: [2022-01-12T05:21:06.133Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T05:21:06.133Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T05:21:06.351Z] provisioning config files... [2022-01-12T05:21:06.360Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2419390993811421481tmp [Pipeline] { [Pipeline] echo [2022-01-12T05:21:06.371Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:21:06.657Z] ---> create-netrc.sh [Pipeline] } [2022-01-12T05:21:06.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:21:07.027Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-12T05:21:07.039Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:21:07.323Z] ---> sudo-logs.sh [2022-01-12T05:21:07.323Z] Archiving 'sudo' log.. [2022-01-12T05:21:07.323Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1327.novalocal: Name or service not known [2022-01-12T05:21:07.323Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1327.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-12T05:21:07.346Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:21:07.636Z] ---> job-cost.sh [2022-01-12T05:21:07.636Z] lf-activate-venv: SKIPPING [2022-01-12T05:21:07.636Z] DEBUG: total: 0.05999999865889549 [2022-01-12T05:21:07.636Z] INFO: Retrieving Stack Cost... [2022-01-12T05:21:07.898Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T05:21:08.158Z] INFO: Archiving Costs [Pipeline] echo [2022-01-12T05:21:08.172Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T05:21:08.458Z] ---> logs-deploy.sh [2022-01-12T05:21:08.458Z] lf-activate-venv: SKIPPING [2022-01-12T05:21:08.458Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/40 [2022-01-12T05:21:08.458Z] INFO: archiving workspace using pattern(s): [2022-01-12T05:21:09.031Z] Archives upload complete. [2022-01-12T05:21:09.293Z] INFO: archiving logs to Nexus