Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45e6addfd964a0ca7ed47e9673a51a0c53e11884 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-ssh9217074824192936518.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16554743058447913069.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13432467032910990167.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3171578098400231586.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-ssh3325720888139195015.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 Running on prd-ubuntu20.04-docker-8c-8g-20614 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 45e6addfd964a0ca7ed47e9673a51a0c53e11884 (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 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 Commit message: "Merge pull request #1131 from hahattan/EDX-1090-branch" > git rev-list --no-walk c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-12T04:24:59.056Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-12T04:24:59.101Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-12T04:24:59.117Z] ========================================================= [2022-04-12T04:24:59.117Z] EdgeX Global Pipelines Version Info [2022-04-12T04:24:59.117Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:24:59.889Z] ------------------- [2022-04-12T04:24:59.889Z] stable info: [2022-04-12T04:24:59.889Z] ------------------- [2022-04-12T04:24:59.889Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-12T04:24:59.889Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T04:24:59.889Z] Message: update stable to v1.0.221 [2022-04-12T04:25:00.463Z] ------------------- [2022-04-12T04:25:00.463Z] experimental info: [2022-04-12T04:25:00.463Z] ------------------- [2022-04-12T04:25:00.463Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-12T04:25:00.463Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T04:25:00.463Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-12T04:25:00.597Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-12T04:25:00.610Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-12T04:25:00.622Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-12T04:25:00.637Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-12T04:25:00.650Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-12T04:25:00.662Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-12T04:25:00.674Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-12T04:25:00.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-12T04:25:00.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-12T04:25:00.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-12T04:25:00.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-12T04:25:00.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-12T04:25:00.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-12T04:25:00.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-12T04:25:00.773Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T04:25:00.787Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T04:25:00.803Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T04:25:00.821Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T04:25:00.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-12T04:25:00.865Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-12T04:25:00.877Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-12T04:25:00.888Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-12T04:25:00.899Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-12T04:25:00.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-12T04:25:00.925Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-12T04:25:00.935Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-12T04:25:00.948Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-12T04:25:00.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-12T04:25:00.973Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-12T04:25:00.988Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45e6addfd964a0ca7ed47e9673a51a0c53e11884 [Pipeline] echo [2022-04-12T04:25:00.997Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45e6add [Pipeline] echo [2022-04-12T04:25:01.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T04:25:01.055Z] provisioning config files... [2022-04-12T04:25:01.068Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config428146423188566444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:25:01.376Z] ---> docker-login.sh [2022-04-12T04:25:01.376Z] nexus3.edgexfoundry.org:10001 [2022-04-12T04:25:01.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:01.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:01.637Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:01.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:01.637Z] [2022-04-12T04:25:01.637Z] Login Succeeded [2022-04-12T04:25:01.637Z] nexus3.edgexfoundry.org:10002 [2022-04-12T04:25:01.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:01.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:01.901Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:01.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:01.901Z] [2022-04-12T04:25:01.901Z] Login Succeeded [2022-04-12T04:25:01.901Z] nexus3.edgexfoundry.org:10003 [2022-04-12T04:25:01.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:02.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:02.165Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:02.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:02.165Z] [2022-04-12T04:25:02.165Z] Login Succeeded [2022-04-12T04:25:02.165Z] nexus3.edgexfoundry.org:10004 [2022-04-12T04:25:02.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:02.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:02.165Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:02.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:02.165Z] [2022-04-12T04:25:02.165Z] Login Succeeded [2022-04-12T04:25:02.165Z] docker.io [2022-04-12T04:25:02.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:02.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:02.737Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:02.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:02.737Z] [2022-04-12T04:25:02.737Z] Login Succeeded [2022-04-12T04:25:02.737Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T04:25:02.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-12T04:25:03.135Z] + git rev-list -1 --merges 45e6addfd964a0ca7ed47e9673a51a0c53e11884~1..45e6addfd964a0ca7ed47e9673a51a0c53e11884 [Pipeline] echo [2022-04-12T04:25:03.236Z] -----------> git rev-list -1 --merges 45e6addfd964a0ca7ed47e9673a51a0c53e11884~1..45e6addfd964a0ca7ed47e9673a51a0c53e11884 45e6addfd964a0ca7ed47e9673a51a0c53e11884 [2022-04-12T04:25:03.236Z] 45e6addfd964a0ca7ed47e9673a51a0c53e11884 [false] [Pipeline] sh [2022-04-12T04:25:03.527Z] + git log --format=format:%s -1 45e6addfd964a0ca7ed47e9673a51a0c53e11884 [Pipeline] echo [2022-04-12T04:25:03.543Z] ========================================================= [2022-04-12T04:25:03.543Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-12T04:25:03.543Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T04:25:03.889Z] + git log --format=format:%s -1 45e6addfd964a0ca7ed47e9673a51a0c53e11884 [Pipeline] echo [2022-04-12T04:25:03.903Z] [semverPrep] GIT_COMMIT: 45e6addfd964a0ca7ed47e9673a51a0c53e11884, Commit Message: Merge pull request #1131 from hahattan/EDX-1090-branch [Pipeline] echo [2022-04-12T04:25:03.911Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-12T04:25:04.349Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T04:25:04.349Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-12T04:25:04.349Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-12T04:25:04.349Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-12T04:25:04.349Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-04-12T04:25:04.349Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-12T04:25:04.349Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:25:04.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T04:25:04.776Z] [2022-04-12T04:25:04.776Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:25:05.076Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T04:25:05.076Z] latest: Pulling from edgex-devops/git-semver [2022-04-12T04:25:05.076Z] a0d0a0d46f8b: Pulling fs layer [2022-04-12T04:25:05.076Z] 3e5f54012d9b: Pulling fs layer [2022-04-12T04:25:05.076Z] 4c7163046ea9: Pulling fs layer [2022-04-12T04:25:05.076Z] 0c2d73faf560: Pulling fs layer [2022-04-12T04:25:05.076Z] 0c2d73faf560: Waiting [2022-04-12T04:25:05.076Z] 3e5f54012d9b: Verifying Checksum [2022-04-12T04:25:05.076Z] 3e5f54012d9b: Download complete [2022-04-12T04:25:05.076Z] a0d0a0d46f8b: Download complete [2022-04-12T04:25:05.076Z] 0c2d73faf560: Verifying Checksum [2022-04-12T04:25:05.076Z] 0c2d73faf560: Download complete [2022-04-12T04:25:05.076Z] 4c7163046ea9: Verifying Checksum [2022-04-12T04:25:05.076Z] 4c7163046ea9: Download complete [2022-04-12T04:25:05.337Z] a0d0a0d46f8b: Pull complete [2022-04-12T04:25:05.337Z] 3e5f54012d9b: Pull complete [2022-04-12T04:25:05.598Z] 4c7163046ea9: Pull complete [2022-04-12T04:25:05.859Z] 0c2d73faf560: Pull complete [2022-04-12T04:25:05.859Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-12T04:25:05.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T04:25:05.859Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-12T04:25:05.937Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:25:05.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T04:25:06.645Z] $ docker top 27abe025a9b235ec650377af0fb121b25685805d2b41a854999df25f8738f3ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T04:25:06.757Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T04:25:06.757Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T04:25:06.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T04:25:06.878Z] $ docker exec 27abe025a9b235ec650377af0fb121b25685805d2b41a854999df25f8738f3ed ssh-agent [2022-04-12T04:25:06.989Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiHOabC/agent.13 [2022-04-12T04:25:06.989Z] SSH_AGENT_PID=19 [2022-04-12T04:25:06.998Z] Running ssh-add (command line suppressed) [2022-04-12T04:25:07.106Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8836413677539066793.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8836413677539066793.key) [2022-04-12T04:25:07.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T04:25:07.412Z] + git tag --points-at HEAD [Pipeline] } [2022-04-12T04:25:07.432Z] $ docker exec --env ******** --env ******** 27abe025a9b235ec650377af0fb121b25685805d2b41a854999df25f8738f3ed ssh-agent -k [2022-04-12T04:25:07.543Z] unset SSH_AUTH_SOCK; [2022-04-12T04:25:07.543Z] unset SSH_AGENT_PID; [2022-04-12T04:25:07.544Z] echo Agent pid 19 killed; [2022-04-12T04:25:07.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-12T04:25:07.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T04:25:07.576Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T04:25:07.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T04:25:07.704Z] $ docker exec 27abe025a9b235ec650377af0fb121b25685805d2b41a854999df25f8738f3ed ssh-agent [2022-04-12T04:25:07.839Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIHfdAI/agent.51 [2022-04-12T04:25:07.839Z] SSH_AGENT_PID=58 [2022-04-12T04:25:07.844Z] Running ssh-add (command line suppressed) [2022-04-12T04:25:07.952Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3903485058519591771.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3903485058519591771.key) [2022-04-12T04:25:07.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T04:25:08.260Z] + git semver init [2022-04-12T04:25:08.260Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T04:25:08.260Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-12T04:25:08.260Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-12T04:25:08.260Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T04:25:08.260Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T04:25:08.260Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T04:25:08.260Z] # $SEMVER_BRANCH = main [2022-04-12T04:25:08.260Z] # $SEMVER_TEMP = /tmp/semver-821217747 [2022-04-12T04:25:08.260Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-12T04:25:09.202Z] # '/tmp/semver-821217747' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-04-12T04:25:09.202Z] # -> Force: false [2022-04-12T04:25:09.202Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-12T04:25:09.215Z] $ docker exec --env ******** --env ******** 27abe025a9b235ec650377af0fb121b25685805d2b41a854999df25f8738f3ed ssh-agent -k [2022-04-12T04:25:09.320Z] unset SSH_AUTH_SOCK; [2022-04-12T04:25:09.320Z] unset SSH_AGENT_PID; [2022-04-12T04:25:09.320Z] echo Agent pid 58 killed; [2022-04-12T04:25:09.328Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T04:25:09.635Z] + git semver [Pipeline] } [2022-04-12T04:25:09.656Z] $ docker stop --time=1 27abe025a9b235ec650377af0fb121b25685805d2b41a854999df25f8738f3ed [2022-04-12T04:25:11.022Z] $ docker rm -f 27abe025a9b235ec650377af0fb121b25685805d2b41a854999df25f8738f3ed [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T04:25:11.368Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-12T04:25:11.671Z] Stashed 1 file(s) [Pipeline] echo [2022-04-12T04:25:11.673Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.25 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T04:25:11.776Z] provisioning config files... [2022-04-12T04:25:11.785Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8784413558514440560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:25:12.082Z] ---> docker-login.sh [2022-04-12T04:25:12.082Z] nexus3.edgexfoundry.org:10001 [2022-04-12T04:25:12.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:12.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:12.082Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:12.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:12.082Z] [2022-04-12T04:25:12.082Z] Login Succeeded [2022-04-12T04:25:12.082Z] nexus3.edgexfoundry.org:10002 [2022-04-12T04:25:12.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:12.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:12.353Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:12.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:12.353Z] [2022-04-12T04:25:12.353Z] Login Succeeded [2022-04-12T04:25:12.353Z] nexus3.edgexfoundry.org:10003 [2022-04-12T04:25:12.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:12.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:12.353Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:12.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:12.353Z] [2022-04-12T04:25:12.353Z] Login Succeeded [2022-04-12T04:25:12.353Z] nexus3.edgexfoundry.org:10004 [2022-04-12T04:25:12.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:12.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:12.615Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:12.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:12.615Z] [2022-04-12T04:25:12.615Z] Login Succeeded [2022-04-12T04:25:12.615Z] docker.io [2022-04-12T04:25:12.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:25:12.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:25:12.875Z] Configure a credential helper to remove this warning. See [2022-04-12T04:25:12.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:25:12.875Z] [2022-04-12T04:25:12.875Z] Login Succeeded [2022-04-12T04:25:12.875Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T04:25:12.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T04:25:12.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T04:25:12.953Z] ========================================================= [2022-04-12T04:25:12.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-12T04:25:12.953Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:25:13.254Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-12T04:25:13.254Z] Sending build context to Docker daemon 9.561MB [2022-04-12T04:25:13.254Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T04:25:13.254Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T04:25:13.254Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-12T04:25:13.254Z] 59bf1c3509f3: Pulling fs layer [2022-04-12T04:25:13.254Z] 666ba61612fd: Pulling fs layer [2022-04-12T04:25:13.254Z] 8ed8ca486205: Pulling fs layer [2022-04-12T04:25:13.254Z] 4fe6c5a15a65: Pulling fs layer [2022-04-12T04:25:13.254Z] 22a0e8bec74d: Pulling fs layer [2022-04-12T04:25:13.254Z] 640e595b4fbd: Pulling fs layer [2022-04-12T04:25:13.254Z] 763cafe07f6e: Pulling fs layer [2022-04-12T04:25:13.254Z] 0c0b528cf693: Pulling fs layer [2022-04-12T04:25:13.254Z] 10935f4eaf8b: Pulling fs layer [2022-04-12T04:25:13.254Z] 763cafe07f6e: Waiting [2022-04-12T04:25:13.254Z] 4fe6c5a15a65: Waiting [2022-04-12T04:25:13.254Z] 0c0b528cf693: Waiting [2022-04-12T04:25:13.254Z] 10935f4eaf8b: Waiting [2022-04-12T04:25:13.254Z] 22a0e8bec74d: Waiting [2022-04-12T04:25:13.254Z] 640e595b4fbd: Waiting [2022-04-12T04:25:13.254Z] 8ed8ca486205: Verifying Checksum [2022-04-12T04:25:13.254Z] 8ed8ca486205: Download complete [2022-04-12T04:25:13.254Z] 666ba61612fd: Verifying Checksum [2022-04-12T04:25:13.254Z] 666ba61612fd: Download complete [2022-04-12T04:25:13.254Z] 22a0e8bec74d: Verifying Checksum [2022-04-12T04:25:13.254Z] 22a0e8bec74d: Download complete [2022-04-12T04:25:13.517Z] 640e595b4fbd: Verifying Checksum [2022-04-12T04:25:13.517Z] 640e595b4fbd: Download complete [2022-04-12T04:25:13.517Z] 59bf1c3509f3: Verifying Checksum [2022-04-12T04:25:13.517Z] 59bf1c3509f3: Download complete [2022-04-12T04:25:13.517Z] 763cafe07f6e: Verifying Checksum [2022-04-12T04:25:13.517Z] 763cafe07f6e: Download complete [2022-04-12T04:25:13.517Z] 0c0b528cf693: Verifying Checksum [2022-04-12T04:25:13.517Z] 0c0b528cf693: Download complete [2022-04-12T04:25:13.517Z] 59bf1c3509f3: Pull complete [2022-04-12T04:25:13.779Z] 666ba61612fd: Pull complete [2022-04-12T04:25:13.779Z] 8ed8ca486205: Pull complete [2022-04-12T04:25:14.041Z] 10935f4eaf8b: Verifying Checksum [2022-04-12T04:25:14.041Z] 10935f4eaf8b: Download complete [2022-04-12T04:25:14.300Z] 4fe6c5a15a65: Verifying Checksum [2022-04-12T04:25:14.300Z] 4fe6c5a15a65: Download complete [2022-04-12T04:25:17.593Z] 4fe6c5a15a65: Pull complete [2022-04-12T04:25:17.593Z] 22a0e8bec74d: Pull complete [2022-04-12T04:25:17.593Z] 640e595b4fbd: Pull complete [2022-04-12T04:25:17.854Z] 763cafe07f6e: Pull complete [2022-04-12T04:25:17.854Z] 0c0b528cf693: Pull complete [2022-04-12T04:25:20.391Z] 10935f4eaf8b: Pull complete [2022-04-12T04:25:20.391Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-12T04:25:20.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-12T04:25:20.391Z] ---> 99d49a6021b9 [2022-04-12T04:25:20.391Z] Step 3/11 : ARG MAKE=make build [2022-04-12T04:25:21.774Z] ---> Running in 6b97163a5685 [2022-04-12T04:25:21.774Z] Removing intermediate container 6b97163a5685 [2022-04-12T04:25:21.774Z] ---> f3b4fd6e89af [2022-04-12T04:25:21.774Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T04:25:21.774Z] ---> Running in 50809bec15dc [2022-04-12T04:25:22.034Z] Removing intermediate container 50809bec15dc [2022-04-12T04:25:22.034Z] ---> 36434072f13d [2022-04-12T04:25:22.034Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T04:25:22.034Z] ---> Running in 45a3457d8410 [2022-04-12T04:25:22.034Z] Removing intermediate container 45a3457d8410 [2022-04-12T04:25:22.034Z] ---> aaa6f3f57a67 [2022-04-12T04:25:22.034Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T04:25:22.034Z] ---> Running in 27e46f2055da [2022-04-12T04:25:22.605Z] Removing intermediate container 27e46f2055da [2022-04-12T04:25:22.605Z] ---> cb9742ec129e [2022-04-12T04:25:22.605Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T04:25:22.867Z] ---> Running in ce79b5fbbcb9 [2022-04-12T04:25:23.129Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T04:25:24.074Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T04:25:24.336Z] OK: 221 MiB in 52 packages [2022-04-12T04:25:24.596Z] Removing intermediate container ce79b5fbbcb9 [2022-04-12T04:25:24.596Z] ---> 26394e7c5cf2 [2022-04-12T04:25:24.596Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T04:25:24.857Z] ---> 09d041ae3d6e [2022-04-12T04:25:24.857Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T04:25:24.857Z] ---> Running in 0465173c43c8 [2022-04-12T04:25:26.747Z] Still waiting to schedule task [2022-04-12T04:25:26.748Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-12T04:25:39.763Z] Removing intermediate container 0465173c43c8 [2022-04-12T04:25:39.763Z] ---> 420437f96b88 [2022-04-12T04:25:39.763Z] Step 10/11 : COPY . . [2022-04-12T04:25:39.763Z] ---> b8053264769d [2022-04-12T04:25:39.763Z] Step 11/11 : RUN ${MAKE} [2022-04-12T04:25:39.763Z] ---> Running in bc71f7fb421c [2022-04-12T04:25:39.763Z] noop [2022-04-12T04:25:39.763Z] Removing intermediate container bc71f7fb421c [2022-04-12T04:25:39.763Z] ---> 6aaf05107ec2 [2022-04-12T04:25:39.763Z] Successfully built 6aaf05107ec2 [2022-04-12T04:25:39.763Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:25:40.057Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T04:25:40.058Z] . [Pipeline] withDockerContainer [2022-04-12T04:25:40.125Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:25:40.168Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T04:25:40.585Z] $ docker top a2bc2bd43ab23de176f6becfaef31082e5a4e0accccc5f140076bccca53a4737 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T04:25:40.942Z] + go version [2022-04-12T04:25:40.942Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-12T04:25:40.958Z] $ docker stop --time=1 a2bc2bd43ab23de176f6becfaef31082e5a4e0accccc5f140076bccca53a4737 [2022-04-12T04:25:42.284Z] $ docker rm -f a2bc2bd43ab23de176f6becfaef31082e5a4e0accccc5f140076bccca53a4737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:25:42.697Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T04:25:42.697Z] . [Pipeline] withDockerContainer [2022-04-12T04:25:42.762Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:25:42.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T04:25:43.190Z] $ docker top c040329d10e2f5dff7bf0391acf0129ef790dc3c89f89ff357c93840f7d2f8ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T04:25:43.571Z] + make test [2022-04-12T04:25:43.571Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-12T04:25:48.857Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T04:26:01.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.090s coverage: 23.3% of statements [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T04:26:01.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.081s coverage: 27.6% of statements [2022-04-12T04:26:01.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements [2022-04-12T04:26:01.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.062s coverage: 10.8% of statements [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T04:26:01.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 33.2% of statements [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T04:26:01.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 86.1% of statements [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T04:26:01.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 57.4% of statements [2022-04-12T04:26:01.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.814s coverage: 89.2% of statements [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T04:26:01.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.8% of statements [2022-04-12T04:26:01.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T04:26:15.952Z] GO111MODULE=on go vet ./... [2022-04-12T04:26:19.248Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T04:26:19.248Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T04:26:19.248Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T04:26:19.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T04:26:19.281Z] $ docker stop --time=1 c040329d10e2f5dff7bf0391acf0129ef790dc3c89f89ff357c93840f7d2f8ca [2022-04-12T04:26:21.509Z] $ docker rm -f c040329d10e2f5dff7bf0391acf0129ef790dc3c89f89ff357c93840f7d2f8ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T04:26:22.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T04:26:22.078Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-12T04:26:23.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T04:26:23.390Z] + ls -al . [2022-04-12T04:26:23.390Z] total 296 [2022-04-12T04:26:23.390Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 04:26 . [2022-04-12T04:26:23.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 04:24 .. [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 04:24 .dockerignore [2022-04-12T04:26:23.390Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 04:24 .git [2022-04-12T04:26:23.390Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 04:24 .github [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 04:24 .gitignore [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 04:24 .golangci.yml [2022-04-12T04:26:23.390Z] drwx------ 3 jenkins jenkins 4096 Apr 12 04:25 .semver [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 04:24 CHANGELOG.md [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 04:24 GOVERNANCE.md [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 04:24 Jenkinsfile [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 04:24 LICENSE [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 04:24 Makefile [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 04:24 OWNERS.md [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 04:24 README.md [2022-04-12T04:26:23.390Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 12 04:25 VERSION [2022-04-12T04:26:23.390Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 04:24 bin [2022-04-12T04:26:23.390Z] -rw-r--r-- 1 jenkins jenkins 129061 Apr 12 04:26 coverage.out [2022-04-12T04:26:23.390Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 04:24 example [2022-04-12T04:26:23.391Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 04:24 go.mod [2022-04-12T04:26:23.391Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 04:24 go.sum [2022-04-12T04:26:23.391Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 04:24 internal [2022-04-12T04:26:23.391Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 04:24 openapi [2022-04-12T04:26:23.391Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 04:24 pkg [2022-04-12T04:26:23.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 04:24 snap [2022-04-12T04:26:23.391Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 04:24 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:26:23.697Z] + 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=45e6addfd964a0ca7ed47e9673a51a0c53e11884 --label arch=amd64 --label version=2.2.0-dev.25 . [2022-04-12T04:26:23.697Z] Sending build context to Docker daemon 9.691MB [2022-04-12T04:26:23.697Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T04:26:23.697Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T04:26:23.697Z] ---> 6aaf05107ec2 [2022-04-12T04:26:23.697Z] Step 3/25 : ARG MAKE=make build [2022-04-12T04:26:23.966Z] ---> Running in 2d039c3b9b58 [2022-04-12T04:26:23.966Z] Removing intermediate container 2d039c3b9b58 [2022-04-12T04:26:23.966Z] ---> b876c01b0cba [2022-04-12T04:26:23.966Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T04:26:23.966Z] ---> Running in c8518b34d5ef [2022-04-12T04:26:23.966Z] Removing intermediate container c8518b34d5ef [2022-04-12T04:26:23.966Z] ---> 59c209d12b6f [2022-04-12T04:26:23.966Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T04:26:24.227Z] ---> Running in d35b197f72a8 [2022-04-12T04:26:24.227Z] Removing intermediate container d35b197f72a8 [2022-04-12T04:26:24.227Z] ---> 6e9e3e7bcb46 [2022-04-12T04:26:24.227Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T04:26:24.227Z] ---> Running in c615fef3c268 [2022-04-12T04:26:24.799Z] Removing intermediate container c615fef3c268 [2022-04-12T04:26:24.799Z] ---> 627c6374f7ba [2022-04-12T04:26:24.799Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T04:26:24.799Z] ---> Running in d455891f7fe3 [2022-04-12T04:26:25.060Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T04:26:26.003Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T04:26:26.265Z] OK: 221 MiB in 52 packages [2022-04-12T04:26:26.526Z] Removing intermediate container d455891f7fe3 [2022-04-12T04:26:26.526Z] ---> 4acdfb6c61fd [2022-04-12T04:26:26.526Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T04:26:26.786Z] ---> c205ce8f1a75 [2022-04-12T04:26:26.786Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T04:26:26.786Z] ---> Running in a7b93021f4d9 [2022-04-12T04:26:27.359Z] Removing intermediate container a7b93021f4d9 [2022-04-12T04:26:27.359Z] ---> 029a92acee55 [2022-04-12T04:26:27.359Z] Step 10/25 : COPY . . [2022-04-12T04:26:27.622Z] ---> e3690c449234 [2022-04-12T04:26:27.622Z] Step 11/25 : RUN ${MAKE} [2022-04-12T04:26:27.882Z] ---> Running in 9f7b4e5fb5d3 [2022-04-12T04:26:28.142Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-12T04:26:46.270Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T04:26:46.532Z] Removing intermediate container 9f7b4e5fb5d3 [2022-04-12T04:26:46.532Z] ---> 472247c034e3 [2022-04-12T04:26:46.532Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T04:26:47.104Z] 3.14: Pulling from library/alpine [2022-04-12T04:26:47.104Z] 8663204ce13b: Pulling fs layer [2022-04-12T04:26:47.363Z] 8663204ce13b: Verifying Checksum [2022-04-12T04:26:47.363Z] 8663204ce13b: Download complete [2022-04-12T04:26:47.637Z] 8663204ce13b: Pull complete [2022-04-12T04:26:47.637Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T04:26:47.637Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T04:26:47.637Z] ---> e04c818066af [2022-04-12T04:26:47.637Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T04:26:47.637Z] ---> Running in 29bf4076ec58 [2022-04-12T04:26:47.637Z] Removing intermediate container 29bf4076ec58 [2022-04-12T04:26:47.637Z] ---> 1c25dd03a1f7 [2022-04-12T04:26:47.637Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T04:26:47.897Z] ---> Running in 0ff2e9af49f0 [2022-04-12T04:26:48.466Z] Removing intermediate container 0ff2e9af49f0 [2022-04-12T04:26:48.466Z] ---> 49281b5626c4 [2022-04-12T04:26:48.466Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T04:26:48.466Z] ---> Running in f5a2c91d8c8c [2022-04-12T04:26:48.725Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-12T04:26:49.666Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-12T04:26:49.928Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T04:26:49.928Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T04:26:49.928Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T04:26:50.188Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T04:26:50.188Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T04:26:50.188Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T04:26:50.188Z] OK: 8 MiB in 19 packages [2022-04-12T04:26:50.756Z] Removing intermediate container f5a2c91d8c8c [2022-04-12T04:26:50.756Z] ---> 6e8f5cbfed1a [2022-04-12T04:26:50.756Z] Step 16/25 : WORKDIR / [2022-04-12T04:26:50.756Z] ---> Running in 0f0d34583847 [2022-04-12T04:26:50.756Z] Removing intermediate container 0f0d34583847 [2022-04-12T04:26:50.756Z] ---> 504fac2275a6 [2022-04-12T04:26:50.756Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T04:26:51.016Z] ---> 7e2b293761de [2022-04-12T04:26:51.016Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T04:26:51.587Z] ---> 3e74026b8ced [2022-04-12T04:26:51.587Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T04:26:51.587Z] ---> 3406138c29af [2022-04-12T04:26:51.587Z] Step 20/25 : EXPOSE 59999 [2022-04-12T04:26:51.587Z] ---> Running in 41dcce34d2a0 [2022-04-12T04:26:51.847Z] Removing intermediate container 41dcce34d2a0 [2022-04-12T04:26:51.847Z] ---> 2afd385c43fc [2022-04-12T04:26:51.847Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T04:26:51.847Z] ---> Running in d8134dc526ac [2022-04-12T04:26:51.847Z] Removing intermediate container d8134dc526ac [2022-04-12T04:26:51.847Z] ---> 9b673600600f [2022-04-12T04:26:51.847Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T04:26:51.847Z] ---> Running in 37bd3caf0f7e [2022-04-12T04:26:52.107Z] Removing intermediate container 37bd3caf0f7e [2022-04-12T04:26:52.107Z] ---> 314b9b014ecc [2022-04-12T04:26:52.107Z] Step 23/25 : LABEL arch=amd64 [2022-04-12T04:26:52.107Z] ---> Running in 411c4f7d5420 [2022-04-12T04:26:52.107Z] Removing intermediate container 411c4f7d5420 [2022-04-12T04:26:52.107Z] ---> a750d2610b44 [2022-04-12T04:26:52.107Z] Step 24/25 : LABEL git_sha=45e6addfd964a0ca7ed47e9673a51a0c53e11884 [2022-04-12T04:26:52.367Z] ---> Running in 75547c0d6cca [2022-04-12T04:26:52.367Z] Removing intermediate container 75547c0d6cca [2022-04-12T04:26:52.367Z] ---> e299af0fd3f5 [2022-04-12T04:26:52.367Z] Step 25/25 : LABEL version=2.2.0-dev.25 [2022-04-12T04:26:52.367Z] ---> Running in 7f755ad59f5f [2022-04-12T04:26:52.367Z] Removing intermediate container 7f755ad59f5f [2022-04-12T04:26:52.367Z] ---> 62f4dd1fabf4 [2022-04-12T04:26:52.367Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T04:26:52.367Z] Successfully built 62f4dd1fabf4 [2022-04-12T04:26:52.367Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:26:52.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T04:26:52.795Z] [2022-04-12T04:26:52.795Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:26:53.097Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T04:26:53.097Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-12T04:26:53.097Z] 5eb5b503b376: Pulling fs layer [2022-04-12T04:26:53.097Z] 5c69ac0246d0: Pulling fs layer [2022-04-12T04:26:53.097Z] ec43610c2a17: Pulling fs layer [2022-04-12T04:26:53.097Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-12T04:26:53.097Z] 33b1e0a273af: Pulling fs layer [2022-04-12T04:26:53.097Z] 5d3b04190fa2: Pulling fs layer [2022-04-12T04:26:53.097Z] 2f39f015ded8: Pulling fs layer [2022-04-12T04:26:53.097Z] 3a2ae6a8a46f: Waiting [2022-04-12T04:26:53.097Z] 33b1e0a273af: Waiting [2022-04-12T04:26:53.097Z] 5d3b04190fa2: Waiting [2022-04-12T04:26:53.097Z] 2f39f015ded8: Waiting [2022-04-12T04:26:53.097Z] 5c69ac0246d0: Download complete [2022-04-12T04:26:53.097Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-12T04:26:53.097Z] 3a2ae6a8a46f: Download complete [2022-04-12T04:26:53.097Z] ec43610c2a17: Verifying Checksum [2022-04-12T04:26:53.097Z] ec43610c2a17: Download complete [2022-04-12T04:26:53.097Z] 33b1e0a273af: Verifying Checksum [2022-04-12T04:26:53.097Z] 33b1e0a273af: Download complete [2022-04-12T04:26:53.097Z] 5d3b04190fa2: Download complete [2022-04-12T04:26:53.356Z] 5eb5b503b376: Verifying Checksum [2022-04-12T04:26:53.356Z] 5eb5b503b376: Download complete [2022-04-12T04:26:53.923Z] 2f39f015ded8: Download complete [2022-04-12T04:26:54.492Z] 5eb5b503b376: Pull complete [2022-04-12T04:26:54.492Z] 5c69ac0246d0: Pull complete [2022-04-12T04:26:55.059Z] ec43610c2a17: Pull complete [2022-04-12T04:26:55.059Z] 3a2ae6a8a46f: Pull complete [2022-04-12T04:26:55.319Z] 33b1e0a273af: Pull complete [2022-04-12T04:26:55.319Z] 5d3b04190fa2: Pull complete [2022-04-12T04:26:59.512Z] 2f39f015ded8: Pull complete [2022-04-12T04:26:59.512Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-12T04:26:59.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T04:26:59.512Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-12T04:26:59.576Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:26:59.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T04:27:01.621Z] $ docker top 565210e652f730000f7c113165c55e9318cfd4a699328c9f0adb0cdfc50fdf39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:27:02.056Z] ---> job-cost.sh [2022-04-12T04:27:02.056Z] lf-activate-venv: SKIPPING [2022-04-12T04:27:02.056Z] INFO: No Stack... [2022-04-12T04:27:02.316Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T04:27:02.888Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T04:27:03.180Z] + + cut -d,cat -f6 [2022-04-12T04:27:03.180Z] /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock [2022-04-12T04:27:03.198Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-58-stack-cost] [2022-04-12T04:27:03.206Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-58-stack-cost] did not exist. Created. [2022-04-12T04:27:03.206Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T04:27:03.516Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-12T04:27:03.551Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T04:27:03.560Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T04:27:03.579Z] $ docker stop --time=1 565210e652f730000f7c113165c55e9318cfd4a699328c9f0adb0cdfc50fdf39 [2022-04-12T04:27:04.748Z] $ docker rm -f 565210e652f730000f7c113165c55e9318cfd4a699328c9f0adb0cdfc50fdf39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-12T04:27:06.342Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20615 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-04-12T04:27:06.358Z] Running in /w/workspace/device-sdk-go/58 [Pipeline] { [Pipeline] checkout [2022-04-12T04:27:06.756Z] The recommended git tool is: git [2022-04-12T04:27:14.276Z] using credential edgex-jenkins-ssh [2022-04-12T04:27:14.297Z] Cloning the remote Git repository [2022-04-12T04:27:14.406Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T04:27:14.528Z] > git init /w/workspace/device-sdk-go/58 # timeout=10 [2022-04-12T04:27:14.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T04:27:14.664Z] > git --version # timeout=10 [2022-04-12T04:27:14.696Z] > git --version # 'git version 2.25.1' [2022-04-12T04:27:14.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T04:27:14.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T04:27:16.394Z] Avoid second fetch [2022-04-12T04:27:16.395Z] Checking out Revision 45e6addfd964a0ca7ed47e9673a51a0c53e11884 (main) [2022-04-12T04:27:16.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T04:27:16.355Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T04:27:16.466Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T04:27:16.516Z] > git checkout -f 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 [2022-04-12T04:27:21.409Z] Commit message: "Merge pull request #1131 from hahattan/EDX-1090-branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T04:27:22.343Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-12T04:27:22.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T04:27:22.343Z] Dload Upload Total Spent Left Speed [2022-04-12T04:27:22.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50395 0 --:--:-- --:--:-- --:--:-- 50611 [Pipeline] sh [2022-04-12T04:27:22.955Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-12T04:27:23.319Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-04-12T04:27:23.319Z] [2022-04-12T04:27:23.319Z] { [2022-04-12T04:27:23.319Z] "registry-mirrors": [ [2022-04-12T04:27:23.319Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-12T04:27:23.319Z] ], [2022-04-12T04:27:23.319Z] "bip": "10.250.0.254/24", [2022-04-12T04:27:23.319Z] "hosts": [ [2022-04-12T04:27:23.319Z] "tcp://0.0.0.0:5555", [2022-04-12T04:27:23.319Z] "unix:///var/run/docker.sock" [2022-04-12T04:27:23.319Z] ], [2022-04-12T04:27:23.319Z] "mtu": 1458, [2022-04-12T04:27:23.319Z] "selinux-enabled": true, [2022-04-12T04:27:23.319Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-12T04:27:23.319Z] } [Pipeline] sh [2022-04-12T04:27:23.680Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-12T04:27:24.027Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T04:27:42.409Z] provisioning config files... [2022-04-12T04:27:42.436Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/58@tmp/config2953403584418930777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:27:42.804Z] ---> docker-login.sh [2022-04-12T04:27:42.804Z] nexus3.edgexfoundry.org:10001 [2022-04-12T04:27:43.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:27:43.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:27:43.676Z] Configure a credential helper to remove this warning. See [2022-04-12T04:27:43.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:27:43.676Z] [2022-04-12T04:27:43.676Z] Login Succeeded [2022-04-12T04:27:43.676Z] nexus3.edgexfoundry.org:10002 [2022-04-12T04:27:44.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:27:44.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:27:44.006Z] Configure a credential helper to remove this warning. See [2022-04-12T04:27:44.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:27:44.006Z] [2022-04-12T04:27:44.006Z] Login Succeeded [2022-04-12T04:27:44.006Z] nexus3.edgexfoundry.org:10003 [2022-04-12T04:27:44.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:27:44.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:27:44.610Z] Configure a credential helper to remove this warning. See [2022-04-12T04:27:44.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:27:44.610Z] [2022-04-12T04:27:44.610Z] Login Succeeded [2022-04-12T04:27:44.610Z] nexus3.edgexfoundry.org:10004 [2022-04-12T04:27:44.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:27:45.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:27:45.155Z] Configure a credential helper to remove this warning. See [2022-04-12T04:27:45.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:27:45.155Z] [2022-04-12T04:27:45.155Z] Login Succeeded [2022-04-12T04:27:45.155Z] docker.io [2022-04-12T04:27:45.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T04:27:45.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T04:27:45.698Z] Configure a credential helper to remove this warning. See [2022-04-12T04:27:45.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T04:27:45.698Z] [2022-04-12T04:27:45.698Z] Login Succeeded [2022-04-12T04:27:45.698Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T04:27:45.716Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T04:27:46.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T04:27:46.132Z] ========================================================= [2022-04-12T04:27:46.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-12T04:27:46.132Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:27:46.480Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-12T04:27:46.755Z] Sending build context to Docker daemon 5.163MB [2022-04-12T04:27:47.029Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T04:27:47.029Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T04:27:47.029Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-12T04:27:47.029Z] 9b3977197b4f: Pulling fs layer [2022-04-12T04:27:47.029Z] 1a89e8eeedd5: Pulling fs layer [2022-04-12T04:27:47.029Z] 94645a83ff95: Pulling fs layer [2022-04-12T04:27:47.029Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-12T04:27:47.029Z] 0c92f367c5e7: Pulling fs layer [2022-04-12T04:27:47.029Z] f7c0051592d6: Pulling fs layer [2022-04-12T04:27:47.029Z] a227ed2f7395: Pulling fs layer [2022-04-12T04:27:47.029Z] 7b1c46037f91: Pulling fs layer [2022-04-12T04:27:47.029Z] 3f3a8bcf1eab: Waiting [2022-04-12T04:27:47.029Z] 0c92f367c5e7: Waiting [2022-04-12T04:27:47.029Z] a227ed2f7395: Waiting [2022-04-12T04:27:47.029Z] f7c0051592d6: Waiting [2022-04-12T04:27:47.029Z] 94645a83ff95: Download complete [2022-04-12T04:27:47.029Z] 1a89e8eeedd5: Verifying Checksum [2022-04-12T04:27:47.029Z] 1a89e8eeedd5: Download complete [2022-04-12T04:27:47.029Z] 0c92f367c5e7: Verifying Checksum [2022-04-12T04:27:47.029Z] 0c92f367c5e7: Download complete [2022-04-12T04:27:47.029Z] 9b3977197b4f: Download complete [2022-04-12T04:27:47.029Z] f7c0051592d6: Download complete [2022-04-12T04:27:47.303Z] a227ed2f7395: Verifying Checksum [2022-04-12T04:27:47.303Z] a227ed2f7395: Download complete [2022-04-12T04:27:47.910Z] 9b3977197b4f: Pull complete [2022-04-12T04:27:48.529Z] 1a89e8eeedd5: Pull complete [2022-04-12T04:27:48.808Z] 94645a83ff95: Pull complete [2022-04-12T04:27:49.081Z] 7b1c46037f91: Download complete [2022-04-12T04:27:49.679Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-12T04:27:49.679Z] 3f3a8bcf1eab: Download complete [2022-04-12T04:28:02.092Z] 3f3a8bcf1eab: Pull complete [2022-04-12T04:28:02.092Z] 0c92f367c5e7: Pull complete [2022-04-12T04:28:02.092Z] f7c0051592d6: Pull complete [2022-04-12T04:28:02.368Z] a227ed2f7395: Pull complete [2022-04-12T04:28:09.093Z] 7b1c46037f91: Pull complete [2022-04-12T04:28:09.093Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-12T04:28:09.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-12T04:28:09.093Z] ---> f79e39bc4007 [2022-04-12T04:28:09.093Z] Step 3/11 : ARG MAKE=make build [2022-04-12T04:28:10.084Z] ---> Running in 80de9df1f09c [2022-04-12T04:28:10.361Z] Removing intermediate container 80de9df1f09c [2022-04-12T04:28:10.361Z] ---> 595137e7bd36 [2022-04-12T04:28:10.361Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T04:28:10.361Z] ---> Running in 6170b828c0b1 [2022-04-12T04:28:10.640Z] Removing intermediate container 6170b828c0b1 [2022-04-12T04:28:10.641Z] ---> 03d9ce3d9709 [2022-04-12T04:28:10.641Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T04:28:10.915Z] ---> Running in adf5cd50b379 [2022-04-12T04:28:11.191Z] Removing intermediate container adf5cd50b379 [2022-04-12T04:28:11.191Z] ---> 203ab51f0eba [2022-04-12T04:28:11.191Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T04:28:11.191Z] ---> Running in 8adfc2aea2e4 [2022-04-12T04:28:13.186Z] Removing intermediate container 8adfc2aea2e4 [2022-04-12T04:28:13.186Z] ---> 102807a5fbcc [2022-04-12T04:28:13.186Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T04:28:13.186Z] ---> Running in 76ac21193c60 [2022-04-12T04:28:14.169Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T04:28:14.765Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T04:28:15.747Z] OK: 220 MiB in 52 packages [2022-04-12T04:28:16.356Z] Removing intermediate container 76ac21193c60 [2022-04-12T04:28:16.356Z] ---> 62980a24ad22 [2022-04-12T04:28:16.356Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T04:28:16.964Z] ---> eacf94c41227 [2022-04-12T04:28:16.964Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T04:28:16.964Z] ---> Running in 917787747d3a [2022-04-12T04:29:03.971Z] Removing intermediate container 917787747d3a [2022-04-12T04:29:03.971Z] ---> 7dbf8286768d [2022-04-12T04:29:03.971Z] Step 10/11 : COPY . . [2022-04-12T04:29:03.971Z] ---> a0cd969399ee [2022-04-12T04:29:03.971Z] Step 11/11 : RUN ${MAKE} [2022-04-12T04:29:03.971Z] ---> Running in 33be0f29a328 [2022-04-12T04:29:03.971Z] noop [2022-04-12T04:29:03.971Z] Removing intermediate container 33be0f29a328 [2022-04-12T04:29:03.971Z] ---> 88d32785a38c [2022-04-12T04:29:03.971Z] Successfully built 88d32785a38c [2022-04-12T04:29:03.971Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:29:04.321Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T04:29:04.321Z] . [Pipeline] withDockerContainer [2022-04-12T04:29:04.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-20615 does not seem to be running inside a container [2022-04-12T04:29:04.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/58 -v /w/workspace/device-sdk-go/58:/w/workspace/device-sdk-go/58:rw,z -v /w/workspace/device-sdk-go/58@tmp:/w/workspace/device-sdk-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T04:29:05.986Z] $ docker top c1fb4c4528a00304bba8a25ac863317207ff884acc212bf1b923f2b5b122ba3e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T04:29:06.875Z] + go version [2022-04-12T04:29:06.875Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-12T04:29:06.903Z] $ docker stop --time=1 c1fb4c4528a00304bba8a25ac863317207ff884acc212bf1b923f2b5b122ba3e [2022-04-12T04:29:08.511Z] $ docker rm -f c1fb4c4528a00304bba8a25ac863317207ff884acc212bf1b923f2b5b122ba3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:29:09.115Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T04:29:09.115Z] . [Pipeline] withDockerContainer [2022-04-12T04:29:09.327Z] prd-ubuntu20.04-docker-arm64-4c-16g-20615 does not seem to be running inside a container [2022-04-12T04:29:09.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/58 -v /w/workspace/device-sdk-go/58:/w/workspace/device-sdk-go/58:rw,z -v /w/workspace/device-sdk-go/58@tmp:/w/workspace/device-sdk-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T04:29:10.629Z] $ docker top eb17e0bbe1b41ff56e5316ff84bff82342bb71a1b069ff185e42899e99652421 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T04:29:11.555Z] + make test [2022-04-12T04:29:11.555Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-12T04:29:38.378Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T04:31:15.225Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T04:31:15.225Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T04:31:15.225Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T04:31:20.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.484s coverage: 23.3% of statements [2022-04-12T04:31:20.656Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T04:31:20.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.485s coverage: 27.6% of statements [2022-04-12T04:31:20.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.314s coverage: 78.9% of statements [2022-04-12T04:31:20.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.254s coverage: 10.8% of statements [2022-04-12T04:31:20.656Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T04:31:20.656Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T04:31:20.656Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T04:31:26.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.442s coverage: 33.2% of statements [2022-04-12T04:31:26.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T04:31:26.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.322s coverage: 86.1% of statements [2022-04-12T04:31:26.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T04:31:26.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T04:31:28.171Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.451s coverage: 57.4% of statements [2022-04-12T04:31:29.156Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.216s coverage: 89.2% of statements [2022-04-12T04:31:29.156Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T04:31:33.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.220s coverage: 4.8% of statements [2022-04-12T04:31:33.461Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T04:31:33.461Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-12T04:31:33.461Z] GO111MODULE=on go vet ./... [2022-04-12T04:32:55.294Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T04:32:55.294Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T04:32:55.294Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T04:32:55.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T04:32:55.335Z] $ docker stop --time=1 eb17e0bbe1b41ff56e5316ff84bff82342bb71a1b069ff185e42899e99652421 [2022-04-12T04:32:57.185Z] $ docker rm -f eb17e0bbe1b41ff56e5316ff84bff82342bb71a1b069ff185e42899e99652421 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T04:32:58.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T04:32:58.459Z] Warning: overwriting stash ‘coverage-report’ [2022-04-12T04:32:59.239Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T04:32:59.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T04:33:00.006Z] + ls -al . [2022-04-12T04:33:00.006Z] total 292 [2022-04-12T04:33:00.006Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 04:32 . [2022-04-12T04:33:00.006Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 04:27 .. [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 04:27 .dockerignore [2022-04-12T04:33:00.006Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 04:27 .git [2022-04-12T04:33:00.006Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 04:27 .github [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 04:27 .gitignore [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 04:27 .golangci.yml [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 04:27 CHANGELOG.md [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 04:27 GOVERNANCE.md [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 04:27 Jenkinsfile [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 04:27 LICENSE [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 04:27 Makefile [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 04:27 OWNERS.md [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 04:27 README.md [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 12 04:25 VERSION [2022-04-12T04:33:00.006Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 04:27 bin [2022-04-12T04:33:00.006Z] -rw-r--r-- 1 jenkins jenkins 129061 Apr 12 04:31 coverage.out [2022-04-12T04:33:00.006Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 04:27 example [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 04:27 go.mod [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 04:27 go.sum [2022-04-12T04:33:00.006Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 04:27 internal [2022-04-12T04:33:00.006Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 04:27 openapi [2022-04-12T04:33:00.006Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 04:27 pkg [2022-04-12T04:33:00.006Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 04:27 snap [2022-04-12T04:33:00.006Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 04:27 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:33:00.426Z] + 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=45e6addfd964a0ca7ed47e9673a51a0c53e11884 --label arch=arm64 --label version=2.2.0-dev.25 . [2022-04-12T04:33:01.071Z] Sending build context to Docker daemon 5.293MB [2022-04-12T04:33:01.071Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T04:33:01.071Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T04:33:01.071Z] ---> 88d32785a38c [2022-04-12T04:33:01.071Z] Step 3/25 : ARG MAKE=make build [2022-04-12T04:33:01.354Z] ---> Running in 8d43db116f93 [2022-04-12T04:33:01.636Z] Removing intermediate container 8d43db116f93 [2022-04-12T04:33:01.636Z] ---> 94b7f6c5ee64 [2022-04-12T04:33:01.636Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T04:33:01.636Z] ---> Running in acc0c4d423a8 [2022-04-12T04:33:01.923Z] Removing intermediate container acc0c4d423a8 [2022-04-12T04:33:01.923Z] ---> 5c0ecd463c7b [2022-04-12T04:33:01.923Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T04:33:02.202Z] ---> Running in 69e2a1ad85a9 [2022-04-12T04:33:02.477Z] Removing intermediate container 69e2a1ad85a9 [2022-04-12T04:33:02.477Z] ---> a6fdef6d4525 [2022-04-12T04:33:02.477Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T04:33:02.477Z] ---> Running in 54e404db9981 [2022-04-12T04:33:04.457Z] Removing intermediate container 54e404db9981 [2022-04-12T04:33:04.457Z] ---> 014d59a8d9c3 [2022-04-12T04:33:04.457Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T04:33:04.457Z] ---> Running in 45e34fc00623 [2022-04-12T04:33:05.049Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T04:33:06.027Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T04:33:06.998Z] OK: 220 MiB in 52 packages [2022-04-12T04:33:07.602Z] Removing intermediate container 45e34fc00623 [2022-04-12T04:33:07.602Z] ---> 35f29935f157 [2022-04-12T04:33:07.602Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T04:33:08.199Z] ---> 77a0272fcb95 [2022-04-12T04:33:08.199Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T04:33:08.199Z] ---> Running in fbc78112c9cc [2022-04-12T04:33:10.178Z] Removing intermediate container fbc78112c9cc [2022-04-12T04:33:10.178Z] ---> 36569a4e97f8 [2022-04-12T04:33:10.178Z] Step 10/25 : COPY . . [2022-04-12T04:33:11.160Z] ---> 9d7c3adf55ab [2022-04-12T04:33:11.161Z] Step 11/25 : RUN ${MAKE} [2022-04-12T04:33:11.161Z] ---> Running in 5d8919a96868 [2022-04-12T04:33:12.143Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-12T04:35:04.001Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T04:35:04.598Z] Removing intermediate container 5d8919a96868 [2022-04-12T04:35:04.598Z] ---> 7bd40f2e76e7 [2022-04-12T04:35:04.598Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T04:35:05.576Z] 3.14: Pulling from library/alpine [2022-04-12T04:35:05.576Z] 455c02918c45: Pulling fs layer [2022-04-12T04:35:05.851Z] 455c02918c45: Verifying Checksum [2022-04-12T04:35:05.851Z] 455c02918c45: Download complete [2022-04-12T04:35:06.447Z] 455c02918c45: Pull complete [2022-04-12T04:35:06.447Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T04:35:06.447Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T04:35:06.447Z] ---> ac73e934f311 [2022-04-12T04:35:06.447Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T04:35:06.447Z] ---> Running in c401967e103a [2022-04-12T04:35:06.730Z] Removing intermediate container c401967e103a [2022-04-12T04:35:06.730Z] ---> 451b8ed62e6b [2022-04-12T04:35:06.730Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T04:35:06.730Z] ---> Running in 9fdc8a50503d [2022-04-12T04:35:08.719Z] Removing intermediate container 9fdc8a50503d [2022-04-12T04:35:08.719Z] ---> c6f918c27f0e [2022-04-12T04:35:08.719Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T04:35:08.719Z] ---> Running in 9772f216f9bc [2022-04-12T04:35:09.312Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-12T04:35:10.287Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-12T04:35:11.264Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T04:35:11.264Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T04:35:11.264Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T04:35:11.264Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T04:35:11.539Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T04:35:11.539Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T04:35:11.539Z] OK: 8 MiB in 19 packages [2022-04-12T04:35:12.538Z] Removing intermediate container 9772f216f9bc [2022-04-12T04:35:12.538Z] ---> 38cf4bed39e7 [2022-04-12T04:35:12.538Z] Step 16/25 : WORKDIR / [2022-04-12T04:35:12.538Z] ---> Running in 6629240c51b5 [2022-04-12T04:35:12.811Z] Removing intermediate container 6629240c51b5 [2022-04-12T04:35:12.811Z] ---> 97b39fc9a0d3 [2022-04-12T04:35:12.811Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T04:35:13.406Z] ---> 0df2990f2cd9 [2022-04-12T04:35:13.406Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T04:35:14.836Z] ---> bd3c3ebc2873 [2022-04-12T04:35:14.836Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T04:35:15.108Z] ---> 2d910613ded6 [2022-04-12T04:35:15.108Z] Step 20/25 : EXPOSE 59999 [2022-04-12T04:35:15.380Z] ---> Running in 06381be4c758 [2022-04-12T04:35:15.651Z] Removing intermediate container 06381be4c758 [2022-04-12T04:35:15.651Z] ---> a92cd05ced4a [2022-04-12T04:35:15.651Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T04:35:15.651Z] ---> Running in 7233ac7e5600 [2022-04-12T04:35:15.921Z] Removing intermediate container 7233ac7e5600 [2022-04-12T04:35:15.921Z] ---> 42f5a7a1cbaf [2022-04-12T04:35:15.921Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T04:35:15.921Z] ---> Running in 04e4ce884d0e [2022-04-12T04:35:16.192Z] Removing intermediate container 04e4ce884d0e [2022-04-12T04:35:16.192Z] ---> d77bef08a5b4 [2022-04-12T04:35:16.192Z] Step 23/25 : LABEL arch=arm64 [2022-04-12T04:35:16.468Z] ---> Running in ef15db6d4987 [2022-04-12T04:35:16.742Z] Removing intermediate container ef15db6d4987 [2022-04-12T04:35:16.742Z] ---> 9ba2cdfd42b5 [2022-04-12T04:35:16.742Z] Step 24/25 : LABEL git_sha=45e6addfd964a0ca7ed47e9673a51a0c53e11884 [2022-04-12T04:35:16.742Z] ---> Running in 2d242c3f64cc [2022-04-12T04:35:17.017Z] Removing intermediate container 2d242c3f64cc [2022-04-12T04:35:17.017Z] ---> 25693ff420f8 [2022-04-12T04:35:17.017Z] Step 25/25 : LABEL version=2.2.0-dev.25 [2022-04-12T04:35:17.017Z] ---> Running in e8fbb7f92605 [2022-04-12T04:35:17.287Z] Removing intermediate container e8fbb7f92605 [2022-04-12T04:35:17.287Z] ---> 4c3ea77f4578 [2022-04-12T04:35:17.287Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T04:35:17.561Z] Successfully built 4c3ea77f4578 [2022-04-12T04:35:17.562Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:35:18.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T04:35:18.005Z] [2022-04-12T04:35:18.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:35:18.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T04:35:18.628Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-12T04:35:18.628Z] 8998bd30e6a1: Pulling fs layer [2022-04-12T04:35:18.628Z] 04944245beec: Pulling fs layer [2022-04-12T04:35:18.628Z] 699f458cf7ca: Pulling fs layer [2022-04-12T04:35:18.628Z] 765212b225bb: Pulling fs layer [2022-04-12T04:35:18.628Z] f23df028b6ca: Pulling fs layer [2022-04-12T04:35:18.628Z] d65c8cfc05b1: Pulling fs layer [2022-04-12T04:35:18.628Z] 2437ff75d9bd: Pulling fs layer [2022-04-12T04:35:18.628Z] f23df028b6ca: Waiting [2022-04-12T04:35:18.628Z] d65c8cfc05b1: Waiting [2022-04-12T04:35:18.628Z] 2437ff75d9bd: Waiting [2022-04-12T04:35:18.628Z] 765212b225bb: Waiting [2022-04-12T04:35:18.628Z] 04944245beec: Download complete [2022-04-12T04:35:18.628Z] 765212b225bb: Verifying Checksum [2022-04-12T04:35:18.628Z] 765212b225bb: Download complete [2022-04-12T04:35:18.628Z] f23df028b6ca: Verifying Checksum [2022-04-12T04:35:18.628Z] f23df028b6ca: Download complete [2022-04-12T04:35:18.915Z] 699f458cf7ca: Verifying Checksum [2022-04-12T04:35:18.915Z] 699f458cf7ca: Download complete [2022-04-12T04:35:19.190Z] 8998bd30e6a1: Verifying Checksum [2022-04-12T04:35:19.190Z] 8998bd30e6a1: Download complete [2022-04-12T04:35:21.816Z] 2437ff75d9bd: Verifying Checksum [2022-04-12T04:35:21.816Z] 2437ff75d9bd: Download complete [2022-04-12T04:35:23.793Z] 8998bd30e6a1: Pull complete [2022-04-12T04:35:24.065Z] 04944245beec: Pull complete [2022-04-12T04:35:25.500Z] 699f458cf7ca: Pull complete [2022-04-12T04:35:25.500Z] 765212b225bb: Pull complete [2022-04-12T04:35:26.483Z] f23df028b6ca: Pull complete [2022-04-12T04:35:26.757Z] d65c8cfc05b1: Pull complete [2022-04-12T04:35:41.868Z] 2437ff75d9bd: Pull complete [2022-04-12T04:35:41.868Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-12T04:35:41.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T04:35:41.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-12T04:35:42.085Z] prd-ubuntu20.04-docker-arm64-4c-16g-20615 does not seem to be running inside a container [2022-04-12T04:35:42.203Z] $ 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/58 -v /w/workspace/device-sdk-go/58:/w/workspace/device-sdk-go/58:rw,z -v /w/workspace/device-sdk-go/58@tmp:/w/workspace/device-sdk-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-12T04:35:44.794Z] $ docker top 94b980c728e365768d396aee49de82b63eac2fa4e1a04af13970086bbe891cec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:35:45.751Z] ---> job-cost.sh [2022-04-12T04:35:45.751Z] lf-activate-venv: SKIPPING [2022-04-12T04:35:45.751Z] INFO: No Stack... [2022-04-12T04:35:46.361Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-12T04:35:47.337Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T04:35:47.994Z] + + cut -d, -f6 [2022-04-12T04:35:47.994Z] cat /w/workspace/device-sdk-go/58/archives/cost.csv [Pipeline] lock [2022-04-12T04:35:48.061Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-58-stack-cost] [2022-04-12T04:35:48.071Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-58-stack-cost] did not exist. Created. [2022-04-12T04:35:48.071Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T04:35:48.752Z] /w/workspace/device-sdk-go/58@tmp/durable-c34b512d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-12T04:35:49.438Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-12T04:35:49.459Z] Warning: overwriting stash ‘stack-cost’ [2022-04-12T04:35:49.522Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T04:35:49.528Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T04:35:49.554Z] $ docker stop --time=1 94b980c728e365768d396aee49de82b63eac2fa4e1a04af13970086bbe891cec [2022-04-12T04:35:51.044Z] $ docker rm -f 94b980c728e365768d396aee49de82b63eac2fa4e1a04af13970086bbe891cec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-12T04:35:51.551Z] provisioning config files... [2022-04-12T04:35:51.559Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3463480928861098235tmp [Pipeline] { [Pipeline] sh [2022-04-12T04:35:51.856Z] + set +x [2022-04-12T04:35:51.857Z] + curl -s https://codecov.io/bash [2022-04-12T04:35:51.857Z] + bash -s -- [2022-04-12T04:35:51.857Z] [2022-04-12T04:35:51.857Z] _____ _ [2022-04-12T04:35:51.857Z] / ____| | | [2022-04-12T04:35:51.857Z] | | ___ __| | ___ ___ _____ __ [2022-04-12T04:35:51.857Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-12T04:35:51.857Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-12T04:35:51.857Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-12T04:35:51.857Z] Bash-1.0.6 [2022-04-12T04:35:51.857Z] [2022-04-12T04:35:51.857Z] [2022-04-12T04:35:51.857Z] ==> git version 2.25.1 found [2022-04-12T04:35:51.857Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-12T04:35:51.857Z] Release-Date: 2020-01-08 [2022-04-12T04:35:51.857Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-12T04:35:51.857Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-12T04:35:51.857Z] ==> Jenkins CI detected. [2022-04-12T04:35:51.857Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-12T04:35:51.857Z] project root: . [2022-04-12T04:35:51.857Z] --> token set from env [2022-04-12T04:35:51.857Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-12T04:35:51.857Z] ==> Running gcov in . (disable via -X gcov) [2022-04-12T04:35:51.857Z] ==> Python coveragepy not found [2022-04-12T04:35:51.857Z] ==> Searching for coverage reports in: [2022-04-12T04:35:51.857Z] + . [2022-04-12T04:35:51.857Z] -> Found 1 reports [2022-04-12T04:35:51.857Z] ==> Detecting git/mercurial file structure [2022-04-12T04:35:51.857Z] ==> Reading reports [2022-04-12T04:35:52.117Z] + ./coverage.out bytes=129061 [2022-04-12T04:35:52.117Z] ==> Appending adjustments [2022-04-12T04:35:52.117Z] https://docs.codecov.io/docs/fixing-reports [2022-04-12T04:35:52.399Z] + Found adjustments [2022-04-12T04:35:52.399Z] ==> Gzipping contents [2022-04-12T04:35:52.399Z] 20K /tmp/codecov.HB7BMH.gz [2022-04-12T04:35:52.399Z] ==> Uploading reports [2022-04-12T04:35:52.399Z] url: https://codecov.io [2022-04-12T04:35:52.399Z] query: branch=main&commit=45e6addfd964a0ca7ed47e9673a51a0c53e11884&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-12T04:35:52.399Z] -> Pinging Codecov [2022-04-12T04:35:52.399Z] 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=45e6addfd964a0ca7ed47e9673a51a0c53e11884&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-12T04:35:52.712Z] -> Uploading to [2022-04-12T04:35:52.712Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/45e6addfd964a0ca7ed47e9673a51a0c53e11884/6d1e4dd8-ccc5-4d46-815d-0d82723aab8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T043552Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e6977b171d1532b8ca5024c6e7ef33a426fdf544e39b4280508831e5f32c272 [2022-04-12T04:35:52.712Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T04:35:52.712Z] Dload Upload Total Spent Left Speed [2022-04-12T04:35:53.032Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16486 0 0 100 16486 0 70452 --:--:-- --:--:-- --:--:-- 70452 [2022-04-12T04:35:53.032Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/45e6addfd964a0ca7ed47e9673a51a0c53e11884 [Pipeline] } [2022-04-12T04:35:53.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-12T04:35:53.340Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-12T04:35:53.353Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:35:53.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-12T04:35:53.678Z] [2022-04-12T04:35:53.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:35:53.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-12T04:35:53.993Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-12T04:35:53.993Z] 188c0c94c7c5: Pulling fs layer [2022-04-12T04:35:53.993Z] 0ef7d3d256c8: Pulling fs layer [2022-04-12T04:35:53.993Z] de9db76c5a1d: Pulling fs layer [2022-04-12T04:35:53.993Z] 0eba1c9be4d2: Pulling fs layer [2022-04-12T04:35:53.993Z] 0d57e429df01: Pulling fs layer [2022-04-12T04:35:53.993Z] 4e4be7b47b0d: Pulling fs layer [2022-04-12T04:35:53.993Z] e1f770b5df2f: Pulling fs layer [2022-04-12T04:35:53.993Z] 85a0685a4137: Pulling fs layer [2022-04-12T04:35:53.993Z] 0eba1c9be4d2: Waiting [2022-04-12T04:35:53.993Z] 0d57e429df01: Waiting [2022-04-12T04:35:53.993Z] 4e4be7b47b0d: Waiting [2022-04-12T04:35:53.993Z] e1f770b5df2f: Waiting [2022-04-12T04:35:53.993Z] 85a0685a4137: Waiting [2022-04-12T04:35:53.993Z] de9db76c5a1d: Download complete [2022-04-12T04:35:53.993Z] 0ef7d3d256c8: Verifying Checksum [2022-04-12T04:35:53.993Z] 0ef7d3d256c8: Download complete [2022-04-12T04:35:53.993Z] 0d57e429df01: Verifying Checksum [2022-04-12T04:35:53.993Z] 0d57e429df01: Download complete [2022-04-12T04:35:53.993Z] 188c0c94c7c5: Download complete [2022-04-12T04:35:53.993Z] 4e4be7b47b0d: Verifying Checksum [2022-04-12T04:35:53.993Z] 4e4be7b47b0d: Download complete [2022-04-12T04:35:54.254Z] 188c0c94c7c5: Pull complete [2022-04-12T04:35:54.254Z] e1f770b5df2f: Verifying Checksum [2022-04-12T04:35:54.254Z] e1f770b5df2f: Download complete [2022-04-12T04:35:54.254Z] 0ef7d3d256c8: Pull complete [2022-04-12T04:35:54.515Z] de9db76c5a1d: Pull complete [2022-04-12T04:35:54.774Z] 0eba1c9be4d2: Verifying Checksum [2022-04-12T04:35:54.774Z] 0eba1c9be4d2: Download complete [2022-04-12T04:35:55.033Z] 85a0685a4137: Verifying Checksum [2022-04-12T04:35:55.033Z] 85a0685a4137: Download complete [2022-04-12T04:35:58.328Z] 0eba1c9be4d2: Pull complete [2022-04-12T04:35:58.328Z] 0d57e429df01: Pull complete [2022-04-12T04:35:58.328Z] 4e4be7b47b0d: Pull complete [2022-04-12T04:35:58.586Z] e1f770b5df2f: Pull complete [2022-04-12T04:36:01.878Z] 85a0685a4137: Pull complete [2022-04-12T04:36:01.878Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-12T04:36:01.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-12T04:36:01.878Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-12T04:36:01.946Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:36:01.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-12T04:36:04.934Z] $ docker top 501389edc52f380739cd427f9a5199ac53ca836472fcb260e1982d37704f6af9 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-12T04:36:05.008Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-12T04:36:05.295Z] + set -o pipefail [2022-04-12T04:36:05.295Z] + snyk monitor '--org=edgex-jenkins' [2022-04-12T04:36:11.881Z] [2022-04-12T04:36:11.881Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-04-12T04:36:11.881Z] [2022-04-12T04:36:11.881Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/316deb2b-5063-414f-af04-8095fe30aa4f [2022-04-12T04:36:11.881Z] [2022-04-12T04:36:11.881Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-12T04:36:11.881Z] [2022-04-12T04:36:11.881Z] [Pipeline] } [2022-04-12T04:36:11.898Z] $ docker stop --time=1 501389edc52f380739cd427f9a5199ac53ca836472fcb260e1982d37704f6af9 [2022-04-12T04:36:14.300Z] $ docker rm -f 501389edc52f380739cd427f9a5199ac53ca836472fcb260e1982d37704f6af9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-04-12T04:36:14.732Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T04:36:14.745Z] provisioning config files... [2022-04-12T04:36:14.753Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3041451987333047216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:15.054Z] --> edgex-publish-swagger.sh [2022-04-12T04:36:15.054Z] === Publish openapi/v2 API === [2022-04-12T04:36:15.054Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-04-12T04:36:15.054Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-04-12T04:36:15.054Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T04:36:15.054Z] Dload Upload Total Spent Left Speed [2022-04-12T04:36:15.626Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 81972 --:--:-- --:--:-- --:--:-- 81972 [2022-04-12T04:36:15.626Z] [2022-04-12T04:36:15.626Z] [Pipeline] } [2022-04-12T04:36:15.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T04:36:16.052Z] + git log --format=format:%s -1 45e6addfd964a0ca7ed47e9673a51a0c53e11884 [Pipeline] sh [2022-04-12T04:36:16.346Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T04:36:16.346Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:36:16.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T04:36:16.645Z] . [Pipeline] withDockerContainer [2022-04-12T04:36:16.720Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:36:16.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T04:36:17.225Z] $ docker top f5520c4723232ccf2997b42e68f0183b6515da4daec45a77e5340f9aa4b77a6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T04:36:17.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T04:36:17.327Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T04:36:17.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T04:36:17.480Z] $ docker exec f5520c4723232ccf2997b42e68f0183b6515da4daec45a77e5340f9aa4b77a6f ssh-agent [2022-04-12T04:36:17.600Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNmbpdH/agent.13 [2022-04-12T04:36:17.600Z] SSH_AGENT_PID=20 [2022-04-12T04:36:17.606Z] Running ssh-add (command line suppressed) [2022-04-12T04:36:17.735Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5780808636697223525.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5780808636697223525.key) [2022-04-12T04:36:17.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T04:36:18.037Z] + git semver tag [2022-04-12T04:36:18.037Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T04:36:18.037Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-12T04:36:18.037Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-12T04:36:18.037Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T04:36:18.037Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T04:36:18.037Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T04:36:18.037Z] # $SEMVER_BRANCH = main [2022-04-12T04:36:18.037Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-12T04:36:18.037Z] # 45e6addfd964a0ca7ed47e9673a51a0c53e11884 HEAD [2022-04-12T04:36:18.037Z] # -> Force: false [2022-04-12T04:36:18.037Z] # 157b8507ea1f0b8f8aa19791f92db89e5e60ba02 refs/tags/v2.2.0-dev.25 [Pipeline] } [2022-04-12T04:36:18.053Z] $ docker exec --env ******** --env ******** f5520c4723232ccf2997b42e68f0183b6515da4daec45a77e5340f9aa4b77a6f ssh-agent -k [2022-04-12T04:36:18.163Z] unset SSH_AUTH_SOCK; [2022-04-12T04:36:18.163Z] unset SSH_AGENT_PID; [2022-04-12T04:36:18.163Z] echo Agent pid 20 killed; [2022-04-12T04:36:18.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T04:36:18.492Z] + git semver [Pipeline] } [2022-04-12T04:36:18.514Z] $ docker stop --time=1 f5520c4723232ccf2997b42e68f0183b6515da4daec45a77e5340f9aa4b77a6f [2022-04-12T04:36:19.811Z] $ docker rm -f f5520c4723232ccf2997b42e68f0183b6515da4daec45a77e5340f9aa4b77a6f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:36:20.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-12T04:36:20.258Z] [2022-04-12T04:36:20.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:36:20.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-12T04:36:20.563Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-12T04:36:20.563Z] ab5ef0e58194: Pulling fs layer [2022-04-12T04:36:20.563Z] 9712f1f96733: Pulling fs layer [2022-04-12T04:36:20.563Z] 63f879dbbcfc: Pulling fs layer [2022-04-12T04:36:20.563Z] 0d9ebad4ef96: Pulling fs layer [2022-04-12T04:36:20.563Z] e9a5061849ea: Pulling fs layer [2022-04-12T04:36:20.563Z] d747dcd14b5f: Pulling fs layer [2022-04-12T04:36:20.563Z] 2de7ff778b66: Pulling fs layer [2022-04-12T04:36:20.563Z] d747dcd14b5f: Waiting [2022-04-12T04:36:20.563Z] e9a5061849ea: Waiting [2022-04-12T04:36:20.563Z] 9712f1f96733: Verifying Checksum [2022-04-12T04:36:20.563Z] 9712f1f96733: Download complete [2022-04-12T04:36:20.832Z] 63f879dbbcfc: Verifying Checksum [2022-04-12T04:36:20.832Z] 63f879dbbcfc: Download complete [2022-04-12T04:36:21.094Z] e9a5061849ea: Verifying Checksum [2022-04-12T04:36:21.094Z] e9a5061849ea: Download complete [2022-04-12T04:36:21.094Z] d747dcd14b5f: Verifying Checksum [2022-04-12T04:36:21.094Z] d747dcd14b5f: Download complete [2022-04-12T04:36:21.094Z] ab5ef0e58194: Verifying Checksum [2022-04-12T04:36:21.094Z] ab5ef0e58194: Download complete [2022-04-12T04:36:21.094Z] 0d9ebad4ef96: Verifying Checksum [2022-04-12T04:36:21.094Z] 0d9ebad4ef96: Download complete [2022-04-12T04:36:21.094Z] 2de7ff778b66: Verifying Checksum [2022-04-12T04:36:21.094Z] 2de7ff778b66: Download complete [2022-04-12T04:36:24.384Z] ab5ef0e58194: Pull complete [2022-04-12T04:36:24.384Z] 9712f1f96733: Pull complete [2022-04-12T04:36:24.954Z] 63f879dbbcfc: Pull complete [2022-04-12T04:36:29.149Z] 0d9ebad4ef96: Pull complete [2022-04-12T04:36:29.149Z] e9a5061849ea: Pull complete [2022-04-12T04:36:29.149Z] d747dcd14b5f: Pull complete [2022-04-12T04:36:30.088Z] 2de7ff778b66: Pull complete [2022-04-12T04:36:30.088Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-12T04:36:30.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-12T04:36:30.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-12T04:36:30.154Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:36:30.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-12T04:36:32.719Z] $ docker top 466604c83f76be92bdec9c94acc340bfd8229621ca544f7b8f16323e2f2e930f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-12T04:36:32.829Z] provisioning config files... [2022-04-12T04:36:32.838Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config287397010394466898tmp [2022-04-12T04:36:32.848Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7038709353991456541tmp [2022-04-12T04:36:32.856Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6983236176662335381tmp [Pipeline] { [Pipeline] echo [2022-04-12T04:36:32.873Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:33.159Z] ---> sigul-configuration.sh [2022-04-12T04:36:33.159Z] gpg: directory `/root/.gnupg' created [2022-04-12T04:36:33.159Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-12T04:36:33.159Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-12T04:36:33.159Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-12T04:36:33.159Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-12T04:36:33.159Z] gpg: CAST5 encrypted data [2022-04-12T04:36:33.159Z] gpg: encrypted with 1 passphrase [2022-04-12T04:36:33.159Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-12T04:36:33.448Z] + mkdir /home/jenkins [2022-04-12T04:36:33.448Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-12T04:36:33.751Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-04-12T04:36:33.761Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:34.049Z] ---> sigul-install.sh [2022-04-12T04:36:34.050Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-12T04:36:34.338Z] + git tag --list [2022-04-12T04:36:34.338Z] 0.7.1 [2022-04-12T04:36:34.338Z] delhi-tag [2022-04-12T04:36:34.338Z] v1.0.0 [2022-04-12T04:36:34.338Z] v1.1.0 [2022-04-12T04:36:34.338Z] v1.1.1 [2022-04-12T04:36:34.338Z] v1.1.2 [2022-04-12T04:36:34.338Z] v1.2.0 [2022-04-12T04:36:34.338Z] v1.2.1 [2022-04-12T04:36:34.338Z] v1.2.2 [2022-04-12T04:36:34.338Z] v1.2.3 [2022-04-12T04:36:34.338Z] v1.3.0 [2022-04-12T04:36:34.338Z] v1.4.0 [2022-04-12T04:36:34.338Z] v2.0.0 [2022-04-12T04:36:34.338Z] v2.0.1-dev.1 [2022-04-12T04:36:34.338Z] v2.0.1-dev.10 [2022-04-12T04:36:34.338Z] v2.0.1-dev.11 [2022-04-12T04:36:34.338Z] v2.0.1-dev.12 [2022-04-12T04:36:34.338Z] v2.0.1-dev.13 [2022-04-12T04:36:34.338Z] v2.0.1-dev.14 [2022-04-12T04:36:34.338Z] v2.0.1-dev.15 [2022-04-12T04:36:34.338Z] v2.0.1-dev.16 [2022-04-12T04:36:34.338Z] v2.0.1-dev.17 [2022-04-12T04:36:34.338Z] v2.0.1-dev.18 [2022-04-12T04:36:34.338Z] v2.0.1-dev.19 [2022-04-12T04:36:34.338Z] v2.0.1-dev.2 [2022-04-12T04:36:34.338Z] v2.0.1-dev.20 [2022-04-12T04:36:34.338Z] v2.0.1-dev.21 [2022-04-12T04:36:34.338Z] v2.0.1-dev.22 [2022-04-12T04:36:34.338Z] v2.0.1-dev.23 [2022-04-12T04:36:34.338Z] v2.0.1-dev.24 [2022-04-12T04:36:34.338Z] v2.0.1-dev.25 [2022-04-12T04:36:34.338Z] v2.0.1-dev.26 [2022-04-12T04:36:34.338Z] v2.0.1-dev.27 [2022-04-12T04:36:34.338Z] v2.0.1-dev.28 [2022-04-12T04:36:34.338Z] v2.0.1-dev.29 [2022-04-12T04:36:34.338Z] v2.0.1-dev.3 [2022-04-12T04:36:34.338Z] v2.0.1-dev.30 [2022-04-12T04:36:34.338Z] v2.0.1-dev.31 [2022-04-12T04:36:34.338Z] v2.0.1-dev.32 [2022-04-12T04:36:34.338Z] v2.0.1-dev.33 [2022-04-12T04:36:34.338Z] v2.0.1-dev.4 [2022-04-12T04:36:34.338Z] v2.0.1-dev.5 [2022-04-12T04:36:34.338Z] v2.0.1-dev.6 [2022-04-12T04:36:34.338Z] v2.0.1-dev.7 [2022-04-12T04:36:34.338Z] v2.0.1-dev.8 [2022-04-12T04:36:34.338Z] v2.0.1-dev.9 [2022-04-12T04:36:34.338Z] v2.1.0 [2022-04-12T04:36:34.338Z] v2.1.1-dev.1 [2022-04-12T04:36:34.338Z] v2.2.0-dev.1 [2022-04-12T04:36:34.338Z] v2.2.0-dev.10 [2022-04-12T04:36:34.338Z] v2.2.0-dev.11 [2022-04-12T04:36:34.338Z] v2.2.0-dev.12 [2022-04-12T04:36:34.338Z] v2.2.0-dev.13 [2022-04-12T04:36:34.338Z] v2.2.0-dev.14 [2022-04-12T04:36:34.338Z] v2.2.0-dev.15 [2022-04-12T04:36:34.338Z] v2.2.0-dev.16 [2022-04-12T04:36:34.338Z] v2.2.0-dev.17 [2022-04-12T04:36:34.338Z] v2.2.0-dev.18 [2022-04-12T04:36:34.338Z] v2.2.0-dev.19 [2022-04-12T04:36:34.338Z] v2.2.0-dev.2 [2022-04-12T04:36:34.338Z] v2.2.0-dev.20 [2022-04-12T04:36:34.338Z] v2.2.0-dev.21 [2022-04-12T04:36:34.338Z] v2.2.0-dev.22 [2022-04-12T04:36:34.338Z] v2.2.0-dev.23 [2022-04-12T04:36:34.338Z] v2.2.0-dev.24 [2022-04-12T04:36:34.338Z] v2.2.0-dev.25 [2022-04-12T04:36:34.338Z] v2.2.0-dev.3 [2022-04-12T04:36:34.338Z] v2.2.0-dev.4 [2022-04-12T04:36:34.338Z] v2.2.0-dev.5 [2022-04-12T04:36:34.338Z] v2.2.0-dev.6 [2022-04-12T04:36:34.338Z] v2.2.0-dev.7 [2022-04-12T04:36:34.338Z] v2.2.0-dev.8 [2022-04-12T04:36:34.338Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-12T04:36:34.628Z] + lftools sign git-tag v2.2.0-dev.25 [2022-04-12T04:36:35.197Z] Signing Git tag with Sigul... [2022-04-12T04:36:35.197Z] Signing v2.2.0-dev.25 [Pipeline] echo [2022-04-12T04:36:35.779Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:36.069Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-12T04:36:36.078Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-12T04:36:36.107Z] $ docker stop --time=1 466604c83f76be92bdec9c94acc340bfd8229621ca544f7b8f16323e2f2e930f [2022-04-12T04:36:37.409Z] $ docker rm -f 466604c83f76be92bdec9c94acc340bfd8229621ca544f7b8f16323e2f2e930f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-12T04:36:37.813Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T04:36:37.813Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:36:38.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T04:36:38.107Z] . [Pipeline] withDockerContainer [2022-04-12T04:36:38.172Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:36:38.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T04:36:38.595Z] $ docker top b05c8dd5950997eb91876658ebe39b4d92e445e4aaa2fe247f51cf05044e6608 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T04:36:38.686Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T04:36:38.686Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T04:36:38.828Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T04:36:38.837Z] $ docker exec b05c8dd5950997eb91876658ebe39b4d92e445e4aaa2fe247f51cf05044e6608 ssh-agent [2022-04-12T04:36:38.947Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIdglag/agent.15 [2022-04-12T04:36:38.947Z] SSH_AGENT_PID=21 [2022-04-12T04:36:38.953Z] Running ssh-add (command line suppressed) [2022-04-12T04:36:39.068Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7883840445676212503.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7883840445676212503.key) [2022-04-12T04:36:39.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T04:36:39.379Z] + git semver bump pre [2022-04-12T04:36:39.379Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T04:36:39.379Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-12T04:36:39.379Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-12T04:36:39.379Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T04:36:39.379Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T04:36:39.379Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T04:36:39.379Z] # $SEMVER_BRANCH = main [2022-04-12T04:36:39.379Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-12T04:36:39.379Z] 2.2.0-dev.26 [Pipeline] } [2022-04-12T04:36:39.395Z] $ docker exec --env ******** --env ******** b05c8dd5950997eb91876658ebe39b4d92e445e4aaa2fe247f51cf05044e6608 ssh-agent -k [2022-04-12T04:36:39.508Z] unset SSH_AUTH_SOCK; [2022-04-12T04:36:39.509Z] unset SSH_AGENT_PID; [2022-04-12T04:36:39.509Z] echo Agent pid 21 killed; [2022-04-12T04:36:39.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T04:36:39.825Z] + git semver [Pipeline] } [2022-04-12T04:36:39.845Z] $ docker stop --time=1 b05c8dd5950997eb91876658ebe39b4d92e445e4aaa2fe247f51cf05044e6608 [2022-04-12T04:36:41.178Z] $ docker rm -f b05c8dd5950997eb91876658ebe39b4d92e445e4aaa2fe247f51cf05044e6608 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T04:36:41.528Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T04:36:41.528Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:36:41.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T04:36:41.826Z] . [Pipeline] withDockerContainer [2022-04-12T04:36:41.898Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:36:41.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-12T04:36:42.328Z] $ docker top 097ce9150b1dabfdd9e1aad6a39a4dcde1e998dd504c891adc4c77c031b1c41a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T04:36:42.419Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T04:36:42.419Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T04:36:42.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T04:36:42.552Z] $ docker exec 097ce9150b1dabfdd9e1aad6a39a4dcde1e998dd504c891adc4c77c031b1c41a ssh-agent [2022-04-12T04:36:42.683Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhkcjEP/agent.13 [2022-04-12T04:36:42.683Z] SSH_AGENT_PID=19 [2022-04-12T04:36:42.689Z] Running ssh-add (command line suppressed) [2022-04-12T04:36:42.829Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4554495649989417281.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4554495649989417281.key) [2022-04-12T04:36:42.838Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T04:36:43.129Z] + git semver push [2022-04-12T04:36:43.129Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T04:36:43.129Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-12T04:36:43.129Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-12T04:36:43.129Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T04:36:43.129Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T04:36:43.129Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T04:36:43.129Z] # $SEMVER_BRANCH = main [2022-04-12T04:36:43.129Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-12T04:36:45.053Z] $ docker exec --env ******** --env ******** 097ce9150b1dabfdd9e1aad6a39a4dcde1e998dd504c891adc4c77c031b1c41a ssh-agent -k [2022-04-12T04:36:45.160Z] unset SSH_AUTH_SOCK; [2022-04-12T04:36:45.160Z] unset SSH_AGENT_PID; [2022-04-12T04:36:45.160Z] echo Agent pid 19 killed; [2022-04-12T04:36:45.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T04:36:45.467Z] + git semver [Pipeline] } [2022-04-12T04:36:45.485Z] $ docker stop --time=1 097ce9150b1dabfdd9e1aad6a39a4dcde1e998dd504c891adc4c77c031b1c41a [2022-04-12T04:36:46.812Z] $ docker rm -f 097ce9150b1dabfdd9e1aad6a39a4dcde1e998dd504c891adc4c77c031b1c41a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-12T04:36:47.403Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-04-12T04:36:47.403Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-12T04:36:47.403Z] total 16 [2022-04-12T04:36:47.403Z] drwxr-xr-x 3 root root 4096 Apr 12 04:27 . [2022-04-12T04:36:47.403Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 04:36 .. [2022-04-12T04:36:47.403Z] drwxr-xr-x 2 root root 4096 Apr 12 04:27 cost [2022-04-12T04:36:47.403Z] -rw-r--r-- 1 root root 83 Apr 12 04:27 cost.csv [2022-04-12T04:36:47.403Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-12T04:36:47.403Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-12T04:36:47.403Z] total 16 [2022-04-12T04:36:47.403Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 04:27 . [2022-04-12T04:36:47.403Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 04:36 .. [2022-04-12T04:36:47.403Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 04:27 cost [2022-04-12T04:36:47.403Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 12 04:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:47.698Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:48.568Z] ---> package-listing.sh [2022-04-12T04:36:48.568Z] ++ facter osfamily [2022-04-12T04:36:48.568Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-12T04:36:48.829Z] + OS_FAMILY=debian [2022-04-12T04:36:48.829Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-04-12T04:36:48.829Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-12T04:36:48.829Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-12T04:36:48.829Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-12T04:36:48.829Z] + PACKAGES=/tmp/packages_start.txt [2022-04-12T04:36:48.829Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-12T04:36:48.829Z] + PACKAGES=/tmp/packages_end.txt [2022-04-12T04:36:48.829Z] + case "${OS_FAMILY}" in [2022-04-12T04:36:48.829Z] + dpkg -l [2022-04-12T04:36:48.829Z] + grep '^ii' [2022-04-12T04:36:48.829Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-12T04:36:48.829Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-12T04:36:48.829Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-12T04:36:48.829Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-12T04:36:48.829Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-04-12T04:36:48.829Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-04-12T04:36:48.842Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-12T04:36:49.123Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-12T04:36:49.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T04:36:49.682Z] . [Pipeline] withDockerContainer [2022-04-12T04:36:49.750Z] prd-ubuntu20.04-docker-8c-8g-20614 does not seem to be running inside a container [2022-04-12T04:36:49.864Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T04:36:50.107Z] $ docker top 66a57ba8c5886c3ec40d00fa8e1f04ba563b8c776d0a6a18649e36d23999377b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T04:36:50.453Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-12T04:36:50.741Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-12T04:36:51.031Z] + ls /var/log/sa-host [2022-04-12T04:36:51.031Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T04:36:51.261Z] provisioning config files... [2022-04-12T04:36:51.271Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5225545598003264500tmp [Pipeline] { [Pipeline] echo [2022-04-12T04:36:51.285Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:51.571Z] ---> create-netrc.sh [Pipeline] } [2022-04-12T04:36:51.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:51.913Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-12T04:36:51.922Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:52.208Z] ---> sudo-logs.sh [2022-04-12T04:36:52.208Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-12T04:36:52.239Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:52.526Z] ---> job-cost.sh [2022-04-12T04:36:52.526Z] lf-activate-venv: SKIPPING [2022-04-12T04:36:52.526Z] DEBUG: total: 0.2199999988079071 [2022-04-12T04:36:52.526Z] INFO: Retrieving Stack Cost... [2022-04-12T04:36:52.785Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T04:36:53.357Z] INFO: Archiving Costs [Pipeline] echo [2022-04-12T04:36:53.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T04:36:53.654Z] ---> logs-deploy.sh [2022-04-12T04:36:53.654Z] lf-activate-venv: SKIPPING [2022-04-12T04:36:53.654Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/58 [2022-04-12T04:36:53.654Z] INFO: archiving workspace using pattern(s): [2022-04-12T04:36:54.592Z] Archives upload complete. [2022-04-12T04:36:54.592Z] INFO: archiving logs to Nexus