Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f3ddcf8acb855a32ed46a26f751dc40ab556708 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-ssh11616156212607812695.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh14040585484820611841.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh16867127607027990689.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh6904596305557982253.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh6623878110440940887.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21723 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5f3ddcf8acb855a32ed46a26f751dc40ab556708 (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 5f3ddcf8acb855a32ed46a26f751dc40ab556708 # timeout=10 Commit message: "Merge pull request #1142 from jinlinGuan/issue-1104" > git rev-list --no-walk dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-22T02:34:47.527Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-22T02:34:47.598Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-22T02:34:47.615Z] ========================================================= [2022-04-22T02:34:47.615Z] EdgeX Global Pipelines Version Info [2022-04-22T02:34:47.615Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:34:48.376Z] ------------------- [2022-04-22T02:34:48.376Z] stable info: [2022-04-22T02:34:48.376Z] ------------------- [2022-04-22T02:34:48.376Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T02:34:48.376Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-22T02:34:48.376Z] Message: update stable to v1.0.221 [2022-04-22T02:34:48.948Z] ------------------- [2022-04-22T02:34:48.948Z] experimental info: [2022-04-22T02:34:48.948Z] ------------------- [2022-04-22T02:34:48.948Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-22T02:34:48.948Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-22T02:34:48.948Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-22T02:34:49.095Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-22T02:34:49.116Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-22T02:34:49.131Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-22T02:34:49.147Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-22T02:34:49.163Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-22T02:34:49.178Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-22T02:34:49.193Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-22T02:34:49.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-22T02:34:49.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-22T02:34:49.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-22T02:34:49.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-22T02:34:49.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-22T02:34:49.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-22T02:34:49.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-22T02:34:49.353Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-22T02:34:49.365Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T02:34:49.378Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T02:34:49.392Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-22T02:34:49.407Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-22T02:34:49.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-22T02:34:49.443Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-22T02:34:49.457Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-22T02:34:49.472Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-22T02:34:49.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-22T02:34:49.505Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-22T02:34:49.525Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-22T02:34:49.542Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-22T02:34:49.556Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-22T02:34:49.572Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-22T02:34:49.588Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f3ddcf8acb855a32ed46a26f751dc40ab556708 [Pipeline] echo [2022-04-22T02:34:49.598Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f3ddcf [Pipeline] echo [2022-04-22T02:34:49.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:34:49.663Z] provisioning config files... [2022-04-22T02:34:49.677Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5340586305493229656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:34:50.010Z] ---> docker-login.sh [2022-04-22T02:34:50.010Z] nexus3.edgexfoundry.org:10001 [2022-04-22T02:34:50.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:34:50.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:34:50.277Z] Configure a credential helper to remove this warning. See [2022-04-22T02:34:50.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:34:50.277Z] [2022-04-22T02:34:50.277Z] Login Succeeded [2022-04-22T02:34:50.277Z] nexus3.edgexfoundry.org:10002 [2022-04-22T02:34:50.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:34:50.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:34:50.538Z] Configure a credential helper to remove this warning. See [2022-04-22T02:34:50.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:34:50.538Z] [2022-04-22T02:34:50.538Z] Login Succeeded [2022-04-22T02:34:50.538Z] nexus3.edgexfoundry.org:10003 [2022-04-22T02:34:50.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:34:50.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:34:50.538Z] Configure a credential helper to remove this warning. See [2022-04-22T02:34:50.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:34:50.538Z] [2022-04-22T02:34:50.538Z] Login Succeeded [2022-04-22T02:34:50.538Z] nexus3.edgexfoundry.org:10004 [2022-04-22T02:34:50.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:34:50.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:34:50.800Z] Configure a credential helper to remove this warning. See [2022-04-22T02:34:50.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:34:50.800Z] [2022-04-22T02:34:50.800Z] Login Succeeded [2022-04-22T02:34:50.800Z] docker.io [2022-04-22T02:34:50.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:34:51.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:34:51.062Z] Configure a credential helper to remove this warning. See [2022-04-22T02:34:51.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:34:51.062Z] [2022-04-22T02:34:51.062Z] Login Succeeded [2022-04-22T02:34:51.062Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T02:34:51.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-22T02:34:51.464Z] + git rev-list -1 --merges 5f3ddcf8acb855a32ed46a26f751dc40ab556708~1..5f3ddcf8acb855a32ed46a26f751dc40ab556708 [Pipeline] echo [2022-04-22T02:34:51.551Z] -----------> git rev-list -1 --merges 5f3ddcf8acb855a32ed46a26f751dc40ab556708~1..5f3ddcf8acb855a32ed46a26f751dc40ab556708 5f3ddcf8acb855a32ed46a26f751dc40ab556708 [2022-04-22T02:34:51.551Z] 5f3ddcf8acb855a32ed46a26f751dc40ab556708 [false] [Pipeline] sh [2022-04-22T02:34:51.840Z] + git log --format=format:%s -1 5f3ddcf8acb855a32ed46a26f751dc40ab556708 [Pipeline] echo [2022-04-22T02:34:51.861Z] ========================================================= [2022-04-22T02:34:51.862Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-22T02:34:51.862Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T02:34:52.198Z] + git log --format=format:%s -1 5f3ddcf8acb855a32ed46a26f751dc40ab556708 [Pipeline] echo [2022-04-22T02:34:52.212Z] [semverPrep] GIT_COMMIT: 5f3ddcf8acb855a32ed46a26f751dc40ab556708, Commit Message: Merge pull request #1142 from jinlinGuan/issue-1104 [Pipeline] echo [2022-04-22T02:34:52.225Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-22T02:34:52.624Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T02:34:52.625Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-22T02:34:52.625Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-22T02:34:52.625Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-22T02:34:52.625Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-22T02:34:52.625Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-22T02:34:52.625Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:34:52.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:34:52.972Z] [2022-04-22T02:34:52.972Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:34:53.282Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:34:53.282Z] latest: Pulling from edgex-devops/git-semver [2022-04-22T02:34:53.282Z] a0d0a0d46f8b: Pulling fs layer [2022-04-22T02:34:53.282Z] 3e5f54012d9b: Pulling fs layer [2022-04-22T02:34:53.282Z] 4c7163046ea9: Pulling fs layer [2022-04-22T02:34:53.282Z] 0c2d73faf560: Pulling fs layer [2022-04-22T02:34:53.282Z] 0c2d73faf560: Waiting [2022-04-22T02:34:53.282Z] 3e5f54012d9b: Verifying Checksum [2022-04-22T02:34:53.282Z] 3e5f54012d9b: Download complete [2022-04-22T02:34:53.282Z] a0d0a0d46f8b: Verifying Checksum [2022-04-22T02:34:53.282Z] a0d0a0d46f8b: Download complete [2022-04-22T02:34:53.282Z] 4c7163046ea9: Download complete [2022-04-22T02:34:53.283Z] 0c2d73faf560: Verifying Checksum [2022-04-22T02:34:53.283Z] 0c2d73faf560: Download complete [2022-04-22T02:34:53.545Z] a0d0a0d46f8b: Pull complete [2022-04-22T02:34:53.545Z] 3e5f54012d9b: Pull complete [2022-04-22T02:34:53.805Z] 4c7163046ea9: Pull complete [2022-04-22T02:34:54.069Z] 0c2d73faf560: Pull complete [2022-04-22T02:34:54.069Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-22T02:34:54.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:34:54.069Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-22T02:34:54.145Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:34:54.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T02:34:54.859Z] $ docker top e3a938fe8bec0911e3f45596414b820f9fc73d7ae120790e573efad2b0d39619 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T02:34:54.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T02:34:54.975Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T02:34:55.098Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T02:34:55.094Z] $ docker exec e3a938fe8bec0911e3f45596414b820f9fc73d7ae120790e573efad2b0d39619 ssh-agent [2022-04-22T02:34:55.237Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBfpBga/agent.14 [2022-04-22T02:34:55.237Z] SSH_AGENT_PID=20 [2022-04-22T02:34:55.246Z] Running ssh-add (command line suppressed) [2022-04-22T02:34:55.355Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2018584301604295428.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2018584301604295428.key) [2022-04-22T02:34:55.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T02:34:55.684Z] + git tag --points-at HEAD [Pipeline] } [2022-04-22T02:34:55.699Z] $ docker exec --env ******** --env ******** e3a938fe8bec0911e3f45596414b820f9fc73d7ae120790e573efad2b0d39619 ssh-agent -k [2022-04-22T02:34:55.812Z] unset SSH_AUTH_SOCK; [2022-04-22T02:34:55.812Z] unset SSH_AGENT_PID; [2022-04-22T02:34:55.812Z] echo Agent pid 20 killed; [2022-04-22T02:34:55.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-22T02:34:55.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T02:34:55.862Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T02:34:55.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T02:34:55.984Z] $ docker exec e3a938fe8bec0911e3f45596414b820f9fc73d7ae120790e573efad2b0d39619 ssh-agent [2022-04-22T02:34:56.106Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXILFlbb/agent.54 [2022-04-22T02:34:56.106Z] SSH_AGENT_PID=60 [2022-04-22T02:34:56.111Z] Running ssh-add (command line suppressed) [2022-04-22T02:34:56.212Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_506841739328249971.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_506841739328249971.key) [2022-04-22T02:34:56.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T02:34:56.527Z] + git semver init [2022-04-22T02:34:56.527Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T02:34:56.527Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T02:34:56.527Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T02:34:56.527Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T02:34:56.527Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T02:34:56.527Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T02:34:56.527Z] # $SEMVER_BRANCH = main [2022-04-22T02:34:56.527Z] # $SEMVER_TEMP = /tmp/semver-641599395 [2022-04-22T02:34:56.527Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-22T02:34:57.472Z] # '/tmp/semver-641599395' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-04-22T02:34:57.472Z] # -> Force: false [2022-04-22T02:34:57.472Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-22T02:34:57.742Z] $ docker exec --env ******** --env ******** e3a938fe8bec0911e3f45596414b820f9fc73d7ae120790e573efad2b0d39619 ssh-agent -k [2022-04-22T02:34:57.841Z] unset SSH_AUTH_SOCK; [2022-04-22T02:34:57.841Z] unset SSH_AGENT_PID; [2022-04-22T02:34:57.841Z] echo Agent pid 60 killed; [2022-04-22T02:34:57.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T02:34:58.180Z] + git semver [Pipeline] } [2022-04-22T02:34:58.192Z] $ docker stop --time=1 e3a938fe8bec0911e3f45596414b820f9fc73d7ae120790e573efad2b0d39619 [2022-04-22T02:34:59.525Z] $ docker rm -f e3a938fe8bec0911e3f45596414b820f9fc73d7ae120790e573efad2b0d39619 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T02:34:59.895Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-22T02:35:00.183Z] Stashed 1 file(s) [Pipeline] echo [2022-04-22T02:35:00.187Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.29 [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-04-22T02:35:00.314Z] provisioning config files... [2022-04-22T02:35:00.325Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6175102643705599327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:35:00.627Z] ---> docker-login.sh [2022-04-22T02:35:00.628Z] nexus3.edgexfoundry.org:10001 [2022-04-22T02:35:00.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:00.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:00.628Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:00.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:00.628Z] [2022-04-22T02:35:00.628Z] Login Succeeded [2022-04-22T02:35:00.628Z] nexus3.edgexfoundry.org:10002 [2022-04-22T02:35:00.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:00.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:00.888Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:00.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:00.888Z] [2022-04-22T02:35:00.888Z] Login Succeeded [2022-04-22T02:35:00.888Z] nexus3.edgexfoundry.org:10003 [2022-04-22T02:35:00.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:00.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:00.888Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:00.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:00.888Z] [2022-04-22T02:35:00.888Z] Login Succeeded [2022-04-22T02:35:00.888Z] nexus3.edgexfoundry.org:10004 [2022-04-22T02:35:00.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:01.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:01.148Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:01.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:01.148Z] [2022-04-22T02:35:01.148Z] Login Succeeded [2022-04-22T02:35:01.148Z] docker.io [2022-04-22T02:35:01.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:35:01.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:35:01.408Z] Configure a credential helper to remove this warning. See [2022-04-22T02:35:01.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:35:01.408Z] [2022-04-22T02:35:01.408Z] Login Succeeded [2022-04-22T02:35:01.408Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T02:35:01.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T02:35:01.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T02:35:01.511Z] ========================================================= [2022-04-22T02:35:01.511Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-22T02:35:01.511Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:35:01.824Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T02:35:01.824Z] Sending build context to Docker daemon 9.499MB [2022-04-22T02:35:01.824Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:35:01.824Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T02:35:01.824Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-22T02:35:01.824Z] 59bf1c3509f3: Pulling fs layer [2022-04-22T02:35:01.824Z] 666ba61612fd: Pulling fs layer [2022-04-22T02:35:01.824Z] 8ed8ca486205: Pulling fs layer [2022-04-22T02:35:01.824Z] 4fe6c5a15a65: Pulling fs layer [2022-04-22T02:35:01.824Z] 22a0e8bec74d: Pulling fs layer [2022-04-22T02:35:01.824Z] 640e595b4fbd: Pulling fs layer [2022-04-22T02:35:01.824Z] 763cafe07f6e: Pulling fs layer [2022-04-22T02:35:01.824Z] 0c0b528cf693: Pulling fs layer [2022-04-22T02:35:01.824Z] 10935f4eaf8b: Pulling fs layer [2022-04-22T02:35:01.824Z] 4fe6c5a15a65: Waiting [2022-04-22T02:35:01.824Z] 640e595b4fbd: Waiting [2022-04-22T02:35:01.824Z] 0c0b528cf693: Waiting [2022-04-22T02:35:01.824Z] 763cafe07f6e: Waiting [2022-04-22T02:35:01.824Z] 10935f4eaf8b: Waiting [2022-04-22T02:35:02.085Z] 8ed8ca486205: Download complete [2022-04-22T02:35:02.085Z] 666ba61612fd: Download complete [2022-04-22T02:35:02.085Z] 22a0e8bec74d: Verifying Checksum [2022-04-22T02:35:02.085Z] 22a0e8bec74d: Download complete [2022-04-22T02:35:02.085Z] 640e595b4fbd: Verifying Checksum [2022-04-22T02:35:02.085Z] 640e595b4fbd: Download complete [2022-04-22T02:35:02.085Z] 59bf1c3509f3: Verifying Checksum [2022-04-22T02:35:02.085Z] 763cafe07f6e: Verifying Checksum [2022-04-22T02:35:02.085Z] 763cafe07f6e: Download complete [2022-04-22T02:35:02.085Z] 0c0b528cf693: Verifying Checksum [2022-04-22T02:35:02.085Z] 0c0b528cf693: Download complete [2022-04-22T02:35:02.085Z] 59bf1c3509f3: Pull complete [2022-04-22T02:35:02.349Z] 666ba61612fd: Pull complete [2022-04-22T02:35:02.349Z] 8ed8ca486205: Pull complete [2022-04-22T02:35:02.612Z] 10935f4eaf8b: Verifying Checksum [2022-04-22T02:35:02.612Z] 10935f4eaf8b: Download complete [2022-04-22T02:35:02.873Z] 4fe6c5a15a65: Verifying Checksum [2022-04-22T02:35:02.873Z] 4fe6c5a15a65: Download complete [2022-04-22T02:35:07.075Z] 4fe6c5a15a65: Pull complete [2022-04-22T02:35:07.075Z] 22a0e8bec74d: Pull complete [2022-04-22T02:35:07.075Z] 640e595b4fbd: Pull complete [2022-04-22T02:35:07.075Z] 763cafe07f6e: Pull complete [2022-04-22T02:35:07.075Z] 0c0b528cf693: Pull complete [2022-04-22T02:35:08.984Z] 10935f4eaf8b: Pull complete [2022-04-22T02:35:09.247Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-22T02:35:09.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-22T02:35:09.247Z] ---> 99d49a6021b9 [2022-04-22T02:35:09.247Z] Step 3/11 : ARG MAKE=make build [2022-04-22T02:35:10.631Z] ---> Running in 6712de6fe4ac [2022-04-22T02:35:10.631Z] Removing intermediate container 6712de6fe4ac [2022-04-22T02:35:10.631Z] ---> 464efb730225 [2022-04-22T02:35:10.631Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T02:35:10.631Z] ---> Running in c2c4169da3f1 [2022-04-22T02:35:10.631Z] Removing intermediate container c2c4169da3f1 [2022-04-22T02:35:10.631Z] ---> 9be494d12283 [2022-04-22T02:35:10.631Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:35:10.891Z] ---> Running in bee088ff6714 [2022-04-22T02:35:10.891Z] Removing intermediate container bee088ff6714 [2022-04-22T02:35:10.891Z] ---> 95557c0e63ac [2022-04-22T02:35:10.891Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:35:10.891Z] ---> Running in 9623f16f3293 [2022-04-22T02:35:11.464Z] Removing intermediate container 9623f16f3293 [2022-04-22T02:35:11.464Z] ---> e17bf34bfe22 [2022-04-22T02:35:11.464Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:35:11.726Z] ---> Running in 5b8f58b432d7 [2022-04-22T02:35:11.989Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T02:35:12.932Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T02:35:12.932Z] OK: 221 MiB in 52 packages [2022-04-22T02:35:13.505Z] Removing intermediate container 5b8f58b432d7 [2022-04-22T02:35:13.505Z] ---> 0c4a88329e53 [2022-04-22T02:35:13.505Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T02:35:13.505Z] ---> 7b3ef0d1fea7 [2022-04-22T02:35:13.505Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:35:13.505Z] ---> Running in 37bcb763033c [2022-04-22T02:35:15.280Z] Still waiting to schedule task [2022-04-22T02:35:15.280Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21722’ [2022-04-22T02:35:28.427Z] Removing intermediate container 37bcb763033c [2022-04-22T02:35:28.427Z] ---> 7afc14df16ba [2022-04-22T02:35:28.427Z] Step 10/11 : COPY . . [2022-04-22T02:35:28.996Z] ---> 923b6d70926d [2022-04-22T02:35:28.996Z] Step 11/11 : RUN ${MAKE} [2022-04-22T02:35:28.996Z] ---> Running in 2ca0e8c1730d [2022-04-22T02:35:28.996Z] noop [2022-04-22T02:35:29.573Z] Removing intermediate container 2ca0e8c1730d [2022-04-22T02:35:29.573Z] ---> 7799527fb6fe [2022-04-22T02:35:29.573Z] Successfully built 7799527fb6fe [2022-04-22T02:35:29.573Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:35:29.875Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T02:35:29.875Z] . [Pipeline] withDockerContainer [2022-04-22T02:35:29.938Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:35:29.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T02:35:30.373Z] $ docker top a02e9e465b321e40661906b919ea9d2b73351aee9396f6d23864e56be4d7b89b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T02:35:30.715Z] + go version [2022-04-22T02:35:30.715Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-22T02:35:30.734Z] $ docker stop --time=1 a02e9e465b321e40661906b919ea9d2b73351aee9396f6d23864e56be4d7b89b [2022-04-22T02:35:31.990Z] $ docker rm -f a02e9e465b321e40661906b919ea9d2b73351aee9396f6d23864e56be4d7b89b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:35:32.417Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-22T02:35:32.417Z] . [Pipeline] withDockerContainer [2022-04-22T02:35:32.480Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:35:32.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-22T02:35:32.923Z] $ docker top 4c2a3768661bbebfd7c0f994e504a2f131dfc2f6d1eab4dfbec9297226dbe92a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T02:35:33.289Z] + make test [2022-04-22T02:35:33.289Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T02:35:38.574Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T02:35:50.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T02:35:50.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T02:35:50.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T02:35:50.920Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.079s coverage: 23.3% of statements [2022-04-22T02:35:50.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T02:35:51.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 27.6% of statements [2022-04-22T02:35:51.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2022-04-22T02:35:51.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.072s coverage: 10.8% of statements [2022-04-22T02:35:51.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.094s coverage: 60.0% of statements [2022-04-22T02:35:51.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T02:35:51.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T02:35:51.440Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.071s coverage: 34.7% of statements [2022-04-22T02:35:51.440Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T02:35:51.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.092s coverage: 86.1% of statements [2022-04-22T02:35:51.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T02:35:51.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T02:35:51.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.127s coverage: 65.1% of statements [2022-04-22T02:35:51.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.808s coverage: 89.2% of statements [2022-04-22T02:35:51.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T02:35:51.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-04-22T02:35:51.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T02:36:06.595Z] GO111MODULE=on go vet ./... [2022-04-22T02:36:10.796Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T02:36:10.796Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T02:36:10.796Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T02:36:11.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T02:36:11.093Z] $ docker stop --time=1 4c2a3768661bbebfd7c0f994e504a2f131dfc2f6d1eab4dfbec9297226dbe92a [2022-04-22T02:36:13.191Z] $ docker rm -f 4c2a3768661bbebfd7c0f994e504a2f131dfc2f6d1eab4dfbec9297226dbe92a [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T02:36:13.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T02:36:13.765Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-22T02:36:14.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T02:36:14.645Z] + ls -al . [2022-04-22T02:36:14.645Z] total 296 [2022-04-22T02:36:14.645Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 02:36 . [2022-04-22T02:36:14.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:34 .. [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:34 .dockerignore [2022-04-22T02:36:14.645Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:34 .git [2022-04-22T02:36:14.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:34 .github [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 02:34 .gitignore [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 02:34 .golangci.yml [2022-04-22T02:36:14.645Z] drwx------ 3 jenkins jenkins 4096 Apr 22 02:34 .semver [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 02:34 CHANGELOG.md [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 02:34 GOVERNANCE.md [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 02:34 Jenkinsfile [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:34 LICENSE [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 02:34 Makefile [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 02:34 OWNERS.md [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 02:34 README.md [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 22 02:34 VERSION [2022-04-22T02:36:14.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:34 bin [2022-04-22T02:36:14.645Z] -rw-r--r-- 1 jenkins jenkins 131009 Apr 22 02:35 coverage.out [2022-04-22T02:36:14.645Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:34 example [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 02:34 go.mod [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 34437 Apr 22 02:34 go.sum [2022-04-22T02:36:14.645Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:34 internal [2022-04-22T02:36:14.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:34 openapi [2022-04-22T02:36:14.645Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:34 pkg [2022-04-22T02:36:14.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:34 snap [2022-04-22T02:36:14.645Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:36:14.945Z] + 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=5f3ddcf8acb855a32ed46a26f751dc40ab556708 --label arch=amd64 --label version=2.2.0-dev.29 . [2022-04-22T02:36:14.945Z] Sending build context to Docker daemon 9.631MB [2022-04-22T02:36:14.945Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:36:14.945Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T02:36:14.945Z] ---> 7799527fb6fe [2022-04-22T02:36:14.945Z] Step 3/25 : ARG MAKE=make build [2022-04-22T02:36:14.945Z] ---> Running in e8f168c56b6a [2022-04-22T02:36:15.206Z] Removing intermediate container e8f168c56b6a [2022-04-22T02:36:15.206Z] ---> d3b104132604 [2022-04-22T02:36:15.206Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T02:36:15.206Z] ---> Running in 68092b5d1a60 [2022-04-22T02:36:15.206Z] Removing intermediate container 68092b5d1a60 [2022-04-22T02:36:15.206Z] ---> 17d585e15bba [2022-04-22T02:36:15.206Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:36:15.466Z] ---> Running in 8b71a835f915 [2022-04-22T02:36:15.466Z] Removing intermediate container 8b71a835f915 [2022-04-22T02:36:15.466Z] ---> 44cdb306c88d [2022-04-22T02:36:15.466Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:36:15.466Z] ---> Running in 65180892c400 [2022-04-22T02:36:16.037Z] Removing intermediate container 65180892c400 [2022-04-22T02:36:16.037Z] ---> ae64b2337bb6 [2022-04-22T02:36:16.037Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:36:16.037Z] ---> Running in 37516de372c0 [2022-04-22T02:36:16.613Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-22T02:36:17.184Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-22T02:36:17.444Z] OK: 221 MiB in 52 packages [2022-04-22T02:36:18.015Z] Removing intermediate container 37516de372c0 [2022-04-22T02:36:18.015Z] ---> 63a1a61e28ac [2022-04-22T02:36:18.015Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T02:36:18.015Z] ---> 8474d0d526c3 [2022-04-22T02:36:18.015Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:36:18.015Z] ---> Running in 35d381325610 [2022-04-22T02:36:18.996Z] Removing intermediate container 35d381325610 [2022-04-22T02:36:18.996Z] ---> 91a82de59810 [2022-04-22T02:36:18.996Z] Step 10/25 : COPY . . [2022-04-22T02:36:19.257Z] ---> c7a7f2a1bd6f [2022-04-22T02:36:19.257Z] Step 11/25 : RUN ${MAKE} [2022-04-22T02:36:19.257Z] ---> Running in 08ed14970f6c [2022-04-22T02:36:19.516Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.29" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-22T02:36:37.617Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T02:36:37.878Z] Removing intermediate container 08ed14970f6c [2022-04-22T02:36:37.878Z] ---> 80e1b10f164a [2022-04-22T02:36:37.878Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T02:36:38.448Z] 3.14: Pulling from library/alpine [2022-04-22T02:36:38.709Z] 8663204ce13b: Pulling fs layer [2022-04-22T02:36:38.968Z] 8663204ce13b: Verifying Checksum [2022-04-22T02:36:38.968Z] 8663204ce13b: Download complete [2022-04-22T02:36:38.968Z] 8663204ce13b: Pull complete [2022-04-22T02:36:38.968Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T02:36:38.968Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T02:36:38.968Z] ---> e04c818066af [2022-04-22T02:36:38.968Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:36:38.968Z] ---> Running in 4003c39633c6 [2022-04-22T02:36:39.228Z] Removing intermediate container 4003c39633c6 [2022-04-22T02:36:39.228Z] ---> 31711343566a [2022-04-22T02:36:39.228Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:36:39.228Z] ---> Running in 2c7925cd4843 [2022-04-22T02:36:39.797Z] Removing intermediate container 2c7925cd4843 [2022-04-22T02:36:39.797Z] ---> cb6e2245719c [2022-04-22T02:36:39.797Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T02:36:39.797Z] ---> Running in 061b313e619e [2022-04-22T02:36:40.056Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-22T02:36:40.996Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-22T02:36:41.256Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T02:36:41.256Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T02:36:41.515Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T02:36:41.515Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T02:36:41.515Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T02:36:41.786Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T02:36:41.786Z] OK: 8 MiB in 19 packages [2022-04-22T02:36:42.045Z] Removing intermediate container 061b313e619e [2022-04-22T02:36:42.045Z] ---> 56863c0ba456 [2022-04-22T02:36:42.045Z] Step 16/25 : WORKDIR / [2022-04-22T02:36:42.045Z] ---> Running in d37d50453f9e [2022-04-22T02:36:42.045Z] Removing intermediate container d37d50453f9e [2022-04-22T02:36:42.045Z] ---> 2ba2453f4a0c [2022-04-22T02:36:42.045Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T02:36:42.303Z] ---> 1a8cd8a25a70 [2022-04-22T02:36:42.303Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T02:36:42.871Z] ---> 4afaef6c647f [2022-04-22T02:36:42.871Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T02:36:42.871Z] ---> f991b2839768 [2022-04-22T02:36:42.871Z] Step 20/25 : EXPOSE 59999 [2022-04-22T02:36:43.132Z] ---> Running in 40edcd06d496 [2022-04-22T02:36:43.132Z] Removing intermediate container 40edcd06d496 [2022-04-22T02:36:43.132Z] ---> b04e53d85138 [2022-04-22T02:36:43.132Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T02:36:43.132Z] ---> Running in 515060bdd3c7 [2022-04-22T02:36:43.133Z] Removing intermediate container 515060bdd3c7 [2022-04-22T02:36:43.133Z] ---> 4c7beeb2b1c0 [2022-04-22T02:36:43.133Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T02:36:43.393Z] ---> Running in 46ec076656c6 [2022-04-22T02:36:43.393Z] Removing intermediate container 46ec076656c6 [2022-04-22T02:36:43.393Z] ---> 096fb4311e1f [2022-04-22T02:36:43.393Z] Step 23/25 : LABEL arch=amd64 [2022-04-22T02:36:43.393Z] ---> Running in 89926400037d [2022-04-22T02:36:43.393Z] Removing intermediate container 89926400037d [2022-04-22T02:36:43.393Z] ---> 769a1a37e9ec [2022-04-22T02:36:43.393Z] Step 24/25 : LABEL git_sha=5f3ddcf8acb855a32ed46a26f751dc40ab556708 [2022-04-22T02:36:43.652Z] ---> Running in eac728bc82b2 [2022-04-22T02:36:43.652Z] Removing intermediate container eac728bc82b2 [2022-04-22T02:36:43.652Z] ---> 243b8b1bf9e5 [2022-04-22T02:36:43.652Z] Step 25/25 : LABEL version=2.2.0-dev.29 [2022-04-22T02:36:43.652Z] ---> Running in d01eb70525e4 [2022-04-22T02:36:43.652Z] Removing intermediate container d01eb70525e4 [2022-04-22T02:36:43.652Z] ---> 863bcab075be [2022-04-22T02:36:43.652Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T02:36:43.652Z] Successfully built 863bcab075be [2022-04-22T02:36:43.652Z] 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-04-22T02:36:44.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:36:44.050Z] [2022-04-22T02:36:44.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:36:44.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:36:44.358Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-22T02:36:44.358Z] 5eb5b503b376: Pulling fs layer [2022-04-22T02:36:44.358Z] 5c69ac0246d0: Pulling fs layer [2022-04-22T02:36:44.358Z] ec43610c2a17: Pulling fs layer [2022-04-22T02:36:44.358Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-22T02:36:44.358Z] 33b1e0a273af: Pulling fs layer [2022-04-22T02:36:44.358Z] 5d3b04190fa2: Pulling fs layer [2022-04-22T02:36:44.358Z] 2f39f015ded8: Pulling fs layer [2022-04-22T02:36:44.358Z] 3a2ae6a8a46f: Waiting [2022-04-22T02:36:44.358Z] 5d3b04190fa2: Waiting [2022-04-22T02:36:44.358Z] 33b1e0a273af: Waiting [2022-04-22T02:36:44.358Z] 5c69ac0246d0: Download complete [2022-04-22T02:36:44.358Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-22T02:36:44.358Z] 3a2ae6a8a46f: Download complete [2022-04-22T02:36:44.358Z] 33b1e0a273af: Verifying Checksum [2022-04-22T02:36:44.358Z] 33b1e0a273af: Download complete [2022-04-22T02:36:44.358Z] 5d3b04190fa2: Verifying Checksum [2022-04-22T02:36:44.358Z] 5d3b04190fa2: Download complete [2022-04-22T02:36:44.619Z] ec43610c2a17: Verifying Checksum [2022-04-22T02:36:44.619Z] ec43610c2a17: Download complete [2022-04-22T02:36:44.619Z] 5eb5b503b376: Verifying Checksum [2022-04-22T02:36:44.619Z] 5eb5b503b376: Download complete [2022-04-22T02:36:45.187Z] 2f39f015ded8: Download complete [2022-04-22T02:36:45.755Z] 5eb5b503b376: Pull complete [2022-04-22T02:36:46.014Z] 5c69ac0246d0: Pull complete [2022-04-22T02:36:46.274Z] ec43610c2a17: Pull complete [2022-04-22T02:36:46.534Z] 3a2ae6a8a46f: Pull complete [2022-04-22T02:36:46.793Z] 33b1e0a273af: Pull complete [2022-04-22T02:36:46.793Z] 5d3b04190fa2: Pull complete [2022-04-22T02:36:52.067Z] 2f39f015ded8: Pull complete [2022-04-22T02:36:52.067Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-22T02:36:52.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:36:52.067Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-22T02:36:52.136Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:36:52.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T02:36:53.773Z] $ docker top 02d467188388652377140640e06d4f807e81f5483249ed990376e29ae8e010e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:36:54.169Z] ---> job-cost.sh [2022-04-22T02:36:54.169Z] lf-activate-venv: SKIPPING [2022-04-22T02:36:54.169Z] INFO: No Stack... [2022-04-22T02:36:54.741Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T02:36:55.002Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T02:36:55.295Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-04-22T02:36:55.295Z] + cut -d, -f6 [Pipeline] lock [2022-04-22T02:36:55.313Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-62-stack-cost] [2022-04-22T02:36:55.323Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-62-stack-cost] did not exist. Created. [2022-04-22T02:36:55.323Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T02:36:55.634Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-22T02:36:55.666Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T02:36:55.673Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T02:36:55.703Z] $ docker stop --time=1 02d467188388652377140640e06d4f807e81f5483249ed990376e29ae8e010e9 [2022-04-22T02:36:56.884Z] $ docker rm -f 02d467188388652377140640e06d4f807e81f5483249ed990376e29ae8e010e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-22T02:38:11.159Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21726 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-04-22T02:38:11.178Z] Running in /w/workspace/device-sdk-go/62 [Pipeline] { [Pipeline] checkout [2022-04-22T02:38:11.497Z] The recommended git tool is: git [2022-04-22T02:38:19.080Z] using credential edgex-jenkins-ssh [2022-04-22T02:38:19.098Z] Cloning the remote Git repository [2022-04-22T02:38:19.191Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T02:38:19.342Z] > git init /w/workspace/device-sdk-go/62 # timeout=10 [2022-04-22T02:38:19.437Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-22T02:38:19.438Z] > git --version # timeout=10 [2022-04-22T02:38:19.458Z] > git --version # 'git version 2.25.1' [2022-04-22T02:38:19.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-22T02:38:19.570Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T02:38:21.226Z] Avoid second fetch [2022-04-22T02:38:21.227Z] Checking out Revision 5f3ddcf8acb855a32ed46a26f751dc40ab556708 (main) [2022-04-22T02:38:21.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-22T02:38:21.209Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-22T02:38:21.257Z] > git config core.sparsecheckout # timeout=10 [2022-04-22T02:38:21.281Z] > git checkout -f 5f3ddcf8acb855a32ed46a26f751dc40ab556708 # timeout=10 [2022-04-22T02:38:25.674Z] Commit message: "Merge pull request #1142 from jinlinGuan/issue-1104" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T02:38:26.695Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-22T02:38:26.695Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T02:38:26.695Z] Dload Upload Total Spent Left Speed [2022-04-22T02:38:26.695Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 88380 100 11843 100 11843 0 0 87725 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh [2022-04-22T02:38:27.263Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-22T02:38:27.631Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-22T02:38:27.631Z] + sudo tee /etc/docker/daemon.new [2022-04-22T02:38:27.631Z] { [2022-04-22T02:38:27.631Z] "registry-mirrors": [ [2022-04-22T02:38:27.631Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-22T02:38:27.631Z] ], [2022-04-22T02:38:27.631Z] "bip": "10.250.0.254/24", [2022-04-22T02:38:27.631Z] "hosts": [ [2022-04-22T02:38:27.631Z] "tcp://0.0.0.0:5555", [2022-04-22T02:38:27.631Z] "unix:///var/run/docker.sock" [2022-04-22T02:38:27.631Z] ], [2022-04-22T02:38:27.631Z] "mtu": 1458, [2022-04-22T02:38:27.631Z] "selinux-enabled": true, [2022-04-22T02:38:27.631Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-22T02:38:27.631Z] } [Pipeline] sh [2022-04-22T02:38:28.006Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-22T02:38:28.372Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:38:46.779Z] provisioning config files... [2022-04-22T02:38:46.809Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/62@tmp/config2040233458027630295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:38:47.317Z] ---> docker-login.sh [2022-04-22T02:38:47.318Z] nexus3.edgexfoundry.org:10001 [2022-04-22T02:38:47.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:38:48.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:38:48.541Z] Configure a credential helper to remove this warning. See [2022-04-22T02:38:48.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:38:48.541Z] [2022-04-22T02:38:48.541Z] Login Succeeded [2022-04-22T02:38:48.541Z] nexus3.edgexfoundry.org:10002 [2022-04-22T02:38:48.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:38:49.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:38:49.093Z] Configure a credential helper to remove this warning. See [2022-04-22T02:38:49.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:38:49.094Z] [2022-04-22T02:38:49.094Z] Login Succeeded [2022-04-22T02:38:49.094Z] nexus3.edgexfoundry.org:10003 [2022-04-22T02:38:49.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:38:49.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:38:49.650Z] Configure a credential helper to remove this warning. See [2022-04-22T02:38:49.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:38:49.650Z] [2022-04-22T02:38:49.650Z] Login Succeeded [2022-04-22T02:38:49.650Z] nexus3.edgexfoundry.org:10004 [2022-04-22T02:38:49.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:38:50.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:38:50.209Z] Configure a credential helper to remove this warning. See [2022-04-22T02:38:50.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:38:50.209Z] [2022-04-22T02:38:50.209Z] Login Succeeded [2022-04-22T02:38:50.209Z] docker.io [2022-04-22T02:38:50.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-22T02:38:51.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-22T02:38:51.082Z] Configure a credential helper to remove this warning. See [2022-04-22T02:38:51.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-22T02:38:51.082Z] [2022-04-22T02:38:51.082Z] Login Succeeded [2022-04-22T02:38:51.082Z] ---> docker-login.sh ends [Pipeline] } [2022-04-22T02:38:51.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-22T02:38:51.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-22T02:38:51.626Z] ========================================================= [2022-04-22T02:38:51.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-22T02:38:51.626Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:38:52.031Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-22T02:38:52.656Z] Sending build context to Docker daemon 5.144MB [2022-04-22T02:38:52.656Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:38:52.656Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-22T02:38:52.936Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-22T02:38:52.936Z] 9b3977197b4f: Pulling fs layer [2022-04-22T02:38:52.936Z] 1a89e8eeedd5: Pulling fs layer [2022-04-22T02:38:52.936Z] 94645a83ff95: Pulling fs layer [2022-04-22T02:38:52.936Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-22T02:38:52.936Z] 0c92f367c5e7: Pulling fs layer [2022-04-22T02:38:52.936Z] f7c0051592d6: Pulling fs layer [2022-04-22T02:38:52.936Z] a227ed2f7395: Pulling fs layer [2022-04-22T02:38:52.936Z] 7b1c46037f91: Pulling fs layer [2022-04-22T02:38:52.936Z] f7c0051592d6: Waiting [2022-04-22T02:38:52.936Z] 3f3a8bcf1eab: Waiting [2022-04-22T02:38:52.936Z] 0c92f367c5e7: Waiting [2022-04-22T02:38:52.936Z] a227ed2f7395: Waiting [2022-04-22T02:38:52.936Z] 7b1c46037f91: Waiting [2022-04-22T02:38:52.936Z] 94645a83ff95: Download complete [2022-04-22T02:38:52.936Z] 1a89e8eeedd5: Download complete [2022-04-22T02:38:52.936Z] 0c92f367c5e7: Verifying Checksum [2022-04-22T02:38:52.936Z] 0c92f367c5e7: Download complete [2022-04-22T02:38:52.936Z] f7c0051592d6: Verifying Checksum [2022-04-22T02:38:52.936Z] f7c0051592d6: Download complete [2022-04-22T02:38:52.936Z] 9b3977197b4f: Download complete [2022-04-22T02:38:52.936Z] a227ed2f7395: Verifying Checksum [2022-04-22T02:38:52.936Z] a227ed2f7395: Download complete [2022-04-22T02:38:53.947Z] 9b3977197b4f: Pull complete [2022-04-22T02:38:54.561Z] 1a89e8eeedd5: Pull complete [2022-04-22T02:38:54.847Z] 94645a83ff95: Pull complete [2022-04-22T02:38:55.125Z] 7b1c46037f91: Verifying Checksum [2022-04-22T02:38:55.125Z] 7b1c46037f91: Download complete [2022-04-22T02:38:55.728Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-22T02:38:55.728Z] 3f3a8bcf1eab: Download complete [2022-04-22T02:39:08.163Z] 3f3a8bcf1eab: Pull complete [2022-04-22T02:39:08.163Z] 0c92f367c5e7: Pull complete [2022-04-22T02:39:08.163Z] f7c0051592d6: Pull complete [2022-04-22T02:39:08.163Z] a227ed2f7395: Pull complete [2022-04-22T02:39:14.913Z] 7b1c46037f91: Pull complete [2022-04-22T02:39:14.913Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-22T02:39:14.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-22T02:39:14.913Z] ---> f79e39bc4007 [2022-04-22T02:39:14.913Z] Step 3/11 : ARG MAKE=make build [2022-04-22T02:39:14.913Z] ---> Running in 1e2b07bd84cf [2022-04-22T02:39:15.192Z] Removing intermediate container 1e2b07bd84cf [2022-04-22T02:39:15.192Z] ---> f8a2ccc03cb2 [2022-04-22T02:39:15.192Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-22T02:39:15.192Z] ---> Running in 25639ee82051 [2022-04-22T02:39:15.467Z] Removing intermediate container 25639ee82051 [2022-04-22T02:39:15.467Z] ---> 932bee7f85bf [2022-04-22T02:39:15.467Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:39:15.751Z] ---> Running in 940d1c6bd7e9 [2022-04-22T02:39:16.028Z] Removing intermediate container 940d1c6bd7e9 [2022-04-22T02:39:16.028Z] ---> 68f34a1513eb [2022-04-22T02:39:16.028Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:39:16.028Z] ---> Running in 39610b453c1f [2022-04-22T02:39:18.023Z] Removing intermediate container 39610b453c1f [2022-04-22T02:39:18.023Z] ---> fcba6f78fad3 [2022-04-22T02:39:18.023Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:39:18.316Z] ---> Running in 036b8996c79b [2022-04-22T02:39:20.952Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T02:39:21.560Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T02:39:23.013Z] OK: 220 MiB in 52 packages [2022-04-22T02:39:23.614Z] Removing intermediate container 036b8996c79b [2022-04-22T02:39:23.614Z] ---> 956fbad1f359 [2022-04-22T02:39:23.614Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-22T02:39:24.607Z] ---> 39cc44d43ecc [2022-04-22T02:39:24.607Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:39:24.607Z] ---> Running in d9131cf740d4 [2022-04-22T02:40:11.680Z] Removing intermediate container d9131cf740d4 [2022-04-22T02:40:11.680Z] ---> 8e1c01ed8cf7 [2022-04-22T02:40:11.680Z] Step 10/11 : COPY . . [2022-04-22T02:40:11.680Z] ---> dff768624392 [2022-04-22T02:40:11.680Z] Step 11/11 : RUN ${MAKE} [2022-04-22T02:40:11.680Z] ---> Running in d623651813d5 [2022-04-22T02:40:13.118Z] noop [2022-04-22T02:40:13.717Z] Removing intermediate container d623651813d5 [2022-04-22T02:40:13.717Z] ---> 88472a654be8 [2022-04-22T02:40:13.717Z] Successfully built 88472a654be8 [2022-04-22T02:40:13.717Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:40:14.071Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T02:40:14.071Z] . [Pipeline] withDockerContainer [2022-04-22T02:40:14.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-21726 does not seem to be running inside a container [2022-04-22T02:40:14.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/62 -v /w/workspace/device-sdk-go/62:/w/workspace/device-sdk-go/62:rw,z -v /w/workspace/device-sdk-go/62@tmp:/w/workspace/device-sdk-go/62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T02:40:15.928Z] $ docker top 9d039d1cd015d2b8c288d5a92910af06e669c31dc1ec8eca9b42edd9d731cf47 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T02:40:16.892Z] + go version [2022-04-22T02:40:16.892Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-22T02:40:16.929Z] $ docker stop --time=1 9d039d1cd015d2b8c288d5a92910af06e669c31dc1ec8eca9b42edd9d731cf47 [2022-04-22T02:40:18.621Z] $ docker rm -f 9d039d1cd015d2b8c288d5a92910af06e669c31dc1ec8eca9b42edd9d731cf47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:40:19.275Z] + docker inspect -f . ci-base-image-arm64 [2022-04-22T02:40:19.275Z] . [Pipeline] withDockerContainer [2022-04-22T02:40:19.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-21726 does not seem to be running inside a container [2022-04-22T02:40:19.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/62 -v /w/workspace/device-sdk-go/62:/w/workspace/device-sdk-go/62:rw,z -v /w/workspace/device-sdk-go/62@tmp:/w/workspace/device-sdk-go/62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-22T02:40:21.068Z] $ docker top fbf18d2a813bcec0ae074316d30491d3c09d0bf0dcca4d7cc1d0dc02f6f11831 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-22T02:40:22.015Z] + make test [2022-04-22T02:40:22.015Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-22T02:41:01.066Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-22T02:42:53.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-22T02:42:53.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-22T02:42:53.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-22T02:42:59.863Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.462s coverage: 23.3% of statements [2022-04-22T02:42:59.863Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-22T02:42:59.863Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.277s coverage: 27.6% of statements [2022-04-22T02:42:59.863Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.292s coverage: 78.9% of statements [2022-04-22T02:42:59.863Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.253s coverage: 10.8% of statements [2022-04-22T02:42:59.863Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.426s coverage: 60.0% of statements [2022-04-22T02:42:59.863Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-22T02:42:59.863Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-22T02:43:02.526Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.445s coverage: 34.7% of statements [2022-04-22T02:43:02.526Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-22T02:43:03.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.370s coverage: 86.1% of statements [2022-04-22T02:43:03.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-22T02:43:03.522Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-22T02:43:08.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.471s coverage: 65.1% of statements [2022-04-22T02:43:08.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.591s coverage: 89.2% of statements [2022-04-22T02:43:08.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-22T02:43:11.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.260s coverage: 4.7% of statements [2022-04-22T02:43:11.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-22T02:43:12.186Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-22T02:43:12.186Z] GO111MODULE=on go vet ./... [2022-04-22T02:44:49.090Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-22T02:44:49.090Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-22T02:44:49.090Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-22T02:44:49.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-22T02:44:49.130Z] $ docker stop --time=1 fbf18d2a813bcec0ae074316d30491d3c09d0bf0dcca4d7cc1d0dc02f6f11831 [2022-04-22T02:44:51.006Z] $ docker rm -f fbf18d2a813bcec0ae074316d30491d3c09d0bf0dcca4d7cc1d0dc02f6f11831 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T02:44:52.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-22T02:44:52.515Z] Warning: overwriting stash ‘coverage-report’ [2022-04-22T02:44:53.578Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-22T02:44:54.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-22T02:44:54.687Z] + ls -al . [2022-04-22T02:44:54.687Z] total 292 [2022-04-22T02:44:54.687Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 02:44 . [2022-04-22T02:44:54.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:38 .. [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:38 .dockerignore [2022-04-22T02:44:54.687Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:38 .git [2022-04-22T02:44:54.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:38 .github [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 02:38 .gitignore [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 02:38 .golangci.yml [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 02:38 CHANGELOG.md [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 02:38 GOVERNANCE.md [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 02:38 Jenkinsfile [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:38 LICENSE [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 02:38 Makefile [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 02:38 OWNERS.md [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 02:38 README.md [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 22 02:34 VERSION [2022-04-22T02:44:54.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:38 bin [2022-04-22T02:44:54.687Z] -rw-r--r-- 1 jenkins jenkins 131008 Apr 22 02:43 coverage.out [2022-04-22T02:44:54.687Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:38 example [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 02:38 go.mod [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 34437 Apr 22 02:38 go.sum [2022-04-22T02:44:54.687Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:38 internal [2022-04-22T02:44:54.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:38 openapi [2022-04-22T02:44:54.687Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:38 pkg [2022-04-22T02:44:54.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:38 snap [2022-04-22T02:44:54.687Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:38 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:44:55.122Z] + 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=5f3ddcf8acb855a32ed46a26f751dc40ab556708 --label arch=arm64 --label version=2.2.0-dev.29 . [2022-04-22T02:44:55.759Z] Sending build context to Docker daemon 5.276MB [2022-04-22T02:44:55.759Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-22T02:44:55.759Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-22T02:44:55.759Z] ---> 88472a654be8 [2022-04-22T02:44:55.759Z] Step 3/25 : ARG MAKE=make build [2022-04-22T02:44:55.759Z] ---> Running in dc523d5ede38 [2022-04-22T02:44:56.385Z] Removing intermediate container dc523d5ede38 [2022-04-22T02:44:56.385Z] ---> 803476ce23ab [2022-04-22T02:44:56.385Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-22T02:44:56.385Z] ---> Running in 7912be6f8374 [2022-04-22T02:44:56.660Z] Removing intermediate container 7912be6f8374 [2022-04-22T02:44:56.660Z] ---> b0c330bce2c1 [2022-04-22T02:44:56.660Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:44:56.660Z] ---> Running in 6b7125e1b17c [2022-04-22T02:44:56.940Z] Removing intermediate container 6b7125e1b17c [2022-04-22T02:44:56.940Z] ---> 90b9381a7bb9 [2022-04-22T02:44:56.940Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:44:57.222Z] ---> Running in f24e8cd44456 [2022-04-22T02:44:59.211Z] Removing intermediate container f24e8cd44456 [2022-04-22T02:44:59.211Z] ---> f6f79165000a [2022-04-22T02:44:59.211Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-22T02:44:59.211Z] ---> Running in 23d2f1eaa934 [2022-04-22T02:44:59.805Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-22T02:45:00.784Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-22T02:45:01.766Z] OK: 220 MiB in 52 packages [2022-04-22T02:45:02.747Z] Removing intermediate container 23d2f1eaa934 [2022-04-22T02:45:02.747Z] ---> 26fb9c5648ec [2022-04-22T02:45:02.747Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-22T02:45:03.346Z] ---> b5e48a93387a [2022-04-22T02:45:03.346Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-22T02:45:03.346Z] ---> Running in 768a0ceb76e5 [2022-04-22T02:45:05.331Z] Removing intermediate container 768a0ceb76e5 [2022-04-22T02:45:05.331Z] ---> 7b255fd67b6d [2022-04-22T02:45:05.331Z] Step 10/25 : COPY . . [2022-04-22T02:45:06.767Z] ---> c45303e40773 [2022-04-22T02:45:06.767Z] Step 11/25 : RUN ${MAKE} [2022-04-22T02:45:06.767Z] ---> Running in 47cd5074e555 [2022-04-22T02:45:07.755Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.29" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-22T02:47:14.625Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-22T02:47:18.931Z] Removing intermediate container 47cd5074e555 [2022-04-22T02:47:18.931Z] ---> 3a93192eaeb2 [2022-04-22T02:47:18.931Z] Step 12/25 : FROM alpine:3.14 [2022-04-22T02:47:19.205Z] 3.14: Pulling from library/alpine [2022-04-22T02:47:19.481Z] 455c02918c45: Pulling fs layer [2022-04-22T02:47:19.757Z] 455c02918c45: Verifying Checksum [2022-04-22T02:47:19.757Z] 455c02918c45: Download complete [2022-04-22T02:47:20.361Z] 455c02918c45: Pull complete [2022-04-22T02:47:20.361Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-22T02:47:20.361Z] Status: Downloaded newer image for alpine:3.14 [2022-04-22T02:47:20.361Z] ---> ac73e934f311 [2022-04-22T02:47:20.361Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-22T02:47:20.361Z] ---> Running in f3c7b8b42b03 [2022-04-22T02:47:20.637Z] Removing intermediate container f3c7b8b42b03 [2022-04-22T02:47:20.637Z] ---> 021c493e9b7f [2022-04-22T02:47:20.637Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-22T02:47:20.924Z] ---> Running in 1cd6d43aa7ff [2022-04-22T02:47:22.909Z] Removing intermediate container 1cd6d43aa7ff [2022-04-22T02:47:22.909Z] ---> 1300a9aecc79 [2022-04-22T02:47:22.909Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-22T02:47:22.909Z] ---> Running in 8e5d1fd5d103 [2022-04-22T02:47:23.894Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-22T02:47:24.495Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-22T02:47:25.490Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-22T02:47:25.490Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-22T02:47:25.763Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-22T02:47:25.763Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-22T02:47:26.038Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-22T02:47:26.038Z] Executing busybox-1.33.1-r7.trigger [2022-04-22T02:47:26.038Z] OK: 8 MiB in 19 packages [2022-04-22T02:47:27.033Z] Removing intermediate container 8e5d1fd5d103 [2022-04-22T02:47:27.033Z] ---> 5b69c449d19f [2022-04-22T02:47:27.033Z] Step 16/25 : WORKDIR / [2022-04-22T02:47:27.033Z] ---> Running in 8487f0e1dd98 [2022-04-22T02:47:27.636Z] Removing intermediate container 8487f0e1dd98 [2022-04-22T02:47:27.636Z] ---> 8bfc42b8c000 [2022-04-22T02:47:27.636Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-22T02:47:28.235Z] ---> fdab6b892c8b [2022-04-22T02:47:28.235Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-22T02:47:29.674Z] ---> 49201eaa05e3 [2022-04-22T02:47:29.674Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-22T02:47:30.277Z] ---> 902e66814f6a [2022-04-22T02:47:30.277Z] Step 20/25 : EXPOSE 59999 [2022-04-22T02:47:30.277Z] ---> Running in 022a670a0b87 [2022-04-22T02:47:30.885Z] Removing intermediate container 022a670a0b87 [2022-04-22T02:47:30.885Z] ---> 3338f42b9bfb [2022-04-22T02:47:30.885Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-22T02:47:30.885Z] ---> Running in bc98a7a39d69 [2022-04-22T02:47:31.162Z] Removing intermediate container bc98a7a39d69 [2022-04-22T02:47:31.162Z] ---> ce02e6bb67e0 [2022-04-22T02:47:31.162Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-22T02:47:31.162Z] ---> Running in 8aca6cfd4a6c [2022-04-22T02:47:31.765Z] Removing intermediate container 8aca6cfd4a6c [2022-04-22T02:47:31.765Z] ---> cc042a9be513 [2022-04-22T02:47:31.765Z] Step 23/25 : LABEL arch=arm64 [2022-04-22T02:47:31.765Z] ---> Running in 4b246a182b23 [2022-04-22T02:47:32.039Z] Removing intermediate container 4b246a182b23 [2022-04-22T02:47:32.039Z] ---> d99acff39a56 [2022-04-22T02:47:32.039Z] Step 24/25 : LABEL git_sha=5f3ddcf8acb855a32ed46a26f751dc40ab556708 [2022-04-22T02:47:32.039Z] ---> Running in 4723e200d113 [2022-04-22T02:47:32.316Z] Removing intermediate container 4723e200d113 [2022-04-22T02:47:32.316Z] ---> a2e01ecf5278 [2022-04-22T02:47:32.316Z] Step 25/25 : LABEL version=2.2.0-dev.29 [2022-04-22T02:47:32.591Z] ---> Running in 58180b3bc2f8 [2022-04-22T02:47:32.864Z] Removing intermediate container 58180b3bc2f8 [2022-04-22T02:47:32.864Z] ---> b4ce1672ef49 [2022-04-22T02:47:32.864Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-22T02:47:32.864Z] Successfully built b4ce1672ef49 [2022-04-22T02:47:32.864Z] 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-04-22T02:47:33.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T02:47:33.310Z] [2022-04-22T02:47:33.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:47:33.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T02:47:34.119Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-22T02:47:34.119Z] 8998bd30e6a1: Pulling fs layer [2022-04-22T02:47:34.119Z] 04944245beec: Pulling fs layer [2022-04-22T02:47:34.119Z] 699f458cf7ca: Pulling fs layer [2022-04-22T02:47:34.119Z] 765212b225bb: Pulling fs layer [2022-04-22T02:47:34.119Z] f23df028b6ca: Pulling fs layer [2022-04-22T02:47:34.119Z] d65c8cfc05b1: Pulling fs layer [2022-04-22T02:47:34.119Z] 2437ff75d9bd: Pulling fs layer [2022-04-22T02:47:34.119Z] 765212b225bb: Waiting [2022-04-22T02:47:34.119Z] f23df028b6ca: Waiting [2022-04-22T02:47:34.119Z] d65c8cfc05b1: Waiting [2022-04-22T02:47:34.119Z] 2437ff75d9bd: Waiting [2022-04-22T02:47:34.119Z] 04944245beec: Verifying Checksum [2022-04-22T02:47:34.119Z] 04944245beec: Download complete [2022-04-22T02:47:34.119Z] 765212b225bb: Verifying Checksum [2022-04-22T02:47:34.119Z] 765212b225bb: Download complete [2022-04-22T02:47:34.426Z] f23df028b6ca: Verifying Checksum [2022-04-22T02:47:34.426Z] f23df028b6ca: Download complete [2022-04-22T02:47:34.426Z] d65c8cfc05b1: Verifying Checksum [2022-04-22T02:47:34.426Z] d65c8cfc05b1: Download complete [2022-04-22T02:47:34.426Z] 699f458cf7ca: Verifying Checksum [2022-04-22T02:47:34.426Z] 699f458cf7ca: Download complete [2022-04-22T02:47:35.028Z] 8998bd30e6a1: Verifying Checksum [2022-04-22T02:47:35.028Z] 8998bd30e6a1: Download complete [2022-04-22T02:47:37.025Z] 2437ff75d9bd: Verifying Checksum [2022-04-22T02:47:37.025Z] 2437ff75d9bd: Download complete [2022-04-22T02:47:39.008Z] 8998bd30e6a1: Pull complete [2022-04-22T02:47:39.608Z] 04944245beec: Pull complete [2022-04-22T02:47:41.044Z] 699f458cf7ca: Pull complete [2022-04-22T02:47:41.318Z] 765212b225bb: Pull complete [2022-04-22T02:47:42.304Z] f23df028b6ca: Pull complete [2022-04-22T02:47:42.577Z] d65c8cfc05b1: Pull complete [2022-04-22T02:47:57.654Z] 2437ff75d9bd: Pull complete [2022-04-22T02:47:57.654Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-22T02:47:57.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-22T02:47:57.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-22T02:47:57.913Z] prd-ubuntu20.04-docker-arm64-4c-16g-21726 does not seem to be running inside a container [2022-04-22T02:47:58.005Z] $ 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/62 -v /w/workspace/device-sdk-go/62:/w/workspace/device-sdk-go/62:rw,z -v /w/workspace/device-sdk-go/62@tmp:/w/workspace/device-sdk-go/62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-22T02:48:01.034Z] $ docker top 609da5f7071a1cfd04f9c627562506d3f7377f7600d7c1a0362a250b8d3977d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:48:02.010Z] ---> job-cost.sh [2022-04-22T02:48:02.010Z] lf-activate-venv: SKIPPING [2022-04-22T02:48:02.010Z] INFO: No Stack... [2022-04-22T02:48:02.607Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-22T02:48:03.582Z] INFO: Archiving Costs [Pipeline] sh [2022-04-22T02:48:04.248Z] + cut -d, -f6 [2022-04-22T02:48:04.248Z] + cat /w/workspace/device-sdk-go/62/archives/cost.csv [Pipeline] lock [2022-04-22T02:48:04.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-62-stack-cost] [2022-04-22T02:48:04.329Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-62-stack-cost] did not exist. Created. [2022-04-22T02:48:04.329Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-22T02:48:05.029Z] /w/workspace/device-sdk-go/62@tmp/durable-cd21c348/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-22T02:48:05.714Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-22T02:48:05.737Z] Warning: overwriting stash ‘stack-cost’ [2022-04-22T02:48:05.804Z] Stashed 1 file(s) [Pipeline] } [2022-04-22T02:48:05.815Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-62-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-22T02:48:05.844Z] $ docker stop --time=1 609da5f7071a1cfd04f9c627562506d3f7377f7600d7c1a0362a250b8d3977d1 [2022-04-22T02:48:07.408Z] $ docker rm -f 609da5f7071a1cfd04f9c627562506d3f7377f7600d7c1a0362a250b8d3977d1 [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-04-22T02:48:07.996Z] provisioning config files... [2022-04-22T02:48:08.005Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4739644531950353465tmp [Pipeline] { [Pipeline] sh [2022-04-22T02:48:08.300Z] + set +x [2022-04-22T02:48:08.300Z] + bash -s -- [2022-04-22T02:48:08.300Z] + curl -s https://codecov.io/bash [2022-04-22T02:48:08.300Z] [2022-04-22T02:48:08.300Z] _____ _ [2022-04-22T02:48:08.300Z] / ____| | | [2022-04-22T02:48:08.300Z] | | ___ __| | ___ ___ _____ __ [2022-04-22T02:48:08.300Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-22T02:48:08.300Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-22T02:48:08.300Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-22T02:48:08.300Z] Bash-1.0.6 [2022-04-22T02:48:08.300Z] [2022-04-22T02:48:08.300Z] [2022-04-22T02:48:08.300Z] ==> git version 2.25.1 found [2022-04-22T02:48:08.300Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-22T02:48:08.300Z] Release-Date: 2020-01-08 [2022-04-22T02:48:08.300Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-22T02:48:08.300Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-22T02:48:08.300Z] ==> Jenkins CI detected. [2022-04-22T02:48:08.300Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T02:48:08.300Z] project root: . [2022-04-22T02:48:08.300Z] --> token set from env [2022-04-22T02:48:08.300Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-22T02:48:08.300Z] ==> Running gcov in . (disable via -X gcov) [2022-04-22T02:48:08.300Z] ==> Python coveragepy not found [2022-04-22T02:48:08.300Z] ==> Searching for coverage reports in: [2022-04-22T02:48:08.300Z] + . [2022-04-22T02:48:08.300Z] -> Found 1 reports [2022-04-22T02:48:08.300Z] ==> Detecting git/mercurial file structure [2022-04-22T02:48:08.300Z] ==> Reading reports [2022-04-22T02:48:08.300Z] + ./coverage.out bytes=131008 [2022-04-22T02:48:08.300Z] ==> Appending adjustments [2022-04-22T02:48:08.300Z] https://docs.codecov.io/docs/fixing-reports [2022-04-22T02:48:08.871Z] + Found adjustments [2022-04-22T02:48:08.871Z] ==> Gzipping contents [2022-04-22T02:48:08.871Z] 20K /tmp/codecov.6XkMjR.gz [2022-04-22T02:48:08.871Z] ==> Uploading reports [2022-04-22T02:48:08.871Z] url: https://codecov.io [2022-04-22T02:48:08.871Z] query: branch=main&commit=5f3ddcf8acb855a32ed46a26f751dc40ab556708&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-22T02:48:08.871Z] -> Pinging Codecov [2022-04-22T02:48:08.871Z] 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=5f3ddcf8acb855a32ed46a26f751dc40ab556708&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-22T02:48:09.133Z] -> Uploading to [2022-04-22T02:48:09.133Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/5f3ddcf8acb855a32ed46a26f751dc40ab556708/7654fdfd-1a0c-4c7e-b6ba-80c73a3fafe4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T024808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd97777325293d4cdcb6efd90f83eeae25c1a51190c69bee7bb4179989261917 [2022-04-22T02:48:09.133Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T02:48:09.133Z] Dload Upload Total Spent Left Speed [2022-04-22T02:48:09.394Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16830 0 0 100 16830 0 55000 --:--:-- --:--:-- --:--:-- 55180 [2022-04-22T02:48:09.394Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5f3ddcf8acb855a32ed46a26f751dc40ab556708 [Pipeline] } [2022-04-22T02:48:09.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-22T02:48:09.680Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-22T02:48:09.691Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:48:09.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-22T02:48:09.985Z] [2022-04-22T02:48:09.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:48:10.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-22T02:48:10.289Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-22T02:48:10.289Z] 188c0c94c7c5: Pulling fs layer [2022-04-22T02:48:10.289Z] 0ef7d3d256c8: Pulling fs layer [2022-04-22T02:48:10.289Z] de9db76c5a1d: Pulling fs layer [2022-04-22T02:48:10.289Z] 0eba1c9be4d2: Pulling fs layer [2022-04-22T02:48:10.289Z] 0d57e429df01: Pulling fs layer [2022-04-22T02:48:10.289Z] 4e4be7b47b0d: Pulling fs layer [2022-04-22T02:48:10.289Z] e1f770b5df2f: Pulling fs layer [2022-04-22T02:48:10.289Z] 85a0685a4137: Pulling fs layer [2022-04-22T02:48:10.289Z] 0eba1c9be4d2: Waiting [2022-04-22T02:48:10.289Z] 4e4be7b47b0d: Waiting [2022-04-22T02:48:10.289Z] e1f770b5df2f: Waiting [2022-04-22T02:48:10.289Z] 0d57e429df01: Waiting [2022-04-22T02:48:10.289Z] 85a0685a4137: Waiting [2022-04-22T02:48:10.289Z] de9db76c5a1d: Verifying Checksum [2022-04-22T02:48:10.289Z] de9db76c5a1d: Download complete [2022-04-22T02:48:10.289Z] 0ef7d3d256c8: Download complete [2022-04-22T02:48:10.289Z] 0d57e429df01: Verifying Checksum [2022-04-22T02:48:10.289Z] 0d57e429df01: Download complete [2022-04-22T02:48:10.289Z] 4e4be7b47b0d: Verifying Checksum [2022-04-22T02:48:10.289Z] 4e4be7b47b0d: Download complete [2022-04-22T02:48:10.289Z] 188c0c94c7c5: Verifying Checksum [2022-04-22T02:48:10.289Z] 188c0c94c7c5: Download complete [2022-04-22T02:48:10.549Z] 188c0c94c7c5: Pull complete [2022-04-22T02:48:10.549Z] 0ef7d3d256c8: Pull complete [2022-04-22T02:48:10.810Z] de9db76c5a1d: Pull complete [2022-04-22T02:48:10.810Z] e1f770b5df2f: Verifying Checksum [2022-04-22T02:48:11.069Z] 0eba1c9be4d2: Verifying Checksum [2022-04-22T02:48:11.069Z] 0eba1c9be4d2: Download complete [2022-04-22T02:48:11.328Z] 85a0685a4137: Verifying Checksum [2022-04-22T02:48:11.328Z] 85a0685a4137: Download complete [2022-04-22T02:48:14.620Z] 0eba1c9be4d2: Pull complete [2022-04-22T02:48:14.620Z] 0d57e429df01: Pull complete [2022-04-22T02:48:14.620Z] 4e4be7b47b0d: Pull complete [2022-04-22T02:48:14.880Z] e1f770b5df2f: Pull complete [2022-04-22T02:48:19.076Z] 85a0685a4137: Pull complete [2022-04-22T02:48:19.076Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-22T02:48:19.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-22T02:48:19.076Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-22T02:48:19.148Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:48:19.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-22T02:48:20.657Z] $ docker top e498671df8543aa17a22ac0b20245679142e8acef69cba63277e3db69db44ae3 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-22T02:48:20.724Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-22T02:48:21.008Z] + set -o pipefail [2022-04-22T02:48:21.008Z] + snyk monitor '--org=edgex-jenkins' [2022-04-22T02:48:27.595Z] [2022-04-22T02:48:27.595Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-04-22T02:48:27.595Z] [2022-04-22T02:48:27.595Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/605d95f8-0043-4829-8f77-aac3c62a6cd8 [2022-04-22T02:48:27.595Z] [2022-04-22T02:48:27.595Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-22T02:48:27.595Z] [2022-04-22T02:48:27.595Z] [Pipeline] } [2022-04-22T02:48:27.622Z] $ docker stop --time=1 e498671df8543aa17a22ac0b20245679142e8acef69cba63277e3db69db44ae3 [2022-04-22T02:48:29.711Z] $ docker rm -f e498671df8543aa17a22ac0b20245679142e8acef69cba63277e3db69db44ae3 [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-04-22T02:48:30.204Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:48:30.221Z] provisioning config files... [2022-04-22T02:48:30.231Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6351028205530201118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:48:30.544Z] --> edgex-publish-swagger.sh [2022-04-22T02:48:30.544Z] === Publish openapi/v2 API === [2022-04-22T02:48:30.544Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-04-22T02:48:30.544Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-04-22T02:48:30.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-22T02:48:30.544Z] Dload Upload Total Spent Left Speed [2022-04-22T02:48:31.117Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 83645 --:--:-- --:--:-- --:--:-- 83645 [2022-04-22T02:48:31.117Z] [2022-04-22T02:48:31.117Z] [Pipeline] } [2022-04-22T02:48:31.126Z] 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-04-22T02:48:31.534Z] + git log --format=format:%s -1 5f3ddcf8acb855a32ed46a26f751dc40ab556708 [Pipeline] sh [2022-04-22T02:48:31.832Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T02:48:31.832Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:48:32.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:48:32.140Z] . [Pipeline] withDockerContainer [2022-04-22T02:48:32.208Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:48:32.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T02:48:32.679Z] $ docker top 6d5451783506994078c988e040fa35fdb9b7b03223e37f25691a5f7cb17cd299 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T02:48:32.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T02:48:32.760Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T02:48:32.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T02:48:32.895Z] $ docker exec 6d5451783506994078c988e040fa35fdb9b7b03223e37f25691a5f7cb17cd299 ssh-agent [2022-04-22T02:48:33.000Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHiokIA/agent.12 [2022-04-22T02:48:33.000Z] SSH_AGENT_PID=19 [2022-04-22T02:48:33.006Z] Running ssh-add (command line suppressed) [2022-04-22T02:48:33.128Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1502930287573485732.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1502930287573485732.key) [2022-04-22T02:48:33.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T02:48:33.423Z] + git semver tag [2022-04-22T02:48:33.423Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T02:48:33.423Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T02:48:33.423Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T02:48:33.423Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T02:48:33.423Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T02:48:33.423Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T02:48:33.423Z] # $SEMVER_BRANCH = main [2022-04-22T02:48:33.423Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-22T02:48:33.423Z] # 5f3ddcf8acb855a32ed46a26f751dc40ab556708 HEAD [2022-04-22T02:48:33.423Z] # -> Force: false [2022-04-22T02:48:33.423Z] # df740a1bfcca8487e90b7b48651fb3f6a5d53d17 refs/tags/v2.2.0-dev.29 [Pipeline] } [2022-04-22T02:48:33.449Z] $ docker exec --env ******** --env ******** 6d5451783506994078c988e040fa35fdb9b7b03223e37f25691a5f7cb17cd299 ssh-agent -k [2022-04-22T02:48:33.557Z] unset SSH_AUTH_SOCK; [2022-04-22T02:48:33.558Z] unset SSH_AGENT_PID; [2022-04-22T02:48:33.558Z] echo Agent pid 19 killed; [2022-04-22T02:48:33.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T02:48:33.866Z] + git semver [Pipeline] } [2022-04-22T02:48:33.895Z] $ docker stop --time=1 6d5451783506994078c988e040fa35fdb9b7b03223e37f25691a5f7cb17cd299 [2022-04-22T02:48:35.222Z] $ docker rm -f 6d5451783506994078c988e040fa35fdb9b7b03223e37f25691a5f7cb17cd299 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:48:35.604Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-22T02:48:35.604Z] [2022-04-22T02:48:35.604Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:48:35.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-22T02:48:35.915Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-22T02:48:35.915Z] ab5ef0e58194: Pulling fs layer [2022-04-22T02:48:35.915Z] 9712f1f96733: Pulling fs layer [2022-04-22T02:48:35.915Z] 63f879dbbcfc: Pulling fs layer [2022-04-22T02:48:35.915Z] 0d9ebad4ef96: Pulling fs layer [2022-04-22T02:48:35.915Z] e9a5061849ea: Pulling fs layer [2022-04-22T02:48:35.915Z] d747dcd14b5f: Pulling fs layer [2022-04-22T02:48:35.915Z] 2de7ff778b66: Pulling fs layer [2022-04-22T02:48:35.915Z] 0d9ebad4ef96: Waiting [2022-04-22T02:48:35.915Z] e9a5061849ea: Waiting [2022-04-22T02:48:35.915Z] d747dcd14b5f: Waiting [2022-04-22T02:48:35.915Z] 2de7ff778b66: Waiting [2022-04-22T02:48:35.915Z] 9712f1f96733: Verifying Checksum [2022-04-22T02:48:35.915Z] 9712f1f96733: Download complete [2022-04-22T02:48:36.177Z] 63f879dbbcfc: Verifying Checksum [2022-04-22T02:48:36.177Z] 63f879dbbcfc: Download complete [2022-04-22T02:48:36.438Z] 0d9ebad4ef96: Verifying Checksum [2022-04-22T02:48:36.438Z] 0d9ebad4ef96: Download complete [2022-04-22T02:48:36.438Z] d747dcd14b5f: Download complete [2022-04-22T02:48:36.438Z] e9a5061849ea: Verifying Checksum [2022-04-22T02:48:36.438Z] e9a5061849ea: Download complete [2022-04-22T02:48:36.438Z] ab5ef0e58194: Verifying Checksum [2022-04-22T02:48:36.438Z] ab5ef0e58194: Download complete [2022-04-22T02:48:36.697Z] 2de7ff778b66: Verifying Checksum [2022-04-22T02:48:36.697Z] 2de7ff778b66: Download complete [2022-04-22T02:48:39.234Z] ab5ef0e58194: Pull complete [2022-04-22T02:48:39.234Z] 9712f1f96733: Pull complete [2022-04-22T02:48:40.173Z] 63f879dbbcfc: Pull complete [2022-04-22T02:48:43.461Z] 0d9ebad4ef96: Pull complete [2022-04-22T02:48:43.720Z] e9a5061849ea: Pull complete [2022-04-22T02:48:43.981Z] d747dcd14b5f: Pull complete [2022-04-22T02:48:44.920Z] 2de7ff778b66: Pull complete [2022-04-22T02:48:44.920Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-22T02:48:44.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-22T02:48:44.920Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-22T02:48:45.020Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:48:45.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-22T02:48:47.080Z] $ docker top 43f09519a9d9ce35197402b71f9b3de18c848e83204168e16f050d44fbe51121 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:48:47.145Z] provisioning config files... [2022-04-22T02:48:47.154Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6416603152254238061tmp [2022-04-22T02:48:47.167Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4565398468725370575tmp [2022-04-22T02:48:47.179Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config54670437332185387tmp [Pipeline] { [Pipeline] echo [2022-04-22T02:48:47.195Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:48:47.479Z] ---> sigul-configuration.sh [2022-04-22T02:48:47.479Z] gpg: directory `/root/.gnupg' created [2022-04-22T02:48:47.479Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-22T02:48:47.479Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-22T02:48:47.479Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-22T02:48:47.479Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-22T02:48:47.479Z] gpg: CAST5 encrypted data [2022-04-22T02:48:47.480Z] gpg: encrypted with 1 passphrase [2022-04-22T02:48:47.480Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-22T02:48:47.768Z] + mkdir /home/jenkins [2022-04-22T02:48:47.769Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-22T02:48:48.058Z] + 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-04-22T02:48:48.069Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:48:48.360Z] ---> sigul-install.sh [2022-04-22T02:48:48.360Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-22T02:48:48.652Z] + git tag --list [2022-04-22T02:48:48.652Z] 0.7.1 [2022-04-22T02:48:48.652Z] delhi-tag [2022-04-22T02:48:48.652Z] v1.0.0 [2022-04-22T02:48:48.652Z] v1.1.0 [2022-04-22T02:48:48.652Z] v1.1.1 [2022-04-22T02:48:48.652Z] v1.1.2 [2022-04-22T02:48:48.652Z] v1.2.0 [2022-04-22T02:48:48.652Z] v1.2.1 [2022-04-22T02:48:48.652Z] v1.2.2 [2022-04-22T02:48:48.652Z] v1.2.3 [2022-04-22T02:48:48.652Z] v1.3.0 [2022-04-22T02:48:48.652Z] v1.4.0 [2022-04-22T02:48:48.652Z] v2.0.0 [2022-04-22T02:48:48.652Z] v2.0.1-dev.1 [2022-04-22T02:48:48.652Z] v2.0.1-dev.10 [2022-04-22T02:48:48.652Z] v2.0.1-dev.11 [2022-04-22T02:48:48.652Z] v2.0.1-dev.12 [2022-04-22T02:48:48.652Z] v2.0.1-dev.13 [2022-04-22T02:48:48.652Z] v2.0.1-dev.14 [2022-04-22T02:48:48.652Z] v2.0.1-dev.15 [2022-04-22T02:48:48.652Z] v2.0.1-dev.16 [2022-04-22T02:48:48.652Z] v2.0.1-dev.17 [2022-04-22T02:48:48.652Z] v2.0.1-dev.18 [2022-04-22T02:48:48.652Z] v2.0.1-dev.19 [2022-04-22T02:48:48.652Z] v2.0.1-dev.2 [2022-04-22T02:48:48.652Z] v2.0.1-dev.20 [2022-04-22T02:48:48.652Z] v2.0.1-dev.21 [2022-04-22T02:48:48.652Z] v2.0.1-dev.22 [2022-04-22T02:48:48.652Z] v2.0.1-dev.23 [2022-04-22T02:48:48.652Z] v2.0.1-dev.24 [2022-04-22T02:48:48.652Z] v2.0.1-dev.25 [2022-04-22T02:48:48.652Z] v2.0.1-dev.26 [2022-04-22T02:48:48.652Z] v2.0.1-dev.27 [2022-04-22T02:48:48.652Z] v2.0.1-dev.28 [2022-04-22T02:48:48.652Z] v2.0.1-dev.29 [2022-04-22T02:48:48.652Z] v2.0.1-dev.3 [2022-04-22T02:48:48.652Z] v2.0.1-dev.30 [2022-04-22T02:48:48.652Z] v2.0.1-dev.31 [2022-04-22T02:48:48.652Z] v2.0.1-dev.32 [2022-04-22T02:48:48.652Z] v2.0.1-dev.33 [2022-04-22T02:48:48.652Z] v2.0.1-dev.4 [2022-04-22T02:48:48.652Z] v2.0.1-dev.5 [2022-04-22T02:48:48.652Z] v2.0.1-dev.6 [2022-04-22T02:48:48.652Z] v2.0.1-dev.7 [2022-04-22T02:48:48.652Z] v2.0.1-dev.8 [2022-04-22T02:48:48.652Z] v2.0.1-dev.9 [2022-04-22T02:48:48.652Z] v2.1.0 [2022-04-22T02:48:48.652Z] v2.1.1-dev.1 [2022-04-22T02:48:48.652Z] v2.2.0-dev.1 [2022-04-22T02:48:48.652Z] v2.2.0-dev.10 [2022-04-22T02:48:48.652Z] v2.2.0-dev.11 [2022-04-22T02:48:48.652Z] v2.2.0-dev.12 [2022-04-22T02:48:48.652Z] v2.2.0-dev.13 [2022-04-22T02:48:48.652Z] v2.2.0-dev.14 [2022-04-22T02:48:48.652Z] v2.2.0-dev.15 [2022-04-22T02:48:48.652Z] v2.2.0-dev.16 [2022-04-22T02:48:48.652Z] v2.2.0-dev.17 [2022-04-22T02:48:48.652Z] v2.2.0-dev.18 [2022-04-22T02:48:48.652Z] v2.2.0-dev.19 [2022-04-22T02:48:48.652Z] v2.2.0-dev.2 [2022-04-22T02:48:48.652Z] v2.2.0-dev.20 [2022-04-22T02:48:48.652Z] v2.2.0-dev.21 [2022-04-22T02:48:48.652Z] v2.2.0-dev.22 [2022-04-22T02:48:48.652Z] v2.2.0-dev.23 [2022-04-22T02:48:48.652Z] v2.2.0-dev.24 [2022-04-22T02:48:48.652Z] v2.2.0-dev.25 [2022-04-22T02:48:48.652Z] v2.2.0-dev.26 [2022-04-22T02:48:48.652Z] v2.2.0-dev.27 [2022-04-22T02:48:48.652Z] v2.2.0-dev.28 [2022-04-22T02:48:48.652Z] v2.2.0-dev.29 [2022-04-22T02:48:48.652Z] v2.2.0-dev.3 [2022-04-22T02:48:48.652Z] v2.2.0-dev.4 [2022-04-22T02:48:48.652Z] v2.2.0-dev.5 [2022-04-22T02:48:48.652Z] v2.2.0-dev.6 [2022-04-22T02:48:48.652Z] v2.2.0-dev.7 [2022-04-22T02:48:48.652Z] v2.2.0-dev.8 [2022-04-22T02:48:48.652Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-22T02:48:48.939Z] + lftools sign git-tag v2.2.0-dev.29 [2022-04-22T02:48:49.510Z] Signing Git tag with Sigul... [2022-04-22T02:48:49.510Z] Signing v2.2.0-dev.29 [Pipeline] echo [2022-04-22T02:48:49.783Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:48:50.075Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-22T02:48:50.082Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-22T02:48:50.118Z] $ docker stop --time=1 43f09519a9d9ce35197402b71f9b3de18c848e83204168e16f050d44fbe51121 [2022-04-22T02:48:51.423Z] $ docker rm -f 43f09519a9d9ce35197402b71f9b3de18c848e83204168e16f050d44fbe51121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-22T02:48:51.832Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T02:48:51.832Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:48:52.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:48:52.126Z] . [Pipeline] withDockerContainer [2022-04-22T02:48:52.194Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:48:52.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T02:48:52.637Z] $ docker top fa2f82fcd8ee49e24620416eb322ddfa898762eb2a9eb590f1b14715fd75fded -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T02:48:52.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T02:48:52.726Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T02:48:52.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T02:48:52.864Z] $ docker exec fa2f82fcd8ee49e24620416eb322ddfa898762eb2a9eb590f1b14715fd75fded ssh-agent [2022-04-22T02:48:52.967Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJiMnCI/agent.13 [2022-04-22T02:48:52.967Z] SSH_AGENT_PID=19 [2022-04-22T02:48:52.972Z] Running ssh-add (command line suppressed) [2022-04-22T02:48:53.090Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8565668582647110430.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8565668582647110430.key) [2022-04-22T02:48:53.094Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T02:48:53.388Z] + git semver bump pre [2022-04-22T02:48:53.388Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T02:48:53.388Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T02:48:53.388Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T02:48:53.388Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T02:48:53.388Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T02:48:53.388Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T02:48:53.388Z] # $SEMVER_BRANCH = main [2022-04-22T02:48:53.388Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-22T02:48:53.388Z] 2.2.0-dev.30 [Pipeline] } [2022-04-22T02:48:53.412Z] $ docker exec --env ******** --env ******** fa2f82fcd8ee49e24620416eb322ddfa898762eb2a9eb590f1b14715fd75fded ssh-agent -k [2022-04-22T02:48:53.528Z] unset SSH_AUTH_SOCK; [2022-04-22T02:48:53.529Z] unset SSH_AGENT_PID; [2022-04-22T02:48:53.529Z] echo Agent pid 19 killed; [2022-04-22T02:48:53.528Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T02:48:53.840Z] + git semver [Pipeline] } [2022-04-22T02:48:53.870Z] $ docker stop --time=1 fa2f82fcd8ee49e24620416eb322ddfa898762eb2a9eb590f1b14715fd75fded [2022-04-22T02:48:55.190Z] $ docker rm -f fa2f82fcd8ee49e24620416eb322ddfa898762eb2a9eb590f1b14715fd75fded [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-22T02:48:55.531Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-22T02:48:55.531Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:48:55.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-22T02:48:55.827Z] . [Pipeline] withDockerContainer [2022-04-22T02:48:55.899Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:48:55.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-22T02:48:56.312Z] $ docker top 78c3ea935ba88a5645cad763da1983ad021c5be35f525c8fbf70ebe5f122c78b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-22T02:48:56.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-22T02:48:56.416Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-22T02:48:56.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-22T02:48:56.571Z] $ docker exec 78c3ea935ba88a5645cad763da1983ad021c5be35f525c8fbf70ebe5f122c78b ssh-agent [2022-04-22T02:48:56.672Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDbABiG/agent.15 [2022-04-22T02:48:56.672Z] SSH_AGENT_PID=21 [2022-04-22T02:48:56.678Z] Running ssh-add (command line suppressed) [2022-04-22T02:48:56.796Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2897193897902241849.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2897193897902241849.key) [2022-04-22T02:48:56.798Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-22T02:48:57.095Z] + git semver push [2022-04-22T02:48:57.096Z] # -> Open(): unable to determine branch for HEAD [2022-04-22T02:48:57.096Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-22T02:48:57.096Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T02:48:57.096Z] # $SEMVER_REMOTE_NAME = origin [2022-04-22T02:48:57.096Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-22T02:48:57.096Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-22T02:48:57.096Z] # $SEMVER_BRANCH = main [2022-04-22T02:48:57.096Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-22T02:48:59.037Z] $ docker exec --env ******** --env ******** 78c3ea935ba88a5645cad763da1983ad021c5be35f525c8fbf70ebe5f122c78b ssh-agent -k [2022-04-22T02:48:59.141Z] unset SSH_AUTH_SOCK; [2022-04-22T02:48:59.142Z] unset SSH_AGENT_PID; [2022-04-22T02:48:59.142Z] echo Agent pid 21 killed; [2022-04-22T02:48:59.139Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-22T02:48:59.457Z] + git semver [Pipeline] } [2022-04-22T02:48:59.487Z] $ docker stop --time=1 78c3ea935ba88a5645cad763da1983ad021c5be35f525c8fbf70ebe5f122c78b [2022-04-22T02:49:00.784Z] $ docker rm -f 78c3ea935ba88a5645cad763da1983ad021c5be35f525c8fbf70ebe5f122c78b [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-04-22T02:49:01.386Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-04-22T02:49:01.386Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-22T02:49:01.386Z] total 16 [2022-04-22T02:49:01.386Z] drwxr-xr-x 3 root root 4096 Apr 22 02:36 . [2022-04-22T02:49:01.386Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 02:48 .. [2022-04-22T02:49:01.386Z] drwxr-xr-x 2 root root 4096 Apr 22 02:36 cost [2022-04-22T02:49:01.386Z] -rw-r--r-- 1 root root 83 Apr 22 02:36 cost.csv [2022-04-22T02:49:01.386Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-22T02:49:01.386Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-22T02:49:01.386Z] total 16 [2022-04-22T02:49:01.386Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 02:36 . [2022-04-22T02:49:01.386Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 02:48 .. [2022-04-22T02:49:01.386Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 02:36 cost [2022-04-22T02:49:01.386Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 22 02:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:01.687Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:02.554Z] ---> package-listing.sh [2022-04-22T02:49:02.554Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-22T02:49:02.554Z] ++ facter osfamily [2022-04-22T02:49:02.815Z] + OS_FAMILY=debian [2022-04-22T02:49:02.815Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-04-22T02:49:02.815Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-22T02:49:02.815Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-22T02:49:02.815Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-22T02:49:02.815Z] + PACKAGES=/tmp/packages_start.txt [2022-04-22T02:49:02.815Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-22T02:49:02.815Z] + PACKAGES=/tmp/packages_end.txt [2022-04-22T02:49:02.815Z] + case "${OS_FAMILY}" in [2022-04-22T02:49:02.815Z] + dpkg -l [2022-04-22T02:49:02.815Z] + grep '^ii' [2022-04-22T02:49:02.815Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-22T02:49:02.815Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-22T02:49:02.815Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-22T02:49:02.815Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-22T02:49:02.815Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-04-22T02:49:02.815Z] + 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-04-22T02:49:02.829Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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-04-22T02:49:03.110Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-22T02:49:03.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-22T02:49:03.672Z] . [Pipeline] withDockerContainer [2022-04-22T02:49:03.779Z] prd-ubuntu20.04-docker-8c-8g-21723 does not seem to be running inside a container [2022-04-22T02:49:03.870Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-22T02:49:04.093Z] $ docker top 51372b1e742ddf4ed7c803e35d0e2e93b0b8eb50aa6db46fdac33e8d2f98b8c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-22T02:49:04.441Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-22T02:49:04.733Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-22T02:49:05.029Z] + ls /var/log/sa-host [2022-04-22T02:49:05.029Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-22T02:49:05.121Z] provisioning config files... [2022-04-22T02:49:05.130Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1237573087340707281tmp [Pipeline] { [Pipeline] echo [2022-04-22T02:49:05.146Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:05.428Z] ---> create-netrc.sh [Pipeline] } [2022-04-22T02:49:05.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:05.767Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-22T02:49:05.778Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:06.075Z] ---> sudo-logs.sh [2022-04-22T02:49:06.075Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-22T02:49:06.106Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:06.392Z] ---> job-cost.sh [2022-04-22T02:49:06.392Z] lf-activate-venv: SKIPPING [2022-04-22T02:49:06.392Z] DEBUG: total: 0.2199999988079071 [2022-04-22T02:49:06.392Z] INFO: Retrieving Stack Cost... [2022-04-22T02:49:06.964Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-22T02:49:07.224Z] INFO: Archiving Costs [Pipeline] echo [2022-04-22T02:49:07.236Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-22T02:49:07.525Z] ---> logs-deploy.sh [2022-04-22T02:49:07.525Z] lf-activate-venv: SKIPPING [2022-04-22T02:49:07.525Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/62 [2022-04-22T02:49:07.525Z] INFO: archiving workspace using pattern(s): [2022-04-22T02:49:08.462Z] Archives upload complete. [2022-04-22T02:49:08.462Z] INFO: archiving logs to Nexus