Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 45e6addfd964a0ca7ed47e9673a51a0c53e11884 rather than 3593550cb183f04032b99acb80b17e47af38cf69 Obtained Jenkinsfile from 45e6addfd964a0ca7ed47e9673a51a0c53e11884 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7093477867254336349.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-ssh13802081939570678575.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-1130/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-1130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6580474495202936302.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-ssh17764591794178393381.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-1130/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-1130/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3289250199808467418.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-20729 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [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-1130 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit 3593550cb183f04032b99acb80b17e47af38cf69 > 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/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 061a315398b7745a571a29e8bcb27353e985ff0c Checking out Revision 061a315398b7745a571a29e8bcb27353e985ff0c (PR-1130) > 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 061a315398b7745a571a29e8bcb27353e985ff0c # timeout=10 Commit message: "Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD" > git rev-list --no-walk 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:21 ========================================================= 22:41:21 EdgeX Global Pipelines Version Info 22:41:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:22 ------------------- 22:41:22 stable info: 22:41:22 ------------------- 22:41:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:22 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:41:22 Message: update stable to v1.0.221 22:41:23 ------------------- 22:41:23 experimental info: 22:41:23 ------------------- 22:41:23 Commited By: **** collab-it+edgex@linuxfoundation.org 22:41:23 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:41:23 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1130 [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1130 [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1130 [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 061a315 [Pipeline] echo 22:41:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:23 provisioning config files... 22:41:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config2373342495571291102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:24 ---> docker-login.sh 22:41:24 nexus3.edgexfoundry.org:10001 22:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:24 Configure a credential helper to remove this warning. See 22:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:24 22:41:24 Login Succeeded 22:41:24 nexus3.edgexfoundry.org:10002 22:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:24 Configure a credential helper to remove this warning. See 22:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:24 22:41:24 Login Succeeded 22:41:24 nexus3.edgexfoundry.org:10003 22:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:24 Configure a credential helper to remove this warning. See 22:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:24 22:41:24 Login Succeeded 22:41:24 nexus3.edgexfoundry.org:10004 22:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:24 Configure a credential helper to remove this warning. See 22:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:24 22:41:24 Login Succeeded 22:41:24 docker.io 22:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:25 Configure a credential helper to remove this warning. See 22:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:25 22:41:25 Login Succeeded 22:41:25 ---> docker-login.sh ends [Pipeline] } 22:41:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:41:25 + git rev-list -1 --merges 061a315398b7745a571a29e8bcb27353e985ff0c~1..061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] echo 22:41:25 -----------> git rev-list -1 --merges 061a315398b7745a571a29e8bcb27353e985ff0c~1..061a315398b7745a571a29e8bcb27353e985ff0c 061a315398b7745a571a29e8bcb27353e985ff0c 22:41:25 061a315398b7745a571a29e8bcb27353e985ff0c [false] [Pipeline] sh 22:41:26 + git log --format=format:%s -1 061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] echo 22:41:26 ========================================================= 22:41:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:41:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:41:26 + git log --format=format:%s -1 061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] echo 22:41:26 [semverPrep] GIT_COMMIT: 061a315398b7745a571a29e8bcb27353e985ff0c, Commit Message: Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD [Pipeline] echo 22:41:26 [semverPrep] This is not a build commit. [Pipeline] sh 22:41:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:41:27 + grep -v github /etc/ssh/ssh_known_hosts 22:41:27 + [ -e /tmp/ssh_known_hosts ] 22:41:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:41:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:41:27 + sudo tee -a /etc/ssh/ssh_known_hosts 22:41:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:41:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:27 22:41:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:41:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:27 latest: Pulling from edgex-devops/git-semver 22:41:27 a0d0a0d46f8b: Pulling fs layer 22:41:27 3e5f54012d9b: Pulling fs layer 22:41:27 4c7163046ea9: Pulling fs layer 22:41:27 0c2d73faf560: Pulling fs layer 22:41:27 0c2d73faf560: Waiting 22:41:27 3e5f54012d9b: Verifying Checksum 22:41:27 3e5f54012d9b: Download complete 22:41:27 a0d0a0d46f8b: Download complete 22:41:27 0c2d73faf560: Verifying Checksum 22:41:27 0c2d73faf560: Download complete 22:41:27 4c7163046ea9: Verifying Checksum 22:41:27 4c7163046ea9: Download complete 22:41:28 a0d0a0d46f8b: Pull complete 22:41:28 3e5f54012d9b: Pull complete 22:41:28 4c7163046ea9: Pull complete 22:41:28 0c2d73faf560: Pull complete 22:41:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:41:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:41:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:41:28 prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container 22:41:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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:10004/edgex-devops/git-semver:latest cat 22:41:29 $ docker top 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:29 [ssh-agent] Looking for ssh-agent implementation... 22:41:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:29 $ docker exec 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 ssh-agent 22:41:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcGccdn/agent.14 22:41:29 SSH_AGENT_PID=20 22:41:29 Running ssh-add (command line suppressed) 22:41:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_9079111848976179983.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_9079111848976179983.key) 22:41:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:30 + git tag --points-at HEAD [Pipeline] } 22:41:30 $ docker exec --env ******** --env ******** 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 ssh-agent -k 22:41:30 unset SSH_AUTH_SOCK; 22:41:30 unset SSH_AGENT_PID; 22:41:30 echo Agent pid 20 killed; 22:41:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:41:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:30 [ssh-agent] Looking for ssh-agent implementation... 22:41:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:30 $ docker exec 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 ssh-agent 22:41:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGpijnA/agent.55 22:41:30 SSH_AGENT_PID=61 22:41:30 Running ssh-add (command line suppressed) 22:41:30 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_1734727937326892565.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_1734727937326892565.key) 22:41:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:31 + git semver init 22:41:31 # -> Open(): unable to determine branch for HEAD 22:41:31 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.git 22:41:31 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1130 22:41:31 # $SEMVER_REMOTE_NAME = origin 22:41:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:41:31 # $SEMVER_USER_NAME = edgex-jenkins 22:41:31 # $SEMVER_BRANCH = PR-1130 22:41:31 # $SEMVER_TEMP = /tmp/semver-451730916 22:41:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:41:32 # '/tmp/semver-451730916' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver' 22:41:32 # -> Force: false 22:41:32 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver [Pipeline] } 22:41:32 $ docker exec --env ******** --env ******** 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 ssh-agent -k 22:41:32 unset SSH_AUTH_SOCK; 22:41:32 unset SSH_AGENT_PID; 22:41:32 echo Agent pid 61 killed; 22:41:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:32 + git semver [Pipeline] } 22:41:32 $ docker stop --time=1 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 22:41:33 $ docker rm -f 42c43a3d49f81bf27b1c2ab964a0560b5629a7204f8cc2c11e75a9aa31c5a0e0 [Pipeline] // withDockerContainer [Pipeline] sh 22:41:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:41:34 Stashed 1 file(s) [Pipeline] echo 22:41:34 [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:41:34 provisioning config files... 22:41:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config5009810174202249126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:35 ---> docker-login.sh 22:41:35 nexus3.edgexfoundry.org:10001 22:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:35 Configure a credential helper to remove this warning. See 22:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:35 22:41:35 Login Succeeded 22:41:35 nexus3.edgexfoundry.org:10002 22:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:35 Configure a credential helper to remove this warning. See 22:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:35 22:41:35 Login Succeeded 22:41:35 nexus3.edgexfoundry.org:10003 22:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:35 Configure a credential helper to remove this warning. See 22:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:35 22:41:35 Login Succeeded 22:41:35 nexus3.edgexfoundry.org:10004 22:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:35 Configure a credential helper to remove this warning. See 22:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:35 22:41:35 Login Succeeded 22:41:35 docker.io 22:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:35 Configure a credential helper to remove this warning. See 22:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:35 22:41:35 Login Succeeded 22:41:35 ---> docker-login.sh ends [Pipeline] } 22:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:41:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:35 ========================================================= 22:41:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:41:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:41:36 + 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:41:36 Sending build context to Docker daemon 9.645MB 22:41:36 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:41:36 Step 2/11 : FROM ${BASE} AS builder 22:41:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:41:36 59bf1c3509f3: Pulling fs layer 22:41:36 666ba61612fd: Pulling fs layer 22:41:36 8ed8ca486205: Pulling fs layer 22:41:36 4fe6c5a15a65: Pulling fs layer 22:41:36 22a0e8bec74d: Pulling fs layer 22:41:36 640e595b4fbd: Pulling fs layer 22:41:36 763cafe07f6e: Pulling fs layer 22:41:36 0c0b528cf693: Pulling fs layer 22:41:36 10935f4eaf8b: Pulling fs layer 22:41:36 4fe6c5a15a65: Waiting 22:41:36 22a0e8bec74d: Waiting 22:41:36 763cafe07f6e: Waiting 22:41:36 640e595b4fbd: Waiting 22:41:36 0c0b528cf693: Waiting 22:41:36 10935f4eaf8b: Waiting 22:41:36 8ed8ca486205: Verifying Checksum 22:41:36 8ed8ca486205: Download complete 22:41:36 666ba61612fd: Download complete 22:41:36 22a0e8bec74d: Verifying Checksum 22:41:36 22a0e8bec74d: Download complete 22:41:36 640e595b4fbd: Download complete 22:41:36 59bf1c3509f3: Verifying Checksum 22:41:36 59bf1c3509f3: Download complete 22:41:36 763cafe07f6e: Verifying Checksum 22:41:36 763cafe07f6e: Download complete 22:41:36 0c0b528cf693: Verifying Checksum 22:41:36 0c0b528cf693: Download complete 22:41:36 59bf1c3509f3: Pull complete 22:41:36 666ba61612fd: Pull complete 22:41:36 8ed8ca486205: Pull complete 22:41:37 10935f4eaf8b: Verifying Checksum 22:41:37 10935f4eaf8b: Download complete 22:41:37 4fe6c5a15a65: Download complete 22:41:41 4fe6c5a15a65: Pull complete 22:41:41 22a0e8bec74d: Pull complete 22:41:41 640e595b4fbd: Pull complete 22:41:41 763cafe07f6e: Pull complete 22:41:41 0c0b528cf693: Pull complete 22:41:43 10935f4eaf8b: Pull complete 22:41:43 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 22:41:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:41:43 ---> 99d49a6021b9 22:41:43 Step 3/11 : ARG MAKE=make build 22:41:44 ---> Running in 625e324f8b55 22:41:44 Removing intermediate container 625e324f8b55 22:41:44 ---> b851129f0418 22:41:44 Step 4/11 : WORKDIR /device-sdk-go 22:41:45 ---> Running in f665a9a3300c 22:41:45 Removing intermediate container f665a9a3300c 22:41:45 ---> a5100e5e4d26 22:41:45 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:41:45 ---> Running in cd7f0be3a845 22:41:45 Removing intermediate container cd7f0be3a845 22:41:45 ---> 6b9fe57b069e 22:41:45 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:45 ---> Running in b1cc3fbf73da 22:41:45 Removing intermediate container b1cc3fbf73da 22:41:45 ---> a5e0af53c66a 22:41:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:41:45 ---> Running in fdfa6747b45c 22:41:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:41:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:41:47 OK: 221 MiB in 52 packages 22:41:47 Removing intermediate container fdfa6747b45c 22:41:47 ---> 1b73372ee11c 22:41:47 Step 8/11 : COPY go.mod vendor* ./ 22:41:47 ---> c1795e1b1f2d 22:41:47 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:47 ---> Running in 24ebc1062f91 22:41:49 Still waiting to schedule task 22:41:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:42:06 Removing intermediate container 24ebc1062f91 22:42:06 ---> 4734beab2025 22:42:06 Step 10/11 : COPY . . 22:42:06 ---> 6d609962bd59 22:42:06 Step 11/11 : RUN ${MAKE} 22:42:06 ---> Running in 3e51e926a7b0 22:42:06 noop 22:42:06 Removing intermediate container 3e51e926a7b0 22:42:06 ---> 91e497008b22 22:42:06 Successfully built 91e497008b22 22:42:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:42:06 + docker inspect -f . ci-base-image-x86_64 22:42:06 . [Pipeline] withDockerContainer 22:42:06 prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container 22:42:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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 ******** -e ******** ci-base-image-x86_64 cat 22:42:06 $ docker top 80c6272d284406074211de54f5cf6debf2bfe20b39863df6d8e4235d5b0b730c -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:07 + go version 22:42:07 go version go1.17.6 linux/amd64 [Pipeline] } 22:42:07 $ docker stop --time=1 80c6272d284406074211de54f5cf6debf2bfe20b39863df6d8e4235d5b0b730c 22:42:08 $ docker rm -f 80c6272d284406074211de54f5cf6debf2bfe20b39863df6d8e4235d5b0b730c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:42:08 + docker inspect -f . ci-base-image-x86_64 22:42:08 . [Pipeline] withDockerContainer 22:42:08 prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container 22:42:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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 ******** -e ******** ci-base-image-x86_64 cat 22:42:09 $ docker top d99b521024cd090cfc5cbeef8b6f7c1920a84618092eb4a42d32a97048dd758c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:42:09 + make test 22:42:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:42:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.078s coverage: 23.3% of statements 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 22:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.093s coverage: 78.9% of statements 22:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.060s coverage: 10.8% of statements 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 33.2% of statements 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 86.1% of statements 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 57.2% of statements 22:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.789s coverage: 89.2% of statements 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.8% of statements 22:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:42:42 GO111MODULE=on go vet ./... 22:42:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:42:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:42:45 ./bin/test-attribution-txt.sh [Pipeline] echo 22:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:42:45 $ docker stop --time=1 d99b521024cd090cfc5cbeef8b6f7c1920a84618092eb4a42d32a97048dd758c 22:42:47 $ docker rm -f d99b521024cd090cfc5cbeef8b6f7c1920a84618092eb4a42d32a97048dd758c [Pipeline] // withDockerContainer [Pipeline] sh 22:42:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:42:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:42:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:42:49 + ls -al . 22:42:49 total 296 22:42:49 drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 22:42 . 22:42:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:41 .. 22:42:49 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 22:41 .dockerignore 22:42:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:41 .git 22:42:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:41 .github 22:42:49 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 22:41 .gitignore 22:42:49 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:41 .golangci.yml 22:42:49 drwx------ 3 jenkins jenkins 4096 Apr 12 22:41 .semver 22:42:49 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 22:41 CHANGELOG.md 22:42:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:41 GOVERNANCE.md 22:42:49 -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 22:41 Jenkinsfile 22:42:49 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 22:41 LICENSE 22:42:49 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 22:41 Makefile 22:42:49 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 22:41 OWNERS.md 22:42:49 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 22:41 README.md 22:42:49 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:41 VERSION 22:42:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:41 bin 22:42:49 -rw-r--r-- 1 jenkins jenkins 129245 Apr 12 22:42 coverage.out 22:42:49 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:41 example 22:42:49 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 22:41 go.mod 22:42:49 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 22:41 go.sum 22:42:49 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 22:41 internal 22:42:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:41 openapi 22:42:49 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:41 pkg 22:42:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:41 snap 22:42:49 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 22:41 version.go [Pipeline] isUnix [Pipeline] sh 22:42:49 + 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=061a315398b7745a571a29e8bcb27353e985ff0c --label arch=amd64 --label version=0.0.0 . 22:42:49 Sending build context to Docker daemon 9.775MB 22:42:49 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:42:49 Step 2/25 : FROM ${BASE} AS builder 22:42:49 ---> 91e497008b22 22:42:49 Step 3/25 : ARG MAKE=make build 22:42:49 ---> Running in d89457bcaa42 22:42:49 Removing intermediate container d89457bcaa42 22:42:49 ---> a41b5b80819e 22:42:49 Step 4/25 : WORKDIR /device-sdk-go 22:42:49 ---> Running in 4bd739064495 22:42:49 Removing intermediate container 4bd739064495 22:42:49 ---> cc1c3bf1c016 22:42:49 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:42:50 ---> Running in 43b333ed9e71 22:42:50 Removing intermediate container 43b333ed9e71 22:42:50 ---> 36de4b12fdfb 22:42:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:50 ---> Running in d2becce66dcc 22:42:50 Removing intermediate container d2becce66dcc 22:42:50 ---> 21762c097b54 22:42:50 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:42:50 ---> Running in 32bf10b048df 22:42:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:42:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:42:52 OK: 221 MiB in 52 packages 22:42:52 Removing intermediate container 32bf10b048df 22:42:52 ---> ed55080d7a10 22:42:52 Step 8/25 : COPY go.mod vendor* ./ 22:42:52 ---> eca5c69e2234 22:42:52 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:52 ---> Running in dfec5333cc2d 22:42:53 Removing intermediate container dfec5333cc2d 22:42:53 ---> 9b737df095a8 22:42:53 Step 10/25 : COPY . . 22:42:53 ---> aaa56b1887ca 22:42:53 Step 11/25 : RUN ${MAKE} 22:42:53 ---> Running in 0472d82e0dce 22:42:54 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:43:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:43:13 Removing intermediate container 0472d82e0dce 22:43:13 ---> 301a5b8002c2 22:43:13 Step 12/25 : FROM alpine:3.14 22:43:13 3.14: Pulling from library/alpine 22:43:14 8663204ce13b: Pulling fs layer 22:43:14 8663204ce13b: Verifying Checksum 22:43:14 8663204ce13b: Download complete 22:43:14 8663204ce13b: Pull complete 22:43:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:43:14 Status: Downloaded newer image for alpine:3.14 22:43:14 ---> e04c818066af 22:43:14 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:43:14 ---> Running in c20dc80984b6 22:43:14 Removing intermediate container c20dc80984b6 22:43:14 ---> d2358d8d145b 22:43:14 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:14 ---> Running in 0116b4019277 22:43:15 Removing intermediate container 0116b4019277 22:43:15 ---> e28df2c63ebc 22:43:15 Step 15/25 : RUN apk add --update --no-cache zeromq 22:43:15 ---> Running in daab9c749b85 22:43:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:43:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:43:17 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:43:17 (2/5) Installing libsodium (1.0.18-r0) 22:43:17 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:43:17 (4/5) Installing libzmq (4.3.4-r0) 22:43:17 (5/5) Installing zeromq (4.3.4-r0) 22:43:17 Executing busybox-1.33.1-r7.trigger 22:43:17 OK: 8 MiB in 19 packages 22:43:17 Removing intermediate container daab9c749b85 22:43:17 ---> a724463f2d4d 22:43:17 Step 16/25 : WORKDIR / 22:43:17 ---> Running in dbe5747da011 22:43:17 Removing intermediate container dbe5747da011 22:43:17 ---> c3fac6a3a011 22:43:17 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:43:18 ---> db73cb1d5a8d 22:43:18 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:43:18 ---> d8c2687e822e 22:43:18 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:43:18 ---> 1dfa934bc361 22:43:18 Step 20/25 : EXPOSE 59999 22:43:18 ---> Running in 7f370be901e1 22:43:18 Removing intermediate container 7f370be901e1 22:43:18 ---> 8fd32fc84d51 22:43:18 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:43:18 ---> Running in f22078366b0e 22:43:18 Removing intermediate container f22078366b0e 22:43:18 ---> e13a1fd42ee0 22:43:18 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:43:19 ---> Running in 1f59db41c116 22:43:19 Removing intermediate container 1f59db41c116 22:43:19 ---> 6fae591baca0 22:43:19 Step 23/25 : LABEL arch=amd64 22:43:19 ---> Running in 02aeade258b5 22:43:19 Removing intermediate container 02aeade258b5 22:43:19 ---> fcb0a683de85 22:43:19 Step 24/25 : LABEL git_sha=061a315398b7745a571a29e8bcb27353e985ff0c 22:43:19 ---> Running in 74dd3019bd8d 22:43:19 Removing intermediate container 74dd3019bd8d 22:43:19 ---> b621db2097ae 22:43:19 Step 25/25 : LABEL version=0.0.0 22:43:19 ---> Running in bc0a8424dc17 22:43:19 Removing intermediate container bc0a8424dc17 22:43:19 ---> 8ea8932b1522 22:43:19 [Warning] One or more build-args [ARCH] were not consumed 22:43:19 Successfully built 8ea8932b1522 22:43:19 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:43:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:20 22:43:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:43:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:20 latest: Pulling from edgex-lftools-log-publisher 22:43:20 5eb5b503b376: Pulling fs layer 22:43:20 5c69ac0246d0: Pulling fs layer 22:43:20 ec43610c2a17: Pulling fs layer 22:43:20 3a2ae6a8a46f: Pulling fs layer 22:43:20 33b1e0a273af: Pulling fs layer 22:43:20 5d3b04190fa2: Pulling fs layer 22:43:20 2f39f015ded8: Pulling fs layer 22:43:20 33b1e0a273af: Waiting 22:43:20 5d3b04190fa2: Waiting 22:43:20 3a2ae6a8a46f: Waiting 22:43:20 2f39f015ded8: Waiting 22:43:20 5c69ac0246d0: Verifying Checksum 22:43:20 5c69ac0246d0: Download complete 22:43:20 3a2ae6a8a46f: Verifying Checksum 22:43:20 3a2ae6a8a46f: Download complete 22:43:20 33b1e0a273af: Verifying Checksum 22:43:20 33b1e0a273af: Download complete 22:43:20 5d3b04190fa2: Verifying Checksum 22:43:20 5d3b04190fa2: Download complete 22:43:20 ec43610c2a17: Verifying Checksum 22:43:20 ec43610c2a17: Download complete 22:43:20 5eb5b503b376: Verifying Checksum 22:43:20 5eb5b503b376: Download complete 22:43:21 2f39f015ded8: Download complete 22:43:22 5eb5b503b376: Pull complete 22:43:22 5c69ac0246d0: Pull complete 22:43:22 ec43610c2a17: Pull complete 22:43:22 3a2ae6a8a46f: Pull complete 22:43:22 33b1e0a273af: Pull complete 22:43:22 5d3b04190fa2: Pull complete 22:43:26 2f39f015ded8: Pull complete 22:43:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:43:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:43:26 prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container 22:43:27 $ 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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:43:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20731 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 22:43:28 $ docker top 5fead60c4cf5167db9d1cadb2ca56130076f4125483862b792ef1f3907d6a1bb -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 22:43:28 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:43:29 The recommended git tool is: git 22:43:29 ---> job-cost.sh 22:43:29 lf-activate-venv: SKIPPING 22:43:29 INFO: No Stack... 22:43:29 INFO: Retrieving Pricing Info for: v3-standard-8 22:43:29 INFO: Archiving Costs [Pipeline] sh 22:43:30 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/cost.csv 22:43:30 + cut -d, -f6 [Pipeline] lock 22:43:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] 22:43:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] did not exist. Created. 22:43:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:43:30 + echo total: 0.2199999988079071 [Pipeline] stash 22:43:30 Stashed 1 file(s) [Pipeline] } 22:43:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:43:30 $ docker stop --time=1 5fead60c4cf5167db9d1cadb2ca56130076f4125483862b792ef1f3907d6a1bb 22:43:31 $ docker rm -f 5fead60c4cf5167db9d1cadb2ca56130076f4125483862b792ef1f3907d6a1bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:43:36 using credential edgex-jenkins-ssh 22:43:36 Cloning the remote Git repository 22:43:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:43:36 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:43:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:36 > git --version # timeout=10 22:43:36 > git --version # 'git version 2.25.1' 22:43:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:43:39 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit 3593550cb183f04032b99acb80b17e47af38cf69 22:43:39 Merge succeeded, producing c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 22:43:39 Checking out Revision c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 (PR-1130) 22:43:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:43:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:43:39 > git config core.sparsecheckout # timeout=10 22:43:39 > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 22:43:39 > git remote # timeout=10 22:43:39 > git config --get remote.origin.url # timeout=10 22:43:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:39 > git merge 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 22:43:39 > git rev-parse HEAD^{commit} # timeout=10 22:43:39 > git config core.sparsecheckout # timeout=10 22:43:39 > git checkout -f c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 # timeout=10 22:43:44 Commit message: "Merge commit '45e6addfd964a0ca7ed47e9673a51a0c53e11884' into HEAD" 22:43:44 > git rev-list --no-walk 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:43:45 % Total % Received % Xferd Average Speed Time Time Time Current 22:43:45 Dload Upload Total Spent Left Speed 22:43:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48536 0 --:--:-- --:--:-- --:--:-- 48536 [Pipeline] sh 22:43:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:43:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:43:46 + sudo tee /etc/docker/daemon.new 22:43:46 { 22:43:46 "registry-mirrors": [ 22:43:46 "https://nexus3.edgexfoundry.org:10001" 22:43:46 ], 22:43:46 "bip": "10.250.0.254/24", 22:43:46 "hosts": [ 22:43:46 "tcp://0.0.0.0:5555", 22:43:46 "unix:///var/run/docker.sock" 22:43:46 ], 22:43:46 "mtu": 1458, 22:43:46 "selinux-enabled": true, 22:43:46 "seccomp-profile": "/etc/docker/seccomp.json" 22:43:46 } [Pipeline] sh 22:43:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:43:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:05 provisioning config files... 22:44:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4475793626591161156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:05 ---> docker-login.sh 22:44:05 nexus3.edgexfoundry.org:10001 22:44:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:06 Configure a credential helper to remove this warning. See 22:44:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:06 22:44:06 Login Succeeded 22:44:06 nexus3.edgexfoundry.org:10002 22:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:07 Configure a credential helper to remove this warning. See 22:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:07 22:44:07 Login Succeeded 22:44:07 nexus3.edgexfoundry.org:10003 22:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:07 Configure a credential helper to remove this warning. See 22:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:07 22:44:07 Login Succeeded 22:44:07 nexus3.edgexfoundry.org:10004 22:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:07 Configure a credential helper to remove this warning. See 22:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:07 22:44:07 Login Succeeded 22:44:07 docker.io 22:44:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:08 Configure a credential helper to remove this warning. See 22:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:08 22:44:08 Login Succeeded 22:44:08 ---> docker-login.sh ends [Pipeline] } 22:44:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:09 ========================================================= 22:44:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:44:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:44:09 + 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:44:10 Sending build context to Docker daemon 5.224MB 22:44:10 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:44:10 Step 2/11 : FROM ${BASE} AS builder 22:44:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:44:10 9b3977197b4f: Pulling fs layer 22:44:10 1a89e8eeedd5: Pulling fs layer 22:44:10 94645a83ff95: Pulling fs layer 22:44:10 3f3a8bcf1eab: Pulling fs layer 22:44:10 0c92f367c5e7: Pulling fs layer 22:44:10 f7c0051592d6: Pulling fs layer 22:44:10 a227ed2f7395: Pulling fs layer 22:44:10 7b1c46037f91: Pulling fs layer 22:44:10 0c92f367c5e7: Waiting 22:44:10 3f3a8bcf1eab: Waiting 22:44:10 7b1c46037f91: Waiting 22:44:10 a227ed2f7395: Waiting 22:44:10 f7c0051592d6: Waiting 22:44:10 94645a83ff95: Verifying Checksum 22:44:10 94645a83ff95: Download complete 22:44:10 1a89e8eeedd5: Verifying Checksum 22:44:10 1a89e8eeedd5: Download complete 22:44:10 0c92f367c5e7: Verifying Checksum 22:44:10 0c92f367c5e7: Download complete 22:44:10 f7c0051592d6: Verifying Checksum 22:44:10 f7c0051592d6: Download complete 22:44:10 9b3977197b4f: Download complete 22:44:10 a227ed2f7395: Verifying Checksum 22:44:10 a227ed2f7395: Download complete 22:44:11 9b3977197b4f: Pull complete 22:44:11 1a89e8eeedd5: Pull complete 22:44:12 94645a83ff95: Pull complete 22:44:12 7b1c46037f91: Verifying Checksum 22:44:12 7b1c46037f91: Download complete 22:44:12 3f3a8bcf1eab: Verifying Checksum 22:44:12 3f3a8bcf1eab: Download complete 22:44:25 3f3a8bcf1eab: Pull complete 22:44:25 0c92f367c5e7: Pull complete 22:44:25 f7c0051592d6: Pull complete 22:44:25 a227ed2f7395: Pull complete 22:44:32 7b1c46037f91: Pull complete 22:44:32 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 22:44:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:44:32 ---> f79e39bc4007 22:44:32 Step 3/11 : ARG MAKE=make build 22:44:33 ---> Running in 312ef90af4c9 22:44:33 Removing intermediate container 312ef90af4c9 22:44:33 ---> 4d512bf5641e 22:44:33 Step 4/11 : WORKDIR /device-sdk-go 22:44:34 ---> Running in 5d574f0de234 22:44:34 Removing intermediate container 5d574f0de234 22:44:34 ---> a4337ae1d7b1 22:44:34 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:44:34 ---> Running in e77964c25970 22:44:34 Removing intermediate container e77964c25970 22:44:34 ---> a794955e1ec6 22:44:34 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:35 ---> Running in 7c89726f0345 22:44:37 Removing intermediate container 7c89726f0345 22:44:37 ---> 1c8bfd796110 22:44:37 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:44:37 ---> Running in d6723448618f 22:44:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:44:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:44:39 OK: 220 MiB in 52 packages 22:44:40 Removing intermediate container d6723448618f 22:44:40 ---> 90250db3bc6a 22:44:40 Step 8/11 : COPY go.mod vendor* ./ 22:44:41 ---> a8b9dd8d990e 22:44:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:41 ---> Running in 56a49bebb696 22:45:28 Removing intermediate container 56a49bebb696 22:45:28 ---> 7184c77216a9 22:45:28 Step 10/11 : COPY . . 22:45:28 ---> 5b0177023c18 22:45:28 Step 11/11 : RUN ${MAKE} 22:45:28 ---> Running in b7a67c5e5f64 22:45:29 noop 22:45:30 Removing intermediate container b7a67c5e5f64 22:45:30 ---> 5d12c8f89eeb 22:45:30 Successfully built 5d12c8f89eeb 22:45:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:45:31 + docker inspect -f . ci-base-image-arm64 22:45:31 . [Pipeline] withDockerContainer 22:45:31 prd-ubuntu20.04-docker-arm64-4c-16g-20731 does not seem to be running inside a container 22:45:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:45:32 $ docker top 821d831aceab0b898469c5a1e550e955bfe1b984216fe5f051b55964b0f9493d -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:33 + go version 22:45:33 go version go1.17.6 linux/arm64 [Pipeline] } 22:45:33 $ docker stop --time=1 821d831aceab0b898469c5a1e550e955bfe1b984216fe5f051b55964b0f9493d 22:45:35 $ docker rm -f 821d831aceab0b898469c5a1e550e955bfe1b984216fe5f051b55964b0f9493d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:45:36 + docker inspect -f . ci-base-image-arm64 22:45:36 . [Pipeline] withDockerContainer 22:45:36 prd-ubuntu20.04-docker-arm64-4c-16g-20731 does not seem to be running inside a container 22:45:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:45:37 $ docker top aeeb7bc5219157db12359020d4319a01e011424476d9a970c549fd35f1014a53 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:45:38 + make test 22:45:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:46:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:47:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.602s coverage: 23.3% of statements 22:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.253s coverage: 27.6% of statements 22:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.391s coverage: 78.9% of statements 22:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.293s coverage: 10.8% of statements 22:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:48:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.469s coverage: 33.2% of statements 22:48:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.280s coverage: 86.1% of statements 22:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:48:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:48:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.498s coverage: 57.2% of statements 22:48:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.154s coverage: 89.2% of statements 22:48:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:48:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.231s coverage: 4.8% of statements 22:48:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:48:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:48:11 GO111MODULE=on go vet ./... 22:49:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:49:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:49:48 ./bin/test-attribution-txt.sh [Pipeline] echo 22:49:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:49:48 $ docker stop --time=1 aeeb7bc5219157db12359020d4319a01e011424476d9a970c549fd35f1014a53 22:49:49 $ docker rm -f aeeb7bc5219157db12359020d4319a01e011424476d9a970c549fd35f1014a53 [Pipeline] // withDockerContainer [Pipeline] sh 22:49:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:51 Warning: overwriting stash ‘coverage-report’ 22:49:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:52 + ls -al . 22:49:52 total 292 22:49:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 22:49 . 22:49:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:43 .. 22:49:52 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 22:43 .dockerignore 22:49:52 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:43 .git 22:49:52 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:43 .github 22:49:52 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 22:43 .gitignore 22:49:52 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:43 .golangci.yml 22:49:52 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 22:43 CHANGELOG.md 22:49:52 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:43 GOVERNANCE.md 22:49:52 -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 22:43 Jenkinsfile 22:49:52 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 22:43 LICENSE 22:49:52 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 22:43 Makefile 22:49:52 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 22:43 OWNERS.md 22:49:52 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 22:43 README.md 22:49:52 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:41 VERSION 22:49:52 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:43 bin 22:49:52 -rw-r--r-- 1 jenkins jenkins 129245 Apr 12 22:48 coverage.out 22:49:52 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:43 example 22:49:52 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 22:43 go.mod 22:49:52 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 22:43 go.sum 22:49:52 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 22:43 internal 22:49:52 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:43 openapi 22:49:52 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:43 pkg 22:49:52 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:43 snap 22:49:52 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 22:43 version.go [Pipeline] isUnix [Pipeline] sh 22:49:53 + 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=c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 --label arch=arm64 --label version=0.0.0 . 22:49:53 Sending build context to Docker daemon 5.354MB 22:49:53 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:49:53 Step 2/25 : FROM ${BASE} AS builder 22:49:53 ---> 5d12c8f89eeb 22:49:53 Step 3/25 : ARG MAKE=make build 22:49:54 ---> Running in 4c37a4ac1152 22:49:54 Removing intermediate container 4c37a4ac1152 22:49:54 ---> a57733dc92ff 22:49:54 Step 4/25 : WORKDIR /device-sdk-go 22:49:54 ---> Running in 918ed0d1b2b6 22:49:54 Removing intermediate container 918ed0d1b2b6 22:49:54 ---> 5b379499f446 22:49:54 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:49:54 ---> Running in 2daa35b9bf8d 22:49:55 Removing intermediate container 2daa35b9bf8d 22:49:55 ---> 0c8a4c31b50e 22:49:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:55 ---> Running in 76f83b99f052 22:49:57 Removing intermediate container 76f83b99f052 22:49:57 ---> fb8f93c26fbf 22:49:57 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:49:57 ---> Running in 6769222acaf8 22:49:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:49:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:50:00 OK: 220 MiB in 52 packages 22:50:00 Removing intermediate container 6769222acaf8 22:50:00 ---> a5af3f7c3a9c 22:50:00 Step 8/25 : COPY go.mod vendor* ./ 22:50:01 ---> 6af7713fa689 22:50:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:50:01 ---> Running in 8e92fbd2c1c7 22:50:03 Removing intermediate container 8e92fbd2c1c7 22:50:03 ---> 5ca9c780d32f 22:50:03 Step 10/25 : COPY . . 22:50:05 ---> dca64efe9ad0 22:50:05 Step 11/25 : RUN ${MAKE} 22:50:05 ---> Running in f8a588da6c0c 22:50:06 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:52:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:52:12 Removing intermediate container f8a588da6c0c 22:52:12 ---> 8c77fb5a39a4 22:52:12 Step 12/25 : FROM alpine:3.14 22:52:12 3.14: Pulling from library/alpine 22:52:12 455c02918c45: Pulling fs layer 22:52:12 455c02918c45: Download complete 22:52:12 455c02918c45: Pull complete 22:52:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:52:12 Status: Downloaded newer image for alpine:3.14 22:52:12 ---> ac73e934f311 22:52:12 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:52:12 ---> Running in 17710523301b 22:52:12 Removing intermediate container 17710523301b 22:52:12 ---> e3c465c948a1 22:52:12 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:52:13 ---> Running in 89108b1f1e3f 22:52:15 Removing intermediate container 89108b1f1e3f 22:52:15 ---> 3ff13e1913fe 22:52:15 Step 15/25 : RUN apk add --update --no-cache zeromq 22:52:15 ---> Running in 17a7f90a30d7 22:52:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:52:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:52:17 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:52:17 (2/5) Installing libsodium (1.0.18-r0) 22:52:17 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:52:18 (4/5) Installing libzmq (4.3.4-r0) 22:52:18 (5/5) Installing zeromq (4.3.4-r0) 22:52:18 Executing busybox-1.33.1-r7.trigger 22:52:18 OK: 8 MiB in 19 packages 22:52:19 Removing intermediate container 17a7f90a30d7 22:52:19 ---> b0a0ee5079a4 22:52:19 Step 16/25 : WORKDIR / 22:52:19 ---> Running in 305c6d1b1f87 22:52:19 Removing intermediate container 305c6d1b1f87 22:52:19 ---> 2ebc5e357967 22:52:19 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:52:19 ---> 0d617f3b8417 22:52:19 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:52:21 ---> b29c376ba43d 22:52:21 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:52:21 ---> 529762361d11 22:52:21 Step 20/25 : EXPOSE 59999 22:52:21 ---> Running in c525795181a7 22:52:22 Removing intermediate container c525795181a7 22:52:22 ---> 28f7ee390d39 22:52:22 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:52:22 ---> Running in 52f795de8711 22:52:22 Removing intermediate container 52f795de8711 22:52:22 ---> 7ffb234e6db5 22:52:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:52:22 ---> Running in 0995789a7041 22:52:23 Removing intermediate container 0995789a7041 22:52:23 ---> abd7fbe1358c 22:52:23 Step 23/25 : LABEL arch=arm64 22:52:23 ---> Running in 31b562c36c6d 22:52:23 Removing intermediate container 31b562c36c6d 22:52:23 ---> f304a6046c30 22:52:23 Step 24/25 : LABEL git_sha=c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 22:52:23 ---> Running in 578b88369ed9 22:52:23 Removing intermediate container 578b88369ed9 22:52:23 ---> 03806140aa1f 22:52:23 Step 25/25 : LABEL version=0.0.0 22:52:23 ---> Running in f55568c9dcf5 22:52:24 Removing intermediate container f55568c9dcf5 22:52:24 ---> 3eca69c1e434 22:52:24 [Warning] One or more build-args [ARCH] were not consumed 22:52:24 Successfully built 3eca69c1e434 22:52:24 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:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:24 22:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:52:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:25 arm64: Pulling from edgex-lftools-log-publisher 22:52:25 8998bd30e6a1: Pulling fs layer 22:52:25 04944245beec: Pulling fs layer 22:52:25 699f458cf7ca: Pulling fs layer 22:52:25 765212b225bb: Pulling fs layer 22:52:25 f23df028b6ca: Pulling fs layer 22:52:25 d65c8cfc05b1: Pulling fs layer 22:52:25 2437ff75d9bd: Pulling fs layer 22:52:25 2437ff75d9bd: Waiting 22:52:25 765212b225bb: Waiting 22:52:25 d65c8cfc05b1: Waiting 22:52:25 f23df028b6ca: Waiting 22:52:25 04944245beec: Verifying Checksum 22:52:25 04944245beec: Download complete 22:52:25 765212b225bb: Download complete 22:52:25 f23df028b6ca: Verifying Checksum 22:52:25 f23df028b6ca: Download complete 22:52:25 d65c8cfc05b1: Verifying Checksum 22:52:25 d65c8cfc05b1: Download complete 22:52:25 699f458cf7ca: Verifying Checksum 22:52:25 699f458cf7ca: Download complete 22:52:26 8998bd30e6a1: Verifying Checksum 22:52:26 8998bd30e6a1: Download complete 22:52:28 2437ff75d9bd: Verifying Checksum 22:52:28 2437ff75d9bd: Download complete 22:52:30 8998bd30e6a1: Pull complete 22:52:30 04944245beec: Pull complete 22:52:32 699f458cf7ca: Pull complete 22:52:32 765212b225bb: Pull complete 22:52:33 f23df028b6ca: Pull complete 22:52:33 d65c8cfc05b1: Pull complete 22:52:48 2437ff75d9bd: Pull complete 22:52:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:52:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:52:49 prd-ubuntu20.04-docker-arm64-4c-16g-20731 does not seem to be running inside a container 22:52:49 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:52:51 $ docker top cdfe66274be20f5c4fee78273a2a9228efedd3e988c3a47b5552f07425a9e068 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:52 ---> job-cost.sh 22:52:52 lf-activate-venv: SKIPPING 22:52:52 INFO: No Stack... 22:52:53 INFO: Retrieving Pricing Info for: v3-standard-4 22:52:54 INFO: Archiving Costs [Pipeline] sh 22:52:55 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 22:52:55 + cut -d, -f6 [Pipeline] lock 22:52:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] 22:52:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] did not exist. Created. 22:52:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:52:55 /w/workspace/device-sdk-go/3@tmp/durable-f0435b3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:52:56 + echo total: 0.10999999940395355 [Pipeline] stash 22:52:56 Warning: overwriting stash ‘stack-cost’ 22:52:56 Stashed 1 file(s) [Pipeline] } 22:52:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:52:56 $ docker stop --time=1 cdfe66274be20f5c4fee78273a2a9228efedd3e988c3a47b5552f07425a9e068 22:52:58 $ docker rm -f cdfe66274be20f5c4fee78273a2a9228efedd3e988c3a47b5552f07425a9e068 [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:52:58 provisioning config files... 22:52:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config1327249219397322510tmp [Pipeline] { [Pipeline] sh 22:52:59 + set +x 22:52:59 + + curlbash -s -s https://codecov.io/bash -- 22:52:59 22:52:59 22:52:59 _____ _ 22:52:59 / ____| | | 22:52:59 | | ___ __| | ___ ___ _____ __ 22:52:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:52:59 | |___| (_) | (_| | __/ (_| (_) \ V / 22:52:59 \_____\___/ \__,_|\___|\___\___/ \_/ 22:52:59 Bash-1.0.6 22:52:59 22:52:59 22:52:59 ==> git version 2.25.1 found 22:52:59 ==> 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:52:59 Release-Date: 2020-01-08 22:52:59 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:52:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:52:59 ==> Jenkins CI detected. 22:52:59 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1130 22:52:59 project root: . 22:52:59 --> token set from env 22:52:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:52:59 ==> Running gcov in . (disable via -X gcov) 22:52:59 ==> Python coveragepy not found 22:52:59 ==> Searching for coverage reports in: 22:52:59 + . 22:52:59 -> Found 1 reports 22:52:59 ==> Detecting git/mercurial file structure 22:52:59 ==> Reading reports 22:52:59 + ./coverage.out bytes=129245 22:52:59 ==> Appending adjustments 22:52:59 https://docs.codecov.io/docs/fixing-reports 22:52:59 + Found adjustments 22:52:59 ==> Gzipping contents 22:52:59 20K /tmp/codecov.P4ho7r.gz 22:52:59 ==> Uploading reports 22:52:59 url: https://codecov.io 22:52:59 query: branch=PR-1130&commit=061a315398b7745a571a29e8bcb27353e985ff0c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= 22:52:59 -> Pinging Codecov 22:52:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1130&commit=061a315398b7745a571a29e8bcb27353e985ff0c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= 22:52:59 -> Uploading to 22:52:59 https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/061a315398b7745a571a29e8bcb27353e985ff0c/3589d210-aa2e-48cf-bca5-97399486b07e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T225259Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0272c5d8d2aea63a24a912ca771e1b7c081d88c23fb8a5bbb2bcd708487ccc2b 22:52:59 % Total % Received % Xferd Average Speed Time Time Time Current 22:52:59 Dload Upload Total Spent Left Speed 22:52:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16514 0 0 100 16514 0 69386 --:--:-- --:--:-- --:--:-- 69386 22:52:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/061a315398b7745a571a29e8bcb27353e985ff0c [Pipeline] } 22:52:59 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:53:00 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives ] 22:53:00 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives 22:53:00 total 16 22:53:00 drwxr-xr-x 3 root root 4096 Apr 12 22:43 . 22:53:00 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 22:43 .. 22:53:00 drwxr-xr-x 2 root root 4096 Apr 12 22:43 cost 22:53:00 -rw-r--r-- 1 root root 85 Apr 12 22:43 cost.csv 22:53:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives 22:53:00 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives 22:53:00 total 16 22:53:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 22:43 . 22:53:00 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 22:43 .. 22:53:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 22:43 cost 22:53:00 -rw-r--r-- 1 jenkins jenkins 85 Apr 12 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:53:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:53:01 ---> package-listing.sh 22:53:01 ++ facter osfamily 22:53:01 ++ tr '[:upper:]' '[:lower:]' 22:53:01 + OS_FAMILY=debian 22:53:01 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1130 22:53:01 + START_PACKAGES=/tmp/packages_start.txt 22:53:01 + END_PACKAGES=/tmp/packages_end.txt 22:53:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:53:01 + PACKAGES=/tmp/packages_start.txt 22:53:01 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' 22:53:01 + PACKAGES=/tmp/packages_end.txt 22:53:01 + case "${OS_FAMILY}" in 22:53:01 + dpkg -l 22:53:01 + grep '^ii' 22:53:01 + '[' -f /tmp/packages_start.txt ']' 22:53:01 + '[' -f /tmp/packages_end.txt ']' 22:53:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:53:01 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' 22:53:01 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ 22:53:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [Pipeline] echo 22:53:02 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-1130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:53:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:53:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:53:02 . [Pipeline] withDockerContainer 22:53:02 prd-ubuntu20.04-docker-8c-8g-20729 does not seem to be running inside a container 22:53:02 $ 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-1130/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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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:latest cat 22:53:03 $ docker top 4262278be7637372fafac6b4ab1b32f35b87b1705de021eec6ff2569a2df063f -eo pid,comm [Pipeline] { [Pipeline] sh 22:53:03 + touch /tmp/pre-build-complete [Pipeline] sh 22:53:03 + mkdir -p /var/log/sysstat [Pipeline] sh 22:53:04 + ls /var/log/sa-host 22:53:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:53:04 provisioning config files... 22:53:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config7790469536755982307tmp [Pipeline] { [Pipeline] echo 22:53:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:53:04 ---> create-netrc.sh [Pipeline] } 22:53:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:53:05 ---> python-tools-install.sh [Pipeline] echo 22:53:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:53:05 ---> sudo-logs.sh 22:53:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:53:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:53:05 ---> job-cost.sh 22:53:05 lf-activate-venv: SKIPPING 22:53:05 DEBUG: total: 0.2199999988079071 22:53:05 INFO: Retrieving Stack Cost... 22:53:05 INFO: Retrieving Pricing Info for: v3-standard-8 22:53:06 INFO: Archiving Costs [Pipeline] echo 22:53:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:53:06 ---> logs-deploy.sh 22:53:06 lf-activate-venv: SKIPPING 22:53:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1130/3 22:53:06 INFO: archiving workspace using pattern(s): 22:53:07 Archives upload complete. 22:53:07 INFO: archiving logs to Nexus