Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b5ea364822c8c62a095049094fb918b913a19c7c 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-ssh1746175293142365122.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-ssh14877106197968375595.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-ssh6093894382488356266.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-ssh9483843432088886183.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-ssh11609305463182010566.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11750 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 b5ea364822c8c62a095049094fb918b913a19c7c (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 b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 Commit message: "Merge pull request #1125 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk 71f09d1ab0705056f5c82f36890c48cdd3d80cce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T04:58:08.367Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T04:58:08.439Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T04:58:08.460Z] ========================================================= [2022-04-10T04:58:08.460Z] EdgeX Global Pipelines Version Info [2022-04-10T04:58:08.460Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T04:58:09.215Z] ------------------- [2022-04-10T04:58:09.215Z] stable info: [2022-04-10T04:58:09.215Z] ------------------- [2022-04-10T04:58:09.215Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T04:58:09.215Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T04:58:09.215Z] Message: update stable to v1.0.221 [2022-04-10T04:58:09.793Z] ------------------- [2022-04-10T04:58:09.793Z] experimental info: [2022-04-10T04:58:09.793Z] ------------------- [2022-04-10T04:58:09.793Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T04:58:09.793Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T04:58:09.793Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T04:58:09.922Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-10T04:58:09.934Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-10T04:58:09.950Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T04:58:09.969Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T04:58:09.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T04:58:10.005Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T04:58:10.017Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T04:58:10.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-10T04:58:10.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T04:58:10.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T04:58:10.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T04:58:10.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-10T04:58:10.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T04:58:10.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T04:58:10.116Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T04:58:10.131Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T04:58:10.147Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T04:58:10.164Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T04:58:10.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T04:58:10.190Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T04:58:10.200Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-10T04:58:10.213Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-10T04:58:10.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T04:58:10.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T04:58:10.247Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T04:58:10.259Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T04:58:10.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-10T04:58:10.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-10T04:58:10.295Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-10T04:58:10.309Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5ea364822c8c62a095049094fb918b913a19c7c [Pipeline] echo [2022-04-10T04:58:10.322Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5ea364 [Pipeline] echo [2022-04-10T04:58:10.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T04:58:10.374Z] provisioning config files... [2022-04-10T04:58:10.388Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5537507190986193494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T04:58:10.701Z] ---> docker-login.sh [2022-04-10T04:58:10.701Z] nexus3.edgexfoundry.org:10001 [2022-04-10T04:58:10.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:10.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:10.961Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:10.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:10.961Z] [2022-04-10T04:58:10.961Z] Login Succeeded [2022-04-10T04:58:10.961Z] nexus3.edgexfoundry.org:10002 [2022-04-10T04:58:11.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:11.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:11.227Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:11.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:11.227Z] [2022-04-10T04:58:11.227Z] Login Succeeded [2022-04-10T04:58:11.227Z] nexus3.edgexfoundry.org:10003 [2022-04-10T04:58:11.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:11.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:11.227Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:11.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:11.227Z] [2022-04-10T04:58:11.227Z] Login Succeeded [2022-04-10T04:58:11.227Z] nexus3.edgexfoundry.org:10004 [2022-04-10T04:58:11.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:11.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:11.487Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:11.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:11.487Z] [2022-04-10T04:58:11.487Z] Login Succeeded [2022-04-10T04:58:11.487Z] docker.io [2022-04-10T04:58:11.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:12.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:12.059Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:12.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:12.059Z] [2022-04-10T04:58:12.059Z] Login Succeeded [2022-04-10T04:58:12.059Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T04:58:12.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T04:58:12.442Z] + git rev-list -1 --merges b5ea364822c8c62a095049094fb918b913a19c7c~1..b5ea364822c8c62a095049094fb918b913a19c7c [Pipeline] echo [2022-04-10T04:58:12.540Z] -----------> git rev-list -1 --merges b5ea364822c8c62a095049094fb918b913a19c7c~1..b5ea364822c8c62a095049094fb918b913a19c7c b5ea364822c8c62a095049094fb918b913a19c7c [2022-04-10T04:58:12.540Z] b5ea364822c8c62a095049094fb918b913a19c7c [false] [Pipeline] sh [2022-04-10T04:58:12.839Z] + git log --format=format:%s -1 b5ea364822c8c62a095049094fb918b913a19c7c [Pipeline] echo [2022-04-10T04:58:12.852Z] ========================================================= [2022-04-10T04:58:12.853Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T04:58:12.853Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T04:58:13.192Z] + git log --format=format:%s -1 b5ea364822c8c62a095049094fb918b913a19c7c [Pipeline] echo [2022-04-10T04:58:13.204Z] [semverPrep] GIT_COMMIT: b5ea364822c8c62a095049094fb918b913a19c7c, Commit Message: Merge pull request #1125 from jpwhitemn/enable-security-hardening [Pipeline] echo [2022-04-10T04:58:13.211Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T04:58:13.645Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T04:58:13.645Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T04:58:13.645Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T04:58:13.645Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T04:58:13.645Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T04:58:13.645Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T04:58:13.645Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T04:58:14.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T04:58:14.081Z] [2022-04-10T04:58:14.081Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T04:58:14.387Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T04:58:14.387Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T04:58:14.387Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T04:58:14.387Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T04:58:14.387Z] 4c7163046ea9: Pulling fs layer [2022-04-10T04:58:14.387Z] 0c2d73faf560: Pulling fs layer [2022-04-10T04:58:14.387Z] 0c2d73faf560: Waiting [2022-04-10T04:58:14.387Z] 3e5f54012d9b: Verifying Checksum [2022-04-10T04:58:14.387Z] 3e5f54012d9b: Download complete [2022-04-10T04:58:14.387Z] a0d0a0d46f8b: Verifying Checksum [2022-04-10T04:58:14.387Z] a0d0a0d46f8b: Download complete [2022-04-10T04:58:14.387Z] 0c2d73faf560: Verifying Checksum [2022-04-10T04:58:14.387Z] 0c2d73faf560: Download complete [2022-04-10T04:58:14.387Z] 4c7163046ea9: Verifying Checksum [2022-04-10T04:58:14.387Z] 4c7163046ea9: Download complete [2022-04-10T04:58:14.648Z] a0d0a0d46f8b: Pull complete [2022-04-10T04:58:14.648Z] 3e5f54012d9b: Pull complete [2022-04-10T04:58:14.909Z] 4c7163046ea9: Pull complete [2022-04-10T04:58:15.169Z] 0c2d73faf560: Pull complete [2022-04-10T04:58:15.169Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T04:58:15.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T04:58:15.169Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T04:58:15.245Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T04:58:15.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T04:58:16.085Z] $ docker top 7f75c45043d273a3d2fb4acbea62be0b4427085d374918026eb833d50d339d36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T04:58:16.183Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T04:58:16.183Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T04:58:16.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T04:58:16.332Z] $ docker exec 7f75c45043d273a3d2fb4acbea62be0b4427085d374918026eb833d50d339d36 ssh-agent [2022-04-10T04:58:16.455Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmfPfAH/agent.14 [2022-04-10T04:58:16.455Z] SSH_AGENT_PID=20 [2022-04-10T04:58:16.464Z] Running ssh-add (command line suppressed) [2022-04-10T04:58:16.614Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1099064760171978374.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1099064760171978374.key) [2022-04-10T04:58:16.619Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T04:58:16.914Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T04:58:16.945Z] $ docker exec --env ******** --env ******** 7f75c45043d273a3d2fb4acbea62be0b4427085d374918026eb833d50d339d36 ssh-agent -k [2022-04-10T04:58:17.070Z] unset SSH_AUTH_SOCK; [2022-04-10T04:58:17.071Z] unset SSH_AGENT_PID; [2022-04-10T04:58:17.071Z] echo Agent pid 20 killed; [2022-04-10T04:58:17.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T04:58:17.093Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T04:58:17.093Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T04:58:17.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T04:58:17.228Z] $ docker exec 7f75c45043d273a3d2fb4acbea62be0b4427085d374918026eb833d50d339d36 ssh-agent [2022-04-10T04:58:17.347Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkpJmCI/agent.55 [2022-04-10T04:58:17.347Z] SSH_AGENT_PID=61 [2022-04-10T04:58:17.353Z] Running ssh-add (command line suppressed) [2022-04-10T04:58:17.478Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5137083972614046669.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5137083972614046669.key) [2022-04-10T04:58:17.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T04:58:17.777Z] + git semver init [2022-04-10T04:58:17.777Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T04:58:17.777Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-10T04:58:17.777Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-10T04:58:17.777Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T04:58:17.777Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T04:58:17.777Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T04:58:17.777Z] # $SEMVER_BRANCH = main [2022-04-10T04:58:17.777Z] # $SEMVER_TEMP = /tmp/semver-531282767 [2022-04-10T04:58:17.777Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-10T04:58:19.162Z] # '/tmp/semver-531282767' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-04-10T04:58:19.162Z] # -> Force: false [2022-04-10T04:58:19.162Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-10T04:58:19.179Z] $ docker exec --env ******** --env ******** 7f75c45043d273a3d2fb4acbea62be0b4427085d374918026eb833d50d339d36 ssh-agent -k [2022-04-10T04:58:19.299Z] unset SSH_AUTH_SOCK; [2022-04-10T04:58:19.299Z] unset SSH_AGENT_PID; [2022-04-10T04:58:19.299Z] echo Agent pid 61 killed; [2022-04-10T04:58:19.305Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T04:58:19.619Z] + git semver [Pipeline] } [2022-04-10T04:58:19.639Z] $ docker stop --time=1 7f75c45043d273a3d2fb4acbea62be0b4427085d374918026eb833d50d339d36 [2022-04-10T04:58:21.042Z] $ docker rm -f 7f75c45043d273a3d2fb4acbea62be0b4427085d374918026eb833d50d339d36 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T04:58:21.412Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T04:58:21.666Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T04:58:21.669Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.23 [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-10T04:58:21.830Z] provisioning config files... [2022-04-10T04:58:21.840Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6955545785907481492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T04:58:22.165Z] ---> docker-login.sh [2022-04-10T04:58:22.165Z] nexus3.edgexfoundry.org:10001 [2022-04-10T04:58:22.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:22.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:22.165Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:22.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:22.165Z] [2022-04-10T04:58:22.165Z] Login Succeeded [2022-04-10T04:58:22.165Z] nexus3.edgexfoundry.org:10002 [2022-04-10T04:58:22.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:22.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:22.426Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:22.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:22.426Z] [2022-04-10T04:58:22.426Z] Login Succeeded [2022-04-10T04:58:22.426Z] nexus3.edgexfoundry.org:10003 [2022-04-10T04:58:22.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:22.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:22.426Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:22.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:22.426Z] [2022-04-10T04:58:22.426Z] Login Succeeded [2022-04-10T04:58:22.426Z] nexus3.edgexfoundry.org:10004 [2022-04-10T04:58:22.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:22.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:22.688Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:22.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:22.688Z] [2022-04-10T04:58:22.688Z] Login Succeeded [2022-04-10T04:58:22.688Z] docker.io [2022-04-10T04:58:22.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T04:58:22.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T04:58:22.951Z] Configure a credential helper to remove this warning. See [2022-04-10T04:58:22.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T04:58:22.951Z] [2022-04-10T04:58:22.951Z] Login Succeeded [2022-04-10T04:58:22.951Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T04:58:22.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T04:58:23.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T04:58:23.031Z] ========================================================= [2022-04-10T04:58:23.031Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T04:58:23.031Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T04:58:23.343Z] + 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-10T04:58:23.343Z] Sending build context to Docker daemon 9.559MB [2022-04-10T04:58:23.343Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T04:58:23.343Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T04:58:23.606Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T04:58:23.606Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T04:58:23.606Z] 666ba61612fd: Pulling fs layer [2022-04-10T04:58:23.606Z] 8ed8ca486205: Pulling fs layer [2022-04-10T04:58:23.606Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T04:58:23.606Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T04:58:23.606Z] 640e595b4fbd: Pulling fs layer [2022-04-10T04:58:23.606Z] 763cafe07f6e: Pulling fs layer [2022-04-10T04:58:23.606Z] 0c0b528cf693: Pulling fs layer [2022-04-10T04:58:23.606Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T04:58:23.607Z] 4fe6c5a15a65: Waiting [2022-04-10T04:58:23.607Z] 763cafe07f6e: Waiting [2022-04-10T04:58:23.607Z] 22a0e8bec74d: Waiting [2022-04-10T04:58:23.607Z] 0c0b528cf693: Waiting [2022-04-10T04:58:23.607Z] 10935f4eaf8b: Waiting [2022-04-10T04:58:23.607Z] 640e595b4fbd: Waiting [2022-04-10T04:58:23.607Z] 8ed8ca486205: Verifying Checksum [2022-04-10T04:58:23.607Z] 8ed8ca486205: Download complete [2022-04-10T04:58:23.607Z] 666ba61612fd: Download complete [2022-04-10T04:58:23.607Z] 22a0e8bec74d: Verifying Checksum [2022-04-10T04:58:23.607Z] 22a0e8bec74d: Download complete [2022-04-10T04:58:23.607Z] 640e595b4fbd: Verifying Checksum [2022-04-10T04:58:23.607Z] 640e595b4fbd: Download complete [2022-04-10T04:58:23.607Z] 59bf1c3509f3: Verifying Checksum [2022-04-10T04:58:23.607Z] 59bf1c3509f3: Download complete [2022-04-10T04:58:23.607Z] 763cafe07f6e: Verifying Checksum [2022-04-10T04:58:23.607Z] 763cafe07f6e: Download complete [2022-04-10T04:58:23.607Z] 0c0b528cf693: Verifying Checksum [2022-04-10T04:58:23.607Z] 0c0b528cf693: Download complete [2022-04-10T04:58:23.607Z] 59bf1c3509f3: Pull complete [2022-04-10T04:58:23.874Z] 666ba61612fd: Pull complete [2022-04-10T04:58:23.874Z] 8ed8ca486205: Pull complete [2022-04-10T04:58:24.134Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T04:58:24.134Z] 10935f4eaf8b: Download complete [2022-04-10T04:58:24.395Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T04:58:24.395Z] 4fe6c5a15a65: Download complete [2022-04-10T04:58:28.592Z] 4fe6c5a15a65: Pull complete [2022-04-10T04:58:28.592Z] 22a0e8bec74d: Pull complete [2022-04-10T04:58:28.592Z] 640e595b4fbd: Pull complete [2022-04-10T04:58:28.592Z] 763cafe07f6e: Pull complete [2022-04-10T04:58:28.592Z] 0c0b528cf693: Pull complete [2022-04-10T04:58:31.142Z] 10935f4eaf8b: Pull complete [2022-04-10T04:58:31.142Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T04:58:31.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T04:58:31.142Z] ---> 99d49a6021b9 [2022-04-10T04:58:31.142Z] Step 3/11 : ARG MAKE=make build [2022-04-10T04:58:32.528Z] ---> Running in 3ef80f6d09b0 [2022-04-10T04:58:32.528Z] Removing intermediate container 3ef80f6d09b0 [2022-04-10T04:58:32.528Z] ---> 66dad00d0008 [2022-04-10T04:58:32.528Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-10T04:58:32.789Z] ---> Running in 393269bf1a33 [2022-04-10T04:58:32.789Z] Removing intermediate container 393269bf1a33 [2022-04-10T04:58:32.789Z] ---> d9d1902b7883 [2022-04-10T04:58:32.789Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T04:58:32.789Z] ---> Running in 6cb66aad7068 [2022-04-10T04:58:32.789Z] Removing intermediate container 6cb66aad7068 [2022-04-10T04:58:32.789Z] ---> 12d2f213beb2 [2022-04-10T04:58:32.789Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T04:58:33.050Z] ---> Running in f0990ff9b58f [2022-04-10T04:58:33.622Z] Removing intermediate container f0990ff9b58f [2022-04-10T04:58:33.622Z] ---> 5580148818cd [2022-04-10T04:58:33.622Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T04:58:33.622Z] ---> Running in 61baefbe22c6 [2022-04-10T04:58:33.883Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T04:58:34.827Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T04:58:35.088Z] OK: 221 MiB in 52 packages [2022-04-10T04:58:35.350Z] Removing intermediate container 61baefbe22c6 [2022-04-10T04:58:35.350Z] ---> f7bf28b579ca [2022-04-10T04:58:35.350Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T04:58:35.611Z] ---> a4d72a4f5fde [2022-04-10T04:58:35.611Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T04:58:35.611Z] ---> Running in f38451d700b1 [2022-04-10T04:58:36.794Z] Still waiting to schedule task [2022-04-10T04:58:36.795Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-10T04:58:50.529Z] Removing intermediate container f38451d700b1 [2022-04-10T04:58:50.529Z] ---> 78b5acbe4ba6 [2022-04-10T04:58:50.529Z] Step 10/11 : COPY . . [2022-04-10T04:58:50.529Z] ---> 1d82d1aec137 [2022-04-10T04:58:50.529Z] Step 11/11 : RUN ${MAKE} [2022-04-10T04:58:50.529Z] ---> Running in f5dc04746ba5 [2022-04-10T04:58:50.529Z] noop [2022-04-10T04:58:50.792Z] Removing intermediate container f5dc04746ba5 [2022-04-10T04:58:50.792Z] ---> d5a5d9c6da34 [2022-04-10T04:58:50.792Z] Successfully built d5a5d9c6da34 [2022-04-10T04:58:50.792Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T04:58:51.092Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T04:58:51.092Z] . [Pipeline] withDockerContainer [2022-04-10T04:58:51.165Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T04:58:51.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T04:58:51.621Z] $ docker top 40f9b92f177a700a2101297dfa65f5785d271ab1441d1cc8dcd7f014d9b017da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T04:58:51.967Z] + go version [2022-04-10T04:58:51.968Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T04:58:51.986Z] $ docker stop --time=1 40f9b92f177a700a2101297dfa65f5785d271ab1441d1cc8dcd7f014d9b017da [2022-04-10T04:58:53.313Z] $ docker rm -f 40f9b92f177a700a2101297dfa65f5785d271ab1441d1cc8dcd7f014d9b017da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T04:58:53.722Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T04:58:53.722Z] . [Pipeline] withDockerContainer [2022-04-10T04:58:53.786Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T04:58:53.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T04:58:54.318Z] $ docker top 5f585b22adb5bc3edbf6e9aaf90012fb336dbf49feb244c0f113b7f76166c4ab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T04:58:54.701Z] + make test [2022-04-10T04:58:54.701Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-10T04:58:54.960Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-10T04:59:04.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-10T04:59:04.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-10T04:59:04.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-10T04:59:04.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.015s coverage: 23.3% of statements [2022-04-10T04:59:04.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-10T04:59:04.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.034s coverage: 27.6% of statements [2022-04-10T04:59:04.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.034s coverage: 78.9% of statements [2022-04-10T04:59:04.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.037s coverage: 10.8% of statements [2022-04-10T04:59:04.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-10T04:59:04.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-10T04:59:04.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-10T04:59:04.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.021s coverage: 33.2% of statements [2022-04-10T04:59:04.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-10T04:59:05.908Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.014s coverage: 86.1% of statements [2022-04-10T04:59:05.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-10T04:59:05.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-10T04:59:05.909Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.028s coverage: 57.4% of statements [2022-04-10T04:59:05.909Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.043s coverage: 89.2% of statements [2022-04-10T04:59:05.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-10T04:59:05.909Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.016s coverage: 4.8% of statements [2022-04-10T04:59:05.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-10T04:59:12.489Z] GO111MODULE=on go vet ./... [2022-04-10T04:59:16.685Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T04:59:16.685Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T04:59:16.685Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T04:59:16.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T04:59:16.979Z] $ docker stop --time=1 5f585b22adb5bc3edbf6e9aaf90012fb336dbf49feb244c0f113b7f76166c4ab [2022-04-10T04:59:18.893Z] $ docker rm -f 5f585b22adb5bc3edbf6e9aaf90012fb336dbf49feb244c0f113b7f76166c4ab [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T04:59:19.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T04:59:19.421Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T04:59:20.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T04:59:20.661Z] + ls -al . [2022-04-10T04:59:20.661Z] total 296 [2022-04-10T04:59:20.661Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 04:59 . [2022-04-10T04:59:20.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 04:58 .. [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 04:58 .dockerignore [2022-04-10T04:59:20.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 04:58 .git [2022-04-10T04:59:20.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 04:58 .github [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 04:58 .gitignore [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 04:58 .golangci.yml [2022-04-10T04:59:20.661Z] drwx------ 3 jenkins jenkins 4096 Apr 10 04:58 .semver [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 04:58 CHANGELOG.md [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 04:58 GOVERNANCE.md [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 04:58 Jenkinsfile [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 04:58 LICENSE [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 04:58 Makefile [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 04:58 OWNERS.md [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 04:58 README.md [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 04:58 VERSION [2022-04-10T04:59:20.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 04:58 bin [2022-04-10T04:59:20.661Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 04:59 coverage.out [2022-04-10T04:59:20.661Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 04:58 example [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 10 04:58 go.mod [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 10 04:58 go.sum [2022-04-10T04:59:20.661Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 04:58 internal [2022-04-10T04:59:20.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 04:58 openapi [2022-04-10T04:59:20.661Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 04:58 pkg [2022-04-10T04:59:20.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 04:58 snap [2022-04-10T04:59:20.661Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 04:58 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T04:59:20.975Z] + 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=b5ea364822c8c62a095049094fb918b913a19c7c --label arch=amd64 --label version=2.2.0-dev.23 . [2022-04-10T04:59:20.975Z] Sending build context to Docker daemon 9.689MB [2022-04-10T04:59:20.975Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T04:59:20.975Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T04:59:20.975Z] ---> d5a5d9c6da34 [2022-04-10T04:59:20.975Z] Step 3/25 : ARG MAKE=make build [2022-04-10T04:59:21.239Z] ---> Running in f95e54ba21f8 [2022-04-10T04:59:21.239Z] Removing intermediate container f95e54ba21f8 [2022-04-10T04:59:21.239Z] ---> 5ca12cdbf973 [2022-04-10T04:59:21.239Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-10T04:59:21.239Z] ---> Running in e3bbc40ed8ac [2022-04-10T04:59:21.239Z] Removing intermediate container e3bbc40ed8ac [2022-04-10T04:59:21.239Z] ---> bca78dcdbbc6 [2022-04-10T04:59:21.239Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T04:59:21.499Z] ---> Running in 78d0814a5420 [2022-04-10T04:59:21.499Z] Removing intermediate container 78d0814a5420 [2022-04-10T04:59:21.499Z] ---> 963471382b0b [2022-04-10T04:59:21.499Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T04:59:21.499Z] ---> Running in 738c33720578 [2022-04-10T04:59:22.068Z] Removing intermediate container 738c33720578 [2022-04-10T04:59:22.068Z] ---> 5442bee808f4 [2022-04-10T04:59:22.068Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T04:59:22.068Z] ---> Running in 6d5e0e84440f [2022-04-10T04:59:22.328Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T04:59:23.269Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T04:59:23.529Z] OK: 221 MiB in 52 packages [2022-04-10T04:59:23.789Z] Removing intermediate container 6d5e0e84440f [2022-04-10T04:59:23.789Z] ---> 357f0ab57357 [2022-04-10T04:59:23.789Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T04:59:24.049Z] ---> 06dcc1c6c89f [2022-04-10T04:59:24.049Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T04:59:24.049Z] ---> Running in af11531ff38b [2022-04-10T04:59:24.620Z] Removing intermediate container af11531ff38b [2022-04-10T04:59:24.620Z] ---> 31e5e3cfe3fa [2022-04-10T04:59:24.620Z] Step 10/25 : COPY . . [2022-04-10T04:59:25.192Z] ---> c6b7df521b90 [2022-04-10T04:59:25.192Z] Step 11/25 : RUN ${MAKE} [2022-04-10T04:59:25.192Z] ---> Running in b76e5f9cff49 [2022-04-10T04:59:25.452Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-10T04:59:43.553Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-10T04:59:44.496Z] Removing intermediate container b76e5f9cff49 [2022-04-10T04:59:44.496Z] ---> 8df9d3d29ad9 [2022-04-10T04:59:44.496Z] Step 12/25 : FROM alpine:3.14 [2022-04-10T04:59:45.069Z] 3.14: Pulling from library/alpine [2022-04-10T04:59:45.069Z] 8663204ce13b: Pulling fs layer [2022-04-10T04:59:45.331Z] 8663204ce13b: Verifying Checksum [2022-04-10T04:59:45.331Z] 8663204ce13b: Download complete [2022-04-10T04:59:45.597Z] 8663204ce13b: Pull complete [2022-04-10T04:59:45.597Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T04:59:45.597Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T04:59:45.597Z] ---> e04c818066af [2022-04-10T04:59:45.597Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T04:59:45.597Z] ---> Running in 221fa37eaa36 [2022-04-10T04:59:45.597Z] Removing intermediate container 221fa37eaa36 [2022-04-10T04:59:45.597Z] ---> bb1a6ffe92ef [2022-04-10T04:59:45.597Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T04:59:45.858Z] ---> Running in 3281298a0f65 [2022-04-10T04:59:46.428Z] Removing intermediate container 3281298a0f65 [2022-04-10T04:59:46.428Z] ---> e069ed073eb0 [2022-04-10T04:59:46.428Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T04:59:46.428Z] ---> Running in 71badeb1a66f [2022-04-10T04:59:46.689Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-10T04:59:47.633Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-10T04:59:47.893Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T04:59:47.893Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T04:59:48.154Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T04:59:48.154Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T04:59:48.154Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T04:59:48.415Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T04:59:48.415Z] OK: 8 MiB in 19 packages [2022-04-10T04:59:48.676Z] Removing intermediate container 71badeb1a66f [2022-04-10T04:59:48.676Z] ---> ab83f0188702 [2022-04-10T04:59:48.676Z] Step 16/25 : WORKDIR / [2022-04-10T04:59:48.676Z] ---> Running in 7cc2e06fb534 [2022-04-10T04:59:48.937Z] Removing intermediate container 7cc2e06fb534 [2022-04-10T04:59:48.937Z] ---> 1f66ecd0ccae [2022-04-10T04:59:48.937Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-10T04:59:48.937Z] ---> 5362d7782119 [2022-04-10T04:59:48.937Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-10T04:59:49.508Z] ---> a4c5dc3c7619 [2022-04-10T04:59:49.508Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-10T04:59:49.770Z] ---> 918616676aa2 [2022-04-10T04:59:49.770Z] Step 20/25 : EXPOSE 59999 [2022-04-10T04:59:49.770Z] ---> Running in 487a98056566 [2022-04-10T04:59:50.031Z] Removing intermediate container 487a98056566 [2022-04-10T04:59:50.031Z] ---> daeab3a544b6 [2022-04-10T04:59:50.031Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-10T04:59:50.031Z] ---> Running in 7cf6019e5419 [2022-04-10T04:59:50.031Z] Removing intermediate container 7cf6019e5419 [2022-04-10T04:59:50.031Z] ---> 375e41ef1344 [2022-04-10T04:59:50.031Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T04:59:50.031Z] ---> Running in 79a446a5f1a6 [2022-04-10T04:59:50.294Z] Removing intermediate container 79a446a5f1a6 [2022-04-10T04:59:50.294Z] ---> d44f18d4bb15 [2022-04-10T04:59:50.294Z] Step 23/25 : LABEL arch=amd64 [2022-04-10T04:59:50.294Z] ---> Running in d13f8f4b2787 [2022-04-10T04:59:50.294Z] Removing intermediate container d13f8f4b2787 [2022-04-10T04:59:50.294Z] ---> 50a1462bc37e [2022-04-10T04:59:50.294Z] Step 24/25 : LABEL git_sha=b5ea364822c8c62a095049094fb918b913a19c7c [2022-04-10T04:59:50.294Z] ---> Running in bf71ee29670e [2022-04-10T04:59:50.554Z] Removing intermediate container bf71ee29670e [2022-04-10T04:59:50.555Z] ---> 72b4150d2608 [2022-04-10T04:59:50.555Z] Step 25/25 : LABEL version=2.2.0-dev.23 [2022-04-10T04:59:50.555Z] ---> Running in 87d4cddcaaa0 [2022-04-10T04:59:50.555Z] Removing intermediate container 87d4cddcaaa0 [2022-04-10T04:59:50.555Z] ---> 18de3f9b6983 [2022-04-10T04:59:50.555Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T04:59:50.555Z] Successfully built 18de3f9b6983 [2022-04-10T04:59:50.555Z] 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-10T04:59:50.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T04:59:50.966Z] [2022-04-10T04:59:50.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T04:59:51.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T04:59:51.268Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T04:59:51.268Z] 5eb5b503b376: Pulling fs layer [2022-04-10T04:59:51.268Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T04:59:51.268Z] ec43610c2a17: Pulling fs layer [2022-04-10T04:59:51.268Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T04:59:51.268Z] 33b1e0a273af: Pulling fs layer [2022-04-10T04:59:51.268Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T04:59:51.268Z] 2f39f015ded8: Pulling fs layer [2022-04-10T04:59:51.268Z] 33b1e0a273af: Waiting [2022-04-10T04:59:51.268Z] 5d3b04190fa2: Waiting [2022-04-10T04:59:51.268Z] 2f39f015ded8: Waiting [2022-04-10T04:59:51.268Z] 3a2ae6a8a46f: Waiting [2022-04-10T04:59:51.268Z] 5c69ac0246d0: Download complete [2022-04-10T04:59:51.268Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T04:59:51.268Z] 3a2ae6a8a46f: Download complete [2022-04-10T04:59:51.268Z] 33b1e0a273af: Verifying Checksum [2022-04-10T04:59:51.268Z] 33b1e0a273af: Download complete [2022-04-10T04:59:51.268Z] ec43610c2a17: Verifying Checksum [2022-04-10T04:59:51.268Z] ec43610c2a17: Download complete [2022-04-10T04:59:51.268Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T04:59:51.268Z] 5d3b04190fa2: Download complete [2022-04-10T04:59:51.529Z] 5eb5b503b376: Verifying Checksum [2022-04-10T04:59:51.529Z] 5eb5b503b376: Download complete [2022-04-10T04:59:52.096Z] 2f39f015ded8: Verifying Checksum [2022-04-10T04:59:52.096Z] 2f39f015ded8: Download complete [2022-04-10T04:59:52.666Z] 5eb5b503b376: Pull complete [2022-04-10T04:59:52.927Z] 5c69ac0246d0: Pull complete [2022-04-10T04:59:53.498Z] ec43610c2a17: Pull complete [2022-04-10T04:59:53.498Z] 3a2ae6a8a46f: Pull complete [2022-04-10T04:59:53.759Z] 33b1e0a273af: Pull complete [2022-04-10T04:59:53.759Z] 5d3b04190fa2: Pull complete [2022-04-10T04:59:57.958Z] 2f39f015ded8: Pull complete [2022-04-10T04:59:57.958Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T04:59:57.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T04:59:57.958Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T04:59:58.029Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T04:59:58.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:00:00.071Z] $ docker top d291b108697051e64acb8af04b7bba1f4ab5dcb8ce4a23a37a5cdc6cbf54fcee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:00:00.510Z] ---> job-cost.sh [2022-04-10T05:00:00.510Z] lf-activate-venv: SKIPPING [2022-04-10T05:00:00.510Z] INFO: No Stack... [2022-04-10T05:00:00.771Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:00:01.342Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:00:01.638Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-04-10T05:00:01.638Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:00:01.655Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-56-stack-cost] [2022-04-10T05:00:01.660Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-56-stack-cost] did not exist. Created. [2022-04-10T05:00:01.660Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:00:01.968Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T05:00:02.005Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:00:02.012Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:00:02.036Z] $ docker stop --time=1 d291b108697051e64acb8af04b7bba1f4ab5dcb8ce4a23a37a5cdc6cbf54fcee [2022-04-10T05:00:03.211Z] $ docker rm -f d291b108697051e64acb8af04b7bba1f4ab5dcb8ce4a23a37a5cdc6cbf54fcee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T05:00:18.879Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11751 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-04-10T05:00:18.893Z] Running in /w/workspace/device-sdk-go/56 [Pipeline] { [Pipeline] checkout [2022-04-10T05:00:19.197Z] The recommended git tool is: git [2022-04-10T05:00:26.460Z] using credential edgex-jenkins-ssh [2022-04-10T05:00:26.483Z] Cloning the remote Git repository [2022-04-10T05:00:26.574Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-10T05:00:26.664Z] > git init /w/workspace/device-sdk-go/56 # timeout=10 [2022-04-10T05:00:26.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-10T05:00:26.792Z] > git --version # timeout=10 [2022-04-10T05:00:26.923Z] > git --version # 'git version 2.25.1' [2022-04-10T05:00:26.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T05:00:27.017Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:00:29.146Z] Avoid second fetch [2022-04-10T05:00:29.147Z] Checking out Revision b5ea364822c8c62a095049094fb918b913a19c7c (main) [2022-04-10T05:00:29.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-10T05:00:29.071Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:00:29.185Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T05:00:29.214Z] > git checkout -f b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 [2022-04-10T05:00:33.918Z] Commit message: "Merge pull request #1125 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:00:34.776Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T05:00:34.776Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:00:34.776Z] Dload Upload Total Spent Left Speed [2022-04-10T05:00:34.776Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47947 0 --:--:-- --:--:-- --:--:-- 48142 [Pipeline] sh [2022-04-10T05:00:35.336Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T05:00:35.681Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T05:00:35.681Z] + sudo tee /etc/docker/daemon.new [2022-04-10T05:00:35.681Z] { [2022-04-10T05:00:35.681Z] "registry-mirrors": [ [2022-04-10T05:00:35.681Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T05:00:35.681Z] ], [2022-04-10T05:00:35.681Z] "bip": "10.250.0.254/24", [2022-04-10T05:00:35.681Z] "hosts": [ [2022-04-10T05:00:35.681Z] "tcp://0.0.0.0:5555", [2022-04-10T05:00:35.681Z] "unix:///var/run/docker.sock" [2022-04-10T05:00:35.681Z] ], [2022-04-10T05:00:35.681Z] "mtu": 1458, [2022-04-10T05:00:35.681Z] "selinux-enabled": true, [2022-04-10T05:00:35.681Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T05:00:35.681Z] } [Pipeline] sh [2022-04-10T05:00:36.037Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T05:00:36.379Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:00:54.740Z] provisioning config files... [2022-04-10T05:00:54.765Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/56@tmp/config3305991785326542231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:00:55.134Z] ---> docker-login.sh [2022-04-10T05:00:55.134Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:00:55.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:00:56.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:00:56.013Z] Configure a credential helper to remove this warning. See [2022-04-10T05:00:56.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:00:56.013Z] [2022-04-10T05:00:56.013Z] Login Succeeded [2022-04-10T05:00:56.013Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:00:56.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:00:56.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:00:56.300Z] Configure a credential helper to remove this warning. See [2022-04-10T05:00:56.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:00:56.300Z] [2022-04-10T05:00:56.300Z] Login Succeeded [2022-04-10T05:00:56.576Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:00:56.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:00:56.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:00:56.851Z] Configure a credential helper to remove this warning. See [2022-04-10T05:00:56.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:00:56.851Z] [2022-04-10T05:00:56.851Z] Login Succeeded [2022-04-10T05:00:56.851Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:00:57.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:00:57.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:00:57.548Z] Configure a credential helper to remove this warning. See [2022-04-10T05:00:57.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:00:57.548Z] [2022-04-10T05:00:57.548Z] Login Succeeded [2022-04-10T05:00:57.548Z] docker.io [2022-04-10T05:00:57.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:00:58.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:00:58.422Z] Configure a credential helper to remove this warning. See [2022-04-10T05:00:58.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:00:58.422Z] [2022-04-10T05:00:58.422Z] Login Succeeded [2022-04-10T05:00:58.422Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:00:58.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:00:58.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:00:58.895Z] ========================================================= [2022-04-10T05:00:58.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T05:00:58.895Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:00:59.287Z] + 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-10T05:00:59.886Z] Sending build context to Docker daemon 5.166MB [2022-04-10T05:00:59.886Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:00:59.886Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T05:00:59.886Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T05:00:59.886Z] 9b3977197b4f: Pulling fs layer [2022-04-10T05:00:59.886Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T05:00:59.886Z] 94645a83ff95: Pulling fs layer [2022-04-10T05:00:59.886Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T05:00:59.886Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T05:00:59.886Z] f7c0051592d6: Pulling fs layer [2022-04-10T05:00:59.886Z] a227ed2f7395: Pulling fs layer [2022-04-10T05:00:59.886Z] 7b1c46037f91: Pulling fs layer [2022-04-10T05:00:59.886Z] 3f3a8bcf1eab: Waiting [2022-04-10T05:00:59.886Z] f7c0051592d6: Waiting [2022-04-10T05:00:59.886Z] a227ed2f7395: Waiting [2022-04-10T05:00:59.886Z] 7b1c46037f91: Waiting [2022-04-10T05:00:59.886Z] 0c92f367c5e7: Waiting [2022-04-10T05:00:59.886Z] 94645a83ff95: Verifying Checksum [2022-04-10T05:00:59.886Z] 94645a83ff95: Download complete [2022-04-10T05:00:59.886Z] 1a89e8eeedd5: Download complete [2022-04-10T05:00:59.886Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T05:00:59.886Z] 0c92f367c5e7: Download complete [2022-04-10T05:00:59.886Z] f7c0051592d6: Verifying Checksum [2022-04-10T05:00:59.886Z] f7c0051592d6: Download complete [2022-04-10T05:00:59.886Z] 9b3977197b4f: Verifying Checksum [2022-04-10T05:00:59.886Z] 9b3977197b4f: Download complete [2022-04-10T05:01:00.163Z] a227ed2f7395: Verifying Checksum [2022-04-10T05:01:00.163Z] a227ed2f7395: Download complete [2022-04-10T05:01:00.769Z] 9b3977197b4f: Pull complete [2022-04-10T05:01:01.378Z] 1a89e8eeedd5: Pull complete [2022-04-10T05:01:01.658Z] 94645a83ff95: Pull complete [2022-04-10T05:01:02.259Z] 7b1c46037f91: Verifying Checksum [2022-04-10T05:01:02.259Z] 7b1c46037f91: Download complete [2022-04-10T05:01:02.532Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T05:01:02.532Z] 3f3a8bcf1eab: Download complete [2022-04-10T05:01:14.981Z] 3f3a8bcf1eab: Pull complete [2022-04-10T05:01:14.981Z] 0c92f367c5e7: Pull complete [2022-04-10T05:01:14.981Z] f7c0051592d6: Pull complete [2022-04-10T05:01:14.981Z] a227ed2f7395: Pull complete [2022-04-10T05:01:21.704Z] 7b1c46037f91: Pull complete [2022-04-10T05:01:21.704Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T05:01:21.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T05:01:21.704Z] ---> f79e39bc4007 [2022-04-10T05:01:21.704Z] Step 3/11 : ARG MAKE=make build [2022-04-10T05:01:22.699Z] ---> Running in 32d0e2d7a29a [2022-04-10T05:01:23.293Z] Removing intermediate container 32d0e2d7a29a [2022-04-10T05:01:23.293Z] ---> 44fc31628235 [2022-04-10T05:01:23.293Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-10T05:01:23.293Z] ---> Running in c1105051f210 [2022-04-10T05:01:23.569Z] Removing intermediate container c1105051f210 [2022-04-10T05:01:23.569Z] ---> f596097df509 [2022-04-10T05:01:23.569Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T05:01:23.569Z] ---> Running in cf724bbe9d91 [2022-04-10T05:01:23.844Z] Removing intermediate container cf724bbe9d91 [2022-04-10T05:01:23.844Z] ---> c843fce951ce [2022-04-10T05:01:23.844Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:01:23.844Z] ---> Running in 731c0c8e3f14 [2022-04-10T05:01:25.824Z] Removing intermediate container 731c0c8e3f14 [2022-04-10T05:01:25.824Z] ---> b8448a9f5a76 [2022-04-10T05:01:25.824Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T05:01:25.824Z] ---> Running in e830fd13255e [2022-04-10T05:01:26.809Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:01:27.787Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:01:28.382Z] OK: 220 MiB in 52 packages [2022-04-10T05:01:29.365Z] Removing intermediate container e830fd13255e [2022-04-10T05:01:29.365Z] ---> 1d8df98c41d4 [2022-04-10T05:01:29.365Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T05:01:29.971Z] ---> b24328b3220c [2022-04-10T05:01:29.971Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:01:29.971Z] ---> Running in 6c3bda851ac9 [2022-04-10T05:02:17.007Z] Removing intermediate container 6c3bda851ac9 [2022-04-10T05:02:17.007Z] ---> a476392758b3 [2022-04-10T05:02:17.007Z] Step 10/11 : COPY . . [2022-04-10T05:02:17.007Z] ---> d559f714eb0d [2022-04-10T05:02:17.007Z] Step 11/11 : RUN ${MAKE} [2022-04-10T05:02:17.007Z] ---> Running in 444bb597af75 [2022-04-10T05:02:17.007Z] noop [2022-04-10T05:02:17.602Z] Removing intermediate container 444bb597af75 [2022-04-10T05:02:17.602Z] ---> 3ebf37925e39 [2022-04-10T05:02:17.602Z] Successfully built 3ebf37925e39 [2022-04-10T05:02:17.602Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:02:17.946Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:02:17.946Z] . [Pipeline] withDockerContainer [2022-04-10T05:02:18.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-11751 does not seem to be running inside a container [2022-04-10T05:02:18.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/56 -v /w/workspace/device-sdk-go/56:/w/workspace/device-sdk-go/56:rw,z -v /w/workspace/device-sdk-go/56@tmp:/w/workspace/device-sdk-go/56@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-10T05:02:19.540Z] $ docker top 981b1919d9942d03965afdd24756bd2b530f866fb8f09ce6137aa8953a516b36 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:02:20.544Z] + go version [2022-04-10T05:02:20.544Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T05:02:20.573Z] $ docker stop --time=1 981b1919d9942d03965afdd24756bd2b530f866fb8f09ce6137aa8953a516b36 [2022-04-10T05:02:22.234Z] $ docker rm -f 981b1919d9942d03965afdd24756bd2b530f866fb8f09ce6137aa8953a516b36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:02:22.830Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:02:22.830Z] . [Pipeline] withDockerContainer [2022-04-10T05:02:23.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-11751 does not seem to be running inside a container [2022-04-10T05:02:23.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/56 -v /w/workspace/device-sdk-go/56:/w/workspace/device-sdk-go/56:rw,z -v /w/workspace/device-sdk-go/56@tmp:/w/workspace/device-sdk-go/56@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-10T05:02:24.458Z] $ docker top 44f0fde905063911b538e99194da181aedf523f87bddb1c3b8c6aab945f9cde2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:02:25.400Z] + make test [2022-04-10T05:02:25.400Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-10T05:02:27.385Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-10T05:04:04.248Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.143s coverage: 23.3% of statements [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-10T05:04:04.248Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.100s coverage: 27.6% of statements [2022-04-10T05:04:04.248Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.084s coverage: 78.9% of statements [2022-04-10T05:04:04.248Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.105s coverage: 10.8% of statements [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-10T05:04:04.248Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 33.2% of statements [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-10T05:04:04.248Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.169s coverage: 86.1% of statements [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-10T05:04:04.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-10T05:04:04.248Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.145s coverage: 57.4% of statements [2022-04-10T05:04:04.249Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.185s coverage: 89.2% of statements [2022-04-10T05:04:04.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-10T05:04:06.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 4.8% of statements [2022-04-10T05:04:06.231Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-10T05:04:06.516Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T05:04:06.516Z] GO111MODULE=on go vet ./... [2022-04-10T05:04:38.901Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:04:38.901Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:04:39.502Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:04:42.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:04:42.942Z] $ docker stop --time=1 44f0fde905063911b538e99194da181aedf523f87bddb1c3b8c6aab945f9cde2 [2022-04-10T05:04:44.788Z] $ docker rm -f 44f0fde905063911b538e99194da181aedf523f87bddb1c3b8c6aab945f9cde2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:04:45.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:04:45.881Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T05:04:46.524Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:04:46.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:04:47.272Z] + ls -al . [2022-04-10T05:04:47.272Z] total 292 [2022-04-10T05:04:47.272Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:04 . [2022-04-10T05:04:47.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:00 .. [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 05:00 .dockerignore [2022-04-10T05:04:47.272Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:00 .git [2022-04-10T05:04:47.272Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:00 .github [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 05:00 .gitignore [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 05:00 .golangci.yml [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 05:00 CHANGELOG.md [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:00 GOVERNANCE.md [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 05:00 Jenkinsfile [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 05:00 LICENSE [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 05:00 Makefile [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 05:00 OWNERS.md [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 05:00 README.md [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 04:58 VERSION [2022-04-10T05:04:47.272Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:00 bin [2022-04-10T05:04:47.272Z] -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 05:04 coverage.out [2022-04-10T05:04:47.272Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 05:00 example [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 10 05:00 go.mod [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 10 05:00 go.sum [2022-04-10T05:04:47.272Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 05:00 internal [2022-04-10T05:04:47.272Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:00 openapi [2022-04-10T05:04:47.272Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 05:00 pkg [2022-04-10T05:04:47.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:00 snap [2022-04-10T05:04:47.272Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 05:00 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:04:47.627Z] + 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=b5ea364822c8c62a095049094fb918b913a19c7c --label arch=arm64 --label version=2.2.0-dev.23 . [2022-04-10T05:04:48.230Z] Sending build context to Docker daemon 5.295MB [2022-04-10T05:04:48.230Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:04:48.230Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T05:04:48.230Z] ---> 3ebf37925e39 [2022-04-10T05:04:48.230Z] Step 3/25 : ARG MAKE=make build [2022-04-10T05:04:48.230Z] ---> Running in c4b801b10b0c [2022-04-10T05:04:48.507Z] Removing intermediate container c4b801b10b0c [2022-04-10T05:04:48.507Z] ---> c33b9c83c865 [2022-04-10T05:04:48.507Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-10T05:04:48.507Z] ---> Running in 7204be1bcadb [2022-04-10T05:04:49.109Z] Removing intermediate container 7204be1bcadb [2022-04-10T05:04:49.109Z] ---> 1411503d9cfc [2022-04-10T05:04:49.109Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T05:04:49.109Z] ---> Running in 386c872d3254 [2022-04-10T05:04:49.384Z] Removing intermediate container 386c872d3254 [2022-04-10T05:04:49.384Z] ---> 9e76aa1c50f1 [2022-04-10T05:04:49.384Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:04:49.384Z] ---> Running in 5bd2830cad66 [2022-04-10T05:04:51.364Z] Removing intermediate container 5bd2830cad66 [2022-04-10T05:04:51.364Z] ---> 60ba5520c12d [2022-04-10T05:04:51.364Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-10T05:04:51.364Z] ---> Running in 79d1e4c62e5d [2022-04-10T05:04:52.347Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:04:53.329Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:04:54.316Z] OK: 220 MiB in 52 packages [2022-04-10T05:04:55.320Z] Removing intermediate container 79d1e4c62e5d [2022-04-10T05:04:55.320Z] ---> ac67d491f016 [2022-04-10T05:04:55.320Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T05:04:55.917Z] ---> d782dd8c29f9 [2022-04-10T05:04:55.917Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:04:55.917Z] ---> Running in 38b87d6a5ad8 [2022-04-10T05:04:57.901Z] Removing intermediate container 38b87d6a5ad8 [2022-04-10T05:04:57.901Z] ---> 805df2edc81b [2022-04-10T05:04:57.901Z] Step 10/25 : COPY . . [2022-04-10T05:04:59.353Z] ---> f5a56cea3646 [2022-04-10T05:04:59.353Z] Step 11/25 : RUN ${MAKE} [2022-04-10T05:04:59.353Z] ---> Running in a378b0c8e70b [2022-04-10T05:05:00.347Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-10T05:07:22.287Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-10T05:07:22.287Z] Removing intermediate container a378b0c8e70b [2022-04-10T05:07:22.287Z] ---> b529495b2bac [2022-04-10T05:07:22.287Z] Step 12/25 : FROM alpine:3.14 [2022-04-10T05:07:22.287Z] 3.14: Pulling from library/alpine [2022-04-10T05:07:22.287Z] 455c02918c45: Pulling fs layer [2022-04-10T05:07:22.287Z] 455c02918c45: Verifying Checksum [2022-04-10T05:07:22.287Z] 455c02918c45: Download complete [2022-04-10T05:07:22.287Z] 455c02918c45: Pull complete [2022-04-10T05:07:22.287Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T05:07:22.287Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T05:07:22.287Z] ---> ac73e934f311 [2022-04-10T05:07:22.287Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-10T05:07:22.288Z] ---> Running in 2106b6267f2b [2022-04-10T05:07:22.288Z] Removing intermediate container 2106b6267f2b [2022-04-10T05:07:22.288Z] ---> 746c3f2e3328 [2022-04-10T05:07:22.288Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:07:22.288Z] ---> Running in 70a8226d0381 [2022-04-10T05:07:24.288Z] Removing intermediate container 70a8226d0381 [2022-04-10T05:07:24.288Z] ---> c9c6197684d5 [2022-04-10T05:07:24.288Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T05:07:24.288Z] ---> Running in d5ee72d8227e [2022-04-10T05:07:25.276Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:07:26.265Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:07:27.253Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T05:07:27.253Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T05:07:27.253Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T05:07:27.526Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T05:07:27.526Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T05:07:27.804Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T05:07:27.804Z] OK: 8 MiB in 19 packages [2022-04-10T05:07:28.789Z] Removing intermediate container d5ee72d8227e [2022-04-10T05:07:28.789Z] ---> 98876e001e91 [2022-04-10T05:07:28.789Z] Step 16/25 : WORKDIR / [2022-04-10T05:07:28.789Z] ---> Running in c847d818b8e0 [2022-04-10T05:07:29.390Z] Removing intermediate container c847d818b8e0 [2022-04-10T05:07:29.390Z] ---> 1d69019b24ca [2022-04-10T05:07:29.390Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-10T05:07:29.999Z] ---> 9bd3f2dad84b [2022-04-10T05:07:29.999Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-10T05:07:31.983Z] ---> 4d7d1ee0b751 [2022-04-10T05:07:31.983Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-10T05:07:32.260Z] ---> 69180c6a9ede [2022-04-10T05:07:32.260Z] Step 20/25 : EXPOSE 59999 [2022-04-10T05:07:32.260Z] ---> Running in f12360ae4815 [2022-04-10T05:07:32.873Z] Removing intermediate container f12360ae4815 [2022-04-10T05:07:32.874Z] ---> 499f0ce3ba05 [2022-04-10T05:07:32.874Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-10T05:07:32.874Z] ---> Running in 06c39b0c9c22 [2022-04-10T05:07:33.151Z] Removing intermediate container 06c39b0c9c22 [2022-04-10T05:07:33.151Z] ---> 4e813f892078 [2022-04-10T05:07:33.151Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T05:07:33.151Z] ---> Running in 3ccbbfd020f7 [2022-04-10T05:07:33.772Z] Removing intermediate container 3ccbbfd020f7 [2022-04-10T05:07:33.772Z] ---> 000c3894622d [2022-04-10T05:07:33.772Z] Step 23/25 : LABEL arch=arm64 [2022-04-10T05:07:33.772Z] ---> Running in fb02a7721c15 [2022-04-10T05:07:34.052Z] Removing intermediate container fb02a7721c15 [2022-04-10T05:07:34.052Z] ---> 005044fcaecf [2022-04-10T05:07:34.052Z] Step 24/25 : LABEL git_sha=b5ea364822c8c62a095049094fb918b913a19c7c [2022-04-10T05:07:34.052Z] ---> Running in 8adeabffc031 [2022-04-10T05:07:34.655Z] Removing intermediate container 8adeabffc031 [2022-04-10T05:07:34.655Z] ---> 90b45eefc407 [2022-04-10T05:07:34.655Z] Step 25/25 : LABEL version=2.2.0-dev.23 [2022-04-10T05:07:34.655Z] ---> Running in 5ebeb4f81712 [2022-04-10T05:07:34.929Z] Removing intermediate container 5ebeb4f81712 [2022-04-10T05:07:34.929Z] ---> 0607e4a2736f [2022-04-10T05:07:34.929Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T05:07:34.929Z] Successfully built 0607e4a2736f [2022-04-10T05:07:34.929Z] 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-10T05:07:35.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:07:35.371Z] [2022-04-10T05:07:35.371Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:35.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:07:36.011Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T05:07:36.011Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T05:07:36.011Z] 04944245beec: Pulling fs layer [2022-04-10T05:07:36.011Z] 699f458cf7ca: Pulling fs layer [2022-04-10T05:07:36.011Z] 765212b225bb: Pulling fs layer [2022-04-10T05:07:36.011Z] f23df028b6ca: Pulling fs layer [2022-04-10T05:07:36.011Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T05:07:36.011Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T05:07:36.011Z] 765212b225bb: Waiting [2022-04-10T05:07:36.011Z] f23df028b6ca: Waiting [2022-04-10T05:07:36.011Z] d65c8cfc05b1: Waiting [2022-04-10T05:07:36.011Z] 2437ff75d9bd: Waiting [2022-04-10T05:07:36.011Z] 04944245beec: Verifying Checksum [2022-04-10T05:07:36.011Z] 765212b225bb: Verifying Checksum [2022-04-10T05:07:36.011Z] 765212b225bb: Download complete [2022-04-10T05:07:36.291Z] f23df028b6ca: Verifying Checksum [2022-04-10T05:07:36.291Z] f23df028b6ca: Download complete [2022-04-10T05:07:36.291Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T05:07:36.291Z] d65c8cfc05b1: Download complete [2022-04-10T05:07:36.291Z] 699f458cf7ca: Download complete [2022-04-10T05:07:36.567Z] 8998bd30e6a1: Verifying Checksum [2022-04-10T05:07:36.567Z] 8998bd30e6a1: Download complete [2022-04-10T05:07:39.219Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T05:07:39.219Z] 2437ff75d9bd: Download complete [2022-04-10T05:07:41.204Z] 8998bd30e6a1: Pull complete [2022-04-10T05:07:41.837Z] 04944245beec: Pull complete [2022-04-10T05:07:43.281Z] 699f458cf7ca: Pull complete [2022-04-10T05:07:43.556Z] 765212b225bb: Pull complete [2022-04-10T05:07:44.157Z] f23df028b6ca: Pull complete [2022-04-10T05:07:44.761Z] d65c8cfc05b1: Pull complete [2022-04-10T05:07:59.892Z] 2437ff75d9bd: Pull complete [2022-04-10T05:07:59.892Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T05:07:59.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:07:59.892Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T05:08:00.171Z] prd-ubuntu20.04-docker-arm64-4c-16g-11751 does not seem to be running inside a container [2022-04-10T05:08:00.277Z] $ 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/56 -v /w/workspace/device-sdk-go/56:/w/workspace/device-sdk-go/56:rw,z -v /w/workspace/device-sdk-go/56@tmp:/w/workspace/device-sdk-go/56@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-10T05:08:03.390Z] $ docker top ab7a673b010f993a7a206e0ea88653e6159e8af409825b4659bc15cdca4befa1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:08:04.362Z] ---> job-cost.sh [2022-04-10T05:08:04.362Z] lf-activate-venv: SKIPPING [2022-04-10T05:08:04.362Z] INFO: No Stack... [2022-04-10T05:08:04.635Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T05:08:05.616Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:08:06.292Z] + cat /w/workspace/device-sdk-go/56/archives/cost.csv [2022-04-10T05:08:06.292Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:08:06.363Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-56-stack-cost] [2022-04-10T05:08:06.369Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-56-stack-cost] did not exist. Created. [2022-04-10T05:08:06.369Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:08:07.060Z] /w/workspace/device-sdk-go/56@tmp/durable-aa655cce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T05:08:07.749Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T05:08:07.769Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T05:08:07.841Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:08:07.848Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:08:07.869Z] $ docker stop --time=1 ab7a673b010f993a7a206e0ea88653e6159e8af409825b4659bc15cdca4befa1 [2022-04-10T05:08:09.460Z] $ docker rm -f ab7a673b010f993a7a206e0ea88653e6159e8af409825b4659bc15cdca4befa1 [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-10T05:08:10.000Z] provisioning config files... [2022-04-10T05:08:10.010Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7991963964144484204tmp [Pipeline] { [Pipeline] sh [2022-04-10T05:08:10.308Z] + set +x [2022-04-10T05:08:10.308Z] + bash -s -- [2022-04-10T05:08:10.308Z] + curl -s https://codecov.io/bash [2022-04-10T05:08:10.308Z] [2022-04-10T05:08:10.308Z] _____ _ [2022-04-10T05:08:10.308Z] / ____| | | [2022-04-10T05:08:10.308Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T05:08:10.308Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T05:08:10.308Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T05:08:10.308Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T05:08:10.308Z] Bash-1.0.6 [2022-04-10T05:08:10.308Z] [2022-04-10T05:08:10.308Z] [2022-04-10T05:08:10.308Z] ==> git version 2.25.1 found [2022-04-10T05:08:10.308Z] ==> 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-10T05:08:10.308Z] Release-Date: 2020-01-08 [2022-04-10T05:08:10.308Z] 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-10T05:08:10.308Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T05:08:10.308Z] ==> Jenkins CI detected. [2022-04-10T05:08:10.308Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-10T05:08:10.308Z] project root: . [2022-04-10T05:08:10.308Z] --> token set from env [2022-04-10T05:08:10.308Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T05:08:10.568Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T05:08:10.568Z] ==> Python coveragepy not found [2022-04-10T05:08:10.568Z] ==> Searching for coverage reports in: [2022-04-10T05:08:10.568Z] + . [2022-04-10T05:08:10.568Z] -> Found 1 reports [2022-04-10T05:08:10.568Z] ==> Detecting git/mercurial file structure [2022-04-10T05:08:10.568Z] ==> Reading reports [2022-04-10T05:08:10.568Z] + ./coverage.out bytes=129001 [2022-04-10T05:08:10.568Z] ==> Appending adjustments [2022-04-10T05:08:10.568Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T05:08:10.829Z] + Found adjustments [2022-04-10T05:08:10.829Z] ==> Gzipping contents [2022-04-10T05:08:10.829Z] 16K /tmp/codecov.CXq1qs.gz [2022-04-10T05:08:10.829Z] ==> Uploading reports [2022-04-10T05:08:10.829Z] url: https://codecov.io [2022-04-10T05:08:10.829Z] query: branch=main&commit=b5ea364822c8c62a095049094fb918b913a19c7c&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:08:10.829Z] -> Pinging Codecov [2022-04-10T05:08:10.829Z] 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=b5ea364822c8c62a095049094fb918b913a19c7c&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:08:11.090Z] -> Uploading to [2022-04-10T05:08:11.090Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/7E55EF52A471D76F132DFD9A03CDDE97/b5ea364822c8c62a095049094fb918b913a19c7c/1808c213-9843-4a51-a802-d2c22dffc1f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T050810Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ceee7c7a0e7717c31daf987d7a66e11dfa7dba0dca03edc9d83658b2782609a1 [2022-04-10T05:08:11.090Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:08:11.090Z] Dload Upload Total Spent Left Speed [2022-04-10T05:08:11.352Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16227 0 0 100 16227 0 55006 --:--:-- --:--:-- --:--:-- 55006 [2022-04-10T05:08:11.352Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b5ea364822c8c62a095049094fb918b913a19c7c [Pipeline] } [2022-04-10T05:08:11.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-10T05:08:11.657Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-10T05:08:11.672Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:08:11.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:08:11.970Z] [2022-04-10T05:08:11.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:08:12.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:08:12.267Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-10T05:08:12.267Z] 188c0c94c7c5: Pulling fs layer [2022-04-10T05:08:12.267Z] 0ef7d3d256c8: Pulling fs layer [2022-04-10T05:08:12.267Z] de9db76c5a1d: Pulling fs layer [2022-04-10T05:08:12.267Z] 0eba1c9be4d2: Pulling fs layer [2022-04-10T05:08:12.267Z] 0d57e429df01: Pulling fs layer [2022-04-10T05:08:12.267Z] 4e4be7b47b0d: Pulling fs layer [2022-04-10T05:08:12.267Z] e1f770b5df2f: Pulling fs layer [2022-04-10T05:08:12.267Z] 85a0685a4137: Pulling fs layer [2022-04-10T05:08:12.267Z] 4e4be7b47b0d: Waiting [2022-04-10T05:08:12.267Z] 0d57e429df01: Waiting [2022-04-10T05:08:12.267Z] e1f770b5df2f: Waiting [2022-04-10T05:08:12.267Z] 85a0685a4137: Waiting [2022-04-10T05:08:12.267Z] 0eba1c9be4d2: Waiting [2022-04-10T05:08:12.267Z] de9db76c5a1d: Verifying Checksum [2022-04-10T05:08:12.267Z] de9db76c5a1d: Download complete [2022-04-10T05:08:12.267Z] 0ef7d3d256c8: Download complete [2022-04-10T05:08:12.267Z] 0d57e429df01: Verifying Checksum [2022-04-10T05:08:12.267Z] 0d57e429df01: Download complete [2022-04-10T05:08:12.267Z] 4e4be7b47b0d: Download complete [2022-04-10T05:08:12.267Z] 188c0c94c7c5: Verifying Checksum [2022-04-10T05:08:12.267Z] 188c0c94c7c5: Download complete [2022-04-10T05:08:12.526Z] e1f770b5df2f: Verifying Checksum [2022-04-10T05:08:12.526Z] e1f770b5df2f: Download complete [2022-04-10T05:08:12.526Z] 188c0c94c7c5: Pull complete [2022-04-10T05:08:12.526Z] 0ef7d3d256c8: Pull complete [2022-04-10T05:08:12.786Z] de9db76c5a1d: Pull complete [2022-04-10T05:08:13.046Z] 0eba1c9be4d2: Verifying Checksum [2022-04-10T05:08:13.046Z] 0eba1c9be4d2: Download complete [2022-04-10T05:08:13.305Z] 85a0685a4137: Verifying Checksum [2022-04-10T05:08:13.305Z] 85a0685a4137: Download complete [2022-04-10T05:08:16.595Z] 0eba1c9be4d2: Pull complete [2022-04-10T05:08:16.595Z] 0d57e429df01: Pull complete [2022-04-10T05:08:16.595Z] 4e4be7b47b0d: Pull complete [2022-04-10T05:08:16.854Z] e1f770b5df2f: Pull complete [2022-04-10T05:08:21.058Z] 85a0685a4137: Pull complete [2022-04-10T05:08:21.058Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-10T05:08:21.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:08:21.058Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-10T05:08:21.129Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T05:08:21.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-10T05:08:22.651Z] $ docker top 24dc406625a236b111acc0cf52e351ffb528fd878cff0e2e085dfb2031362ec7 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-10T05:08:22.729Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-10T05:08:23.012Z] + set -o pipefail [2022-04-10T05:08:23.012Z] + snyk monitor '--org=edgex-jenkins' [2022-04-10T05:08:29.591Z] [2022-04-10T05:08:29.591Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-04-10T05:08:29.591Z] [2022-04-10T05:08:29.591Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/0e88e310-3d7f-491a-a627-1f758b6b2eb4 [2022-04-10T05:08:29.591Z] [2022-04-10T05:08:29.591Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-10T05:08:29.591Z] [2022-04-10T05:08:29.591Z] [Pipeline] } [2022-04-10T05:08:29.612Z] $ docker stop --time=1 24dc406625a236b111acc0cf52e351ffb528fd878cff0e2e085dfb2031362ec7 [2022-04-10T05:08:31.953Z] $ docker rm -f 24dc406625a236b111acc0cf52e351ffb528fd878cff0e2e085dfb2031362ec7 [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-10T05:08:32.437Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:08:32.457Z] provisioning config files... [2022-04-10T05:08:32.466Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1526708348906928106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:08:32.765Z] --> edgex-publish-swagger.sh [2022-04-10T05:08:32.765Z] === Publish openapi/v2 API === [2022-04-10T05:08:32.765Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-04-10T05:08:32.765Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-04-10T05:08:32.765Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:08:32.765Z] Dload Upload Total Spent Left Speed [2022-04-10T05:08:33.707Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 50266 0:00:01 0:00:01 --:--:-- 50266 100 53282 0 0 100 53282 0 50266 0:00:01 0:00:01 --:--:-- 50266 [2022-04-10T05:08:33.707Z] [2022-04-10T05:08:33.707Z] [Pipeline] } [2022-04-10T05:08:33.717Z] 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-10T05:08:34.115Z] + git log --format=format:%s -1 b5ea364822c8c62a095049094fb918b913a19c7c [Pipeline] sh [2022-04-10T05:08:34.413Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:08:34.413Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:08:34.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:08:34.712Z] . [Pipeline] withDockerContainer [2022-04-10T05:08:34.783Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T05:08:34.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:08:35.271Z] $ docker top c44705f655177143a126555a8dd3a26cbc486140a72bc12f4f7647ffc205eb9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:08:35.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:08:35.361Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:08:35.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:08:35.493Z] $ docker exec c44705f655177143a126555a8dd3a26cbc486140a72bc12f4f7647ffc205eb9a ssh-agent [2022-04-10T05:08:35.597Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFcapfh/agent.15 [2022-04-10T05:08:35.597Z] SSH_AGENT_PID=21 [2022-04-10T05:08:35.603Z] Running ssh-add (command line suppressed) [2022-04-10T05:08:35.725Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_162650899137983960.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_162650899137983960.key) [2022-04-10T05:08:35.731Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:08:36.023Z] + git semver tag [2022-04-10T05:08:36.023Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:08:36.023Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-10T05:08:36.023Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-10T05:08:36.023Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:08:36.023Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:08:36.023Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:08:36.023Z] # $SEMVER_BRANCH = main [2022-04-10T05:08:36.023Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-10T05:08:36.023Z] # b5ea364822c8c62a095049094fb918b913a19c7c HEAD [2022-04-10T05:08:36.023Z] # -> Force: false [2022-04-10T05:08:36.023Z] # 15fdbfbba903aa92841f30adae19fe6c97c4a7e3 refs/tags/v2.2.0-dev.23 [Pipeline] } [2022-04-10T05:08:36.043Z] $ docker exec --env ******** --env ******** c44705f655177143a126555a8dd3a26cbc486140a72bc12f4f7647ffc205eb9a ssh-agent -k [2022-04-10T05:08:36.144Z] unset SSH_AUTH_SOCK; [2022-04-10T05:08:36.145Z] unset SSH_AGENT_PID; [2022-04-10T05:08:36.145Z] echo Agent pid 21 killed; [2022-04-10T05:08:36.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:08:36.458Z] + git semver [Pipeline] } [2022-04-10T05:08:36.482Z] $ docker stop --time=1 c44705f655177143a126555a8dd3a26cbc486140a72bc12f4f7647ffc205eb9a [2022-04-10T05:08:37.795Z] $ docker rm -f c44705f655177143a126555a8dd3a26cbc486140a72bc12f4f7647ffc205eb9a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:08:38.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:08:38.189Z] [2022-04-10T05:08:38.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:08:38.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:08:38.493Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-10T05:08:38.493Z] ab5ef0e58194: Pulling fs layer [2022-04-10T05:08:38.493Z] 9712f1f96733: Pulling fs layer [2022-04-10T05:08:38.493Z] 63f879dbbcfc: Pulling fs layer [2022-04-10T05:08:38.493Z] 0d9ebad4ef96: Pulling fs layer [2022-04-10T05:08:38.493Z] e9a5061849ea: Pulling fs layer [2022-04-10T05:08:38.493Z] d747dcd14b5f: Pulling fs layer [2022-04-10T05:08:38.493Z] 2de7ff778b66: Pulling fs layer [2022-04-10T05:08:38.493Z] 0d9ebad4ef96: Waiting [2022-04-10T05:08:38.493Z] e9a5061849ea: Waiting [2022-04-10T05:08:38.493Z] d747dcd14b5f: Waiting [2022-04-10T05:08:38.493Z] 2de7ff778b66: Waiting [2022-04-10T05:08:38.493Z] 9712f1f96733: Verifying Checksum [2022-04-10T05:08:38.493Z] 9712f1f96733: Download complete [2022-04-10T05:08:38.754Z] 63f879dbbcfc: Verifying Checksum [2022-04-10T05:08:38.754Z] 63f879dbbcfc: Download complete [2022-04-10T05:08:39.015Z] e9a5061849ea: Verifying Checksum [2022-04-10T05:08:39.015Z] e9a5061849ea: Download complete [2022-04-10T05:08:39.015Z] d747dcd14b5f: Verifying Checksum [2022-04-10T05:08:39.015Z] d747dcd14b5f: Download complete [2022-04-10T05:08:39.015Z] 0d9ebad4ef96: Verifying Checksum [2022-04-10T05:08:39.015Z] 0d9ebad4ef96: Download complete [2022-04-10T05:08:39.015Z] ab5ef0e58194: Download complete [2022-04-10T05:08:39.015Z] 2de7ff778b66: Verifying Checksum [2022-04-10T05:08:39.015Z] 2de7ff778b66: Download complete [2022-04-10T05:08:42.303Z] ab5ef0e58194: Pull complete [2022-04-10T05:08:42.303Z] 9712f1f96733: Pull complete [2022-04-10T05:08:42.869Z] 63f879dbbcfc: Pull complete [2022-04-10T05:08:47.062Z] 0d9ebad4ef96: Pull complete [2022-04-10T05:08:47.062Z] e9a5061849ea: Pull complete [2022-04-10T05:08:47.062Z] d747dcd14b5f: Pull complete [2022-04-10T05:08:47.631Z] 2de7ff778b66: Pull complete [2022-04-10T05:08:47.891Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-10T05:08:47.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:08:47.891Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-10T05:08:47.999Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T05:08:48.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-10T05:08:50.490Z] $ docker top d02bfefefd22bb0d2253c54f111334d977bddfb4391dc0da9ca2347da85a215a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:08:50.578Z] provisioning config files... [2022-04-10T05:08:50.586Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3897286805210900906tmp [2022-04-10T05:08:50.598Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2118468343912494155tmp [2022-04-10T05:08:50.607Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7675930348735896077tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:08:50.619Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:08:50.903Z] ---> sigul-configuration.sh [2022-04-10T05:08:50.903Z] gpg: directory `/root/.gnupg' created [2022-04-10T05:08:50.903Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-10T05:08:50.903Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-10T05:08:50.903Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-10T05:08:50.903Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-10T05:08:50.903Z] gpg: CAST5 encrypted data [2022-04-10T05:08:50.903Z] gpg: encrypted with 1 passphrase [2022-04-10T05:08:50.903Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-10T05:08:51.191Z] + mkdir /home/jenkins [2022-04-10T05:08:51.191Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-10T05:08:51.481Z] + 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-10T05:08:51.490Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:08:51.775Z] ---> sigul-install.sh [2022-04-10T05:08:51.776Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-10T05:08:52.061Z] + git tag --list [2022-04-10T05:08:52.061Z] 0.7.1 [2022-04-10T05:08:52.061Z] delhi-tag [2022-04-10T05:08:52.061Z] v1.0.0 [2022-04-10T05:08:52.061Z] v1.1.0 [2022-04-10T05:08:52.061Z] v1.1.1 [2022-04-10T05:08:52.061Z] v1.1.2 [2022-04-10T05:08:52.061Z] v1.2.0 [2022-04-10T05:08:52.061Z] v1.2.1 [2022-04-10T05:08:52.061Z] v1.2.2 [2022-04-10T05:08:52.061Z] v1.2.3 [2022-04-10T05:08:52.061Z] v1.3.0 [2022-04-10T05:08:52.061Z] v1.4.0 [2022-04-10T05:08:52.061Z] v2.0.0 [2022-04-10T05:08:52.061Z] v2.0.1-dev.1 [2022-04-10T05:08:52.061Z] v2.0.1-dev.10 [2022-04-10T05:08:52.061Z] v2.0.1-dev.11 [2022-04-10T05:08:52.061Z] v2.0.1-dev.12 [2022-04-10T05:08:52.061Z] v2.0.1-dev.13 [2022-04-10T05:08:52.061Z] v2.0.1-dev.14 [2022-04-10T05:08:52.061Z] v2.0.1-dev.15 [2022-04-10T05:08:52.061Z] v2.0.1-dev.16 [2022-04-10T05:08:52.061Z] v2.0.1-dev.17 [2022-04-10T05:08:52.061Z] v2.0.1-dev.18 [2022-04-10T05:08:52.061Z] v2.0.1-dev.19 [2022-04-10T05:08:52.061Z] v2.0.1-dev.2 [2022-04-10T05:08:52.061Z] v2.0.1-dev.20 [2022-04-10T05:08:52.061Z] v2.0.1-dev.21 [2022-04-10T05:08:52.061Z] v2.0.1-dev.22 [2022-04-10T05:08:52.061Z] v2.0.1-dev.23 [2022-04-10T05:08:52.061Z] v2.0.1-dev.24 [2022-04-10T05:08:52.061Z] v2.0.1-dev.25 [2022-04-10T05:08:52.061Z] v2.0.1-dev.26 [2022-04-10T05:08:52.061Z] v2.0.1-dev.27 [2022-04-10T05:08:52.061Z] v2.0.1-dev.28 [2022-04-10T05:08:52.061Z] v2.0.1-dev.29 [2022-04-10T05:08:52.061Z] v2.0.1-dev.3 [2022-04-10T05:08:52.061Z] v2.0.1-dev.30 [2022-04-10T05:08:52.061Z] v2.0.1-dev.31 [2022-04-10T05:08:52.061Z] v2.0.1-dev.32 [2022-04-10T05:08:52.061Z] v2.0.1-dev.33 [2022-04-10T05:08:52.061Z] v2.0.1-dev.4 [2022-04-10T05:08:52.061Z] v2.0.1-dev.5 [2022-04-10T05:08:52.061Z] v2.0.1-dev.6 [2022-04-10T05:08:52.061Z] v2.0.1-dev.7 [2022-04-10T05:08:52.061Z] v2.0.1-dev.8 [2022-04-10T05:08:52.061Z] v2.0.1-dev.9 [2022-04-10T05:08:52.061Z] v2.1.0 [2022-04-10T05:08:52.061Z] v2.1.1-dev.1 [2022-04-10T05:08:52.061Z] v2.2.0-dev.1 [2022-04-10T05:08:52.061Z] v2.2.0-dev.10 [2022-04-10T05:08:52.061Z] v2.2.0-dev.11 [2022-04-10T05:08:52.061Z] v2.2.0-dev.12 [2022-04-10T05:08:52.061Z] v2.2.0-dev.13 [2022-04-10T05:08:52.061Z] v2.2.0-dev.14 [2022-04-10T05:08:52.061Z] v2.2.0-dev.15 [2022-04-10T05:08:52.061Z] v2.2.0-dev.16 [2022-04-10T05:08:52.061Z] v2.2.0-dev.17 [2022-04-10T05:08:52.061Z] v2.2.0-dev.18 [2022-04-10T05:08:52.061Z] v2.2.0-dev.19 [2022-04-10T05:08:52.061Z] v2.2.0-dev.2 [2022-04-10T05:08:52.061Z] v2.2.0-dev.20 [2022-04-10T05:08:52.061Z] v2.2.0-dev.21 [2022-04-10T05:08:52.061Z] v2.2.0-dev.22 [2022-04-10T05:08:52.061Z] v2.2.0-dev.23 [2022-04-10T05:08:52.061Z] v2.2.0-dev.3 [2022-04-10T05:08:52.061Z] v2.2.0-dev.4 [2022-04-10T05:08:52.061Z] v2.2.0-dev.5 [2022-04-10T05:08:52.061Z] v2.2.0-dev.6 [2022-04-10T05:08:52.061Z] v2.2.0-dev.7 [2022-04-10T05:08:52.061Z] v2.2.0-dev.8 [2022-04-10T05:08:52.061Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-10T05:08:52.346Z] + lftools sign git-tag v2.2.0-dev.23 [2022-04-10T05:08:52.917Z] Signing Git tag with Sigul... [2022-04-10T05:08:52.917Z] Signing v2.2.0-dev.23 [Pipeline] echo [2022-04-10T05:08:53.193Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:08:53.478Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-10T05:08:53.486Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-10T05:08:53.516Z] $ docker stop --time=1 d02bfefefd22bb0d2253c54f111334d977bddfb4391dc0da9ca2347da85a215a [2022-04-10T05:08:54.822Z] $ docker rm -f d02bfefefd22bb0d2253c54f111334d977bddfb4391dc0da9ca2347da85a215a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-10T05:08:55.238Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:08:55.238Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:08:55.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:08:55.535Z] . [Pipeline] withDockerContainer [2022-04-10T05:08:55.602Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T05:08:55.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:08:56.033Z] $ docker top 2be6adfd4a4656c1685f9f46a19333ac7548d6b5124380858ca556e3e668d91c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:08:56.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:08:56.125Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:08:56.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:08:56.255Z] $ docker exec 2be6adfd4a4656c1685f9f46a19333ac7548d6b5124380858ca556e3e668d91c ssh-agent [2022-04-10T05:08:56.358Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNoOKPa/agent.13 [2022-04-10T05:08:56.358Z] SSH_AGENT_PID=19 [2022-04-10T05:08:56.363Z] Running ssh-add (command line suppressed) [2022-04-10T05:08:56.493Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6485655947067960567.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6485655947067960567.key) [2022-04-10T05:08:56.499Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:08:56.789Z] + git semver bump pre [2022-04-10T05:08:56.789Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:08:56.789Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-10T05:08:56.789Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-10T05:08:56.789Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:08:56.789Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:08:56.789Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:08:56.789Z] # $SEMVER_BRANCH = main [2022-04-10T05:08:56.789Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-10T05:08:56.789Z] 2.2.0-dev.24 [Pipeline] } [2022-04-10T05:08:56.808Z] $ docker exec --env ******** --env ******** 2be6adfd4a4656c1685f9f46a19333ac7548d6b5124380858ca556e3e668d91c ssh-agent -k [2022-04-10T05:08:56.917Z] unset SSH_AUTH_SOCK; [2022-04-10T05:08:56.917Z] unset SSH_AGENT_PID; [2022-04-10T05:08:56.917Z] echo Agent pid 19 killed; [2022-04-10T05:08:56.919Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:08:57.235Z] + git semver [Pipeline] } [2022-04-10T05:08:57.258Z] $ docker stop --time=1 2be6adfd4a4656c1685f9f46a19333ac7548d6b5124380858ca556e3e668d91c [2022-04-10T05:08:58.552Z] $ docker rm -f 2be6adfd4a4656c1685f9f46a19333ac7548d6b5124380858ca556e3e668d91c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:08:58.907Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:08:58.907Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:08:59.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:08:59.206Z] . [Pipeline] withDockerContainer [2022-04-10T05:08:59.276Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T05:08:59.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:08:59.693Z] $ docker top 8ae5252b3d9c06d0a91c393b48a5b8e177c037c828670608bad4f41957fcd267 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:08:59.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:08:59.784Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:08:59.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:08:59.933Z] $ docker exec 8ae5252b3d9c06d0a91c393b48a5b8e177c037c828670608bad4f41957fcd267 ssh-agent [2022-04-10T05:09:00.046Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhLNcIe/agent.13 [2022-04-10T05:09:00.046Z] SSH_AGENT_PID=19 [2022-04-10T05:09:00.053Z] Running ssh-add (command line suppressed) [2022-04-10T05:09:00.181Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8269784032220719643.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8269784032220719643.key) [2022-04-10T05:09:00.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:09:00.482Z] + git semver push [2022-04-10T05:09:00.482Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:09:00.482Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-10T05:09:00.482Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-10T05:09:00.482Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:09:00.482Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:09:00.482Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:09:00.482Z] # $SEMVER_BRANCH = main [2022-04-10T05:09:00.482Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-10T05:09:02.413Z] $ docker exec --env ******** --env ******** 8ae5252b3d9c06d0a91c393b48a5b8e177c037c828670608bad4f41957fcd267 ssh-agent -k [2022-04-10T05:09:02.516Z] unset SSH_AUTH_SOCK; [2022-04-10T05:09:02.516Z] unset SSH_AGENT_PID; [2022-04-10T05:09:02.516Z] echo Agent pid 19 killed; [2022-04-10T05:09:02.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:09:02.825Z] + git semver [Pipeline] } [2022-04-10T05:09:02.848Z] $ docker stop --time=1 8ae5252b3d9c06d0a91c393b48a5b8e177c037c828670608bad4f41957fcd267 [2022-04-10T05:09:04.162Z] $ docker rm -f 8ae5252b3d9c06d0a91c393b48a5b8e177c037c828670608bad4f41957fcd267 [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-10T05:09:04.785Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-04-10T05:09:04.785Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-10T05:09:04.785Z] total 16 [2022-04-10T05:09:04.785Z] drwxr-xr-x 3 root root 4096 Apr 10 05:00 . [2022-04-10T05:09:04.785Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 05:08 .. [2022-04-10T05:09:04.785Z] drwxr-xr-x 2 root root 4096 Apr 10 05:00 cost [2022-04-10T05:09:04.785Z] -rw-r--r-- 1 root root 83 Apr 10 05:00 cost.csv [2022-04-10T05:09:04.785Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-10T05:09:04.785Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-10T05:09:04.785Z] total 16 [2022-04-10T05:09:04.785Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:00 . [2022-04-10T05:09:04.785Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 05:08 .. [2022-04-10T05:09:04.785Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:00 cost [2022-04-10T05:09:04.785Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 10 05:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:09:05.079Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:09:05.946Z] ---> package-listing.sh [2022-04-10T05:09:05.946Z] ++ facter osfamily [2022-04-10T05:09:05.946Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T05:09:06.207Z] + OS_FAMILY=debian [2022-04-10T05:09:06.207Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-04-10T05:09:06.207Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T05:09:06.207Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T05:09:06.207Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T05:09:06.207Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T05:09:06.207Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-10T05:09:06.207Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T05:09:06.207Z] + case "${OS_FAMILY}" in [2022-04-10T05:09:06.207Z] + dpkg -l [2022-04-10T05:09:06.207Z] + grep '^ii' [2022-04-10T05:09:06.207Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T05:09:06.207Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T05:09:06.207Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T05:09:06.207Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-10T05:09:06.207Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-04-10T05:09:06.207Z] + 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-10T05:09:06.220Z] 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-10T05:09:06.500Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:09:07.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:09:07.060Z] . [Pipeline] withDockerContainer [2022-04-10T05:09:07.169Z] prd-ubuntu20.04-docker-8c-8g-11750 does not seem to be running inside a container [2022-04-10T05:09:07.206Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:09:07.446Z] $ docker top a748e3556842555e137149a730984083cd49b416f0d7cf00941c40b8b31cf2dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:09:07.791Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T05:09:08.079Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T05:09:08.368Z] + ls /var/log/sa-host [2022-04-10T05:09:08.368Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:09:08.580Z] provisioning config files... [2022-04-10T05:09:08.590Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6565878338626946422tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:09:08.607Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:09:08.896Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T05:09:08.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:09:09.247Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T05:09:09.257Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:09:09.543Z] ---> sudo-logs.sh [2022-04-10T05:09:09.543Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T05:09:09.569Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:09:09.857Z] ---> job-cost.sh [2022-04-10T05:09:09.857Z] lf-activate-venv: SKIPPING [2022-04-10T05:09:09.857Z] DEBUG: total: 0.2199999988079071 [2022-04-10T05:09:09.857Z] INFO: Retrieving Stack Cost... [2022-04-10T05:09:10.117Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:09:10.687Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T05:09:10.698Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:09:10.983Z] ---> logs-deploy.sh [2022-04-10T05:09:10.983Z] lf-activate-venv: SKIPPING [2022-04-10T05:09:10.983Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/56 [2022-04-10T05:09:10.983Z] INFO: archiving workspace using pattern(s): [2022-04-10T05:09:11.919Z] Archives upload complete. [2022-04-10T05:09:11.919Z] INFO: archiving logs to Nexus