Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fad5b8934091ce8d844bc32fca8ede5bda20e4fc+b5ea364822c8c62a095049094fb918b913a19c7c (e63c41ea01081ac3e2c010af76928bd7e889b61d) 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-ssh13363290517925567568.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-ssh17008133466332099014.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/PR-1122/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/PR-1122/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15313881047201704543.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-ssh11808259431560474008.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/PR-1122/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/PR-1122/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16662791020830079778.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 Running on prd-ubuntu20.04-docker-8c-8g-11900 in /w/workspace/gexfoundry_device-sdk-go_PR-1122 [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/gexfoundry_device-sdk-go_PR-1122 # 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 Merging remotes/origin/main commit b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit fad5b8934091ce8d844bc32fca8ede5bda20e4fc Merge succeeded, producing cb9a01c67963f71cfe68306ede305dbfc0e18bcb Checking out Revision cb9a01c67963f71cfe68306ede305dbfc0e18bcb (PR-1122) > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1122/head:refs/remotes/origin/PR-1122 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb9a01c67963f71cfe68306ede305dbfc0e18bcb # timeout=10 Commit message: "Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD" > git rev-list --no-walk fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:40:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:40:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:40:29 ========================================================= 22:40:29 EdgeX Global Pipelines Version Info 22:40:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:40:30 ------------------- 22:40:30 stable info: 22:40:30 ------------------- 22:40:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:40:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:40:30 Message: update stable to v1.0.221 22:40:30 ------------------- 22:40:30 experimental info: 22:40:30 ------------------- 22:40:30 Commited By: **** collab-it+edgex@linuxfoundation.org 22:40:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:40:30 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1122 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1122 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1122 [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb9a01c [Pipeline] echo 22:40:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:31 provisioning config files... 22:40:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config4909223758972238630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:31 ---> docker-login.sh 22:40:31 nexus3.edgexfoundry.org:10001 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 nexus3.edgexfoundry.org:10002 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 nexus3.edgexfoundry.org:10003 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 nexus3.edgexfoundry.org:10004 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 docker.io 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 ---> docker-login.sh ends [Pipeline] } 22:40:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:40:33 + git rev-list -1 --merges cb9a01c67963f71cfe68306ede305dbfc0e18bcb~1..cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] echo 22:40:33 -----------> git rev-list -1 --merges cb9a01c67963f71cfe68306ede305dbfc0e18bcb~1..cb9a01c67963f71cfe68306ede305dbfc0e18bcb cb9a01c67963f71cfe68306ede305dbfc0e18bcb 22:40:33 cb9a01c67963f71cfe68306ede305dbfc0e18bcb [false] [Pipeline] sh 22:40:33 + git log --format=format:%s -1 cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] echo 22:40:33 ========================================================= 22:40:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:40:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:33 + git log --format=format:%s -1 cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] echo 22:40:33 [semverPrep] GIT_COMMIT: cb9a01c67963f71cfe68306ede305dbfc0e18bcb, Commit Message: Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD [Pipeline] echo 22:40:33 [semverPrep] This is not a build commit. [Pipeline] sh 22:40:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:40:34 + grep -v github /etc/ssh/ssh_known_hosts 22:40:34 + [ -e /tmp/ssh_known_hosts ] 22:40:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:40:34 + + sudo tee -a /etc/ssh/ssh_known_hosts 22:40:34 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:40:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:40:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:34 22:40:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:40:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:35 latest: Pulling from edgex-devops/git-semver 22:40:35 a0d0a0d46f8b: Pulling fs layer 22:40:35 3e5f54012d9b: Pulling fs layer 22:40:35 4c7163046ea9: Pulling fs layer 22:40:35 0c2d73faf560: Pulling fs layer 22:40:35 0c2d73faf560: Waiting 22:40:35 3e5f54012d9b: Verifying Checksum 22:40:35 3e5f54012d9b: Download complete 22:40:35 a0d0a0d46f8b: Download complete 22:40:35 0c2d73faf560: Verifying Checksum 22:40:35 0c2d73faf560: Download complete 22:40:35 4c7163046ea9: Download complete 22:40:35 a0d0a0d46f8b: Pull complete 22:40:35 3e5f54012d9b: Pull complete 22:40:35 4c7163046ea9: Pull complete 22:40:35 0c2d73faf560: Pull complete 22:40:35 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:40:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:40:35 prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container 22:40:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:40:36 $ docker top ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:40:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:36 [ssh-agent] Looking for ssh-agent implementation... 22:40:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:36 $ docker exec ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e ssh-agent 22:40:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGjEpbP/agent.14 22:40:36 SSH_AGENT_PID=20 22:40:36 Running ssh-add (command line suppressed) 22:40:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_6455046562859339326.key (/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_6455046562859339326.key) 22:40:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:37 + git tag --points-at HEAD [Pipeline] } 22:40:37 $ docker exec --env ******** --env ******** ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e ssh-agent -k 22:40:37 unset SSH_AUTH_SOCK; 22:40:37 unset SSH_AGENT_PID; 22:40:37 echo Agent pid 20 killed; 22:40:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:40:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:37 [ssh-agent] Looking for ssh-agent implementation... 22:40:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:37 $ docker exec ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e ssh-agent 22:40:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaGpknB/agent.52 22:40:37 SSH_AGENT_PID=58 22:40:37 Running ssh-add (command line suppressed) 22:40:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_6273265672751348749.key (/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_6273265672751348749.key) 22:40:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:38 + git semver init 22:40:38 # -> Open(): unable to determine branch for HEAD 22:40:38 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1122/.git 22:40:38 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1122 22:40:38 # $SEMVER_REMOTE_NAME = origin 22:40:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:40:38 # $SEMVER_USER_NAME = edgex-jenkins 22:40:38 # $SEMVER_BRANCH = PR-1122 22:40:38 # $SEMVER_TEMP = /tmp/semver-670935932 22:40:38 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:40:39 # '/tmp/semver-670935932' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1122/.semver' 22:40:39 # -> Force: false 22:40:39 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1122/.semver [Pipeline] } 22:40:39 $ docker exec --env ******** --env ******** ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e ssh-agent -k 22:40:39 unset SSH_AUTH_SOCK; 22:40:39 unset SSH_AGENT_PID; 22:40:39 echo Agent pid 58 killed; 22:40:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:40:39 + git semver [Pipeline] } 22:40:39 $ docker stop --time=1 ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e 22:40:40 $ docker rm -f ba113e5b24cc0bee19089225e96a22fd4ef15d9a030158631050933fe525b62e [Pipeline] // withDockerContainer [Pipeline] sh 22:40:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:40:41 Stashed 1 file(s) [Pipeline] echo 22:40:41 [edgeXSemver]: initialized semver on version 0.0.0 [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 22:40:41 provisioning config files... 22:40:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config1837017078937180346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:41 ---> docker-login.sh 22:40:41 nexus3.edgexfoundry.org:10001 22:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:41 Configure a credential helper to remove this warning. See 22:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:41 22:40:41 Login Succeeded 22:40:41 nexus3.edgexfoundry.org:10002 22:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:42 Configure a credential helper to remove this warning. See 22:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:42 22:40:42 Login Succeeded 22:40:42 nexus3.edgexfoundry.org:10003 22:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:42 Configure a credential helper to remove this warning. See 22:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:42 22:40:42 Login Succeeded 22:40:42 nexus3.edgexfoundry.org:10004 22:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:42 Configure a credential helper to remove this warning. See 22:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:42 22:40:42 Login Succeeded 22:40:42 docker.io 22:40:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:42 Configure a credential helper to remove this warning. See 22:40:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:42 22:40:42 Login Succeeded 22:40:42 ---> docker-login.sh ends [Pipeline] } 22:40:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:40:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:42 ========================================================= 22:40:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:40:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:40:43 + 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 . 22:40:43 Sending build context to Docker daemon 9.587MB 22:40:43 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:40:43 Step 2/11 : FROM ${BASE} AS builder 22:40:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:40:43 59bf1c3509f3: Pulling fs layer 22:40:43 666ba61612fd: Pulling fs layer 22:40:43 8ed8ca486205: Pulling fs layer 22:40:43 4fe6c5a15a65: Pulling fs layer 22:40:43 22a0e8bec74d: Pulling fs layer 22:40:43 640e595b4fbd: Pulling fs layer 22:40:43 763cafe07f6e: Pulling fs layer 22:40:43 0c0b528cf693: Pulling fs layer 22:40:43 10935f4eaf8b: Pulling fs layer 22:40:43 22a0e8bec74d: Waiting 22:40:43 640e595b4fbd: Waiting 22:40:43 763cafe07f6e: Waiting 22:40:43 0c0b528cf693: Waiting 22:40:43 10935f4eaf8b: Waiting 22:40:43 4fe6c5a15a65: Waiting 22:40:43 8ed8ca486205: Download complete 22:40:43 666ba61612fd: Download complete 22:40:43 22a0e8bec74d: Download complete 22:40:43 640e595b4fbd: Download complete 22:40:43 59bf1c3509f3: Verifying Checksum 22:40:43 59bf1c3509f3: Download complete 22:40:43 763cafe07f6e: Verifying Checksum 22:40:43 763cafe07f6e: Download complete 22:40:43 0c0b528cf693: Verifying Checksum 22:40:43 0c0b528cf693: Download complete 22:40:43 59bf1c3509f3: Pull complete 22:40:43 666ba61612fd: Pull complete 22:40:43 8ed8ca486205: Pull complete 22:40:44 10935f4eaf8b: Verifying Checksum 22:40:44 10935f4eaf8b: Download complete 22:40:44 4fe6c5a15a65: Verifying Checksum 22:40:44 4fe6c5a15a65: Download complete 22:40:48 4fe6c5a15a65: Pull complete 22:40:48 22a0e8bec74d: Pull complete 22:40:48 640e595b4fbd: Pull complete 22:40:48 763cafe07f6e: Pull complete 22:40:48 0c0b528cf693: Pull complete 22:40:50 10935f4eaf8b: Pull complete 22:40:50 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 22:40:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:40:50 ---> 99d49a6021b9 22:40:50 Step 3/11 : ARG MAKE=make build 22:40:52 ---> Running in 24d47b828bf9 22:40:52 Removing intermediate container 24d47b828bf9 22:40:52 ---> 674f1a3dedf7 22:40:52 Step 4/11 : WORKDIR /device-sdk-go 22:40:52 ---> Running in 2789707e6619 22:40:52 Removing intermediate container 2789707e6619 22:40:52 ---> c2ebeb908e9c 22:40:52 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:40:52 ---> Running in 07293ed80bb3 22:40:52 Removing intermediate container 07293ed80bb3 22:40:52 ---> d04a3f30fb5a 22:40:52 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:40:52 ---> Running in b6485efcc6d0 22:40:53 Removing intermediate container b6485efcc6d0 22:40:53 ---> 4a40b7a2c865 22:40:53 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:40:53 ---> Running in d26264d29a90 22:40:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:40:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:40:54 OK: 221 MiB in 52 packages 22:40:54 Removing intermediate container d26264d29a90 22:40:54 ---> 828352a2d101 22:40:54 Step 8/11 : COPY go.mod vendor* ./ 22:40:55 ---> 6356b86bdcef 22:40:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:55 ---> Running in a6ec87d2b8f0 22:40:56 Still waiting to schedule task 22:40:56 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:41:10 Removing intermediate container a6ec87d2b8f0 22:41:10 ---> 2c62713b0c36 22:41:10 Step 10/11 : COPY . . 22:41:10 ---> 253e9c1558f6 22:41:10 Step 11/11 : RUN ${MAKE} 22:41:10 ---> Running in ed3b537de0e4 22:41:10 noop 22:41:10 Removing intermediate container ed3b537de0e4 22:41:10 ---> 2992335695fa 22:41:10 Successfully built 2992335695fa 22:41:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:41:10 + docker inspect -f . ci-base-image-x86_64 22:41:10 . [Pipeline] withDockerContainer 22:41:10 prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container 22:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:41:10 $ docker top 5632c8411134a2aa51237fe30e496dad2756dbae39512bb837ff3bf9768770b7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:11 + go version 22:41:11 go version go1.17.6 linux/amd64 [Pipeline] } 22:41:11 $ docker stop --time=1 5632c8411134a2aa51237fe30e496dad2756dbae39512bb837ff3bf9768770b7 22:41:12 $ docker rm -f 5632c8411134a2aa51237fe30e496dad2756dbae39512bb837ff3bf9768770b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:41:12 + docker inspect -f . ci-base-image-x86_64 22:41:12 . [Pipeline] withDockerContainer 22:41:13 prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container 22:41:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:41:13 $ docker top 7db4744f8167632c2e9439fd61a787045e27998bee7119c2151d1fee3573bc24 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:41:13 + make test 22:41:13 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:41:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:41:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.017s coverage: 23.3% of statements 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:41:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.011s coverage: 27.6% of statements 22:41:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.020s coverage: 78.9% of statements 22:41:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.015s coverage: 10.8% of statements 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:41:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.038s coverage: 33.2% of statements 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:41:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.011s coverage: 86.1% of statements 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:41:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.018s coverage: 57.4% of statements 22:41:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.045s coverage: 89.2% of statements 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:41:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.018s coverage: 4.8% of statements 22:41:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:41:32 GO111MODULE=on go vet ./... 22:41:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:41:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:41:34 ./bin/test-attribution-txt.sh [Pipeline] echo 22:41:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:41:35 $ docker stop --time=1 7db4744f8167632c2e9439fd61a787045e27998bee7119c2151d1fee3573bc24 22:41:37 $ docker rm -f 7db4744f8167632c2e9439fd61a787045e27998bee7119c2151d1fee3573bc24 [Pipeline] // withDockerContainer [Pipeline] sh 22:41:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:41:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:41:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:41:38 + ls -al . 22:41:38 total 316 22:41:38 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 22:41 . 22:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 22:40 .. 22:41:38 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 22:40 .dockerignore 22:41:38 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 22:40 .git 22:41:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 22:40 .github 22:41:38 -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 22:40 .gitignore 22:41:38 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 22:40 .golangci.yml 22:41:38 drwx------ 3 jenkins jenkins 4096 Apr 10 22:40 .semver 22:41:38 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 22:40 CHANGELOG.md 22:41:38 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 22:40 GOVERNANCE.md 22:41:38 -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 22:40 Jenkinsfile 22:41:38 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 22:40 LICENSE 22:41:38 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 22:40 Makefile 22:41:38 -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 22:40 OWNERS.md 22:41:38 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 22:40 README.md 22:41:38 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 22:40 VERSION 22:41:38 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 22:40 bin 22:41:38 -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 22:41 coverage.out 22:41:38 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 22:40 example 22:41:38 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 10 22:40 go.mod 22:41:38 -rw-rw-r-- 1 jenkins jenkins 53784 Apr 10 22:40 go.sum 22:41:38 drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 22:40 internal 22:41:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 22:40 openapi 22:41:38 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 22:40 pkg 22:41:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 22:40 snap 22:41:38 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 22:40 version.go [Pipeline] isUnix [Pipeline] sh 22:41:39 + 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=cb9a01c67963f71cfe68306ede305dbfc0e18bcb --label arch=amd64 --label version=0.0.0 . 22:41:39 Sending build context to Docker daemon 9.717MB 22:41:39 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:41:39 Step 2/25 : FROM ${BASE} AS builder 22:41:39 ---> 2992335695fa 22:41:39 Step 3/25 : ARG MAKE=make build 22:41:39 ---> Running in 6839d9cf2e8c 22:41:39 Removing intermediate container 6839d9cf2e8c 22:41:39 ---> aaea687d7910 22:41:39 Step 4/25 : WORKDIR /device-sdk-go 22:41:39 ---> Running in f2bd0c25a12b 22:41:39 Removing intermediate container f2bd0c25a12b 22:41:39 ---> 6ecb0865e8e1 22:41:39 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:41:39 ---> Running in 9a2246633246 22:41:39 Removing intermediate container 9a2246633246 22:41:39 ---> e9884e497b6b 22:41:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:39 ---> Running in 940655867f2d 22:41:40 Removing intermediate container 940655867f2d 22:41:40 ---> 32a9353d87e2 22:41:40 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:41:40 ---> Running in d051c38491f6 22:41:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:41:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:41:41 OK: 221 MiB in 52 packages 22:41:42 Removing intermediate container d051c38491f6 22:41:42 ---> 8e30d77966fc 22:41:42 Step 8/25 : COPY go.mod vendor* ./ 22:41:42 ---> 4ffbd11056d7 22:41:42 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:42 ---> Running in 0113946e526f 22:41:42 Removing intermediate container 0113946e526f 22:41:42 ---> b67296763cfb 22:41:42 Step 10/25 : COPY . . 22:41:43 ---> adea5b367992 22:41:43 Step 11/25 : RUN ${MAKE} 22:41:43 ---> Running in c48bbb6fa29d 22:41:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:42:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:42:02 Removing intermediate container c48bbb6fa29d 22:42:02 ---> b0a342ddafe8 22:42:02 Step 12/25 : FROM alpine:3.14 22:42:02 3.14: Pulling from library/alpine 22:42:02 8663204ce13b: Pulling fs layer 22:42:03 8663204ce13b: Verifying Checksum 22:42:03 8663204ce13b: Download complete 22:42:03 8663204ce13b: Pull complete 22:42:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:42:03 Status: Downloaded newer image for alpine:3.14 22:42:03 ---> e04c818066af 22:42:03 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:42:03 ---> Running in ac8d6acd650d 22:42:03 Removing intermediate container ac8d6acd650d 22:42:03 ---> 3a408c36160f 22:42:03 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:03 ---> Running in f47052ab26bc 22:42:03 Removing intermediate container f47052ab26bc 22:42:03 ---> 4775e53ffc2b 22:42:03 Step 15/25 : RUN apk add --update --no-cache zeromq 22:42:04 ---> Running in fb15b8fc41f1 22:42:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:42:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:42:05 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:42:05 (2/5) Installing libsodium (1.0.18-r0) 22:42:05 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:42:05 (4/5) Installing libzmq (4.3.4-r0) 22:42:05 (5/5) Installing zeromq (4.3.4-r0) 22:42:05 Executing busybox-1.33.1-r7.trigger 22:42:05 OK: 8 MiB in 19 packages 22:42:06 Removing intermediate container fb15b8fc41f1 22:42:06 ---> 83dca6b0fc08 22:42:06 Step 16/25 : WORKDIR / 22:42:06 ---> Running in bfca43581338 22:42:06 Removing intermediate container bfca43581338 22:42:06 ---> e225a1ea84b1 22:42:06 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:42:06 ---> 3e5bd12133ba 22:42:06 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:42:06 ---> 742ae6443dcb 22:42:06 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:42:07 ---> fc30f7483330 22:42:07 Step 20/25 : EXPOSE 59999 22:42:07 ---> Running in a465e607ad95 22:42:07 Removing intermediate container a465e607ad95 22:42:07 ---> 3f648fffe824 22:42:07 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:42:07 ---> Running in f9b1e8efcf35 22:42:07 Removing intermediate container f9b1e8efcf35 22:42:07 ---> 85341b2cf38f 22:42:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:42:07 ---> Running in 9c37236c6f81 22:42:07 Removing intermediate container 9c37236c6f81 22:42:07 ---> 03cdb4ba28aa 22:42:07 Step 23/25 : LABEL arch=amd64 22:42:07 ---> Running in 18e754197033 22:42:07 Removing intermediate container 18e754197033 22:42:07 ---> 8e75417a1cbf 22:42:07 Step 24/25 : LABEL git_sha=cb9a01c67963f71cfe68306ede305dbfc0e18bcb 22:42:07 ---> Running in f3995173600e 22:42:07 Removing intermediate container f3995173600e 22:42:07 ---> ea5bfbedb5c2 22:42:07 Step 25/25 : LABEL version=0.0.0 22:42:08 ---> Running in 0825a6ebdb8b 22:42:08 Removing intermediate container 0825a6ebdb8b 22:42:08 ---> b5f7af8b221e 22:42:08 [Warning] One or more build-args [ARCH] were not consumed 22:42:08 Successfully built b5f7af8b221e 22:42:08 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 22:42:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:08 22:42:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:42:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:08 latest: Pulling from edgex-lftools-log-publisher 22:42:08 5eb5b503b376: Pulling fs layer 22:42:08 5c69ac0246d0: Pulling fs layer 22:42:08 ec43610c2a17: Pulling fs layer 22:42:08 3a2ae6a8a46f: Pulling fs layer 22:42:08 33b1e0a273af: Pulling fs layer 22:42:08 5d3b04190fa2: Pulling fs layer 22:42:08 2f39f015ded8: Pulling fs layer 22:42:08 33b1e0a273af: Waiting 22:42:08 5d3b04190fa2: Waiting 22:42:08 2f39f015ded8: Waiting 22:42:08 3a2ae6a8a46f: Waiting 22:42:08 5c69ac0246d0: Verifying Checksum 22:42:08 5c69ac0246d0: Download complete 22:42:08 3a2ae6a8a46f: Verifying Checksum 22:42:08 3a2ae6a8a46f: Download complete 22:42:08 33b1e0a273af: Verifying Checksum 22:42:08 33b1e0a273af: Download complete 22:42:08 5d3b04190fa2: Verifying Checksum 22:42:08 5d3b04190fa2: Download complete 22:42:08 ec43610c2a17: Verifying Checksum 22:42:08 ec43610c2a17: Download complete 22:42:08 5eb5b503b376: Verifying Checksum 22:42:08 5eb5b503b376: Download complete 22:42:09 2f39f015ded8: Verifying Checksum 22:42:09 2f39f015ded8: Download complete 22:42:10 5eb5b503b376: Pull complete 22:42:10 5c69ac0246d0: Pull complete 22:42:10 ec43610c2a17: Pull complete 22:42:10 3a2ae6a8a46f: Pull complete 22:42:11 33b1e0a273af: Pull complete 22:42:11 5d3b04190fa2: Pull complete 22:42:15 2f39f015ded8: Pull complete 22:42:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:42:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:42:15 prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container 22:42:15 $ 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/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:42:17 $ docker top 62a7a72a8626d59758ca59afb14258f2d20866e976dae822b7c4fc1874d1349a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:17 ---> job-cost.sh 22:42:17 lf-activate-venv: SKIPPING 22:42:17 INFO: No Stack... 22:42:17 INFO: Retrieving Pricing Info for: v3-standard-8 22:42:18 INFO: Archiving Costs [Pipeline] sh 22:42:18 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/cost.csv 22:42:18 + cut -d, -f6 [Pipeline] lock 22:42:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] 22:42:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] did not exist. Created. 22:42:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:19 + echo total: 0.6600000262260437 [Pipeline] stash 22:42:19 Stashed 1 file(s) [Pipeline] } 22:42:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:19 $ docker stop --time=1 62a7a72a8626d59758ca59afb14258f2d20866e976dae822b7c4fc1874d1349a 22:42:20 $ docker rm -f 62a7a72a8626d59758ca59afb14258f2d20866e976dae822b7c4fc1874d1349a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:05:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19347 in /w/workspace/gexfoundry_device-sdk-go_PR-1122 [Pipeline] { [Pipeline] ws 23:05:08 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:05:09 The recommended git tool is: git 23:05:18 using credential edgex-jenkins-ssh 23:05:18 Cloning the remote Git repository 23:05:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:05:18 > git init /w/workspace/device-sdk-go/2 # timeout=10 23:05:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:05:18 > git --version # timeout=10 23:05:18 > git --version # 'git version 2.25.1' 23:05:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:05:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:05:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:05:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:05:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:05:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1122/head:refs/remotes/origin/PR-1122 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:05:21 Merging remotes/origin/main commit b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit fad5b8934091ce8d844bc32fca8ede5bda20e4fc 23:05:21 Merge succeeded, producing e935a8832cfbfe53789e0847d752cbd1c364582c 23:05:21 Checking out Revision e935a8832cfbfe53789e0847d752cbd1c364582c (PR-1122) 23:05:21 > git config core.sparsecheckout # timeout=10 23:05:21 > git checkout -f fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 23:05:21 > git remote # timeout=10 23:05:21 > git config --get remote.origin.url # timeout=10 23:05:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:05:21 > git merge b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 23:05:21 > git rev-parse HEAD^{commit} # timeout=10 23:05:21 > git config core.sparsecheckout # timeout=10 23:05:21 > git checkout -f e935a8832cfbfe53789e0847d752cbd1c364582c # timeout=10 23:05:26 Commit message: "Merge commit 'b5ea364822c8c62a095049094fb918b913a19c7c' into HEAD" 23:05:26 > git rev-list --no-walk fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:05:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:05:27 % Total % Received % Xferd Average Speed Time Time Time Current 23:05:27 Dload Upload Total Spent Left Speed 23:05:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 23:05:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:05:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:05:28 + sudo tee /etc/docker/daemon.new 23:05:28 { 23:05:28 "registry-mirrors": [ 23:05:28 "https://nexus3.edgexfoundry.org:10001" 23:05:28 ], 23:05:28 "bip": "10.250.0.254/24", 23:05:28 "hosts": [ 23:05:28 "tcp://0.0.0.0:5555", 23:05:28 "unix:///var/run/docker.sock" 23:05:28 ], 23:05:28 "mtu": 1458, 23:05:28 "selinux-enabled": true, 23:05:28 "seccomp-profile": "/etc/docker/seccomp.json" 23:05:28 } [Pipeline] sh 23:05:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:05:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:05:47 provisioning config files... 23:05:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4361859934899740526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:05:48 ---> docker-login.sh 23:05:48 nexus3.edgexfoundry.org:10001 23:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:49 Configure a credential helper to remove this warning. See 23:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:49 23:05:49 Login Succeeded 23:05:49 nexus3.edgexfoundry.org:10002 23:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:49 Configure a credential helper to remove this warning. See 23:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:49 23:05:49 Login Succeeded 23:05:49 nexus3.edgexfoundry.org:10003 23:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:50 Configure a credential helper to remove this warning. See 23:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:50 23:05:50 Login Succeeded 23:05:50 nexus3.edgexfoundry.org:10004 23:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:51 Configure a credential helper to remove this warning. See 23:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:51 23:05:51 Login Succeeded 23:05:51 docker.io 23:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:51 Configure a credential helper to remove this warning. See 23:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:51 23:05:51 Login Succeeded 23:05:51 ---> docker-login.sh ends [Pipeline] } 23:05:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:05:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:05:52 ========================================================= 23:05:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:05:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:05:52 + 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 . 23:05:53 Sending build context to Docker daemon 5.175MB 23:05:53 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:05:53 Step 2/11 : FROM ${BASE} AS builder 23:05:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:05:53 9b3977197b4f: Pulling fs layer 23:05:53 1a89e8eeedd5: Pulling fs layer 23:05:53 94645a83ff95: Pulling fs layer 23:05:53 3f3a8bcf1eab: Pulling fs layer 23:05:53 0c92f367c5e7: Pulling fs layer 23:05:53 f7c0051592d6: Pulling fs layer 23:05:53 a227ed2f7395: Pulling fs layer 23:05:53 7b1c46037f91: Pulling fs layer 23:05:53 3f3a8bcf1eab: Waiting 23:05:53 0c92f367c5e7: Waiting 23:05:53 f7c0051592d6: Waiting 23:05:53 a227ed2f7395: Waiting 23:05:53 7b1c46037f91: Waiting 23:05:53 94645a83ff95: Verifying Checksum 23:05:53 94645a83ff95: Download complete 23:05:53 1a89e8eeedd5: Verifying Checksum 23:05:53 1a89e8eeedd5: Download complete 23:05:53 0c92f367c5e7: Verifying Checksum 23:05:53 0c92f367c5e7: Download complete 23:05:53 f7c0051592d6: Verifying Checksum 23:05:53 f7c0051592d6: Download complete 23:05:53 9b3977197b4f: Download complete 23:05:53 a227ed2f7395: Verifying Checksum 23:05:53 a227ed2f7395: Download complete 23:05:54 9b3977197b4f: Pull complete 23:05:55 1a89e8eeedd5: Pull complete 23:05:55 94645a83ff95: Pull complete 23:05:56 7b1c46037f91: Verifying Checksum 23:05:56 7b1c46037f91: Download complete 23:05:56 3f3a8bcf1eab: Verifying Checksum 23:05:56 3f3a8bcf1eab: Download complete 23:06:11 3f3a8bcf1eab: Pull complete 23:06:11 0c92f367c5e7: Pull complete 23:06:11 f7c0051592d6: Pull complete 23:06:11 a227ed2f7395: Pull complete 23:06:18 7b1c46037f91: Pull complete 23:06:18 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 23:06:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:06:18 ---> f79e39bc4007 23:06:18 Step 3/11 : ARG MAKE=make build 23:06:19 ---> Running in 45747e6467d5 23:06:19 Removing intermediate container 45747e6467d5 23:06:19 ---> dd6719dbd49a 23:06:19 Step 4/11 : WORKDIR /device-sdk-go 23:06:19 ---> Running in 2b776efb5a3f 23:06:20 Removing intermediate container 2b776efb5a3f 23:06:20 ---> bc44ad7a495a 23:06:20 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:06:20 ---> Running in b2ad8f77bdfa 23:06:22 Removing intermediate container b2ad8f77bdfa 23:06:22 ---> adac0c6b1575 23:06:22 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:06:22 ---> Running in 6eeb69d2c12f 23:06:24 Removing intermediate container 6eeb69d2c12f 23:06:24 ---> d6b5cf048eaa 23:06:24 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:06:24 ---> Running in 697f977d3a4d 23:06:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:06:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:06:27 OK: 220 MiB in 52 packages 23:06:28 Removing intermediate container 697f977d3a4d 23:06:28 ---> 6b06c19cffa5 23:06:28 Step 8/11 : COPY go.mod vendor* ./ 23:06:29 ---> 08a193eb7e4b 23:06:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:06:29 ---> Running in 2366845ab1bf 23:07:25 Removing intermediate container 2366845ab1bf 23:07:25 ---> 359b3ff5c4fc 23:07:25 Step 10/11 : COPY . . 23:07:25 ---> 01f596069fdb 23:07:25 Step 11/11 : RUN ${MAKE} 23:07:25 ---> Running in 80016dbaba80 23:07:25 noop 23:07:25 Removing intermediate container 80016dbaba80 23:07:25 ---> f805e7d52283 23:07:25 Successfully built f805e7d52283 23:07:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:07:26 + docker inspect -f . ci-base-image-arm64 23:07:26 . [Pipeline] withDockerContainer 23:07:26 prd-ubuntu20.04-docker-arm64-4c-16g-19347 does not seem to be running inside a container 23:07:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:07:28 $ docker top 96500de7d14454ce200902f103a2377434e7269297f552508e230c777f471a7e -eo pid,comm [Pipeline] { [Pipeline] sh 23:07:29 + go version 23:07:29 go version go1.17.6 linux/arm64 [Pipeline] } 23:07:29 $ docker stop --time=1 96500de7d14454ce200902f103a2377434e7269297f552508e230c777f471a7e 23:07:31 $ docker rm -f 96500de7d14454ce200902f103a2377434e7269297f552508e230c777f471a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:07:31 + docker inspect -f . ci-base-image-arm64 23:07:31 . [Pipeline] withDockerContainer 23:07:32 prd-ubuntu20.04-docker-arm64-4c-16g-19347 does not seem to be running inside a container 23:07:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:07:33 $ docker top c2e1ade28788d178f8853651b6f6e282746f5cec558ace309b55e307c08878eb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:07:34 + make test 23:07:34 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:07:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:09:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.109s coverage: 23.3% of statements 23:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:09:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.102s coverage: 27.6% of statements 23:09:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements 23:09:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.074s coverage: 10.8% of statements 23:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:09:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 33.2% of statements 23:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:09:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.117s coverage: 86.1% of statements 23:09:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:09:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:09:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.116s coverage: 57.4% of statements 23:09:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.191s coverage: 89.2% of statements 23:09:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:09:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.074s coverage: 4.8% of statements 23:09:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:09:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:09:36 GO111MODULE=on go vet ./... 23:10:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:10:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:10:08 ./bin/test-attribution-txt.sh [Pipeline] echo 23:10:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:10:10 $ docker stop --time=1 c2e1ade28788d178f8853651b6f6e282746f5cec558ace309b55e307c08878eb 23:10:12 $ docker rm -f c2e1ade28788d178f8853651b6f6e282746f5cec558ace309b55e307c08878eb [Pipeline] // withDockerContainer [Pipeline] sh 23:10:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:10:13 Warning: overwriting stash ‘coverage-report’ 23:10:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:10:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:10:15 + ls -al . 23:10:15 total 312 23:10:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 23:10 . 23:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:05 .. 23:10:15 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 23:05 .dockerignore 23:10:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:05 .git 23:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:05 .github 23:10:15 -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 23:05 .gitignore 23:10:15 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 23:05 .golangci.yml 23:10:15 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 23:05 CHANGELOG.md 23:10:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 23:05 GOVERNANCE.md 23:10:15 -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 23:05 Jenkinsfile 23:10:15 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 23:05 LICENSE 23:10:15 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 23:05 Makefile 23:10:15 -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 23:05 OWNERS.md 23:10:15 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 23:05 README.md 23:10:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 22:40 VERSION 23:10:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:05 bin 23:10:15 -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 23:09 coverage.out 23:10:15 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 23:05 example 23:10:15 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 10 23:05 go.mod 23:10:15 -rw-rw-r-- 1 jenkins jenkins 53784 Apr 10 23:05 go.sum 23:10:15 drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 23:05 internal 23:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:05 openapi 23:10:15 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 23:05 pkg 23:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:05 snap 23:10:15 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 23:05 version.go [Pipeline] isUnix [Pipeline] sh 23:10:15 + 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=e935a8832cfbfe53789e0847d752cbd1c364582c --label arch=arm64 --label version=0.0.0 . 23:10:16 Sending build context to Docker daemon 5.304MB 23:10:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:10:16 Step 2/25 : FROM ${BASE} AS builder 23:10:16 ---> f805e7d52283 23:10:16 Step 3/25 : ARG MAKE=make build 23:10:16 ---> Running in a0616fdb4c6a 23:10:16 Removing intermediate container a0616fdb4c6a 23:10:16 ---> b4c1758e7c64 23:10:16 Step 4/25 : WORKDIR /device-sdk-go 23:10:16 ---> Running in d53183fd4d48 23:10:16 Removing intermediate container d53183fd4d48 23:10:16 ---> 274c8f8bcbfc 23:10:16 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:10:16 ---> Running in df892b726f7b 23:10:17 Removing intermediate container df892b726f7b 23:10:17 ---> cb42010569c4 23:10:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:10:17 ---> Running in fb8213946644 23:10:19 Removing intermediate container fb8213946644 23:10:19 ---> bdc14380a4e8 23:10:19 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:10:19 ---> Running in 3a51c8a643be 23:10:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:10:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:10:22 OK: 220 MiB in 52 packages 23:10:23 Removing intermediate container 3a51c8a643be 23:10:23 ---> 07c924a7ce6f 23:10:23 Step 8/25 : COPY go.mod vendor* ./ 23:10:23 ---> 2ddf2f529f11 23:10:23 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:10:23 ---> Running in 3e63626ee456 23:10:25 Removing intermediate container 3e63626ee456 23:10:25 ---> 0dfa670bb01e 23:10:25 Step 10/25 : COPY . . 23:10:27 ---> 824bda5844ec 23:10:27 Step 11/25 : RUN ${MAKE} 23:10:27 ---> Running in 5136e4b54ebf 23:10:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:12:50 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:12:55 Removing intermediate container 5136e4b54ebf 23:12:55 ---> 30843a79b1d8 23:12:55 Step 12/25 : FROM alpine:3.14 23:12:55 3.14: Pulling from library/alpine 23:12:56 455c02918c45: Pulling fs layer 23:12:56 455c02918c45: Verifying Checksum 23:12:56 455c02918c45: Download complete 23:12:57 455c02918c45: Pull complete 23:12:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:12:57 Status: Downloaded newer image for alpine:3.14 23:12:57 ---> ac73e934f311 23:12:57 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:12:57 ---> Running in 8db588b2ff1d 23:12:57 Removing intermediate container 8db588b2ff1d 23:12:57 ---> 0f4f051ee85c 23:12:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:57 ---> Running in 9caa14b1b172 23:12:59 Removing intermediate container 9caa14b1b172 23:12:59 ---> 3eedb10f1c54 23:12:59 Step 15/25 : RUN apk add --update --no-cache zeromq 23:12:59 ---> Running in 7e239045dfb5 23:13:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:13:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:13:03 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:13:03 (2/5) Installing libsodium (1.0.18-r0) 23:13:03 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:13:03 (4/5) Installing libzmq (4.3.4-r0) 23:13:03 (5/5) Installing zeromq (4.3.4-r0) 23:13:03 Executing busybox-1.33.1-r7.trigger 23:13:03 OK: 8 MiB in 19 packages 23:13:04 Removing intermediate container 7e239045dfb5 23:13:04 ---> 217e428f7df4 23:13:04 Step 16/25 : WORKDIR / 23:13:04 ---> Running in 8b4e4b6fce9a 23:13:04 Removing intermediate container 8b4e4b6fce9a 23:13:04 ---> a568af4cf8cd 23:13:04 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:13:05 ---> 093e4caeff05 23:13:05 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:13:07 ---> c5069921202e 23:13:07 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:13:07 ---> 6d0928c050d6 23:13:07 Step 20/25 : EXPOSE 59999 23:13:08 ---> Running in 112b54f00f3b 23:13:08 Removing intermediate container 112b54f00f3b 23:13:08 ---> 19e30ccb2161 23:13:08 Step 21/25 : ENTRYPOINT ["/device-simple"] 23:13:08 ---> Running in 98e20eca6478 23:13:09 Removing intermediate container 98e20eca6478 23:13:09 ---> 55907aebdba7 23:13:09 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:13:09 ---> Running in 443c716cf6c4 23:13:09 Removing intermediate container 443c716cf6c4 23:13:09 ---> 423a4ff053e8 23:13:09 Step 23/25 : LABEL arch=arm64 23:13:09 ---> Running in 03844e4f13ad 23:13:09 Removing intermediate container 03844e4f13ad 23:13:09 ---> 5d9d32828ffd 23:13:09 Step 24/25 : LABEL git_sha=e935a8832cfbfe53789e0847d752cbd1c364582c 23:13:09 ---> Running in a502280ebd3e 23:13:10 Removing intermediate container a502280ebd3e 23:13:10 ---> b2c2a76b98b1 23:13:10 Step 25/25 : LABEL version=0.0.0 23:13:10 ---> Running in 0bde7b1ae3c0 23:13:10 Removing intermediate container 0bde7b1ae3c0 23:13:10 ---> ae280890994a 23:13:10 [Warning] One or more build-args [ARCH] were not consumed 23:13:10 Successfully built ae280890994a 23:13:10 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 23:13:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:13:11 23:13:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:13:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:13:12 arm64: Pulling from edgex-lftools-log-publisher 23:13:12 8998bd30e6a1: Pulling fs layer 23:13:12 04944245beec: Pulling fs layer 23:13:12 699f458cf7ca: Pulling fs layer 23:13:12 765212b225bb: Pulling fs layer 23:13:12 f23df028b6ca: Pulling fs layer 23:13:12 d65c8cfc05b1: Pulling fs layer 23:13:12 2437ff75d9bd: Pulling fs layer 23:13:12 765212b225bb: Waiting 23:13:12 f23df028b6ca: Waiting 23:13:12 d65c8cfc05b1: Waiting 23:13:12 2437ff75d9bd: Waiting 23:13:12 04944245beec: Verifying Checksum 23:13:12 04944245beec: Download complete 23:13:12 765212b225bb: Download complete 23:13:12 f23df028b6ca: Download complete 23:13:12 d65c8cfc05b1: Verifying Checksum 23:13:12 d65c8cfc05b1: Download complete 23:13:12 699f458cf7ca: Verifying Checksum 23:13:12 699f458cf7ca: Download complete 23:13:12 8998bd30e6a1: Verifying Checksum 23:13:12 8998bd30e6a1: Download complete 23:13:15 2437ff75d9bd: Verifying Checksum 23:13:15 2437ff75d9bd: Download complete 23:13:17 8998bd30e6a1: Pull complete 23:13:18 04944245beec: Pull complete 23:13:19 699f458cf7ca: Pull complete 23:13:19 765212b225bb: Pull complete 23:13:20 f23df028b6ca: Pull complete 23:13:21 d65c8cfc05b1: Pull complete 23:13:36 2437ff75d9bd: Pull complete 23:13:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:13:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:13:36 prd-ubuntu20.04-docker-arm64-4c-16g-19347 does not seem to be running inside a container 23:13:36 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:13:39 $ docker top 681c90df29425c6ddcbcc184c3c31773e02ee875d133a290c15f6fc6056dbbb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:40 ---> job-cost.sh 23:13:40 lf-activate-venv: SKIPPING 23:13:40 INFO: No Stack... 23:13:41 INFO: Retrieving Pricing Info for: v3-standard-4 23:13:42 INFO: Archiving Costs [Pipeline] sh 23:13:43 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 23:13:43 + cut -d, -f6 [Pipeline] lock 23:13:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] 23:13:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] did not exist. Created. 23:13:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:13:43 /w/workspace/device-sdk-go/2@tmp/durable-153bcebb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:13:44 + echo total: 0.10999999940395355 [Pipeline] stash 23:13:44 Warning: overwriting stash ‘stack-cost’ 23:13:44 Stashed 1 file(s) [Pipeline] } 23:13:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:13:44 $ docker stop --time=1 681c90df29425c6ddcbcc184c3c31773e02ee875d133a290c15f6fc6056dbbb1 23:13:46 $ docker rm -f 681c90df29425c6ddcbcc184c3c31773e02ee875d133a290c15f6fc6056dbbb1 [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 23:13:46 provisioning config files... 23:13:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config951073458453166578tmp [Pipeline] { [Pipeline] sh 23:13:47 + set +x 23:13:47 + curl -s https://codecov.io/bash 23:13:47 + bash -s -- 23:13:47 23:13:47 _____ _ 23:13:47 / ____| | | 23:13:47 | | ___ __| | ___ ___ _____ __ 23:13:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:13:47 | |___| (_) | (_| | __/ (_| (_) \ V / 23:13:47 \_____\___/ \__,_|\___|\___\___/ \_/ 23:13:47 Bash-1.0.6 23:13:47 23:13:47 23:13:47 ==> git version 2.25.1 found 23:13:47 ==> 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 23:13:47 Release-Date: 2020-01-08 23:13:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:13:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:13:47 ==> Jenkins CI detected. 23:13:47 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1122 23:13:47 project root: . 23:13:47 --> token set from env 23:13:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:13:47 ==> Running gcov in . (disable via -X gcov) 23:13:47 ==> Python coveragepy not found 23:13:47 ==> Searching for coverage reports in: 23:13:47 + . 23:13:47 -> Found 1 reports 23:13:47 ==> Detecting git/mercurial file structure 23:13:47 ==> Reading reports 23:13:47 + ./coverage.out bytes=129001 23:13:47 ==> Appending adjustments 23:13:47 https://docs.codecov.io/docs/fixing-reports 23:13:47 + Found adjustments 23:13:47 ==> Gzipping contents 23:13:47 16K /tmp/codecov.kzppKa.gz 23:13:47 ==> Uploading reports 23:13:47 url: https://codecov.io 23:13:47 query: branch=PR-1122&commit=cb9a01c67963f71cfe68306ede305dbfc0e18bcb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1122%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1122&job=&cmd_args= 23:13:47 -> Pinging Codecov 23:13:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1122&commit=cb9a01c67963f71cfe68306ede305dbfc0e18bcb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1122%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1122&job=&cmd_args= 23:13:48 -> Uploading to 23:13:48 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/7E55EF52A471D76F132DFD9A03CDDE97/cb9a01c67963f71cfe68306ede305dbfc0e18bcb/19e8efe5-07a2-46ed-935c-32f75c38ce00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T231347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fdd7c1243b1d6ff6b71867e5de8c578d9168ea908a1033bf28a6eeb18cd1d47d 23:13:48 % Total % Received % Xferd Average Speed Time Time Time Current 23:13:48 Dload Upload Total Spent Left Speed 23:13:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16221 0 0 100 16221 0 57116 --:--:-- --:--:-- --:--:-- 57116 23:13:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cb9a01c67963f71cfe68306ede305dbfc0e18bcb [Pipeline] } 23:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 23:13:49 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives ] 23:13:49 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives 23:13:49 total 16 23:13:49 drwxr-xr-x 3 root root 4096 Apr 10 22:42 . 23:13:49 drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 22:42 .. 23:13:49 drwxr-xr-x 2 root root 4096 Apr 10 22:42 cost 23:13:49 -rw-r--r-- 1 root root 86 Apr 10 22:42 cost.csv 23:13:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives 23:13:49 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives 23:13:49 total 16 23:13:49 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 22:42 . 23:13:49 drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 22:42 .. 23:13:49 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 22:42 cost 23:13:49 -rw-r--r-- 1 jenkins jenkins 86 Apr 10 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:13:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:13:50 ---> package-listing.sh 23:13:50 ++ facter osfamily 23:13:50 ++ tr '[:upper:]' '[:lower:]' 23:13:50 + OS_FAMILY=debian 23:13:50 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1122 23:13:50 + START_PACKAGES=/tmp/packages_start.txt 23:13:50 + END_PACKAGES=/tmp/packages_end.txt 23:13:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:13:50 + PACKAGES=/tmp/packages_start.txt 23:13:50 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1122 ']' 23:13:50 + PACKAGES=/tmp/packages_end.txt 23:13:50 + case "${OS_FAMILY}" in 23:13:50 + dpkg -l 23:13:50 + grep '^ii' 23:13:50 + '[' -f /tmp/packages_start.txt ']' 23:13:50 + '[' -f /tmp/packages_end.txt ']' 23:13:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:13:50 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1122 ']' 23:13:50 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/ 23:13:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/ [Pipeline] echo 23:13:50 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/gexfoundry_device-sdk-go_PR-1122/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:13:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:13:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:13:51 . [Pipeline] withDockerContainer 23:13:51 prd-ubuntu20.04-docker-8c-8g-11900 does not seem to be running inside a container 23:13:51 $ 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/gexfoundry_device-sdk-go_PR-1122/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:13:51 $ docker top f97c72d492c9e395aa576e61d8300581b5bf4e4c3efdc2c42b00514d0797ba85 -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:52 + touch /tmp/pre-build-complete [Pipeline] sh 23:13:52 + mkdir -p /var/log/sysstat [Pipeline] sh 23:13:52 + ls /var/log/sa-host 23:13:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:13:53 provisioning config files... 23:13:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config5669757455700598344tmp [Pipeline] { [Pipeline] echo 23:13:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:13:53 ---> create-netrc.sh [Pipeline] } 23:13:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:13:53 ---> python-tools-install.sh [Pipeline] echo 23:13:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:13:53 ---> sudo-logs.sh 23:13:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:13:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:13:54 ---> job-cost.sh 23:13:54 lf-activate-venv: SKIPPING 23:13:54 DEBUG: total: 0.6600000262260437 23:13:54 INFO: Retrieving Stack Cost... 23:13:54 INFO: Retrieving Pricing Info for: v3-standard-8 23:13:55 INFO: Archiving Costs [Pipeline] echo 23:13:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:13:55 ---> logs-deploy.sh 23:13:55 lf-activate-venv: SKIPPING 23:13:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1122/2 23:13:55 INFO: archiving workspace using pattern(s): 23:13:56 Archives upload complete. 23:13:56 INFO: archiving logs to Nexus