Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 854a1d02177849dfca254246521bbb7ea3bc181d+45e6addfd964a0ca7ed47e9673a51a0c53e11884 (804c33110be0bf4650e4ffe9d99bb022863f5c57) 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-ssh11656153016795126416.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-ssh15977457876950925904.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-1123/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-1123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh708420092914367936.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-ssh16050025406023685685.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-1123/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-1123/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17029572285551319278.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20730 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [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-1123 # 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 > 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/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d Merge succeeded, producing 106b3f240b44d39bf24f90023f483d7ad428017d Checking out Revision 106b3f240b44d39bf24f90023f483d7ad428017d (PR-1123) > git config core.sparsecheckout # timeout=10 > git checkout -f 854a1d02177849dfca254246521bbb7ea3bc181d # 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 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 106b3f240b44d39bf24f90023f483d7ad428017d # timeout=10 Commit message: "Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:24 ========================================================= 22:42:24 EdgeX Global Pipelines Version Info 22:42:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:24 ------------------- 22:42:24 stable info: 22:42:24 ------------------- 22:42:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:24 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:42:24 Message: update stable to v1.0.221 > git rev-list --no-walk 3325adb14315d6a270dca8262662c3c97c14334c # timeout=10 22:42:25 ------------------- 22:42:25 experimental info: 22:42:25 ------------------- 22:42:25 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:25 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:42:25 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1123 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1123 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1123 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 106b3f2 [Pipeline] echo 22:42:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:26 provisioning config files... 22:42:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config3731838238590298996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:26 ---> docker-login.sh 22:42:26 nexus3.edgexfoundry.org:10001 22:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:26 Configure a credential helper to remove this warning. See 22:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:26 22:42:26 Login Succeeded 22:42:26 nexus3.edgexfoundry.org:10002 22:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:26 Configure a credential helper to remove this warning. See 22:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:26 22:42:26 Login Succeeded 22:42:26 nexus3.edgexfoundry.org:10003 22:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:26 Configure a credential helper to remove this warning. See 22:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:26 22:42:26 Login Succeeded 22:42:26 nexus3.edgexfoundry.org:10004 22:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:27 Configure a credential helper to remove this warning. See 22:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:27 22:42:27 Login Succeeded 22:42:27 docker.io 22:42:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:27 Configure a credential helper to remove this warning. See 22:42:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:27 22:42:27 Login Succeeded 22:42:27 ---> docker-login.sh ends [Pipeline] } 22:42:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:42:28 + git rev-list -1 --merges 106b3f240b44d39bf24f90023f483d7ad428017d~1..106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] echo 22:42:28 -----------> git rev-list -1 --merges 106b3f240b44d39bf24f90023f483d7ad428017d~1..106b3f240b44d39bf24f90023f483d7ad428017d 106b3f240b44d39bf24f90023f483d7ad428017d 22:42:28 106b3f240b44d39bf24f90023f483d7ad428017d [false] [Pipeline] sh 22:42:28 + git log --format=format:%s -1 106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] echo 22:42:28 ========================================================= 22:42:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:42:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:28 + git log --format=format:%s -1 106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] echo 22:42:28 [semverPrep] GIT_COMMIT: 106b3f240b44d39bf24f90023f483d7ad428017d, Commit Message: Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD [Pipeline] echo 22:42:28 [semverPrep] This is not a build commit. [Pipeline] sh 22:42:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:42:29 + grep -v github /etc/ssh/ssh_known_hosts 22:42:29 + [ -e /tmp/ssh_known_hosts ] 22:42:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:42:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:42:29 + sudo tee -a /etc/ssh/ssh_known_hosts 22:42:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:42:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:29 22:42:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:42:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:29 latest: Pulling from edgex-devops/git-semver 22:42:29 a0d0a0d46f8b: Pulling fs layer 22:42:29 3e5f54012d9b: Pulling fs layer 22:42:29 4c7163046ea9: Pulling fs layer 22:42:29 0c2d73faf560: Pulling fs layer 22:42:29 0c2d73faf560: Waiting 22:42:29 3e5f54012d9b: Verifying Checksum 22:42:29 3e5f54012d9b: Download complete 22:42:29 a0d0a0d46f8b: Download complete 22:42:29 0c2d73faf560: Verifying Checksum 22:42:29 0c2d73faf560: Download complete 22:42:30 4c7163046ea9: Verifying Checksum 22:42:30 4c7163046ea9: Download complete 22:42:30 a0d0a0d46f8b: Pull complete 22:42:30 3e5f54012d9b: Pull complete 22:42:30 4c7163046ea9: Pull complete 22:42:30 0c2d73faf560: Pull complete 22:42:30 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:42:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:42:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:42:30 prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container 22:42:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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:42:31 $ docker top f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:31 [ssh-agent] Looking for ssh-agent implementation... 22:42:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:31 $ docker exec f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d ssh-agent 22:42:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXclLgNh/agent.14 22:42:32 SSH_AGENT_PID=20 22:42:32 Running ssh-add (command line suppressed) 22:42:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_7527283505563870791.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_7527283505563870791.key) 22:42:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:32 + git tag --points-at HEAD [Pipeline] } 22:42:32 $ docker exec --env ******** --env ******** f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d ssh-agent -k 22:42:32 unset SSH_AUTH_SOCK; 22:42:32 unset SSH_AGENT_PID; 22:42:32 echo Agent pid 20 killed; 22:42:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:32 [ssh-agent] Looking for ssh-agent implementation... 22:42:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:32 $ docker exec f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d ssh-agent 22:42:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNdeeah/agent.52 22:42:32 SSH_AGENT_PID=58 22:42:32 Running ssh-add (command line suppressed) 22:42:33 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_745233129785787141.key (/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/private_key_745233129785787141.key) 22:42:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:33 + git semver init 22:42:33 # -> Open(): unable to determine branch for HEAD 22:42:33 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.git 22:42:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1123 22:42:33 # $SEMVER_REMOTE_NAME = origin 22:42:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:42:33 # $SEMVER_USER_NAME = edgex-jenkins 22:42:33 # $SEMVER_BRANCH = PR-1123 22:42:33 # $SEMVER_TEMP = /tmp/semver-060493420 22:42:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:42:34 # '/tmp/semver-060493420' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver' 22:42:34 # -> Force: false 22:42:34 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1123/.semver [Pipeline] } 22:42:34 $ docker exec --env ******** --env ******** f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d ssh-agent -k 22:42:34 unset SSH_AUTH_SOCK; 22:42:34 unset SSH_AGENT_PID; 22:42:34 echo Agent pid 58 killed; 22:42:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:35 + git semver [Pipeline] } 22:42:35 $ docker stop --time=1 f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d 22:42:36 $ docker rm -f f1f10f266a2670bfeae810714fce2a2a710e4925ae118421a58fc21262fa0e8d [Pipeline] // withDockerContainer [Pipeline] sh 22:42:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:37 Stashed 1 file(s) [Pipeline] echo 22:42:37 [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:42:37 provisioning config files... 22:42:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config2080414597961113081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:37 ---> docker-login.sh 22:42:37 nexus3.edgexfoundry.org:10001 22:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:37 Configure a credential helper to remove this warning. See 22:42:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:37 22:42:37 Login Succeeded 22:42:37 nexus3.edgexfoundry.org:10002 22:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:38 Configure a credential helper to remove this warning. See 22:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:38 22:42:38 Login Succeeded 22:42:38 nexus3.edgexfoundry.org:10003 22:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:38 Configure a credential helper to remove this warning. See 22:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:38 22:42:38 Login Succeeded 22:42:38 nexus3.edgexfoundry.org:10004 22:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:38 Configure a credential helper to remove this warning. See 22:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:38 22:42:38 Login Succeeded 22:42:38 docker.io 22:42:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:38 Configure a credential helper to remove this warning. See 22:42:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:38 22:42:38 Login Succeeded 22:42:38 ---> docker-login.sh ends [Pipeline] } 22:42:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:38 ========================================================= 22:42:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:42:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:42:39 + 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:42:39 Sending build context to Docker daemon 9.584MB 22:42:39 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:42:39 Step 2/11 : FROM ${BASE} AS builder 22:42:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:42:39 59bf1c3509f3: Pulling fs layer 22:42:39 666ba61612fd: Pulling fs layer 22:42:39 8ed8ca486205: Pulling fs layer 22:42:39 4fe6c5a15a65: Pulling fs layer 22:42:39 22a0e8bec74d: Pulling fs layer 22:42:39 640e595b4fbd: Pulling fs layer 22:42:39 763cafe07f6e: Pulling fs layer 22:42:39 0c0b528cf693: Pulling fs layer 22:42:39 10935f4eaf8b: Pulling fs layer 22:42:39 640e595b4fbd: Waiting 22:42:39 763cafe07f6e: Waiting 22:42:39 0c0b528cf693: Waiting 22:42:39 10935f4eaf8b: Waiting 22:42:39 4fe6c5a15a65: Waiting 22:42:39 22a0e8bec74d: Waiting 22:42:39 8ed8ca486205: Verifying Checksum 22:42:39 8ed8ca486205: Download complete 22:42:39 666ba61612fd: Verifying Checksum 22:42:39 666ba61612fd: Download complete 22:42:39 22a0e8bec74d: Verifying Checksum 22:42:39 22a0e8bec74d: Download complete 22:42:39 640e595b4fbd: Verifying Checksum 22:42:39 640e595b4fbd: Download complete 22:42:39 59bf1c3509f3: Verifying Checksum 22:42:39 59bf1c3509f3: Download complete 22:42:39 763cafe07f6e: Verifying Checksum 22:42:39 763cafe07f6e: Download complete 22:42:39 0c0b528cf693: Verifying Checksum 22:42:39 0c0b528cf693: Download complete 22:42:39 59bf1c3509f3: Pull complete 22:42:39 666ba61612fd: Pull complete 22:42:39 8ed8ca486205: Pull complete 22:42:39 10935f4eaf8b: Verifying Checksum 22:42:39 10935f4eaf8b: Download complete 22:42:40 4fe6c5a15a65: Verifying Checksum 22:42:40 4fe6c5a15a65: Download complete 22:42:44 4fe6c5a15a65: Pull complete 22:42:44 22a0e8bec74d: Pull complete 22:42:44 640e595b4fbd: Pull complete 22:42:44 763cafe07f6e: Pull complete 22:42:44 0c0b528cf693: Pull complete 22:42:47 10935f4eaf8b: Pull complete 22:42:47 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 22:42:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:42:47 ---> 99d49a6021b9 22:42:47 Step 3/11 : ARG MAKE=make build 22:42:48 ---> Running in 4270d5bb159e 22:42:48 Removing intermediate container 4270d5bb159e 22:42:48 ---> 15ad7f4dd6a1 22:42:48 Step 4/11 : WORKDIR /device-sdk-go 22:42:48 ---> Running in 0d85513318a9 22:42:48 Removing intermediate container 0d85513318a9 22:42:48 ---> 4bc754c5e8da 22:42:48 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:42:48 ---> Running in c15320a988f0 22:42:48 Removing intermediate container c15320a988f0 22:42:48 ---> 7b87e5a665d4 22:42:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:48 ---> Running in 7a2322240f46 22:42:49 Removing intermediate container 7a2322240f46 22:42:49 ---> e162dab74c7c 22:42:49 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:42:49 ---> Running in 88ed21fdb44a 22:42:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:42:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:42:50 OK: 221 MiB in 52 packages 22:42:50 Removing intermediate container 88ed21fdb44a 22:42:50 ---> 84ab320670ee 22:42:50 Step 8/11 : COPY go.mod vendor* ./ 22:42:51 ---> 6dd2bb472435 22:42:51 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:51 ---> Running in 7bb0c80af0e3 22:42:52 Still waiting to schedule task 22:42:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-20731’ is offline 22:43:06 Removing intermediate container 7bb0c80af0e3 22:43:06 ---> 41061075809f 22:43:06 Step 10/11 : COPY . . 22:43:06 ---> 481a5335d81f 22:43:06 Step 11/11 : RUN ${MAKE} 22:43:06 ---> Running in 251b52ab3fd6 22:43:06 noop 22:43:06 Removing intermediate container 251b52ab3fd6 22:43:06 ---> bbff37a3d537 22:43:06 Successfully built bbff37a3d537 22:43:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:43:06 + docker inspect -f . ci-base-image-x86_64 22:43:06 . [Pipeline] withDockerContainer 22:43:06 prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container 22:43:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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:43:07 $ docker top f2a88ab9dd466c2d84a75c00bffbdcad259e9eac02f1b43a5d4b3bda3884650b -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:07 + go version 22:43:07 go version go1.17.6 linux/amd64 [Pipeline] } 22:43:07 $ docker stop --time=1 f2a88ab9dd466c2d84a75c00bffbdcad259e9eac02f1b43a5d4b3bda3884650b 22:43:08 $ docker rm -f f2a88ab9dd466c2d84a75c00bffbdcad259e9eac02f1b43a5d4b3bda3884650b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:43:09 + docker inspect -f . ci-base-image-x86_64 22:43:09 . [Pipeline] withDockerContainer 22:43:09 prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container 22:43:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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:43:09 $ docker top b537a13e503696c98384b7e1c6d23ae30bd00fed77f2cbc67978f9df7662230f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:43:10 + make test 22:43:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:43:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:43:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 23.3% of statements 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:43:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements 22:43:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements 22:43:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.086s coverage: 10.8% of statements 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:43:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 33.2% of statements 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:43:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 86.1% of statements 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:43:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 57.4% of statements 22:43:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.772s coverage: 89.2% of statements 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:43:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.8% of statements 22:43:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:43:47 GO111MODULE=on go vet ./... 22:43:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:43:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:43:49 ./bin/test-attribution-txt.sh [Pipeline] echo 22:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:43:50 $ docker stop --time=1 b537a13e503696c98384b7e1c6d23ae30bd00fed77f2cbc67978f9df7662230f 22:43:52 $ docker rm -f b537a13e503696c98384b7e1c6d23ae30bd00fed77f2cbc67978f9df7662230f [Pipeline] // withDockerContainer [Pipeline] sh 22:43:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:43:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:43:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:43:53 + ls -al . 22:43:53 total 316 22:43:53 drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 22:43 . 22:43:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:42 .. 22:43:53 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 22:42 .dockerignore 22:43:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:42 .git 22:43:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:42 .github 22:43:53 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 22:42 .gitignore 22:43:53 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:42 .golangci.yml 22:43:53 drwx------ 3 jenkins jenkins 4096 Apr 12 22:42 .semver 22:43:53 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 22:42 CHANGELOG.md 22:43:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:42 GOVERNANCE.md 22:43:53 -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 22:42 Jenkinsfile 22:43:53 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 22:42 LICENSE 22:43:53 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 22:42 Makefile 22:43:53 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 22:42 OWNERS.md 22:43:53 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 22:42 README.md 22:43:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:42 VERSION 22:43:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:42 bin 22:43:53 -rw-r--r-- 1 jenkins jenkins 129061 Apr 12 22:43 coverage.out 22:43:53 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:42 example 22:43:53 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 12 22:42 go.mod 22:43:53 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 12 22:42 go.sum 22:43:53 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 22:42 internal 22:43:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:42 openapi 22:43:53 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:42 pkg 22:43:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:42 snap 22:43:53 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 22:42 version.go [Pipeline] isUnix [Pipeline] sh 22:43:54 + 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=106b3f240b44d39bf24f90023f483d7ad428017d --label arch=amd64 --label version=0.0.0 . 22:43:54 Sending build context to Docker daemon 9.714MB 22:43:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:43:54 Step 2/25 : FROM ${BASE} AS builder 22:43:54 ---> bbff37a3d537 22:43:54 Step 3/25 : ARG MAKE=make build 22:43:54 ---> Running in e271d094f6df 22:43:54 Removing intermediate container e271d094f6df 22:43:54 ---> bfdc59e4efbf 22:43:54 Step 4/25 : WORKDIR /device-sdk-go 22:43:54 ---> Running in eb48155809ff 22:43:54 Removing intermediate container eb48155809ff 22:43:54 ---> b2cec1b33e42 22:43:54 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:43:54 ---> Running in 4080c2a51fba 22:43:54 Removing intermediate container 4080c2a51fba 22:43:54 ---> e385625646ac 22:43:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:54 ---> Running in 5891a190245a 22:43:55 Removing intermediate container 5891a190245a 22:43:55 ---> eadd5c55033b 22:43:55 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:43:55 ---> Running in ab8bc80cdfab 22:43:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:43:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:43:56 OK: 221 MiB in 52 packages 22:43:57 Removing intermediate container ab8bc80cdfab 22:43:57 ---> d68a6705cce2 22:43:57 Step 8/25 : COPY go.mod vendor* ./ 22:43:57 ---> c253bd046c16 22:43:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:57 ---> Running in f640f467cc17 22:43:57 Removing intermediate container f640f467cc17 22:43:57 ---> 809e7499e66c 22:43:57 Step 10/25 : COPY . . 22:43:58 ---> b45d5b05abe4 22:43:58 Step 11/25 : RUN ${MAKE} 22:43:58 ---> Running in 17ce952f6d7c 22:43:58 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:44:16 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:44:19 Removing intermediate container 17ce952f6d7c 22:44:19 ---> ce602b451c29 22:44:19 Step 12/25 : FROM alpine:3.14 22:44:19 3.14: Pulling from library/alpine 22:44:19 8663204ce13b: Pulling fs layer 22:44:19 8663204ce13b: Verifying Checksum 22:44:19 8663204ce13b: Download complete 22:44:19 8663204ce13b: Pull complete 22:44:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:44:20 Status: Downloaded newer image for alpine:3.14 22:44:20 ---> e04c818066af 22:44:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:20 ---> Running in 88163f0da0c2 22:44:20 Removing intermediate container 88163f0da0c2 22:44:20 ---> cd10260fd0dd 22:44:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:20 ---> Running in de49efeba456 22:44:20 Removing intermediate container de49efeba456 22:44:20 ---> 6739a7820291 22:44:20 Step 15/25 : RUN apk add --update --no-cache zeromq 22:44:21 ---> Running in 51d3274981cf 22:44:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:44:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:44:22 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:44:22 (2/5) Installing libsodium (1.0.18-r0) 22:44:22 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:44:22 (4/5) Installing libzmq (4.3.4-r0) 22:44:22 (5/5) Installing zeromq (4.3.4-r0) 22:44:22 Executing busybox-1.33.1-r7.trigger 22:44:22 OK: 8 MiB in 19 packages 22:44:23 Removing intermediate container 51d3274981cf 22:44:23 ---> 9d138291084c 22:44:23 Step 16/25 : WORKDIR / 22:44:23 ---> Running in 123b114a3ec9 22:44:23 Removing intermediate container 123b114a3ec9 22:44:23 ---> 490cc54a2199 22:44:23 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:44:23 ---> c165b68bea57 22:44:23 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:44:24 ---> f729ee8a97d4 22:44:24 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:44:24 ---> 96a57cdbd0ac 22:44:24 Step 20/25 : EXPOSE 59999 22:44:24 ---> Running in e3278d8f9ee0 22:44:24 Removing intermediate container e3278d8f9ee0 22:44:24 ---> 90e13cf3b2c8 22:44:24 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:44:24 ---> Running in 338f2905ddd2 22:44:24 Removing intermediate container 338f2905ddd2 22:44:24 ---> c82783e4b871 22:44:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:44:24 ---> Running in 7ae27b00042b 22:44:24 Removing intermediate container 7ae27b00042b 22:44:24 ---> 00f2803218fa 22:44:24 Step 23/25 : LABEL arch=amd64 22:44:24 ---> Running in 38f6074ec29f 22:44:24 Removing intermediate container 38f6074ec29f 22:44:24 ---> 042fd570259c 22:44:24 Step 24/25 : LABEL git_sha=106b3f240b44d39bf24f90023f483d7ad428017d 22:44:24 ---> Running in df23deaf3886 22:44:24 Removing intermediate container df23deaf3886 22:44:24 ---> d8a56b89c15d 22:44:24 Step 25/25 : LABEL version=0.0.0 22:44:24 ---> Running in 0c81061c6fd6 22:44:25 Removing intermediate container 0c81061c6fd6 22:44:25 ---> 6a13c9a7d297 22:44:25 [Warning] One or more build-args [ARCH] were not consumed 22:44:25 Successfully built 6a13c9a7d297 22:44:25 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:44:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:25 22:44:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:44:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:25 latest: Pulling from edgex-lftools-log-publisher 22:44:25 5eb5b503b376: Pulling fs layer 22:44:25 5c69ac0246d0: Pulling fs layer 22:44:25 ec43610c2a17: Pulling fs layer 22:44:25 3a2ae6a8a46f: Pulling fs layer 22:44:25 33b1e0a273af: Pulling fs layer 22:44:25 5d3b04190fa2: Pulling fs layer 22:44:25 2f39f015ded8: Pulling fs layer 22:44:25 33b1e0a273af: Waiting 22:44:25 5d3b04190fa2: Waiting 22:44:25 2f39f015ded8: Waiting 22:44:25 3a2ae6a8a46f: Waiting 22:44:25 5c69ac0246d0: Verifying Checksum 22:44:25 5c69ac0246d0: Download complete 22:44:25 3a2ae6a8a46f: Verifying Checksum 22:44:25 3a2ae6a8a46f: Download complete 22:44:25 33b1e0a273af: Verifying Checksum 22:44:25 33b1e0a273af: Download complete 22:44:25 5d3b04190fa2: Download complete 22:44:25 ec43610c2a17: Verifying Checksum 22:44:25 ec43610c2a17: Download complete 22:44:25 5eb5b503b376: Verifying Checksum 22:44:25 5eb5b503b376: Download complete 22:44:26 2f39f015ded8: Download complete 22:44:27 5eb5b503b376: Pull complete 22:44:27 5c69ac0246d0: Pull complete 22:44:28 ec43610c2a17: Pull complete 22:44:28 3a2ae6a8a46f: Pull complete 22:44:28 33b1e0a273af: Pull complete 22:44:28 5d3b04190fa2: Pull complete 22:44:33 2f39f015ded8: Pull complete 22:44:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:44:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:44:33 prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container 22:44:33 $ 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-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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:44:35 $ docker top fd3bad61d87e45c77b3c4ec8fd87ebfa5d50744c7a19840593136a9409e33c0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:36 ---> job-cost.sh 22:44:36 lf-activate-venv: SKIPPING 22:44:36 INFO: No Stack... 22:44:36 INFO: Retrieving Pricing Info for: v3-standard-8 22:44:36 INFO: Archiving Costs [Pipeline] sh 22:44:37 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/cost.csv 22:44:37 + cut -d, -f6 [Pipeline] lock 22:44:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] 22:44:37 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] did not exist. Created. 22:44:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:44:37 + echo total: 0.2199999988079071 [Pipeline] stash 22:44:37 Stashed 1 file(s) [Pipeline] } 22:44:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:44:37 $ docker stop --time=1 fd3bad61d87e45c77b3c4ec8fd87ebfa5d50744c7a19840593136a9409e33c0f 22:44:38 $ docker rm -f fd3bad61d87e45c77b3c4ec8fd87ebfa5d50744c7a19840593136a9409e33c0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:45:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20732 in /w/workspace/gexfoundry_device-sdk-go_PR-1123 [Pipeline] { [Pipeline] ws 22:45:23 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 22:45:24 The recommended git tool is: git 22:45:31 using credential edgex-jenkins-ssh 22:45:31 Cloning the remote Git repository 22:45:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:45:32 > git init /w/workspace/device-sdk-go/4 # timeout=10 22:45:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:32 > git --version # timeout=10 22:45:32 > git --version # 'git version 2.25.1' 22:45:32 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:34 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1123/head:refs/remotes/origin/PR-1123 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:45:34 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit 854a1d02177849dfca254246521bbb7ea3bc181d 22:45:35 Merge succeeded, producing fc18c769fae714dff2db1cdb3b1542ba98770df7 22:45:35 Checking out Revision fc18c769fae714dff2db1cdb3b1542ba98770df7 (PR-1123) 22:45:34 > git config core.sparsecheckout # timeout=10 22:45:34 > git checkout -f 854a1d02177849dfca254246521bbb7ea3bc181d # timeout=10 22:45:35 > git remote # timeout=10 22:45:35 > git config --get remote.origin.url # timeout=10 22:45:35 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:35 > git merge 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 22:45:35 > git rev-parse HEAD^{commit} # timeout=10 22:45:35 > git config core.sparsecheckout # timeout=10 22:45:35 > git checkout -f fc18c769fae714dff2db1cdb3b1542ba98770df7 # timeout=10 22:45:39 Commit message: "Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD" 22:45:39 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:45:40 % Total % Received % Xferd Average Speed Time Time Time Current 22:45:40 Dload Upload Total Spent Left Speed 22:45:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 22:45:39 > git rev-list --no-walk 3325adb14315d6a270dca8262662c3c97c14334c # timeout=10 22:45:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:45:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:45:41 + sudo tee /etc/docker/daemon.new 22:45:41 { 22:45:41 "registry-mirrors": [ 22:45:41 "https://nexus3.edgexfoundry.org:10001" 22:45:41 ], 22:45:41 "bip": "10.250.0.254/24", 22:45:41 "hosts": [ 22:45:41 "tcp://0.0.0.0:5555", 22:45:41 "unix:///var/run/docker.sock" 22:45:41 ], 22:45:41 "mtu": 1458, 22:45:41 "selinux-enabled": true, 22:45:41 "seccomp-profile": "/etc/docker/seccomp.json" 22:45:41 } [Pipeline] sh 22:45:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:45:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:00 provisioning config files... 22:46:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7409294137525257163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:01 ---> docker-login.sh 22:46:01 nexus3.edgexfoundry.org:10001 22:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:01 Configure a credential helper to remove this warning. See 22:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:01 22:46:01 Login Succeeded 22:46:01 nexus3.edgexfoundry.org:10002 22:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:02 Configure a credential helper to remove this warning. See 22:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:02 22:46:02 Login Succeeded 22:46:02 nexus3.edgexfoundry.org:10003 22:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:02 Configure a credential helper to remove this warning. See 22:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:02 22:46:02 Login Succeeded 22:46:02 nexus3.edgexfoundry.org:10004 22:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:03 Configure a credential helper to remove this warning. See 22:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:03 22:46:03 Login Succeeded 22:46:03 docker.io 22:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:03 Configure a credential helper to remove this warning. See 22:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:03 22:46:03 Login Succeeded 22:46:03 ---> docker-login.sh ends [Pipeline] } 22:46:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:46:04 ========================================================= 22:46:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:46:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:46:04 + 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 . 22:46:05 Sending build context to Docker daemon 5.175MB 22:46:05 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:46:05 Step 2/11 : FROM ${BASE} AS builder 22:46:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:05 9b3977197b4f: Pulling fs layer 22:46:05 1a89e8eeedd5: Pulling fs layer 22:46:05 94645a83ff95: Pulling fs layer 22:46:05 3f3a8bcf1eab: Pulling fs layer 22:46:05 0c92f367c5e7: Pulling fs layer 22:46:05 f7c0051592d6: Pulling fs layer 22:46:05 a227ed2f7395: Pulling fs layer 22:46:05 7b1c46037f91: Pulling fs layer 22:46:05 3f3a8bcf1eab: Waiting 22:46:05 0c92f367c5e7: Waiting 22:46:05 f7c0051592d6: Waiting 22:46:05 a227ed2f7395: Waiting 22:46:05 7b1c46037f91: Waiting 22:46:05 94645a83ff95: Verifying Checksum 22:46:05 94645a83ff95: Download complete 22:46:05 1a89e8eeedd5: Verifying Checksum 22:46:05 1a89e8eeedd5: Download complete 22:46:05 0c92f367c5e7: Verifying Checksum 22:46:05 0c92f367c5e7: Download complete 22:46:05 f7c0051592d6: Verifying Checksum 22:46:05 f7c0051592d6: Download complete 22:46:05 9b3977197b4f: Download complete 22:46:05 a227ed2f7395: Verifying Checksum 22:46:05 a227ed2f7395: Download complete 22:46:06 9b3977197b4f: Pull complete 22:46:06 1a89e8eeedd5: Pull complete 22:46:07 94645a83ff95: Pull complete 22:46:07 7b1c46037f91: Verifying Checksum 22:46:07 7b1c46037f91: Download complete 22:46:08 3f3a8bcf1eab: Verifying Checksum 22:46:08 3f3a8bcf1eab: Download complete 22:46:20 3f3a8bcf1eab: Pull complete 22:46:20 0c92f367c5e7: Pull complete 22:46:20 f7c0051592d6: Pull complete 22:46:20 a227ed2f7395: Pull complete 22:46:27 7b1c46037f91: Pull complete 22:46:27 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 22:46:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:46:27 ---> f79e39bc4007 22:46:27 Step 3/11 : ARG MAKE=make build 22:46:27 ---> Running in e2d7fc40096a 22:46:27 Removing intermediate container e2d7fc40096a 22:46:27 ---> ebb988a2a95a 22:46:27 Step 4/11 : WORKDIR /device-sdk-go 22:46:27 ---> Running in 0b5f6d0669ab 22:46:28 Removing intermediate container 0b5f6d0669ab 22:46:28 ---> 37c5bf3750af 22:46:28 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:28 ---> Running in 4b056a03a990 22:46:28 Removing intermediate container 4b056a03a990 22:46:28 ---> 251bf4fa2177 22:46:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:28 ---> Running in d751fd992803 22:46:30 Removing intermediate container d751fd992803 22:46:30 ---> 5bcc13af538d 22:46:30 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:46:30 ---> Running in 2fe995f542cd 22:46:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:46:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:46:33 OK: 220 MiB in 52 packages 22:46:33 Removing intermediate container 2fe995f542cd 22:46:33 ---> 46e1729ee260 22:46:33 Step 8/11 : COPY go.mod vendor* ./ 22:46:34 ---> ab0521e1526f 22:46:34 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:34 ---> Running in 05029ba695d3 22:47:21 Removing intermediate container 05029ba695d3 22:47:21 ---> 60df35152bb0 22:47:21 Step 10/11 : COPY . . 22:47:21 ---> 50d2af007b5d 22:47:21 Step 11/11 : RUN ${MAKE} 22:47:21 ---> Running in 20809ea7bd81 22:47:21 noop 22:47:21 Removing intermediate container 20809ea7bd81 22:47:21 ---> 248ba36c7019 22:47:21 Successfully built 248ba36c7019 22:47:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:47:21 + docker inspect -f . ci-base-image-arm64 22:47:21 . [Pipeline] withDockerContainer 22:47:22 prd-ubuntu20.04-docker-arm64-4c-16g-20732 does not seem to be running inside a container 22:47:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 22:47:23 $ docker top 07bd9e13e3c3806cd34980160e7a95d9ff6bb994314270cffa593ff4c84d265d -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:24 + go version 22:47:24 go version go1.17.6 linux/arm64 [Pipeline] } 22:47:24 $ docker stop --time=1 07bd9e13e3c3806cd34980160e7a95d9ff6bb994314270cffa593ff4c84d265d 22:47:25 $ docker rm -f 07bd9e13e3c3806cd34980160e7a95d9ff6bb994314270cffa593ff4c84d265d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:26 + docker inspect -f . ci-base-image-arm64 22:47:26 . [Pipeline] withDockerContainer 22:47:26 prd-ubuntu20.04-docker-arm64-4c-16g-20732 does not seem to be running inside a container 22:47:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 22:47:28 $ docker top 60c65df8fb96e9f67d240d4b066f7804d65d12107b11eb64bd3a2633cd03cd57 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:47:29 + make test 22:47:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:48:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:49:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:49:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:49:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:49:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.336s coverage: 23.3% of statements 22:49:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:49:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.339s coverage: 27.6% of statements 22:49:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.320s coverage: 78.9% of statements 22:49:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.287s coverage: 10.8% of statements 22:49:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:49:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:49:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:49:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.415s coverage: 33.2% of statements 22:49:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:49:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.293s coverage: 86.1% of statements 22:49:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:49:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:49:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.405s coverage: 57.4% of statements 22:49:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.441s coverage: 89.2% of statements 22:49:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:50:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.239s coverage: 4.8% of statements 22:50:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:50:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:50:03 GO111MODULE=on go vet ./... 22:51:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:51:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:51:25 ./bin/test-attribution-txt.sh [Pipeline] echo 22:51:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:51:25 $ docker stop --time=1 60c65df8fb96e9f67d240d4b066f7804d65d12107b11eb64bd3a2633cd03cd57 22:51:27 $ docker rm -f 60c65df8fb96e9f67d240d4b066f7804d65d12107b11eb64bd3a2633cd03cd57 [Pipeline] // withDockerContainer [Pipeline] sh 22:51:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:51:28 Warning: overwriting stash ‘coverage-report’ 22:51:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:51:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:29 + ls -al . 22:51:29 total 312 22:51:29 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 22:51 . 22:51:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:45 .. 22:51:29 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 22:45 .dockerignore 22:51:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:45 .git 22:51:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:45 .github 22:51:29 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 22:45 .gitignore 22:51:29 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:45 .golangci.yml 22:51:29 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 22:45 CHANGELOG.md 22:51:29 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:45 GOVERNANCE.md 22:51:29 -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 22:45 Jenkinsfile 22:51:29 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 22:45 LICENSE 22:51:29 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 22:45 Makefile 22:51:29 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 22:45 OWNERS.md 22:51:29 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 22:45 README.md 22:51:29 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:42 VERSION 22:51:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:45 bin 22:51:29 -rw-r--r-- 1 jenkins jenkins 129061 Apr 12 22:50 coverage.out 22:51:29 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:45 example 22:51:29 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 12 22:45 go.mod 22:51:29 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 12 22:45 go.sum 22:51:29 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 22:45 internal 22:51:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:45 openapi 22:51:29 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:45 pkg 22:51:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:45 snap 22:51:29 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:51:30 + 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=fc18c769fae714dff2db1cdb3b1542ba98770df7 --label arch=arm64 --label version=0.0.0 . 22:51:30 Sending build context to Docker daemon 5.305MB 22:51:30 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:51:30 Step 2/25 : FROM ${BASE} AS builder 22:51:30 ---> 248ba36c7019 22:51:30 Step 3/25 : ARG MAKE=make build 22:51:30 ---> Running in c45312d74f6c 22:51:31 Removing intermediate container c45312d74f6c 22:51:31 ---> 59e73844ddbc 22:51:31 Step 4/25 : WORKDIR /device-sdk-go 22:51:31 ---> Running in 2b2935343d74 22:51:31 Removing intermediate container 2b2935343d74 22:51:31 ---> a6a3547f2171 22:51:31 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:51:31 ---> Running in fea98c1df810 22:51:31 Removing intermediate container fea98c1df810 22:51:31 ---> 25cce3244bc3 22:51:31 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:31 ---> Running in db8d437f4947 22:51:33 Removing intermediate container db8d437f4947 22:51:33 ---> 3cce6f1531c8 22:51:33 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:51:33 ---> Running in 12476cc1cf03 22:51:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:51:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:51:36 OK: 220 MiB in 52 packages 22:51:37 Removing intermediate container 12476cc1cf03 22:51:37 ---> 49692ebe0459 22:51:37 Step 8/25 : COPY go.mod vendor* ./ 22:51:37 ---> 3530b39b29bc 22:51:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:37 ---> Running in 37e15e09db23 22:51:39 Removing intermediate container 37e15e09db23 22:51:39 ---> 471395f1075e 22:51:39 Step 10/25 : COPY . . 22:51:40 ---> 3042838fa85d 22:51:40 Step 11/25 : RUN ${MAKE} 22:51:40 ---> Running in 98b4e8ed4e73 22:51:41 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:53:33 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:53:40 Removing intermediate container 98b4e8ed4e73 22:53:40 ---> a16ed62cfa78 22:53:40 Step 12/25 : FROM alpine:3.14 22:53:40 3.14: Pulling from library/alpine 22:53:40 455c02918c45: Pulling fs layer 22:53:41 455c02918c45: Pull complete 22:53:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:53:41 Status: Downloaded newer image for alpine:3.14 22:53:41 ---> ac73e934f311 22:53:41 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:53:41 ---> Running in 47a06fd64129 22:53:41 Removing intermediate container 47a06fd64129 22:53:41 ---> 0ee4cef7ff68 22:53:41 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:53:41 ---> Running in 7180065f0e2d 22:53:43 Removing intermediate container 7180065f0e2d 22:53:43 ---> 5db2f4c0327a 22:53:43 Step 15/25 : RUN apk add --update --no-cache zeromq 22:53:43 ---> Running in 4755ec8709b3 22:53:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:53:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:53:46 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:53:46 (2/5) Installing libsodium (1.0.18-r0) 22:53:46 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:53:46 (4/5) Installing libzmq (4.3.4-r0) 22:53:46 (5/5) Installing zeromq (4.3.4-r0) 22:53:46 Executing busybox-1.33.1-r7.trigger 22:53:46 OK: 8 MiB in 19 packages 22:53:47 Removing intermediate container 4755ec8709b3 22:53:47 ---> 4f15915bdd6f 22:53:47 Step 16/25 : WORKDIR / 22:53:47 ---> Running in 5055af8d4132 22:53:47 Removing intermediate container 5055af8d4132 22:53:47 ---> 180d5d4178a8 22:53:47 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:53:48 ---> b60307ea9709 22:53:48 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:53:49 ---> b4f4a1019f36 22:53:49 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:53:50 ---> f5627e198b95 22:53:50 Step 20/25 : EXPOSE 59999 22:53:50 ---> Running in d8f742f9a1b5 22:53:50 Removing intermediate container d8f742f9a1b5 22:53:50 ---> a16c385c8e16 22:53:50 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:53:50 ---> Running in acbe8acb220d 22:53:50 Removing intermediate container acbe8acb220d 22:53:50 ---> ded34e2a5245 22:53:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:53:51 ---> Running in 2ea376eaf5de 22:53:51 Removing intermediate container 2ea376eaf5de 22:53:51 ---> cabb85870ec7 22:53:51 Step 23/25 : LABEL arch=arm64 22:53:51 ---> Running in 0b9f3697a4d7 22:53:51 Removing intermediate container 0b9f3697a4d7 22:53:51 ---> 47b9cdb75aa2 22:53:51 Step 24/25 : LABEL git_sha=fc18c769fae714dff2db1cdb3b1542ba98770df7 22:53:51 ---> Running in 7c67a87804ab 22:53:51 Removing intermediate container 7c67a87804ab 22:53:51 ---> d76ccc72637c 22:53:51 Step 25/25 : LABEL version=0.0.0 22:53:52 ---> Running in b1ee2dc90aa8 22:53:52 Removing intermediate container b1ee2dc90aa8 22:53:52 ---> 844ee31c4cb4 22:53:52 [Warning] One or more build-args [ARCH] were not consumed 22:53:52 Successfully built 844ee31c4cb4 22:53:52 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 22:53:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:52 22:53:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:53:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:53 arm64: Pulling from edgex-lftools-log-publisher 22:53:53 8998bd30e6a1: Pulling fs layer 22:53:53 04944245beec: Pulling fs layer 22:53:53 699f458cf7ca: Pulling fs layer 22:53:53 765212b225bb: Pulling fs layer 22:53:53 f23df028b6ca: Pulling fs layer 22:53:53 d65c8cfc05b1: Pulling fs layer 22:53:53 2437ff75d9bd: Pulling fs layer 22:53:53 765212b225bb: Waiting 22:53:53 f23df028b6ca: Waiting 22:53:53 d65c8cfc05b1: Waiting 22:53:53 2437ff75d9bd: Waiting 22:53:53 04944245beec: Verifying Checksum 22:53:53 04944245beec: Download complete 22:53:53 765212b225bb: Verifying Checksum 22:53:53 765212b225bb: Download complete 22:53:53 f23df028b6ca: Verifying Checksum 22:53:53 f23df028b6ca: Download complete 22:53:53 d65c8cfc05b1: Verifying Checksum 22:53:53 d65c8cfc05b1: Download complete 22:53:53 699f458cf7ca: Verifying Checksum 22:53:53 699f458cf7ca: Download complete 22:53:54 8998bd30e6a1: Download complete 22:53:56 2437ff75d9bd: Verifying Checksum 22:53:56 2437ff75d9bd: Download complete 22:53:58 8998bd30e6a1: Pull complete 22:53:58 04944245beec: Pull complete 22:54:00 699f458cf7ca: Pull complete 22:54:00 765212b225bb: Pull complete 22:54:01 f23df028b6ca: Pull complete 22:54:01 d65c8cfc05b1: Pull complete 22:54:16 2437ff75d9bd: Pull complete 22:54:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:54:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:54:17 prd-ubuntu20.04-docker-arm64-4c-16g-20732 does not seem to be running inside a container 22:54:17 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 22:54:19 $ docker top 370ae792f5d1d43ad1376db18b786f7634291863a2cfa4ead876e0952d60548c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:20 ---> job-cost.sh 22:54:20 lf-activate-venv: SKIPPING 22:54:20 INFO: No Stack... 22:54:23 INFO: Retrieving Pricing Info for: v3-standard-4 22:54:23 INFO: Archiving Costs [Pipeline] sh 22:54:24 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 22:54:24 + cut -d, -f6 [Pipeline] lock 22:54:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] 22:54:24 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] did not exist. Created. 22:54:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:54:25 /w/workspace/device-sdk-go/4@tmp/durable-728b1317/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:54:25 + echo total: 0.10999999940395355 [Pipeline] stash 22:54:25 Warning: overwriting stash ‘stack-cost’ 22:54:25 Stashed 1 file(s) [Pipeline] } 22:54:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1123-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:54:25 $ docker stop --time=1 370ae792f5d1d43ad1376db18b786f7634291863a2cfa4ead876e0952d60548c 22:54:27 $ docker rm -f 370ae792f5d1d43ad1376db18b786f7634291863a2cfa4ead876e0952d60548c [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 22:54:27 provisioning config files... 22:54:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config43225951773394898tmp [Pipeline] { [Pipeline] sh 22:54:28 + set +x 22:54:28 + curl -s https://codecov.io/bash 22:54:28 + bash -s -- 22:54:28 22:54:28 _____ _ 22:54:28 / ____| | | 22:54:28 | | ___ __| | ___ ___ _____ __ 22:54:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:54:28 | |___| (_) | (_| | __/ (_| (_) \ V / 22:54:28 \_____\___/ \__,_|\___|\___\___/ \_/ 22:54:28 Bash-1.0.6 22:54:28 22:54:28 22:54:28 ==> git version 2.25.1 found 22:54:28 ==> 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 22:54:28 Release-Date: 2020-01-08 22:54:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:54:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:54:28 ==> Jenkins CI detected. 22:54:28 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1123 22:54:28 project root: . 22:54:28 --> token set from env 22:54:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:54:28 ==> Running gcov in . (disable via -X gcov) 22:54:28 ==> Python coveragepy not found 22:54:28 ==> Searching for coverage reports in: 22:54:28 + . 22:54:28 -> Found 1 reports 22:54:28 ==> Detecting git/mercurial file structure 22:54:28 ==> Reading reports 22:54:28 + ./coverage.out bytes=129061 22:54:28 ==> Appending adjustments 22:54:28 https://docs.codecov.io/docs/fixing-reports 22:54:28 + Found adjustments 22:54:28 ==> Gzipping contents 22:54:28 20K /tmp/codecov.7WQi2w.gz 22:54:28 ==> Uploading reports 22:54:28 url: https://codecov.io 22:54:28 query: branch=PR-1123&commit=106b3f240b44d39bf24f90023f483d7ad428017d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= 22:54:28 -> Pinging Codecov 22:54:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1123&commit=106b3f240b44d39bf24f90023f483d7ad428017d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1123%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1123&job=&cmd_args= 22:54:28 -> Uploading to 22:54:28 https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/106b3f240b44d39bf24f90023f483d7ad428017d/6d631b33-8b23-436a-88cd-68ed872dc8f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T225428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa265b1c36f7fc0317e7a79e961c80f3db2146534bcd2ed8d4df711d73dce881 22:54:28 % Total % Received % Xferd Average Speed Time Time Time Current 22:54:28 Dload Upload Total Spent Left Speed 22:54:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16479 0 0 100 16479 0 74565 --:--:-- --:--:-- --:--:-- 74565 22:54:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/106b3f240b44d39bf24f90023f483d7ad428017d [Pipeline] } 22:54:28 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 22:54:29 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives ] 22:54:29 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives 22:54:29 total 16 22:54:29 drwxr-xr-x 3 root root 4096 Apr 12 22:44 . 22:54:29 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 22:44 .. 22:54:29 drwxr-xr-x 2 root root 4096 Apr 12 22:44 cost 22:54:29 -rw-r--r-- 1 root root 85 Apr 12 22:44 cost.csv 22:54:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives 22:54:29 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives 22:54:29 total 16 22:54:29 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 22:44 . 22:54:29 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 22:44 .. 22:54:29 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 22:44 cost 22:54:29 -rw-r--r-- 1 jenkins jenkins 85 Apr 12 22:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:54:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:54:30 ---> package-listing.sh 22:54:30 ++ facter osfamily 22:54:30 ++ tr '[:upper:]' '[:lower:]' 22:54:31 + OS_FAMILY=debian 22:54:31 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1123 22:54:31 + START_PACKAGES=/tmp/packages_start.txt 22:54:31 + END_PACKAGES=/tmp/packages_end.txt 22:54:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:54:31 + PACKAGES=/tmp/packages_start.txt 22:54:31 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' 22:54:31 + PACKAGES=/tmp/packages_end.txt 22:54:31 + case "${OS_FAMILY}" in 22:54:31 + dpkg -l 22:54:31 + grep '^ii' 22:54:31 + '[' -f /tmp/packages_start.txt ']' 22:54:31 + '[' -f /tmp/packages_end.txt ']' 22:54:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:54:31 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1123 ']' 22:54:31 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ 22:54:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1123/archives/ [Pipeline] echo 22:54:31 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-1123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:54:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:54:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:54:32 . [Pipeline] withDockerContainer 22:54:32 prd-ubuntu20.04-docker-8c-8g-20730 does not seem to be running inside a container 22:54:32 $ 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-1123/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-1123 -v /w/workspace/gexfoundry_device-sdk-go_PR-1123:/w/workspace/gexfoundry_device-sdk-go_PR-1123:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1123@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 22:54:32 $ docker top d3cf58354a238a9f0fefa0a5bf01965fc884742a875171d13aba276019cc4f30 -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:32 + touch /tmp/pre-build-complete [Pipeline] sh 22:54:33 + mkdir -p /var/log/sysstat [Pipeline] sh 22:54:33 + ls /var/log/sa-host 22:54:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:33 provisioning config files... 22:54:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1123@tmp/config1713702779595329479tmp [Pipeline] { [Pipeline] echo 22:54:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:54:33 ---> create-netrc.sh [Pipeline] } 22:54:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:54:34 ---> python-tools-install.sh [Pipeline] echo 22:54:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:54:34 ---> sudo-logs.sh 22:54:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:54:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:34 ---> job-cost.sh 22:54:34 lf-activate-venv: SKIPPING 22:54:34 DEBUG: total: 0.2199999988079071 22:54:34 INFO: Retrieving Stack Cost... 22:54:35 INFO: Retrieving Pricing Info for: v3-standard-8 22:54:35 INFO: Archiving Costs [Pipeline] echo 22:54:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:35 ---> logs-deploy.sh 22:54:35 lf-activate-venv: SKIPPING 22:54:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1123/4 22:54:35 INFO: archiving workspace using pattern(s): 22:54:36 Archives upload complete. 22:54:36 INFO: archiving logs to Nexus