Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4b1bca24a13eee0fbd94f91607ff04ee351fa403 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-ssh5137444056627708831.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh8447295558303116080.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh1964609253978139086.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh680317007454991417.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-ssh18086234775529588050.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-63529’ Running on prd-ubuntu20.04-docker-8c-8g-63539 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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 (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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 Commit message: "Merge pull request #1163 from lenny-intel/publish-swagger-levski" > git rev-list --no-walk 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-12T23:55:18.637Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-12T23:55:18.705Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-12T23:55:18.723Z] ========================================================= [2022-05-12T23:55:18.723Z] EdgeX Global Pipelines Version Info [2022-05-12T23:55:18.723Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:55:19.485Z] ------------------- [2022-05-12T23:55:19.485Z] stable info: [2022-05-12T23:55:19.485Z] ------------------- [2022-05-12T23:55:19.485Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-12T23:55:19.485Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-12T23:55:19.485Z] Message: update stable to v1.0.230 [2022-05-12T23:55:20.058Z] ------------------- [2022-05-12T23:55:20.058Z] experimental info: [2022-05-12T23:55:20.058Z] ------------------- [2022-05-12T23:55:20.058Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-12T23:55:20.058Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-12T23:55:20.058Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-12T23:55:20.199Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-12T23:55:20.211Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-12T23:55:20.227Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-12T23:55:20.245Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-12T23:55:20.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-12T23:55:20.285Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-12T23:55:20.303Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-12T23:55:20.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-12T23:55:20.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-12T23:55:20.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-12T23:55:20.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-12T23:55:20.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-12T23:55:20.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-12T23:55:20.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-12T23:55:20.436Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-12T23:55:20.448Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-12T23:55:20.466Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-12T23:55:20.488Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-12T23:55:20.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-12T23:55:20.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-12T23:55:20.532Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-12T23:55:20.542Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-12T23:55:20.558Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-12T23:55:20.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-12T23:55:20.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-12T23:55:20.600Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-12T23:55:20.614Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-12T23:55:20.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-12T23:55:20.643Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-12T23:55:20.656Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] echo [2022-05-12T23:55:20.673Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b1bca2 [Pipeline] echo [2022-05-12T23:55:20.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T23:55:20.740Z] provisioning config files... [2022-05-12T23:55:20.752Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1775767805423513728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:55:21.056Z] ---> docker-login.sh [2022-05-12T23:55:21.056Z] nexus3.edgexfoundry.org:10001 [2022-05-12T23:55:21.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:21.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:21.578Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:21.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:21.578Z] [2022-05-12T23:55:21.578Z] Login Succeeded [2022-05-12T23:55:21.578Z] nexus3.edgexfoundry.org:10002 [2022-05-12T23:55:21.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:21.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:21.578Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:21.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:21.578Z] [2022-05-12T23:55:21.578Z] Login Succeeded [2022-05-12T23:55:21.578Z] nexus3.edgexfoundry.org:10003 [2022-05-12T23:55:21.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:21.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:21.843Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:21.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:21.843Z] [2022-05-12T23:55:21.843Z] Login Succeeded [2022-05-12T23:55:21.843Z] nexus3.edgexfoundry.org:10004 [2022-05-12T23:55:21.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:21.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:21.843Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:21.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:21.843Z] [2022-05-12T23:55:21.843Z] Login Succeeded [2022-05-12T23:55:21.843Z] docker.io [2022-05-12T23:55:22.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:22.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:22.364Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:22.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:22.364Z] [2022-05-12T23:55:22.364Z] Login Succeeded [2022-05-12T23:55:22.364Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T23:55:22.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-12T23:55:22.755Z] + git rev-list -1 --merges 4b1bca24a13eee0fbd94f91607ff04ee351fa403~1..4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] echo [2022-05-12T23:55:22.868Z] -----------> git rev-list -1 --merges 4b1bca24a13eee0fbd94f91607ff04ee351fa403~1..4b1bca24a13eee0fbd94f91607ff04ee351fa403 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [2022-05-12T23:55:22.868Z] 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [false] [Pipeline] sh [2022-05-12T23:55:23.158Z] + git log --format=format:%s -1 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] echo [2022-05-12T23:55:23.173Z] ========================================================= [2022-05-12T23:55:23.173Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-12T23:55:23.173Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-12T23:55:23.507Z] + git log --format=format:%s -1 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] echo [2022-05-12T23:55:23.519Z] [semverPrep] GIT_COMMIT: 4b1bca24a13eee0fbd94f91607ff04ee351fa403, Commit Message: Merge pull request #1163 from lenny-intel/publish-swagger-levski [Pipeline] echo [2022-05-12T23:55:23.532Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-12T23:55:23.936Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-12T23:55:23.936Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-12T23:55:23.936Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-12T23:55:23.936Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-12T23:55:23.936Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-12T23:55:23.936Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-12T23:55:23.936Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:55:24.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T23:55:24.289Z] [2022-05-12T23:55:24.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:55:24.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T23:55:24.594Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-12T23:55:24.594Z] 1fe172e4850f: Pulling fs layer [2022-05-12T23:55:24.594Z] caf521ccaac6: Pulling fs layer [2022-05-12T23:55:24.594Z] 3ead6fa29328: Pulling fs layer [2022-05-12T23:55:24.594Z] 5c2a1cbceb83: Pulling fs layer [2022-05-12T23:55:24.594Z] a8d5f1318db7: Pulling fs layer [2022-05-12T23:55:24.594Z] c427282e49a2: Pulling fs layer [2022-05-12T23:55:24.594Z] 1827001aaf11: Pulling fs layer [2022-05-12T23:55:24.594Z] 0714d37db230: Pulling fs layer [2022-05-12T23:55:24.594Z] ac28cf19c067: Pulling fs layer [2022-05-12T23:55:24.594Z] ca983d60f3e2: Pulling fs layer [2022-05-12T23:55:24.594Z] 9f894cec8388: Pulling fs layer [2022-05-12T23:55:24.594Z] ac28cf19c067: Waiting [2022-05-12T23:55:24.594Z] ca983d60f3e2: Waiting [2022-05-12T23:55:24.594Z] 1827001aaf11: Waiting [2022-05-12T23:55:24.594Z] 9f894cec8388: Waiting [2022-05-12T23:55:24.594Z] 5c2a1cbceb83: Waiting [2022-05-12T23:55:24.594Z] a8d5f1318db7: Waiting [2022-05-12T23:55:24.594Z] 0714d37db230: Waiting [2022-05-12T23:55:24.594Z] c427282e49a2: Waiting [2022-05-12T23:55:24.594Z] caf521ccaac6: Download complete [2022-05-12T23:55:24.594Z] 5c2a1cbceb83: Verifying Checksum [2022-05-12T23:55:24.594Z] 5c2a1cbceb83: Download complete [2022-05-12T23:55:24.594Z] a8d5f1318db7: Verifying Checksum [2022-05-12T23:55:24.594Z] a8d5f1318db7: Download complete [2022-05-12T23:55:24.857Z] c427282e49a2: Verifying Checksum [2022-05-12T23:55:24.857Z] c427282e49a2: Download complete [2022-05-12T23:55:24.857Z] 3ead6fa29328: Verifying Checksum [2022-05-12T23:55:24.857Z] 3ead6fa29328: Download complete [2022-05-12T23:55:24.857Z] 0714d37db230: Download complete [2022-05-12T23:55:24.857Z] ac28cf19c067: Download complete [2022-05-12T23:55:24.857Z] ca983d60f3e2: Verifying Checksum [2022-05-12T23:55:24.857Z] ca983d60f3e2: Download complete [2022-05-12T23:55:24.857Z] 9f894cec8388: Download complete [2022-05-12T23:55:24.857Z] 1fe172e4850f: Verifying Checksum [2022-05-12T23:55:25.118Z] 1827001aaf11: Verifying Checksum [2022-05-12T23:55:25.118Z] 1827001aaf11: Download complete [2022-05-12T23:55:26.502Z] 1fe172e4850f: Pull complete [2022-05-12T23:55:26.502Z] caf521ccaac6: Pull complete [2022-05-12T23:55:27.070Z] 3ead6fa29328: Pull complete [2022-05-12T23:55:27.070Z] 5c2a1cbceb83: Pull complete [2022-05-12T23:55:27.331Z] a8d5f1318db7: Pull complete [2022-05-12T23:55:27.331Z] c427282e49a2: Pull complete [2022-05-12T23:55:29.267Z] 1827001aaf11: Pull complete [2022-05-12T23:55:29.267Z] 0714d37db230: Pull complete [2022-05-12T23:55:29.528Z] ac28cf19c067: Pull complete [2022-05-12T23:55:29.528Z] ca983d60f3e2: Pull complete [2022-05-12T23:55:29.787Z] 9f894cec8388: Pull complete [2022-05-12T23:55:29.787Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-12T23:55:29.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-12T23:55:29.787Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-12T23:55:29.876Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-12T23:55:29.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-12T23:55:31.708Z] $ docker top bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae -eo pid,comm [2022-05-12T23:55:31.780Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-12T23:55:31.780Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-12T23:55:31.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-12T23:55:31.816Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-12T23:55:31.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-12T23:55:31.970Z] $ docker exec bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae ssh-agent [2022-05-12T23:55:32.100Z] SSH_AUTH_SOCK=/tmp/ssh-yVDrklhqsFdc/agent.33 [2022-05-12T23:55:32.100Z] SSH_AGENT_PID=39 [2022-05-12T23:55:32.109Z] Running ssh-add (command line suppressed) [2022-05-12T23:55:32.222Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4930432200741956504.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4930432200741956504.key) [2022-05-12T23:55:32.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-12T23:55:32.532Z] + git tag --points-at HEAD [Pipeline] } [2022-05-12T23:55:32.546Z] $ docker exec --env ******** --env ******** bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae ssh-agent -k [2022-05-12T23:55:32.641Z] unset SSH_AUTH_SOCK; [2022-05-12T23:55:32.642Z] unset SSH_AGENT_PID; [2022-05-12T23:55:32.642Z] echo Agent pid 39 killed; [2022-05-12T23:55:32.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-12T23:55:32.685Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-12T23:55:32.685Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-12T23:55:32.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-12T23:55:32.827Z] $ docker exec bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae ssh-agent [2022-05-12T23:55:32.952Z] SSH_AUTH_SOCK=/tmp/ssh-zrCATczJtiR4/agent.73 [2022-05-12T23:55:32.952Z] SSH_AGENT_PID=79 [2022-05-12T23:55:32.957Z] Running ssh-add (command line suppressed) [2022-05-12T23:55:33.082Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_439996381930140125.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_439996381930140125.key) [2022-05-12T23:55:33.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-12T23:55:33.397Z] + git semver init [2022-05-12T23:55:33.659Z] 2022-05-12 23:55:33,606 [run_init] DEBUG init version:0.0.0 force:False [2022-05-12T23:55:33.659Z] 2022-05-12 23:55:33,608 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-05-12T23:55:33.659Z] 2022-05-12 23:55:33,608 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-05-12T23:55:33.659Z] 2022-05-12 23:55:33,608 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-12T23:55:34.600Z] 2022-05-12 23:55:34,522 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-05-12T23:55:34.600Z] 2022-05-12 23:55:34,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-05-12T23:55:34.600Z] 2022-05-12 23:55:34,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-12T23:55:34.600Z] 2022-05-12 23:55:34,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-12T23:55:34.600Z] 2.2.1-dev.1 [Pipeline] } [2022-05-12T23:55:34.609Z] $ docker exec --env ******** --env ******** bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae ssh-agent -k [2022-05-12T23:55:34.725Z] unset SSH_AUTH_SOCK; [2022-05-12T23:55:34.726Z] unset SSH_AGENT_PID; [2022-05-12T23:55:34.726Z] echo Agent pid 79 killed; [2022-05-12T23:55:34.741Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-12T23:55:35.048Z] + git semver [Pipeline] } [2022-05-12T23:55:35.326Z] $ docker stop --time=1 bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae [2022-05-12T23:55:36.649Z] $ docker rm -f bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-12T23:55:37.015Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-12T23:55:37.292Z] Stashed 1 file(s) [Pipeline] echo [2022-05-12T23:55:37.296Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [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-05-12T23:55:37.455Z] provisioning config files... [2022-05-12T23:55:37.467Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9015132776395111680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:55:37.793Z] ---> docker-login.sh [2022-05-12T23:55:37.793Z] nexus3.edgexfoundry.org:10001 [2022-05-12T23:55:37.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:37.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:37.793Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:37.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:37.793Z] [2022-05-12T23:55:37.793Z] Login Succeeded [2022-05-12T23:55:37.793Z] nexus3.edgexfoundry.org:10002 [2022-05-12T23:55:37.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:38.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:38.054Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:38.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:38.054Z] [2022-05-12T23:55:38.054Z] Login Succeeded [2022-05-12T23:55:38.054Z] nexus3.edgexfoundry.org:10003 [2022-05-12T23:55:38.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:38.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:38.054Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:38.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:38.054Z] [2022-05-12T23:55:38.054Z] Login Succeeded [2022-05-12T23:55:38.054Z] nexus3.edgexfoundry.org:10004 [2022-05-12T23:55:38.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:38.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:38.316Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:38.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:38.316Z] [2022-05-12T23:55:38.316Z] Login Succeeded [2022-05-12T23:55:38.316Z] docker.io [2022-05-12T23:55:38.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:55:38.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:55:38.888Z] Configure a credential helper to remove this warning. See [2022-05-12T23:55:38.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:55:38.888Z] [2022-05-12T23:55:38.888Z] Login Succeeded [2022-05-12T23:55:38.888Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T23:55:38.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-12T23:55:38.984Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-12T23:55:38.999Z] ========================================================= [2022-05-12T23:55:38.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-12T23:55:38.999Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:55:39.312Z] + 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-05-12T23:55:39.312Z] Sending build context to Docker daemon 9.758MB [2022-05-12T23:55:39.312Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T23:55:39.312Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-12T23:55:39.312Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-12T23:55:39.312Z] 59bf1c3509f3: Pulling fs layer [2022-05-12T23:55:39.312Z] 666ba61612fd: Pulling fs layer [2022-05-12T23:55:39.312Z] 8ed8ca486205: Pulling fs layer [2022-05-12T23:55:39.312Z] 4fe6c5a15a65: Pulling fs layer [2022-05-12T23:55:39.312Z] 22a0e8bec74d: Pulling fs layer [2022-05-12T23:55:39.312Z] ca2b28591e48: Pulling fs layer [2022-05-12T23:55:39.312Z] a51346096db8: Pulling fs layer [2022-05-12T23:55:39.312Z] daebc70d1ce1: Pulling fs layer [2022-05-12T23:55:39.312Z] 0e18a0eac166: Pulling fs layer [2022-05-12T23:55:39.312Z] 4fe6c5a15a65: Waiting [2022-05-12T23:55:39.312Z] 22a0e8bec74d: Waiting [2022-05-12T23:55:39.312Z] ca2b28591e48: Waiting [2022-05-12T23:55:39.312Z] 0e18a0eac166: Waiting [2022-05-12T23:55:39.312Z] a51346096db8: Waiting [2022-05-12T23:55:39.312Z] 8ed8ca486205: Verifying Checksum [2022-05-12T23:55:39.312Z] 8ed8ca486205: Download complete [2022-05-12T23:55:39.573Z] 22a0e8bec74d: Verifying Checksum [2022-05-12T23:55:39.573Z] 22a0e8bec74d: Download complete [2022-05-12T23:55:39.573Z] ca2b28591e48: Download complete [2022-05-12T23:55:39.573Z] a51346096db8: Download complete [2022-05-12T23:55:39.573Z] 59bf1c3509f3: Verifying Checksum [2022-05-12T23:55:39.573Z] 59bf1c3509f3: Download complete [2022-05-12T23:55:39.573Z] daebc70d1ce1: Verifying Checksum [2022-05-12T23:55:39.573Z] daebc70d1ce1: Download complete [2022-05-12T23:55:39.573Z] 59bf1c3509f3: Pull complete [2022-05-12T23:55:39.835Z] 666ba61612fd: Pull complete [2022-05-12T23:55:39.835Z] 8ed8ca486205: Pull complete [2022-05-12T23:55:40.094Z] 0e18a0eac166: Verifying Checksum [2022-05-12T23:55:40.094Z] 0e18a0eac166: Download complete [2022-05-12T23:55:40.355Z] 4fe6c5a15a65: Verifying Checksum [2022-05-12T23:55:40.355Z] 4fe6c5a15a65: Download complete [2022-05-12T23:55:44.558Z] 4fe6c5a15a65: Pull complete [2022-05-12T23:55:44.558Z] 22a0e8bec74d: Pull complete [2022-05-12T23:55:44.558Z] ca2b28591e48: Pull complete [2022-05-12T23:55:44.558Z] a51346096db8: Pull complete [2022-05-12T23:55:44.558Z] daebc70d1ce1: Pull complete [2022-05-12T23:55:47.097Z] 0e18a0eac166: Pull complete [2022-05-12T23:55:47.097Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-12T23:55:47.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-12T23:55:47.097Z] ---> f018257e8ee9 [2022-05-12T23:55:47.097Z] Step 3/11 : ARG MAKE=make build [2022-05-12T23:55:49.023Z] ---> Running in 5323db09b1d8 [2022-05-12T23:55:49.284Z] Removing intermediate container 5323db09b1d8 [2022-05-12T23:55:49.284Z] ---> a5d5c0454c1c [2022-05-12T23:55:49.284Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-12T23:55:49.284Z] ---> Running in 217c7cf6b4c5 [2022-05-12T23:55:49.545Z] Removing intermediate container 217c7cf6b4c5 [2022-05-12T23:55:49.545Z] ---> f5f901ee5ea4 [2022-05-12T23:55:49.545Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-12T23:55:49.809Z] ---> Running in 457f41d73e1d [2022-05-12T23:55:49.809Z] Removing intermediate container 457f41d73e1d [2022-05-12T23:55:49.809Z] ---> a005ef10b4ed [2022-05-12T23:55:49.809Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T23:55:50.068Z] ---> Running in cc6826e84414 [2022-05-12T23:55:51.010Z] Removing intermediate container cc6826e84414 [2022-05-12T23:55:51.010Z] ---> 6317dc8c3ad5 [2022-05-12T23:55:51.010Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-12T23:55:51.010Z] ---> Running in 2ebb2b1dea42 [2022-05-12T23:55:51.585Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-12T23:55:52.410Z] Still waiting to schedule task [2022-05-12T23:55:52.410Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63530’ [2022-05-12T23:55:52.529Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-12T23:55:52.529Z] OK: 221 MiB in 52 packages [2022-05-12T23:55:53.101Z] Removing intermediate container 2ebb2b1dea42 [2022-05-12T23:55:53.101Z] ---> 8c16c3507ee9 [2022-05-12T23:55:53.101Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-12T23:55:53.101Z] ---> 66282ad6bd51 [2022-05-12T23:55:53.101Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T23:55:53.101Z] ---> Running in 56c970cce05e [2022-05-12T23:56:08.010Z] Removing intermediate container 56c970cce05e [2022-05-12T23:56:08.011Z] ---> 2a651247b7fd [2022-05-12T23:56:08.011Z] Step 10/11 : COPY . . [2022-05-12T23:56:08.011Z] ---> ac18e7cbfbdf [2022-05-12T23:56:08.011Z] Step 11/11 : RUN ${MAKE} [2022-05-12T23:56:08.011Z] ---> Running in bb7ac9084c7d [2022-05-12T23:56:08.011Z] noop [2022-05-12T23:56:08.271Z] Removing intermediate container bb7ac9084c7d [2022-05-12T23:56:08.271Z] ---> 9931e071302d [2022-05-12T23:56:08.271Z] Successfully built 9931e071302d [2022-05-12T23:56:08.271Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:56:08.573Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-12T23:56:08.573Z] . [Pipeline] withDockerContainer [2022-05-12T23:56:08.641Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-12T23:56:08.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-12T23:56:09.081Z] $ docker top f722c2679ce4f798e57974796fcb3dc5e36260aa5af6ad92f9ae989addfe336b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-12T23:56:09.441Z] + go version [2022-05-12T23:56:09.441Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-12T23:56:09.455Z] $ docker stop --time=1 f722c2679ce4f798e57974796fcb3dc5e36260aa5af6ad92f9ae989addfe336b [2022-05-12T23:56:10.782Z] $ docker rm -f f722c2679ce4f798e57974796fcb3dc5e36260aa5af6ad92f9ae989addfe336b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:56:11.255Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-12T23:56:11.255Z] . [Pipeline] withDockerContainer [2022-05-12T23:56:11.322Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-12T23:56:11.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-12T23:56:11.755Z] $ docker top b6eeccd0c5bccd0af91c3427fb27565291a0608d8965a509e0af9c116f9b4f37 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-12T23:56:12.121Z] + make test [2022-05-12T23:56:12.121Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-12T23:56:17.417Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-12T23:56:29.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-12T23:56:29.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-12T23:56:29.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-12T23:56:29.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.101s coverage: 23.3% of statements [2022-05-12T23:56:29.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-12T23:56:29.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements [2022-05-12T23:56:29.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2022-05-12T23:56:29.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.066s coverage: 10.8% of statements [2022-05-12T23:56:29.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.123s coverage: 60.0% of statements [2022-05-12T23:56:29.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-12T23:56:29.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-12T23:56:29.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 34.8% of statements [2022-05-12T23:56:29.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-12T23:56:29.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 86.5% of statements [2022-05-12T23:56:29.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-12T23:56:29.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-12T23:56:29.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.094s coverage: 65.1% of statements [2022-05-12T23:56:29.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.827s coverage: 89.2% of statements [2022-05-12T23:56:29.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-12T23:56:29.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-05-12T23:56:29.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-12T23:56:44.787Z] GO111MODULE=on go vet ./... [2022-05-12T23:56:48.076Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-12T23:56:48.076Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-12T23:56:48.335Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-12T23:56:48.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-12T23:56:48.624Z] $ docker stop --time=1 b6eeccd0c5bccd0af91c3427fb27565291a0608d8965a509e0af9c116f9b4f37 [2022-05-12T23:56:51.029Z] $ docker rm -f b6eeccd0c5bccd0af91c3427fb27565291a0608d8965a509e0af9c116f9b4f37 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-12T23:56:51.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-12T23:56:51.593Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-12T23:56:52.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-12T23:56:52.618Z] + ls -al . [2022-05-12T23:56:52.619Z] total 300 [2022-05-12T23:56:52.619Z] drwxrwxr-x 11 jenkins jenkins 4096 May 12 23:56 . [2022-05-12T23:56:52.619Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:55 .. [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 23:55 .dockerignore [2022-05-12T23:56:52.619Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 23:55 .git [2022-05-12T23:56:52.619Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:55 .github [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 131 May 12 23:55 .gitignore [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 42 May 12 23:55 .golangci.yml [2022-05-12T23:56:52.619Z] drwxr-xr-x 3 jenkins jenkins 4096 May 12 23:55 .semver [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 12 23:55 CHANGELOG.md [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 677 May 12 23:55 GOVERNANCE.md [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 880 May 12 23:55 Jenkinsfile [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 12 23:55 LICENSE [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 12 23:55 Makefile [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 619 May 12 23:55 OWNERS.md [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 12 23:55 README.md [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 11 May 12 23:55 VERSION [2022-05-12T23:56:52.619Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:55 bin [2022-05-12T23:56:52.619Z] -rw-r--r-- 1 jenkins jenkins 130739 May 12 23:56 coverage.out [2022-05-12T23:56:52.619Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:55 example [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 12 23:55 go.mod [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 12 23:55 go.sum [2022-05-12T23:56:52.619Z] drwxrwxr-x 15 jenkins jenkins 4096 May 12 23:55 internal [2022-05-12T23:56:52.619Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 23:55 openapi [2022-05-12T23:56:52.619Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:55 pkg [2022-05-12T23:56:52.619Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:55 snap [2022-05-12T23:56:52.619Z] -rw-rw-r-- 1 jenkins jenkins 222 May 12 23:55 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:56:52.920Z] + 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=4b1bca24a13eee0fbd94f91607ff04ee351fa403 --label arch=amd64 --label version=2.2.1-dev.1 . [2022-05-12T23:56:52.920Z] Sending build context to Docker daemon 9.89MB [2022-05-12T23:56:52.920Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T23:56:52.920Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-12T23:56:52.920Z] ---> 9931e071302d [2022-05-12T23:56:52.920Z] Step 3/25 : ARG MAKE=make build [2022-05-12T23:56:53.180Z] ---> Running in ef1b7760a951 [2022-05-12T23:56:53.180Z] Removing intermediate container ef1b7760a951 [2022-05-12T23:56:53.180Z] ---> 8b2c50897b43 [2022-05-12T23:56:53.180Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-12T23:56:53.180Z] ---> Running in 5ba45cd5e4bb [2022-05-12T23:56:53.180Z] Removing intermediate container 5ba45cd5e4bb [2022-05-12T23:56:53.180Z] ---> 0d9bee79fc99 [2022-05-12T23:56:53.180Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-12T23:56:53.439Z] ---> Running in 5bd521929c03 [2022-05-12T23:56:53.439Z] Removing intermediate container 5bd521929c03 [2022-05-12T23:56:53.439Z] ---> f0dd551f2510 [2022-05-12T23:56:53.439Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T23:56:53.439Z] ---> Running in d3d1072995c3 [2022-05-12T23:56:54.007Z] Removing intermediate container d3d1072995c3 [2022-05-12T23:56:54.007Z] ---> c16f953589d4 [2022-05-12T23:56:54.007Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-12T23:56:54.007Z] ---> Running in f5fa2ab5f11b [2022-05-12T23:56:54.267Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-12T23:56:55.208Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-12T23:56:55.469Z] OK: 221 MiB in 52 packages [2022-05-12T23:56:55.730Z] Removing intermediate container f5fa2ab5f11b [2022-05-12T23:56:55.730Z] ---> ad9b4ee2cebd [2022-05-12T23:56:55.730Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-12T23:56:55.730Z] ---> d5cab29620b0 [2022-05-12T23:56:55.730Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-12T23:56:55.991Z] ---> Running in 556003e2ed46 [2022-05-12T23:56:56.563Z] Removing intermediate container 556003e2ed46 [2022-05-12T23:56:56.563Z] ---> f6e18f7e77d1 [2022-05-12T23:56:56.563Z] Step 10/25 : COPY . . [2022-05-12T23:56:57.132Z] ---> db7bdf2dd724 [2022-05-12T23:56:57.132Z] Step 11/25 : RUN ${MAKE} [2022-05-12T23:56:57.132Z] ---> Running in ad845c156f12 [2022-05-12T23:56:57.391Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-12T23:57:15.483Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-12T23:57:16.055Z] Removing intermediate container ad845c156f12 [2022-05-12T23:57:16.055Z] ---> d798286e8cdb [2022-05-12T23:57:16.055Z] Step 12/25 : FROM alpine:3.14 [2022-05-12T23:57:16.627Z] 3.14: Pulling from library/alpine [2022-05-12T23:57:16.888Z] 8663204ce13b: Pulling fs layer [2022-05-12T23:57:16.888Z] 8663204ce13b: Download complete [2022-05-12T23:57:17.148Z] 8663204ce13b: Pull complete [2022-05-12T23:57:17.148Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-12T23:57:17.148Z] Status: Downloaded newer image for alpine:3.14 [2022-05-12T23:57:17.148Z] ---> e04c818066af [2022-05-12T23:57:17.148Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-12T23:57:17.407Z] ---> Running in 0988bc698a51 [2022-05-12T23:57:17.407Z] Removing intermediate container 0988bc698a51 [2022-05-12T23:57:17.407Z] ---> 00da7251ff1b [2022-05-12T23:57:17.407Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-12T23:57:17.407Z] ---> Running in 7e560fe63539 [2022-05-12T23:57:17.984Z] Removing intermediate container 7e560fe63539 [2022-05-12T23:57:17.984Z] ---> 7c9da5288bf3 [2022-05-12T23:57:17.984Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-12T23:57:17.984Z] ---> Running in 85911f791ff5 [2022-05-12T23:57:18.245Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-12T23:57:19.190Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-12T23:57:19.451Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-12T23:57:19.451Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-12T23:57:19.711Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-12T23:57:19.711Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-12T23:57:19.711Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-12T23:57:19.971Z] Executing busybox-1.33.1-r7.trigger [2022-05-12T23:57:19.971Z] OK: 8 MiB in 19 packages [2022-05-12T23:57:20.233Z] Removing intermediate container 85911f791ff5 [2022-05-12T23:57:20.233Z] ---> 4c5f9563e370 [2022-05-12T23:57:20.233Z] Step 16/25 : WORKDIR / [2022-05-12T23:57:20.233Z] ---> Running in 33d0bd45af95 [2022-05-12T23:57:20.493Z] Removing intermediate container 33d0bd45af95 [2022-05-12T23:57:20.493Z] ---> 62df90a8e4b8 [2022-05-12T23:57:20.493Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-12T23:57:20.493Z] ---> 39fee40c8978 [2022-05-12T23:57:20.493Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-12T23:57:21.471Z] ---> df60039dea99 [2022-05-12T23:57:21.471Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-12T23:57:21.471Z] ---> ffa61b1f84a0 [2022-05-12T23:57:21.471Z] Step 20/25 : EXPOSE 59999 [2022-05-12T23:57:21.471Z] ---> Running in da058c68de78 [2022-05-12T23:57:21.735Z] Removing intermediate container da058c68de78 [2022-05-12T23:57:21.736Z] ---> 8d95494d3725 [2022-05-12T23:57:21.736Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-12T23:57:21.736Z] ---> Running in eca0f9e16e48 [2022-05-12T23:57:21.736Z] Removing intermediate container eca0f9e16e48 [2022-05-12T23:57:21.736Z] ---> 881a0ce93d14 [2022-05-12T23:57:21.736Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-12T23:57:21.736Z] ---> Running in 31e01ae2d6ff [2022-05-12T23:57:21.736Z] Removing intermediate container 31e01ae2d6ff [2022-05-12T23:57:21.736Z] ---> 6deeac111f5b [2022-05-12T23:57:21.736Z] Step 23/25 : LABEL arch=amd64 [2022-05-12T23:57:22.000Z] ---> Running in 7a78c1097ce3 [2022-05-12T23:57:22.000Z] Removing intermediate container 7a78c1097ce3 [2022-05-12T23:57:22.000Z] ---> e5499e02eee1 [2022-05-12T23:57:22.000Z] Step 24/25 : LABEL git_sha=4b1bca24a13eee0fbd94f91607ff04ee351fa403 [2022-05-12T23:57:22.000Z] ---> Running in a89a3e425216 [2022-05-12T23:57:22.262Z] Removing intermediate container a89a3e425216 [2022-05-12T23:57:22.262Z] ---> 42c40d18ff3d [2022-05-12T23:57:22.262Z] Step 25/25 : LABEL version=2.2.1-dev.1 [2022-05-12T23:57:22.262Z] ---> Running in 14692b04ae30 [2022-05-12T23:57:22.262Z] Removing intermediate container 14692b04ae30 [2022-05-12T23:57:22.262Z] ---> becf25ecbdcd [2022-05-12T23:57:22.262Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-12T23:57:22.262Z] Successfully built becf25ecbdcd [2022-05-12T23:57:22.262Z] 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-05-12T23:57:22.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T23:57:22.690Z] [2022-05-12T23:57:22.690Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:57:22.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T23:57:22.993Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-12T23:57:22.993Z] 5eb5b503b376: Pulling fs layer [2022-05-12T23:57:22.993Z] 5c69ac0246d0: Pulling fs layer [2022-05-12T23:57:22.993Z] ec43610c2a17: Pulling fs layer [2022-05-12T23:57:22.993Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-12T23:57:22.993Z] 33b1e0a273af: Pulling fs layer [2022-05-12T23:57:22.993Z] 3a2ae6a8a46f: Waiting [2022-05-12T23:57:22.993Z] 5d3b04190fa2: Pulling fs layer [2022-05-12T23:57:22.993Z] 2f39f015ded8: Pulling fs layer [2022-05-12T23:57:22.993Z] 33b1e0a273af: Waiting [2022-05-12T23:57:22.993Z] 2f39f015ded8: Waiting [2022-05-12T23:57:22.993Z] 5d3b04190fa2: Waiting [2022-05-12T23:57:22.993Z] 5c69ac0246d0: Verifying Checksum [2022-05-12T23:57:22.993Z] 5c69ac0246d0: Download complete [2022-05-12T23:57:22.993Z] 3a2ae6a8a46f: Download complete [2022-05-12T23:57:23.254Z] 33b1e0a273af: Verifying Checksum [2022-05-12T23:57:23.254Z] 33b1e0a273af: Download complete [2022-05-12T23:57:23.254Z] ec43610c2a17: Download complete [2022-05-12T23:57:23.254Z] 5d3b04190fa2: Verifying Checksum [2022-05-12T23:57:23.254Z] 5d3b04190fa2: Download complete [2022-05-12T23:57:23.254Z] 5eb5b503b376: Verifying Checksum [2022-05-12T23:57:23.254Z] 5eb5b503b376: Download complete [2022-05-12T23:57:23.824Z] 2f39f015ded8: Download complete [2022-05-12T23:57:24.394Z] 5eb5b503b376: Pull complete [2022-05-12T23:57:24.653Z] 5c69ac0246d0: Pull complete [2022-05-12T23:57:25.223Z] ec43610c2a17: Pull complete [2022-05-12T23:57:25.223Z] 3a2ae6a8a46f: Pull complete [2022-05-12T23:57:25.483Z] 33b1e0a273af: Pull complete [2022-05-12T23:57:25.483Z] 5d3b04190fa2: Pull complete [2022-05-12T23:57:29.681Z] 2f39f015ded8: Pull complete [2022-05-12T23:57:29.681Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-12T23:57:29.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-12T23:57:29.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-12T23:57:29.751Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-12T23:57:29.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-12T23:57:31.800Z] $ docker top deb0345943cffdc84b37c09581a6297e1760cd6515060391052265b2de9ab67b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:57:32.185Z] ---> job-cost.sh [2022-05-12T23:57:32.185Z] lf-activate-venv: SKIPPING [2022-05-12T23:57:32.185Z] INFO: No Stack... [2022-05-12T23:57:32.447Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-12T23:57:33.020Z] INFO: Archiving Costs [Pipeline] sh [2022-05-12T23:57:33.316Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-05-12T23:57:33.316Z] + cut -d, -f6 [Pipeline] lock [2022-05-12T23:57:33.332Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [2022-05-12T23:57:33.339Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] did not exist. Created. [2022-05-12T23:57:33.339Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-12T23:57:33.652Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-12T23:57:33.708Z] Stashed 1 file(s) [Pipeline] } [2022-05-12T23:57:33.716Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-12T23:57:33.736Z] $ docker stop --time=1 deb0345943cffdc84b37c09581a6297e1760cd6515060391052265b2de9ab67b [2022-05-12T23:57:34.919Z] $ docker rm -f deb0345943cffdc84b37c09581a6297e1760cd6515060391052265b2de9ab67b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-12T23:59:12.354Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63541 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-05-12T23:59:12.370Z] Running in /w/workspace/device-sdk-go/76 [Pipeline] { [Pipeline] checkout [2022-05-12T23:59:12.640Z] The recommended git tool is: git [2022-05-12T23:59:19.274Z] using credential edgex-jenkins-ssh [2022-05-12T23:59:19.295Z] Cloning the remote Git repository [2022-05-12T23:59:19.356Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-12T23:59:19.440Z] > git init /w/workspace/device-sdk-go/76 # timeout=10 [2022-05-12T23:59:19.541Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-12T23:59:19.542Z] > git --version # timeout=10 [2022-05-12T23:59:19.567Z] > git --version # 'git version 2.25.1' [2022-05-12T23:59:19.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-12T23:59:19.701Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-12T23:59:21.294Z] Avoid second fetch [2022-05-12T23:59:21.294Z] Checking out Revision 4b1bca24a13eee0fbd94f91607ff04ee351fa403 (main) [2022-05-12T23:59:21.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-12T23:59:21.273Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-12T23:59:21.327Z] > git config core.sparsecheckout # timeout=10 [2022-05-12T23:59:21.345Z] > git checkout -f 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 [2022-05-12T23:59:25.766Z] Commit message: "Merge pull request #1163 from lenny-intel/publish-swagger-levski" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-12T23:59:26.598Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-12T23:59:26.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-12T23:59:26.598Z] Dload Upload Total Spent Left Speed [2022-05-12T23:59:26.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-05-12T23:59:27.152Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-12T23:59:27.508Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-05-12T23:59:27.508Z] [2022-05-12T23:59:27.508Z] { [2022-05-12T23:59:27.508Z] "registry-mirrors": [ [2022-05-12T23:59:27.508Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-12T23:59:27.508Z] ], [2022-05-12T23:59:27.508Z] "bip": "10.250.0.254/24", [2022-05-12T23:59:27.508Z] "hosts": [ [2022-05-12T23:59:27.508Z] "tcp://0.0.0.0:5555", [2022-05-12T23:59:27.508Z] "unix:///var/run/docker.sock" [2022-05-12T23:59:27.508Z] ], [2022-05-12T23:59:27.508Z] "mtu": 1458, [2022-05-12T23:59:27.508Z] "selinux-enabled": true, [2022-05-12T23:59:27.508Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-12T23:59:27.508Z] } [Pipeline] sh [2022-05-12T23:59:27.862Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-12T23:59:28.212Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-12T23:59:46.662Z] provisioning config files... [2022-05-12T23:59:46.687Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/76@tmp/config843486982614671890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-12T23:59:47.049Z] ---> docker-login.sh [2022-05-12T23:59:47.049Z] nexus3.edgexfoundry.org:10001 [2022-05-12T23:59:47.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:59:47.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:59:47.924Z] Configure a credential helper to remove this warning. See [2022-05-12T23:59:47.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:59:47.924Z] [2022-05-12T23:59:47.924Z] Login Succeeded [2022-05-12T23:59:47.924Z] nexus3.edgexfoundry.org:10002 [2022-05-12T23:59:48.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:59:48.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:59:48.470Z] Configure a credential helper to remove this warning. See [2022-05-12T23:59:48.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:59:48.470Z] [2022-05-12T23:59:48.470Z] Login Succeeded [2022-05-12T23:59:48.470Z] nexus3.edgexfoundry.org:10003 [2022-05-12T23:59:48.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:59:48.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:59:48.743Z] Configure a credential helper to remove this warning. See [2022-05-12T23:59:48.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:59:48.743Z] [2022-05-12T23:59:48.743Z] Login Succeeded [2022-05-12T23:59:48.743Z] nexus3.edgexfoundry.org:10004 [2022-05-12T23:59:49.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:59:49.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:59:49.346Z] Configure a credential helper to remove this warning. See [2022-05-12T23:59:49.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:59:49.346Z] [2022-05-12T23:59:49.346Z] Login Succeeded [2022-05-12T23:59:49.346Z] docker.io [2022-05-12T23:59:49.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-12T23:59:50.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-12T23:59:50.223Z] Configure a credential helper to remove this warning. See [2022-05-12T23:59:50.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-12T23:59:50.223Z] [2022-05-12T23:59:50.223Z] Login Succeeded [2022-05-12T23:59:50.223Z] ---> docker-login.sh ends [Pipeline] } [2022-05-12T23:59:50.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-12T23:59:50.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-12T23:59:50.740Z] ========================================================= [2022-05-12T23:59:50.740Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-12T23:59:50.740Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-12T23:59:51.095Z] + 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-05-12T23:59:51.717Z] Sending build context to Docker daemon 5.257MB [2022-05-12T23:59:51.717Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-12T23:59:51.717Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-12T23:59:51.717Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-12T23:59:51.717Z] 9b3977197b4f: Pulling fs layer [2022-05-12T23:59:51.718Z] 1a89e8eeedd5: Pulling fs layer [2022-05-12T23:59:51.718Z] 94645a83ff95: Pulling fs layer [2022-05-12T23:59:51.718Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-12T23:59:51.718Z] 0c92f367c5e7: Pulling fs layer [2022-05-12T23:59:51.718Z] 3096ccb668a1: Pulling fs layer [2022-05-12T23:59:51.718Z] 3f3a8bcf1eab: Waiting [2022-05-12T23:59:51.718Z] 0c92f367c5e7: Waiting [2022-05-12T23:59:51.718Z] 3096ccb668a1: Waiting [2022-05-12T23:59:51.718Z] e8cf19c19ddd: Pulling fs layer [2022-05-12T23:59:51.718Z] a4caa8a26152: Pulling fs layer [2022-05-12T23:59:51.718Z] e8cf19c19ddd: Waiting [2022-05-12T23:59:51.718Z] a4caa8a26152: Waiting [2022-05-12T23:59:51.718Z] 94645a83ff95: Verifying Checksum [2022-05-12T23:59:51.718Z] 94645a83ff95: Download complete [2022-05-12T23:59:51.718Z] 1a89e8eeedd5: Verifying Checksum [2022-05-12T23:59:51.718Z] 1a89e8eeedd5: Download complete [2022-05-12T23:59:52.013Z] 0c92f367c5e7: Verifying Checksum [2022-05-12T23:59:52.013Z] 0c92f367c5e7: Download complete [2022-05-12T23:59:52.013Z] 9b3977197b4f: Download complete [2022-05-12T23:59:52.013Z] 3096ccb668a1: Verifying Checksum [2022-05-12T23:59:52.013Z] 3096ccb668a1: Download complete [2022-05-12T23:59:52.013Z] e8cf19c19ddd: Verifying Checksum [2022-05-12T23:59:52.013Z] e8cf19c19ddd: Download complete [2022-05-12T23:59:52.640Z] 9b3977197b4f: Pull complete [2022-05-12T23:59:53.247Z] 1a89e8eeedd5: Pull complete [2022-05-12T23:59:53.525Z] 94645a83ff95: Pull complete [2022-05-12T23:59:54.133Z] a4caa8a26152: Verifying Checksum [2022-05-12T23:59:54.133Z] a4caa8a26152: Download complete [2022-05-12T23:59:54.734Z] 3f3a8bcf1eab: Download complete [2022-05-13T00:00:07.167Z] 3f3a8bcf1eab: Pull complete [2022-05-13T00:00:07.167Z] 0c92f367c5e7: Pull complete [2022-05-13T00:00:07.443Z] 3096ccb668a1: Pull complete [2022-05-13T00:00:07.719Z] e8cf19c19ddd: Pull complete [2022-05-13T00:00:14.457Z] a4caa8a26152: Pull complete [2022-05-13T00:00:14.457Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-13T00:00:14.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-13T00:00:14.457Z] ---> 725f1c02e7f9 [2022-05-13T00:00:14.457Z] Step 3/11 : ARG MAKE=make build [2022-05-13T00:00:15.449Z] ---> Running in fc87649f0bcf [2022-05-13T00:00:15.449Z] Removing intermediate container fc87649f0bcf [2022-05-13T00:00:15.449Z] ---> 9f9de03e4a67 [2022-05-13T00:00:15.449Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-13T00:00:15.730Z] ---> Running in 5c1d0aae4436 [2022-05-13T00:00:16.006Z] Removing intermediate container 5c1d0aae4436 [2022-05-13T00:00:16.006Z] ---> 0cdd73ed0d8e [2022-05-13T00:00:16.006Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-13T00:00:16.006Z] ---> Running in 80a13f53b538 [2022-05-13T00:00:16.606Z] Removing intermediate container 80a13f53b538 [2022-05-13T00:00:16.606Z] ---> 99be3e333bea [2022-05-13T00:00:16.606Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-13T00:00:16.606Z] ---> Running in ed9dbae2fac9 [2022-05-13T00:00:18.596Z] Removing intermediate container ed9dbae2fac9 [2022-05-13T00:00:18.596Z] ---> 12e5135b6b9d [2022-05-13T00:00:18.596Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-13T00:00:18.596Z] ---> Running in 373e03029635 [2022-05-13T00:00:21.235Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-13T00:00:21.840Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-13T00:00:22.825Z] OK: 220 MiB in 52 packages [2022-05-13T00:00:23.826Z] Removing intermediate container 373e03029635 [2022-05-13T00:00:23.826Z] ---> c208ccabab84 [2022-05-13T00:00:23.826Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-13T00:00:24.430Z] ---> 2efacaa648fc [2022-05-13T00:00:24.430Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-13T00:00:24.430Z] ---> Running in e28b3829751f [2022-05-13T00:01:11.464Z] Removing intermediate container e28b3829751f [2022-05-13T00:01:11.464Z] ---> b844a7f90624 [2022-05-13T00:01:11.464Z] Step 10/11 : COPY . . [2022-05-13T00:01:12.444Z] ---> 59fa4c5c620d [2022-05-13T00:01:12.444Z] Step 11/11 : RUN ${MAKE} [2022-05-13T00:01:12.444Z] ---> Running in 1134f140b5e1 [2022-05-13T00:01:13.423Z] noop [2022-05-13T00:01:14.024Z] Removing intermediate container 1134f140b5e1 [2022-05-13T00:01:14.024Z] ---> 62aea7cafd27 [2022-05-13T00:01:14.024Z] Successfully built 62aea7cafd27 [2022-05-13T00:01:14.301Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:01:14.663Z] + docker inspect -f . ci-base-image-arm64 [2022-05-13T00:01:14.663Z] . [Pipeline] withDockerContainer [2022-05-13T00:01:14.911Z] prd-ubuntu20.04-docker-arm64-4c-16g-63541 does not seem to be running inside a container [2022-05-13T00:01:15.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/76 -v /w/workspace/device-sdk-go/76:/w/workspace/device-sdk-go/76:rw,z -v /w/workspace/device-sdk-go/76@tmp:/w/workspace/device-sdk-go/76@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-05-13T00:01:16.363Z] $ docker top c42acd5fe80599787aedbf7468670e565a537b98a920b9ab77c1ae8a8d51bcc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-13T00:01:17.283Z] + go version [2022-05-13T00:01:17.283Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-13T00:01:17.320Z] $ docker stop --time=1 c42acd5fe80599787aedbf7468670e565a537b98a920b9ab77c1ae8a8d51bcc6 [2022-05-13T00:01:19.026Z] $ docker rm -f c42acd5fe80599787aedbf7468670e565a537b98a920b9ab77c1ae8a8d51bcc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:01:19.657Z] + docker inspect -f . ci-base-image-arm64 [2022-05-13T00:01:19.657Z] . [Pipeline] withDockerContainer [2022-05-13T00:01:19.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-63541 does not seem to be running inside a container [2022-05-13T00:01:19.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/76 -v /w/workspace/device-sdk-go/76:/w/workspace/device-sdk-go/76:rw,z -v /w/workspace/device-sdk-go/76@tmp:/w/workspace/device-sdk-go/76@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-05-13T00:01:21.339Z] $ docker top 1bd1a9622d695240c08528e8145b150addf603c12c9e90f989cbb912ad0be29a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-13T00:01:22.280Z] + make test [2022-05-13T00:01:22.281Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-13T00:01:54.670Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-13T00:03:46.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-13T00:03:46.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-13T00:03:46.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-13T00:03:57.049Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.373s coverage: 23.3% of statements [2022-05-13T00:03:57.049Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-13T00:03:57.049Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.256s coverage: 27.6% of statements [2022-05-13T00:03:57.049Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.358s coverage: 78.9% of statements [2022-05-13T00:03:57.049Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.226s coverage: 10.8% of statements [2022-05-13T00:04:02.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.394s coverage: 60.0% of statements [2022-05-13T00:04:02.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-13T00:04:02.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-13T00:04:04.490Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.454s coverage: 34.8% of statements [2022-05-13T00:04:04.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-13T00:04:05.960Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.333s coverage: 86.5% of statements [2022-05-13T00:04:05.960Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-13T00:04:05.960Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-13T00:04:07.960Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.446s coverage: 65.1% of statements [2022-05-13T00:04:09.956Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.395s coverage: 89.2% of statements [2022-05-13T00:04:09.956Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-13T00:04:12.573Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.252s coverage: 4.7% of statements [2022-05-13T00:04:12.573Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-13T00:04:13.172Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-13T00:04:13.172Z] GO111MODULE=on go vet ./... [2022-05-13T00:05:50.063Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-13T00:05:50.063Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-13T00:05:50.063Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-13T00:05:50.083Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-13T00:05:50.102Z] $ docker stop --time=1 1bd1a9622d695240c08528e8145b150addf603c12c9e90f989cbb912ad0be29a [2022-05-13T00:05:51.906Z] $ docker rm -f 1bd1a9622d695240c08528e8145b150addf603c12c9e90f989cbb912ad0be29a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-13T00:05:53.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-13T00:05:53.319Z] Warning: overwriting stash ‘coverage-report’ [2022-05-13T00:05:53.929Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-13T00:05:54.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-13T00:05:54.685Z] + ls -al . [2022-05-13T00:05:54.685Z] total 296 [2022-05-13T00:05:54.685Z] drwxrwxr-x 10 jenkins jenkins 4096 May 13 00:05 . [2022-05-13T00:05:54.685Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:59 .. [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 140 May 12 23:59 .dockerignore [2022-05-13T00:05:54.685Z] drwxrwxr-x 8 jenkins jenkins 4096 May 12 23:59 .git [2022-05-13T00:05:54.685Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:59 .github [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 131 May 12 23:59 .gitignore [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 42 May 12 23:59 .golangci.yml [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 12 23:59 CHANGELOG.md [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 677 May 12 23:59 GOVERNANCE.md [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 880 May 12 23:59 Jenkinsfile [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 12 23:59 LICENSE [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 12 23:59 Makefile [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 619 May 12 23:59 OWNERS.md [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 12 23:59 README.md [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 11 May 12 23:55 VERSION [2022-05-13T00:05:54.685Z] drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:59 bin [2022-05-13T00:05:54.685Z] -rw-r--r-- 1 jenkins jenkins 130739 May 13 00:04 coverage.out [2022-05-13T00:05:54.685Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:59 example [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 12 23:59 go.mod [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 12 23:59 go.sum [2022-05-13T00:05:54.685Z] drwxrwxr-x 15 jenkins jenkins 4096 May 12 23:59 internal [2022-05-13T00:05:54.685Z] drwxrwxr-x 3 jenkins jenkins 4096 May 12 23:59 openapi [2022-05-13T00:05:54.685Z] drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:59 pkg [2022-05-13T00:05:54.685Z] drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:59 snap [2022-05-13T00:05:54.685Z] -rw-rw-r-- 1 jenkins jenkins 222 May 12 23:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:05:55.034Z] + 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=4b1bca24a13eee0fbd94f91607ff04ee351fa403 --label arch=arm64 --label version=2.2.1-dev.1 . [2022-05-13T00:05:55.637Z] Sending build context to Docker daemon 5.388MB [2022-05-13T00:05:55.637Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-13T00:05:55.637Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-13T00:05:55.637Z] ---> 62aea7cafd27 [2022-05-13T00:05:55.637Z] Step 3/25 : ARG MAKE=make build [2022-05-13T00:05:55.637Z] ---> Running in 1c4604160def [2022-05-13T00:05:55.913Z] Removing intermediate container 1c4604160def [2022-05-13T00:05:55.913Z] ---> 276f1abd430c [2022-05-13T00:05:55.913Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-13T00:05:55.913Z] ---> Running in 6ae310f600de [2022-05-13T00:05:56.515Z] Removing intermediate container 6ae310f600de [2022-05-13T00:05:56.515Z] ---> 7a5fb4a9a0f9 [2022-05-13T00:05:56.515Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-13T00:05:56.515Z] ---> Running in 0fa9bc7c11f4 [2022-05-13T00:05:56.789Z] Removing intermediate container 0fa9bc7c11f4 [2022-05-13T00:05:56.789Z] ---> 6a1d2c0cfd8e [2022-05-13T00:05:56.789Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-13T00:05:56.789Z] ---> Running in 153048830c31 [2022-05-13T00:05:58.769Z] Removing intermediate container 153048830c31 [2022-05-13T00:05:58.769Z] ---> 0cb21f15934d [2022-05-13T00:05:58.769Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-13T00:05:58.769Z] ---> Running in 111155fe2cbe [2022-05-13T00:05:59.749Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-13T00:06:00.725Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-13T00:06:01.700Z] OK: 220 MiB in 52 packages [2022-05-13T00:06:02.293Z] Removing intermediate container 111155fe2cbe [2022-05-13T00:06:02.293Z] ---> 7fa6da51e6e1 [2022-05-13T00:06:02.293Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-13T00:06:02.889Z] ---> 6fb02d025f78 [2022-05-13T00:06:02.889Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-13T00:06:02.889Z] ---> Running in ac48a6b76bbf [2022-05-13T00:06:04.871Z] Removing intermediate container ac48a6b76bbf [2022-05-13T00:06:04.871Z] ---> 482e0a8aac61 [2022-05-13T00:06:04.871Z] Step 10/25 : COPY . . [2022-05-13T00:06:06.307Z] ---> 73ca6351cd79 [2022-05-13T00:06:06.307Z] Step 11/25 : RUN ${MAKE} [2022-05-13T00:06:06.307Z] ---> Running in 0886ff73af3e [2022-05-13T00:06:07.288Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-13T00:08:14.287Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-13T00:08:19.688Z] Removing intermediate container 0886ff73af3e [2022-05-13T00:08:19.688Z] ---> ffe0949d4e26 [2022-05-13T00:08:19.688Z] Step 12/25 : FROM alpine:3.14 [2022-05-13T00:08:20.665Z] 3.14: Pulling from library/alpine [2022-05-13T00:08:20.665Z] 455c02918c45: Pulling fs layer [2022-05-13T00:08:20.937Z] 455c02918c45: Verifying Checksum [2022-05-13T00:08:20.937Z] 455c02918c45: Download complete [2022-05-13T00:08:21.533Z] 455c02918c45: Pull complete [2022-05-13T00:08:21.533Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-13T00:08:21.533Z] Status: Downloaded newer image for alpine:3.14 [2022-05-13T00:08:21.533Z] ---> ac73e934f311 [2022-05-13T00:08:21.533Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-13T00:08:21.533Z] ---> Running in 5e62fdea6dc9 [2022-05-13T00:08:21.807Z] Removing intermediate container 5e62fdea6dc9 [2022-05-13T00:08:21.807Z] ---> 6bf8c98109d5 [2022-05-13T00:08:21.808Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-13T00:08:21.808Z] ---> Running in b2a3a293b84d [2022-05-13T00:08:23.782Z] Removing intermediate container b2a3a293b84d [2022-05-13T00:08:23.782Z] ---> 516d8736f0a4 [2022-05-13T00:08:23.782Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-13T00:08:23.782Z] ---> Running in 03da70228e89 [2022-05-13T00:08:24.767Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-13T00:08:25.749Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-13T00:08:26.345Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-13T00:08:26.345Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-13T00:08:26.617Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-13T00:08:26.617Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-13T00:08:26.890Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-13T00:08:26.890Z] Executing busybox-1.33.1-r7.trigger [2022-05-13T00:08:26.890Z] OK: 8 MiB in 19 packages [2022-05-13T00:08:27.883Z] Removing intermediate container 03da70228e89 [2022-05-13T00:08:27.883Z] ---> dd980bebe342 [2022-05-13T00:08:27.883Z] Step 16/25 : WORKDIR / [2022-05-13T00:08:27.883Z] ---> Running in ec12cc1c272f [2022-05-13T00:08:28.156Z] Removing intermediate container ec12cc1c272f [2022-05-13T00:08:28.156Z] ---> a53f42502beb [2022-05-13T00:08:28.156Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-13T00:08:28.752Z] ---> 60fa96e90f39 [2022-05-13T00:08:28.752Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-13T00:08:30.198Z] ---> 847e5a7e864d [2022-05-13T00:08:30.198Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-13T00:08:30.801Z] ---> 2a3509944677 [2022-05-13T00:08:30.802Z] Step 20/25 : EXPOSE 59999 [2022-05-13T00:08:31.080Z] ---> Running in 3d682f07f779 [2022-05-13T00:08:31.354Z] Removing intermediate container 3d682f07f779 [2022-05-13T00:08:31.354Z] ---> 8ff4ae8dec12 [2022-05-13T00:08:31.354Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-13T00:08:31.354Z] ---> Running in fe728bd26705 [2022-05-13T00:08:31.629Z] Removing intermediate container fe728bd26705 [2022-05-13T00:08:31.629Z] ---> 03b8cc9fc837 [2022-05-13T00:08:31.629Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-13T00:08:31.917Z] ---> Running in 1ce6cf5c2955 [2022-05-13T00:08:32.193Z] Removing intermediate container 1ce6cf5c2955 [2022-05-13T00:08:32.193Z] ---> 6e4d7dd74a65 [2022-05-13T00:08:32.193Z] Step 23/25 : LABEL arch=arm64 [2022-05-13T00:08:32.193Z] ---> Running in f7a5d72b35a3 [2022-05-13T00:08:32.468Z] Removing intermediate container f7a5d72b35a3 [2022-05-13T00:08:32.468Z] ---> bae877661890 [2022-05-13T00:08:32.468Z] Step 24/25 : LABEL git_sha=4b1bca24a13eee0fbd94f91607ff04ee351fa403 [2022-05-13T00:08:32.468Z] ---> Running in be95445618fc [2022-05-13T00:08:32.760Z] Removing intermediate container be95445618fc [2022-05-13T00:08:32.760Z] ---> 1a5e2a5fb1fe [2022-05-13T00:08:32.760Z] Step 25/25 : LABEL version=2.2.1-dev.1 [2022-05-13T00:08:33.036Z] ---> Running in ef134eb29fb1 [2022-05-13T00:08:33.312Z] Removing intermediate container ef134eb29fb1 [2022-05-13T00:08:33.312Z] ---> 6a7fab23a9df [2022-05-13T00:08:33.312Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-13T00:08:33.312Z] Successfully built 6a7fab23a9df [2022-05-13T00:08:33.312Z] 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-05-13T00:08:33.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-13T00:08:33.760Z] [2022-05-13T00:08:33.760Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:08:34.116Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-13T00:08:34.389Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-13T00:08:34.389Z] 8998bd30e6a1: Pulling fs layer [2022-05-13T00:08:34.389Z] 04944245beec: Pulling fs layer [2022-05-13T00:08:34.389Z] 699f458cf7ca: Pulling fs layer [2022-05-13T00:08:34.389Z] 765212b225bb: Pulling fs layer [2022-05-13T00:08:34.389Z] f23df028b6ca: Pulling fs layer [2022-05-13T00:08:34.389Z] d65c8cfc05b1: Pulling fs layer [2022-05-13T00:08:34.389Z] 2437ff75d9bd: Pulling fs layer [2022-05-13T00:08:34.389Z] 765212b225bb: Waiting [2022-05-13T00:08:34.389Z] f23df028b6ca: Waiting [2022-05-13T00:08:34.389Z] d65c8cfc05b1: Waiting [2022-05-13T00:08:34.389Z] 2437ff75d9bd: Waiting [2022-05-13T00:08:34.389Z] 04944245beec: Download complete [2022-05-13T00:08:34.389Z] 765212b225bb: Verifying Checksum [2022-05-13T00:08:34.389Z] 765212b225bb: Download complete [2022-05-13T00:08:34.389Z] f23df028b6ca: Verifying Checksum [2022-05-13T00:08:34.389Z] f23df028b6ca: Download complete [2022-05-13T00:08:34.389Z] d65c8cfc05b1: Verifying Checksum [2022-05-13T00:08:34.389Z] d65c8cfc05b1: Download complete [2022-05-13T00:08:34.667Z] 699f458cf7ca: Verifying Checksum [2022-05-13T00:08:34.667Z] 699f458cf7ca: Download complete [2022-05-13T00:08:34.941Z] 8998bd30e6a1: Verifying Checksum [2022-05-13T00:08:34.941Z] 8998bd30e6a1: Download complete [2022-05-13T00:08:37.563Z] 2437ff75d9bd: Verifying Checksum [2022-05-13T00:08:37.563Z] 2437ff75d9bd: Download complete [2022-05-13T00:08:39.541Z] 8998bd30e6a1: Pull complete [2022-05-13T00:08:40.140Z] 04944245beec: Pull complete [2022-05-13T00:08:41.579Z] 699f458cf7ca: Pull complete [2022-05-13T00:08:41.852Z] 765212b225bb: Pull complete [2022-05-13T00:08:42.832Z] f23df028b6ca: Pull complete [2022-05-13T00:08:43.105Z] d65c8cfc05b1: Pull complete [2022-05-13T00:08:58.205Z] 2437ff75d9bd: Pull complete [2022-05-13T00:08:58.205Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-13T00:08:58.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-13T00:08:58.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-13T00:08:58.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-63541 does not seem to be running inside a container [2022-05-13T00:08:58.560Z] $ 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/76 -v /w/workspace/device-sdk-go/76:/w/workspace/device-sdk-go/76:rw,z -v /w/workspace/device-sdk-go/76@tmp:/w/workspace/device-sdk-go/76@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-05-13T00:09:01.359Z] $ docker top d5b3fde55315fdc3588e5e3136499c77ed1766ff25efc8bf9dc5a778c64f5b4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:09:02.276Z] ---> job-cost.sh [2022-05-13T00:09:02.276Z] lf-activate-venv: SKIPPING [2022-05-13T00:09:02.276Z] INFO: No Stack... [2022-05-13T00:09:02.872Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-13T00:09:03.849Z] INFO: Archiving Costs [Pipeline] sh [2022-05-13T00:09:04.511Z] + + cutcat -d, -f6 [2022-05-13T00:09:04.511Z] /w/workspace/device-sdk-go/76/archives/cost.csv [Pipeline] lock [2022-05-13T00:09:04.546Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [2022-05-13T00:09:04.551Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] did not exist. Created. [2022-05-13T00:09:04.552Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-13T00:09:05.229Z] /w/workspace/device-sdk-go/76@tmp/durable-bbb44801/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-13T00:09:05.906Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-13T00:09:05.927Z] Warning: overwriting stash ‘stack-cost’ [2022-05-13T00:09:05.998Z] Stashed 1 file(s) [Pipeline] } [2022-05-13T00:09:06.004Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-13T00:09:06.032Z] $ docker stop --time=1 d5b3fde55315fdc3588e5e3136499c77ed1766ff25efc8bf9dc5a778c64f5b4d [2022-05-13T00:09:07.597Z] $ docker rm -f d5b3fde55315fdc3588e5e3136499c77ed1766ff25efc8bf9dc5a778c64f5b4d [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-05-13T00:09:08.145Z] provisioning config files... [2022-05-13T00:09:08.153Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5308620356787661309tmp [Pipeline] { [Pipeline] sh [2022-05-13T00:09:08.455Z] + set +x [2022-05-13T00:09:08.455Z] + curl -s https://codecov.io/bash [2022-05-13T00:09:08.455Z] + bash -s -- [2022-05-13T00:09:08.455Z] [2022-05-13T00:09:08.455Z] _____ _ [2022-05-13T00:09:08.455Z] / ____| | | [2022-05-13T00:09:08.455Z] | | ___ __| | ___ ___ _____ __ [2022-05-13T00:09:08.455Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-13T00:09:08.455Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-13T00:09:08.455Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-13T00:09:08.455Z] Bash-1.0.6 [2022-05-13T00:09:08.455Z] [2022-05-13T00:09:08.455Z] [2022-05-13T00:09:08.455Z] ==> git version 2.25.1 found [2022-05-13T00:09:08.455Z] ==> 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-05-13T00:09:08.455Z] Release-Date: 2020-01-08 [2022-05-13T00:09:08.455Z] 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-05-13T00:09:08.455Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-13T00:09:08.455Z] ==> Jenkins CI detected. [2022-05-13T00:09:08.455Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-05-13T00:09:08.455Z] project root: . [2022-05-13T00:09:08.455Z] --> token set from env [2022-05-13T00:09:08.455Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-13T00:09:08.455Z] ==> Running gcov in . (disable via -X gcov) [2022-05-13T00:09:08.455Z] ==> Python coveragepy not found [2022-05-13T00:09:08.455Z] ==> Searching for coverage reports in: [2022-05-13T00:09:08.455Z] + . [2022-05-13T00:09:08.455Z] -> Found 1 reports [2022-05-13T00:09:08.455Z] ==> Detecting git/mercurial file structure [2022-05-13T00:09:08.455Z] ==> Reading reports [2022-05-13T00:09:08.455Z] + ./coverage.out bytes=130739 [2022-05-13T00:09:08.455Z] ==> Appending adjustments [2022-05-13T00:09:08.455Z] https://docs.codecov.io/docs/fixing-reports [2022-05-13T00:09:08.714Z] + Found adjustments [2022-05-13T00:09:08.714Z] ==> Gzipping contents [2022-05-13T00:09:08.714Z] 20K /tmp/codecov.UxGCpx.gz [2022-05-13T00:09:08.714Z] ==> Uploading reports [2022-05-13T00:09:08.714Z] url: https://codecov.io [2022-05-13T00:09:08.714Z] query: branch=main&commit=4b1bca24a13eee0fbd94f91607ff04ee351fa403&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-13T00:09:08.714Z] -> Pinging Codecov [2022-05-13T00:09:08.714Z] 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=4b1bca24a13eee0fbd94f91607ff04ee351fa403&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-13T00:09:08.972Z] -> Uploading to [2022-05-13T00:09:08.972Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-13/7E55EF52A471D76F132DFD9A03CDDE97/4b1bca24a13eee0fbd94f91607ff04ee351fa403/9242d6c5-5e78-4860-bdf6-090f6361d4ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220513T000908Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3124b02d8813b2dd0a57e5975e2c41481374f4a3e0551e88e19b456535f335b7 [2022-05-13T00:09:08.972Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-13T00:09:08.972Z] Dload Upload Total Spent Left Speed [2022-05-13T00:09:09.232Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16844 0 0 100 16844 0 80209 --:--:-- --:--:-- --:--:-- 80209 [2022-05-13T00:09:09.232Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] } [2022-05-13T00:09:09.240Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-13T00:09:09.369Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-13T00:09:09.381Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:09:09.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-13T00:09:09.678Z] [2022-05-13T00:09:09.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:09:09.981Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-13T00:09:09.981Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-13T00:09:09.981Z] 188c0c94c7c5: Pulling fs layer [2022-05-13T00:09:09.981Z] 0ef7d3d256c8: Pulling fs layer [2022-05-13T00:09:09.981Z] de9db76c5a1d: Pulling fs layer [2022-05-13T00:09:09.981Z] 0eba1c9be4d2: Pulling fs layer [2022-05-13T00:09:09.981Z] 0d57e429df01: Pulling fs layer [2022-05-13T00:09:09.981Z] 4e4be7b47b0d: Pulling fs layer [2022-05-13T00:09:09.981Z] e1f770b5df2f: Pulling fs layer [2022-05-13T00:09:09.981Z] 85a0685a4137: Pulling fs layer [2022-05-13T00:09:09.981Z] 4e4be7b47b0d: Waiting [2022-05-13T00:09:09.981Z] 0eba1c9be4d2: Waiting [2022-05-13T00:09:09.981Z] 0d57e429df01: Waiting [2022-05-13T00:09:09.981Z] e1f770b5df2f: Waiting [2022-05-13T00:09:09.981Z] 85a0685a4137: Waiting [2022-05-13T00:09:09.981Z] de9db76c5a1d: Download complete [2022-05-13T00:09:09.981Z] 0ef7d3d256c8: Verifying Checksum [2022-05-13T00:09:09.981Z] 0ef7d3d256c8: Download complete [2022-05-13T00:09:09.981Z] 0d57e429df01: Download complete [2022-05-13T00:09:09.981Z] 4e4be7b47b0d: Verifying Checksum [2022-05-13T00:09:09.981Z] 4e4be7b47b0d: Download complete [2022-05-13T00:09:09.981Z] 188c0c94c7c5: Verifying Checksum [2022-05-13T00:09:09.981Z] 188c0c94c7c5: Download complete [2022-05-13T00:09:10.242Z] 188c0c94c7c5: Pull complete [2022-05-13T00:09:10.242Z] e1f770b5df2f: Verifying Checksum [2022-05-13T00:09:10.242Z] e1f770b5df2f: Download complete [2022-05-13T00:09:10.242Z] 0ef7d3d256c8: Pull complete [2022-05-13T00:09:10.242Z] de9db76c5a1d: Pull complete [2022-05-13T00:09:10.811Z] 0eba1c9be4d2: Verifying Checksum [2022-05-13T00:09:10.811Z] 0eba1c9be4d2: Download complete [2022-05-13T00:09:10.811Z] 85a0685a4137: Verifying Checksum [2022-05-13T00:09:10.811Z] 85a0685a4137: Download complete [2022-05-13T00:09:14.099Z] 0eba1c9be4d2: Pull complete [2022-05-13T00:09:14.099Z] 0d57e429df01: Pull complete [2022-05-13T00:09:14.099Z] 4e4be7b47b0d: Pull complete [2022-05-13T00:09:14.357Z] e1f770b5df2f: Pull complete [2022-05-13T00:09:17.646Z] 85a0685a4137: Pull complete [2022-05-13T00:09:17.646Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-13T00:09:17.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-13T00:09:17.646Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-13T00:09:17.711Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-13T00:09:17.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-13T00:09:19.689Z] $ docker top 78ca3d9d380c2270529608ed8868052de196df00d6c065d80b8aff8a776ec86a -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-13T00:09:19.761Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-13T00:09:20.045Z] + set -o pipefail [2022-05-13T00:09:20.045Z] + snyk monitor '--org=edgex-jenkins' [2022-05-13T00:09:25.331Z] [2022-05-13T00:09:25.331Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-05-13T00:09:25.331Z] [2022-05-13T00:09:25.331Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/14eabfa1-0884-418e-a5cb-dd821a01cb8b [2022-05-13T00:09:25.331Z] [2022-05-13T00:09:25.331Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-13T00:09:25.331Z] [2022-05-13T00:09:25.331Z] [Pipeline] } [2022-05-13T00:09:25.353Z] $ docker stop --time=1 78ca3d9d380c2270529608ed8868052de196df00d6c065d80b8aff8a776ec86a [2022-05-13T00:09:27.532Z] $ docker rm -f 78ca3d9d380c2270529608ed8868052de196df00d6c065d80b8aff8a776ec86a [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-05-13T00:09:27.888Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-13T00:09:27.898Z] provisioning config files... [2022-05-13T00:09:27.908Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4703904632707088626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:09:28.208Z] --> edgex-publish-swagger.sh [2022-05-13T00:09:28.208Z] === Publish openapi/v2 API === [2022-05-13T00:09:28.208Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-05-13T00:09:28.208Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-05-13T00:09:28.208Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-13T00:09:28.208Z] Dload Upload Total Spent Left Speed [2022-05-13T00:09:28.783Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 92183 --:--:-- --:--:-- --:--:-- 92024 100 53282 0 0 100 53282 0 92024 --:--:-- --:--:-- --:--:-- 92024 [2022-05-13T00:09:28.783Z] [2022-05-13T00:09:28.783Z] [Pipeline] } [2022-05-13T00:09:28.792Z] 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-05-13T00:09:29.223Z] + git log --format=format:%s -1 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] sh [2022-05-13T00:09:29.524Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-13T00:09:29.524Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:09:29.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-13T00:09:29.823Z] . [Pipeline] withDockerContainer [2022-05-13T00:09:29.896Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-13T00:09:29.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-13T00:09:30.403Z] $ docker top 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-13T00:09:30.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-13T00:09:30.500Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-13T00:09:30.640Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-13T00:09:30.651Z] $ docker exec 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 ssh-agent [2022-05-13T00:09:30.761Z] SSH_AUTH_SOCK=/tmp/ssh-aiiaqQcCSdsm/agent.32 [2022-05-13T00:09:30.761Z] SSH_AGENT_PID=39 [2022-05-13T00:09:30.766Z] Running ssh-add (command line suppressed) [2022-05-13T00:09:30.891Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9129658600303194329.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9129658600303194329.key) [2022-05-13T00:09:30.901Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-13T00:09:31.199Z] + git semver tag [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,406 [run_tag] DEBUG tag force:False [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,407 [check_head_tag] DEBUG check head tag [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,409 [execute] INFO git cat-file --batch-check [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,413 [execute] INFO git cat-file --batch [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,447 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,447 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-13T00:09:31.460Z] 2022-05-13 00:09:31,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-13T00:09:31.460Z] 2.2.1-dev.1 [Pipeline] } [2022-05-13T00:09:31.741Z] $ docker exec --env ******** --env ******** 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 ssh-agent -k [2022-05-13T00:09:31.849Z] unset SSH_AUTH_SOCK; [2022-05-13T00:09:31.849Z] unset SSH_AGENT_PID; [2022-05-13T00:09:31.849Z] echo Agent pid 39 killed; [2022-05-13T00:09:31.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-13T00:09:32.156Z] + git semver [Pipeline] } [2022-05-13T00:09:32.438Z] $ docker stop --time=1 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 [2022-05-13T00:09:33.764Z] $ docker rm -f 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:09:34.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-13T00:09:34.162Z] [2022-05-13T00:09:34.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:09:34.463Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-13T00:09:34.463Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-13T00:09:34.463Z] ab5ef0e58194: Pulling fs layer [2022-05-13T00:09:34.463Z] 9712f1f96733: Pulling fs layer [2022-05-13T00:09:34.463Z] 63f879dbbcfc: Pulling fs layer [2022-05-13T00:09:34.463Z] 0d9ebad4ef96: Pulling fs layer [2022-05-13T00:09:34.463Z] e9a5061849ea: Pulling fs layer [2022-05-13T00:09:34.463Z] d747dcd14b5f: Pulling fs layer [2022-05-13T00:09:34.463Z] 2de7ff778b66: Pulling fs layer [2022-05-13T00:09:34.463Z] 0d9ebad4ef96: Waiting [2022-05-13T00:09:34.463Z] e9a5061849ea: Waiting [2022-05-13T00:09:34.463Z] d747dcd14b5f: Waiting [2022-05-13T00:09:34.463Z] 2de7ff778b66: Waiting [2022-05-13T00:09:34.463Z] 9712f1f96733: Download complete [2022-05-13T00:09:34.723Z] 63f879dbbcfc: Verifying Checksum [2022-05-13T00:09:34.723Z] 63f879dbbcfc: Download complete [2022-05-13T00:09:34.983Z] e9a5061849ea: Verifying Checksum [2022-05-13T00:09:34.983Z] e9a5061849ea: Download complete [2022-05-13T00:09:34.983Z] 0d9ebad4ef96: Verifying Checksum [2022-05-13T00:09:34.983Z] 0d9ebad4ef96: Download complete [2022-05-13T00:09:34.983Z] d747dcd14b5f: Verifying Checksum [2022-05-13T00:09:34.983Z] d747dcd14b5f: Download complete [2022-05-13T00:09:34.983Z] ab5ef0e58194: Verifying Checksum [2022-05-13T00:09:34.983Z] ab5ef0e58194: Download complete [2022-05-13T00:09:35.241Z] 2de7ff778b66: Verifying Checksum [2022-05-13T00:09:35.241Z] 2de7ff778b66: Download complete [2022-05-13T00:09:37.775Z] ab5ef0e58194: Pull complete [2022-05-13T00:09:37.775Z] 9712f1f96733: Pull complete [2022-05-13T00:09:38.341Z] 63f879dbbcfc: Pull complete [2022-05-13T00:09:41.632Z] 0d9ebad4ef96: Pull complete [2022-05-13T00:09:41.892Z] e9a5061849ea: Pull complete [2022-05-13T00:09:41.892Z] d747dcd14b5f: Pull complete [2022-05-13T00:09:43.271Z] 2de7ff778b66: Pull complete [2022-05-13T00:09:43.271Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-13T00:09:43.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-13T00:09:43.271Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-13T00:09:43.341Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-13T00:09:43.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-13T00:09:45.918Z] $ docker top 463afec319e3fddd22dade6dc5301a35dfdbf85f521eb296c1b5a8a9588dfb24 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-13T00:09:45.998Z] provisioning config files... [2022-05-13T00:09:46.007Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5936674751302941619tmp [2022-05-13T00:09:46.018Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3395002941546736308tmp [2022-05-13T00:09:46.029Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6971620060374996505tmp [Pipeline] { [Pipeline] echo [2022-05-13T00:09:46.049Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:09:46.334Z] ---> sigul-configuration.sh [2022-05-13T00:09:46.334Z] gpg: directory `/root/.gnupg' created [2022-05-13T00:09:46.334Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-13T00:09:46.334Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-13T00:09:46.334Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-13T00:09:46.334Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-13T00:09:46.334Z] gpg: CAST5 encrypted data [2022-05-13T00:09:46.334Z] gpg: encrypted with 1 passphrase [2022-05-13T00:09:46.334Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-13T00:09:46.624Z] + mkdir /home/jenkins [2022-05-13T00:09:46.624Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-13T00:09:46.908Z] + 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-05-13T00:09:46.917Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:09:47.200Z] ---> sigul-install.sh [2022-05-13T00:09:47.200Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-13T00:09:47.485Z] + git tag --list [2022-05-13T00:09:47.486Z] 0.7.1 [2022-05-13T00:09:47.486Z] delhi-tag [2022-05-13T00:09:47.486Z] v1.0.0 [2022-05-13T00:09:47.486Z] v1.1.0 [2022-05-13T00:09:47.486Z] v1.1.1 [2022-05-13T00:09:47.486Z] v1.1.2 [2022-05-13T00:09:47.486Z] v1.2.0 [2022-05-13T00:09:47.486Z] v1.2.1 [2022-05-13T00:09:47.486Z] v1.2.2 [2022-05-13T00:09:47.486Z] v1.2.3 [2022-05-13T00:09:47.486Z] v1.3.0 [2022-05-13T00:09:47.486Z] v1.4.0 [2022-05-13T00:09:47.486Z] v2.0.0 [2022-05-13T00:09:47.486Z] v2.0.1-dev.1 [2022-05-13T00:09:47.486Z] v2.0.1-dev.10 [2022-05-13T00:09:47.486Z] v2.0.1-dev.11 [2022-05-13T00:09:47.486Z] v2.0.1-dev.12 [2022-05-13T00:09:47.486Z] v2.0.1-dev.13 [2022-05-13T00:09:47.486Z] v2.0.1-dev.14 [2022-05-13T00:09:47.486Z] v2.0.1-dev.15 [2022-05-13T00:09:47.486Z] v2.0.1-dev.16 [2022-05-13T00:09:47.486Z] v2.0.1-dev.17 [2022-05-13T00:09:47.486Z] v2.0.1-dev.18 [2022-05-13T00:09:47.486Z] v2.0.1-dev.19 [2022-05-13T00:09:47.486Z] v2.0.1-dev.2 [2022-05-13T00:09:47.486Z] v2.0.1-dev.20 [2022-05-13T00:09:47.486Z] v2.0.1-dev.21 [2022-05-13T00:09:47.486Z] v2.0.1-dev.22 [2022-05-13T00:09:47.486Z] v2.0.1-dev.23 [2022-05-13T00:09:47.486Z] v2.0.1-dev.24 [2022-05-13T00:09:47.486Z] v2.0.1-dev.25 [2022-05-13T00:09:47.486Z] v2.0.1-dev.26 [2022-05-13T00:09:47.486Z] v2.0.1-dev.27 [2022-05-13T00:09:47.486Z] v2.0.1-dev.28 [2022-05-13T00:09:47.486Z] v2.0.1-dev.29 [2022-05-13T00:09:47.486Z] v2.0.1-dev.3 [2022-05-13T00:09:47.486Z] v2.0.1-dev.30 [2022-05-13T00:09:47.486Z] v2.0.1-dev.31 [2022-05-13T00:09:47.486Z] v2.0.1-dev.32 [2022-05-13T00:09:47.486Z] v2.0.1-dev.33 [2022-05-13T00:09:47.486Z] v2.0.1-dev.4 [2022-05-13T00:09:47.486Z] v2.0.1-dev.5 [2022-05-13T00:09:47.486Z] v2.0.1-dev.6 [2022-05-13T00:09:47.486Z] v2.0.1-dev.7 [2022-05-13T00:09:47.486Z] v2.0.1-dev.8 [2022-05-13T00:09:47.486Z] v2.0.1-dev.9 [2022-05-13T00:09:47.486Z] v2.1.0 [2022-05-13T00:09:47.486Z] v2.1.1-dev.1 [2022-05-13T00:09:47.486Z] v2.2.0 [2022-05-13T00:09:47.486Z] v2.2.0-dev.1 [2022-05-13T00:09:47.486Z] v2.2.0-dev.10 [2022-05-13T00:09:47.486Z] v2.2.0-dev.11 [2022-05-13T00:09:47.486Z] v2.2.0-dev.12 [2022-05-13T00:09:47.486Z] v2.2.0-dev.13 [2022-05-13T00:09:47.486Z] v2.2.0-dev.14 [2022-05-13T00:09:47.486Z] v2.2.0-dev.15 [2022-05-13T00:09:47.486Z] v2.2.0-dev.16 [2022-05-13T00:09:47.486Z] v2.2.0-dev.17 [2022-05-13T00:09:47.486Z] v2.2.0-dev.18 [2022-05-13T00:09:47.486Z] v2.2.0-dev.19 [2022-05-13T00:09:47.486Z] v2.2.0-dev.2 [2022-05-13T00:09:47.486Z] v2.2.0-dev.20 [2022-05-13T00:09:47.486Z] v2.2.0-dev.21 [2022-05-13T00:09:47.486Z] v2.2.0-dev.22 [2022-05-13T00:09:47.486Z] v2.2.0-dev.23 [2022-05-13T00:09:47.486Z] v2.2.0-dev.24 [2022-05-13T00:09:47.486Z] v2.2.0-dev.25 [2022-05-13T00:09:47.486Z] v2.2.0-dev.26 [2022-05-13T00:09:47.486Z] v2.2.0-dev.27 [2022-05-13T00:09:47.486Z] v2.2.0-dev.28 [2022-05-13T00:09:47.486Z] v2.2.0-dev.29 [2022-05-13T00:09:47.486Z] v2.2.0-dev.3 [2022-05-13T00:09:47.486Z] v2.2.0-dev.30 [2022-05-13T00:09:47.486Z] v2.2.0-dev.31 [2022-05-13T00:09:47.486Z] v2.2.0-dev.32 [2022-05-13T00:09:47.486Z] v2.2.0-dev.33 [2022-05-13T00:09:47.486Z] v2.2.0-dev.34 [2022-05-13T00:09:47.486Z] v2.2.0-dev.35 [2022-05-13T00:09:47.486Z] v2.2.0-dev.36 [2022-05-13T00:09:47.486Z] v2.2.0-dev.37 [2022-05-13T00:09:47.486Z] v2.2.0-dev.38 [2022-05-13T00:09:47.486Z] v2.2.0-dev.39 [2022-05-13T00:09:47.486Z] v2.2.0-dev.4 [2022-05-13T00:09:47.486Z] v2.2.0-dev.40 [2022-05-13T00:09:47.486Z] v2.2.0-dev.5 [2022-05-13T00:09:47.486Z] v2.2.0-dev.6 [2022-05-13T00:09:47.486Z] v2.2.0-dev.7 [2022-05-13T00:09:47.486Z] v2.2.0-dev.8 [2022-05-13T00:09:47.486Z] v2.2.0-dev.9 [2022-05-13T00:09:47.486Z] v2.2.1-dev.1 [Pipeline] sh [2022-05-13T00:09:47.772Z] + lftools sign git-tag v2.2.1-dev.1 [2022-05-13T00:09:48.342Z] Signing Git tag with Sigul... [2022-05-13T00:09:48.342Z] Signing v2.2.1-dev.1 [Pipeline] echo [2022-05-13T00:09:48.611Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:09:48.897Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-13T00:09:48.905Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-13T00:09:48.934Z] $ docker stop --time=1 463afec319e3fddd22dade6dc5301a35dfdbf85f521eb296c1b5a8a9588dfb24 [2022-05-13T00:09:50.229Z] $ docker rm -f 463afec319e3fddd22dade6dc5301a35dfdbf85f521eb296c1b5a8a9588dfb24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-13T00:09:50.666Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-13T00:09:50.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:09:50.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-13T00:09:50.968Z] . [Pipeline] withDockerContainer [2022-05-13T00:09:51.037Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-13T00:09:51.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-13T00:09:51.479Z] $ docker top 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-13T00:09:51.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-13T00:09:51.567Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-13T00:09:51.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-13T00:09:51.697Z] $ docker exec 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e ssh-agent [2022-05-13T00:09:51.801Z] SSH_AUTH_SOCK=/tmp/ssh-W61b0d2Xd91r/agent.32 [2022-05-13T00:09:51.801Z] SSH_AGENT_PID=38 [2022-05-13T00:09:51.806Z] Running ssh-add (command line suppressed) [2022-05-13T00:09:51.931Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6714783675825486443.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6714783675825486443.key) [2022-05-13T00:09:51.940Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-13T00:09:52.242Z] + git semver bump pre [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,445 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,445 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,446 [bump_version] DEBUG bumped version:2.2.1-dev.2 [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,446 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,446 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,448 [execute] INFO git cat-file --batch-check [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,449 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,454 [execute] INFO git cat-file --batch [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-13T00:09:52.502Z] 2022-05-13 00:09:52,459 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-13T00:09:52.502Z] 2.2.1-dev.2 [Pipeline] } [2022-05-13T00:09:52.518Z] $ docker exec --env ******** --env ******** 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e ssh-agent -k [2022-05-13T00:09:52.616Z] unset SSH_AUTH_SOCK; [2022-05-13T00:09:52.617Z] unset SSH_AGENT_PID; [2022-05-13T00:09:52.617Z] echo Agent pid 38 killed; [2022-05-13T00:09:52.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-13T00:09:52.925Z] + git semver [Pipeline] } [2022-05-13T00:09:53.207Z] $ docker stop --time=1 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e [2022-05-13T00:09:54.518Z] $ docker rm -f 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-13T00:09:54.862Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-13T00:09:54.862Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:09:55.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-13T00:09:55.163Z] . [Pipeline] withDockerContainer [2022-05-13T00:09:55.227Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-13T00:09:55.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-13T00:09:55.645Z] $ docker top ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-13T00:09:55.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-13T00:09:55.752Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-13T00:09:55.864Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-13T00:09:55.875Z] $ docker exec ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec ssh-agent [2022-05-13T00:09:55.980Z] SSH_AUTH_SOCK=/tmp/ssh-TfcJoGM6ev8x/agent.33 [2022-05-13T00:09:55.980Z] SSH_AGENT_PID=39 [2022-05-13T00:09:55.985Z] Running ssh-add (command line suppressed) [2022-05-13T00:09:56.103Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9200120092099154379.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9200120092099154379.key) [2022-05-13T00:09:56.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-13T00:09:56.399Z] + git semver push [2022-05-13T00:09:56.658Z] 2022-05-13 00:09:56,598 [run_push] DEBUG push [2022-05-13T00:09:56.658Z] 2022-05-13 00:09:56,599 [execute] INFO git push origin semver [2022-05-13T00:09:56.658Z] 2022-05-13 00:09:56,599 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-13T00:09:57.601Z] 2022-05-13 00:09:57,316 [run_push] DEBUG push all version tags [2022-05-13T00:09:57.601Z] 2022-05-13 00:09:57,317 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-13T00:09:57.601Z] 2022-05-13 00:09:57,317 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-13T00:09:58.174Z] 2022-05-13 00:09:58,082 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-13T00:09:58.174Z] 2.2.1-dev.2 [Pipeline] } [2022-05-13T00:09:58.193Z] $ docker exec --env ******** --env ******** ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec ssh-agent -k [2022-05-13T00:09:58.310Z] unset SSH_AUTH_SOCK; [2022-05-13T00:09:58.310Z] unset SSH_AGENT_PID; [2022-05-13T00:09:58.310Z] echo Agent pid 39 killed; [2022-05-13T00:09:58.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-13T00:09:58.636Z] + git semver [Pipeline] } [2022-05-13T00:09:58.916Z] $ docker stop --time=1 ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec [2022-05-13T00:10:00.230Z] $ docker rm -f ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec [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-05-13T00:10:00.796Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-05-13T00:10:00.796Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-13T00:10:00.796Z] total 16 [2022-05-13T00:10:00.796Z] drwxr-xr-x 3 root root 4096 May 12 23:57 . [2022-05-13T00:10:00.796Z] drwxrwxr-x 12 jenkins jenkins 4096 May 13 00:09 .. [2022-05-13T00:10:00.796Z] drwxr-xr-x 2 root root 4096 May 12 23:57 cost [2022-05-13T00:10:00.796Z] -rw-r--r-- 1 root root 83 May 12 23:57 cost.csv [2022-05-13T00:10:00.796Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-13T00:10:00.796Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-13T00:10:00.796Z] total 16 [2022-05-13T00:10:00.796Z] drwxr-xr-x 3 jenkins jenkins 4096 May 12 23:57 . [2022-05-13T00:10:00.796Z] drwxrwxr-x 12 jenkins jenkins 4096 May 13 00:09 .. [2022-05-13T00:10:00.796Z] drwxr-xr-x 2 jenkins jenkins 4096 May 12 23:57 cost [2022-05-13T00:10:00.796Z] -rw-r--r-- 1 jenkins jenkins 83 May 12 23:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:10:01.098Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:10:01.971Z] ---> package-listing.sh [2022-05-13T00:10:01.971Z] ++ facter osfamily [2022-05-13T00:10:01.971Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-13T00:10:02.231Z] + OS_FAMILY=debian [2022-05-13T00:10:02.231Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-05-13T00:10:02.231Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-13T00:10:02.231Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-13T00:10:02.231Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-13T00:10:02.231Z] + PACKAGES=/tmp/packages_start.txt [2022-05-13T00:10:02.231Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-05-13T00:10:02.231Z] + PACKAGES=/tmp/packages_end.txt [2022-05-13T00:10:02.231Z] + case "${OS_FAMILY}" in [2022-05-13T00:10:02.231Z] + dpkg -l [2022-05-13T00:10:02.231Z] + grep '^ii' [2022-05-13T00:10:02.231Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-13T00:10:02.231Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-13T00:10:02.231Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-13T00:10:02.231Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-05-13T00:10:02.231Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-05-13T00:10:02.231Z] + 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-05-13T00:10:02.243Z] 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-05-13T00:10:02.523Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-13T00:10:03.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-13T00:10:03.103Z] . [Pipeline] withDockerContainer [2022-05-13T00:10:03.167Z] prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container [2022-05-13T00:10:03.212Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-13T00:10:03.463Z] $ docker top 276984ae6a0d7e3cd2b5f8e3d6a8228ee9314d7379f78075e2c581edd1fafb57 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-13T00:10:03.801Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-13T00:10:04.087Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-13T00:10:04.377Z] + ls /var/log/sa-host [2022-05-13T00:10:04.377Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-13T00:10:04.463Z] provisioning config files... [2022-05-13T00:10:04.470Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7121708838234936261tmp [Pipeline] { [Pipeline] echo [2022-05-13T00:10:04.488Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:10:04.774Z] ---> create-netrc.sh [Pipeline] } [2022-05-13T00:10:04.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:10:05.118Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-13T00:10:05.127Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:10:05.413Z] ---> sudo-logs.sh [2022-05-13T00:10:05.413Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-13T00:10:05.436Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:10:05.721Z] ---> job-cost.sh [2022-05-13T00:10:05.721Z] lf-activate-venv: SKIPPING [2022-05-13T00:10:05.721Z] DEBUG: total: 0.2199999988079071 [2022-05-13T00:10:05.721Z] INFO: Retrieving Stack Cost... [2022-05-13T00:10:06.294Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-13T00:10:06.555Z] INFO: Archiving Costs [Pipeline] echo [2022-05-13T00:10:06.570Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T00:10:06.854Z] ---> logs-deploy.sh [2022-05-13T00:10:06.854Z] lf-activate-venv: SKIPPING [2022-05-13T00:10:06.854Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/76 [2022-05-13T00:10:06.854Z] INFO: archiving workspace using pattern(s): [2022-05-13T00:10:07.795Z] Archives upload complete. [2022-05-13T00:10:07.795Z] INFO: archiving logs to Nexus