Pull request #1130 updated 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 daeaa2d04152392f6fcb0f7e694d6443ef22d2cd 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-ssh13445961444470781413.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-ssh5888176683736717166.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-ssh3976028908563114244.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-ssh2040027693099772453.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-ssh2043128167163213216.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-20754 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 daeaa2d04152392f6fcb0f7e694d6443ef22d2cd > 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 daeaa2d04152392f6fcb0f7e694d6443ef22d2cd # timeout=10 > git remote # timeout=10 Merge succeeded, producing daeaa2d04152392f6fcb0f7e694d6443ef22d2cd Checking out Revision daeaa2d04152392f6fcb0f7e694d6443ef22d2cd (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 daeaa2d04152392f6fcb0f7e694d6443ef22d2cd # timeout=10 Commit message: "feat: Implement ReadingUnits configuration for device profile changes" First time build. Skipping changelog. > git rev-list --no-walk c5ddc9be2f38b1a38a7dc3a06846f15f33b77818 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:40:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:40:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:40:59 ========================================================= 01:40:59 EdgeX Global Pipelines Version Info 01:40:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:41:00 ------------------- 01:41:00 stable info: 01:41:00 ------------------- 01:41:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:41:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:41:00 Message: update stable to v1.0.221 01:41:01 ------------------- 01:41:01 experimental info: 01:41:01 ------------------- 01:41:01 Commited By: **** collab-it+edgex@linuxfoundation.org 01:41:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:41:01 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1130 [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1130 [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1130 [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = daeaa2d [Pipeline] echo 01:41:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:01 provisioning config files... 01:41:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config7069230149583257010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:02 ---> docker-login.sh 01:41:02 nexus3.edgexfoundry.org:10001 01:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:02 Configure a credential helper to remove this warning. See 01:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:02 01:41:02 Login Succeeded 01:41:02 nexus3.edgexfoundry.org:10002 01:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:02 Configure a credential helper to remove this warning. See 01:41:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:02 01:41:02 Login Succeeded 01:41:02 nexus3.edgexfoundry.org:10003 01:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:03 Configure a credential helper to remove this warning. See 01:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:03 01:41:03 Login Succeeded 01:41:03 nexus3.edgexfoundry.org:10004 01:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:03 Configure a credential helper to remove this warning. See 01:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:03 01:41:03 Login Succeeded 01:41:03 docker.io 01:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:03 Configure a credential helper to remove this warning. See 01:41:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:03 01:41:03 Login Succeeded 01:41:03 ---> docker-login.sh ends [Pipeline] } 01:41:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:41:04 + git rev-list -1 --merges daeaa2d04152392f6fcb0f7e694d6443ef22d2cd~1..daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] echo 01:41:04 -----------> git rev-list -1 --merges daeaa2d04152392f6fcb0f7e694d6443ef22d2cd~1..daeaa2d04152392f6fcb0f7e694d6443ef22d2cd daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [false] [Pipeline] sh 01:41:04 + git log --format=format:%s -1 daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] echo 01:41:04 ========================================================= 01:41:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:41:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:04 + git log --format=format:%s -1 daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] echo 01:41:04 [semverPrep] GIT_COMMIT: daeaa2d04152392f6fcb0f7e694d6443ef22d2cd, Commit Message: feat: Implement ReadingUnits configuration for device profile changes [Pipeline] echo 01:41:04 [semverPrep] This is not a build commit. [Pipeline] sh 01:41:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:41:05 + grep -v github /etc/ssh/ssh_known_hosts 01:41:05 + [ -e /tmp/ssh_known_hosts ] 01:41:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:41:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:41:05 + sudo tee -a /etc/ssh/ssh_known_hosts 01:41:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:41:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:41:05 01:41:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:41:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:41:06 latest: Pulling from edgex-devops/git-semver 01:41:06 a0d0a0d46f8b: Pulling fs layer 01:41:06 3e5f54012d9b: Pulling fs layer 01:41:06 4c7163046ea9: Pulling fs layer 01:41:06 0c2d73faf560: Pulling fs layer 01:41:06 0c2d73faf560: Waiting 01:41:06 3e5f54012d9b: Download complete 01:41:06 a0d0a0d46f8b: Verifying Checksum 01:41:06 a0d0a0d46f8b: Download complete 01:41:06 4c7163046ea9: Verifying Checksum 01:41:06 4c7163046ea9: Download complete 01:41:06 0c2d73faf560: Verifying Checksum 01:41:06 0c2d73faf560: Download complete 01:41:06 a0d0a0d46f8b: Pull complete 01:41:06 3e5f54012d9b: Pull complete 01:41:06 4c7163046ea9: Pull complete 01:41:06 0c2d73faf560: Pull complete 01:41:06 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:41:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:41:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:41:06 prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container 01:41:06 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:41:07 $ docker top 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:41:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:41:07 [ssh-agent] Looking for ssh-agent implementation... 01:41:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:41:07 $ docker exec 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f ssh-agent 01:41:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDOpiPp/agent.14 01:41:08 SSH_AGENT_PID=20 01:41:08 Running ssh-add (command line suppressed) 01:41:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_7060188403023406247.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_7060188403023406247.key) 01:41:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:41:08 + git tag --points-at HEAD [Pipeline] } 01:41:08 $ docker exec --env ******** --env ******** 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f ssh-agent -k 01:41:08 unset SSH_AUTH_SOCK; 01:41:08 unset SSH_AGENT_PID; 01:41:08 echo Agent pid 20 killed; 01:41:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:41:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:41:08 [ssh-agent] Looking for ssh-agent implementation... 01:41:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:41:08 $ docker exec 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f ssh-agent 01:41:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmfokjP/agent.54 01:41:09 SSH_AGENT_PID=60 01:41:09 Running ssh-add (command line suppressed) 01:41:09 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_2131923673468784368.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_2131923673468784368.key) 01:41:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:41:09 + git semver init 01:41:09 # -> Open(): unable to determine branch for HEAD 01:41:09 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.git 01:41:09 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1130 01:41:09 # $SEMVER_REMOTE_NAME = origin 01:41:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:41:09 # $SEMVER_USER_NAME = edgex-jenkins 01:41:09 # $SEMVER_BRANCH = PR-1130 01:41:09 # $SEMVER_TEMP = /tmp/semver-045632943 01:41:09 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 01:41:10 # '/tmp/semver-045632943' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver' 01:41:10 # -> Force: false 01:41:10 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver [Pipeline] } 01:41:10 $ docker exec --env ******** --env ******** 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f ssh-agent -k 01:41:11 unset SSH_AUTH_SOCK; 01:41:11 unset SSH_AGENT_PID; 01:41:11 echo Agent pid 60 killed; 01:41:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:41:11 + git semver [Pipeline] } 01:41:11 $ docker stop --time=1 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f 01:41:12 $ docker rm -f 89bb738d49b9c3c604a22433055a960e91c6c93648124e6fc19d6e03ffadf02f [Pipeline] // withDockerContainer [Pipeline] sh 01:41:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:41:13 Stashed 1 file(s) [Pipeline] echo 01:41:13 [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 01:41:13 provisioning config files... 01:41:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config2881549352233079798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:13 ---> docker-login.sh 01:41:13 nexus3.edgexfoundry.org:10001 01:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:13 Configure a credential helper to remove this warning. See 01:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:13 01:41:13 Login Succeeded 01:41:13 nexus3.edgexfoundry.org:10002 01:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:14 Configure a credential helper to remove this warning. See 01:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:14 01:41:14 Login Succeeded 01:41:14 nexus3.edgexfoundry.org:10003 01:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:14 Configure a credential helper to remove this warning. See 01:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:14 01:41:14 Login Succeeded 01:41:14 nexus3.edgexfoundry.org:10004 01:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:14 Configure a credential helper to remove this warning. See 01:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:14 01:41:14 Login Succeeded 01:41:14 docker.io 01:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:14 Configure a credential helper to remove this warning. See 01:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:14 01:41:14 Login Succeeded 01:41:14 ---> docker-login.sh ends [Pipeline] } 01:41:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:41:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:15 ========================================================= 01:41:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:41:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:41:15 + 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 . 01:41:15 Sending build context to Docker daemon 9.648MB 01:41:15 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:41:15 Step 2/11 : FROM ${BASE} AS builder 01:41:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:41:15 59bf1c3509f3: Pulling fs layer 01:41:15 666ba61612fd: Pulling fs layer 01:41:15 8ed8ca486205: Pulling fs layer 01:41:15 4fe6c5a15a65: Pulling fs layer 01:41:15 22a0e8bec74d: Pulling fs layer 01:41:15 640e595b4fbd: Pulling fs layer 01:41:15 763cafe07f6e: Pulling fs layer 01:41:15 0c0b528cf693: Pulling fs layer 01:41:15 10935f4eaf8b: Pulling fs layer 01:41:15 22a0e8bec74d: Waiting 01:41:15 640e595b4fbd: Waiting 01:41:15 763cafe07f6e: Waiting 01:41:15 0c0b528cf693: Waiting 01:41:15 4fe6c5a15a65: Waiting 01:41:15 8ed8ca486205: Verifying Checksum 01:41:15 8ed8ca486205: Download complete 01:41:15 666ba61612fd: Verifying Checksum 01:41:15 666ba61612fd: Download complete 01:41:15 22a0e8bec74d: Download complete 01:41:15 640e595b4fbd: Download complete 01:41:15 59bf1c3509f3: Verifying Checksum 01:41:15 59bf1c3509f3: Download complete 01:41:15 763cafe07f6e: Verifying Checksum 01:41:15 763cafe07f6e: Download complete 01:41:15 0c0b528cf693: Verifying Checksum 01:41:15 0c0b528cf693: Download complete 01:41:15 59bf1c3509f3: Pull complete 01:41:15 666ba61612fd: Pull complete 01:41:15 8ed8ca486205: Pull complete 01:41:16 10935f4eaf8b: Verifying Checksum 01:41:16 10935f4eaf8b: Download complete 01:41:16 4fe6c5a15a65: Verifying Checksum 01:41:16 4fe6c5a15a65: Download complete 01:41:20 4fe6c5a15a65: Pull complete 01:41:20 22a0e8bec74d: Pull complete 01:41:20 640e595b4fbd: Pull complete 01:41:20 763cafe07f6e: Pull complete 01:41:20 0c0b528cf693: Pull complete 01:41:23 10935f4eaf8b: Pull complete 01:41:23 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 01:41:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:41:23 ---> 99d49a6021b9 01:41:23 Step 3/11 : ARG MAKE=make build 01:41:25 ---> Running in dee4a9c89e79 01:41:25 Removing intermediate container dee4a9c89e79 01:41:25 ---> 8dcee7984a31 01:41:25 Step 4/11 : WORKDIR /device-sdk-go 01:41:25 ---> Running in 80ad2a0e5733 01:41:25 Removing intermediate container 80ad2a0e5733 01:41:25 ---> 332aa9570a75 01:41:25 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:41:25 ---> Running in 221dc746c52c 01:41:25 Removing intermediate container 221dc746c52c 01:41:25 ---> 9332abd141c9 01:41:25 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:41:25 ---> Running in 73360b6a9c4f 01:41:26 Removing intermediate container 73360b6a9c4f 01:41:26 ---> e8ee2417f905 01:41:26 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:41:26 ---> Running in aea9ce6463f8 01:41:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:41:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:41:27 OK: 221 MiB in 52 packages 01:41:28 Removing intermediate container aea9ce6463f8 01:41:28 ---> 1b0f38efa873 01:41:28 Step 8/11 : COPY go.mod vendor* ./ 01:41:28 ---> a43fb289f6a0 01:41:28 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:28 ---> Running in eb48eeaecc0b 01:41:28 Still waiting to schedule task 01:41:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:41:43 Removing intermediate container eb48eeaecc0b 01:41:43 ---> 22118a1a3a37 01:41:43 Step 10/11 : COPY . . 01:41:43 ---> d24b567e20b2 01:41:43 Step 11/11 : RUN ${MAKE} 01:41:43 ---> Running in 98290ad144cd 01:41:43 noop 01:41:43 Removing intermediate container 98290ad144cd 01:41:43 ---> 008f29891f53 01:41:43 Successfully built 008f29891f53 01:41:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:41:44 + docker inspect -f . ci-base-image-x86_64 01:41:44 . [Pipeline] withDockerContainer 01:41:44 prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container 01:41:44 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:41:44 $ docker top c82bee2300a120d3ba1838336c30e19e59991996ac007dc6a07ba619cd2e1d26 -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:45 + go version 01:41:45 go version go1.17.6 linux/amd64 [Pipeline] } 01:41:45 $ docker stop --time=1 c82bee2300a120d3ba1838336c30e19e59991996ac007dc6a07ba619cd2e1d26 01:41:46 $ docker rm -f c82bee2300a120d3ba1838336c30e19e59991996ac007dc6a07ba619cd2e1d26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:41:46 + docker inspect -f . ci-base-image-x86_64 01:41:46 . [Pipeline] withDockerContainer 01:41:46 prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container 01:41:46 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:41:47 $ docker top eaa195d9b9e902599485b8c525d7e9cb4bcb5e4a94c1795cd521abdfdf1f3adc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:41:47 + make test 01:41:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:41:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:42:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.069s coverage: 23.3% of statements 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:42:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 27.6% of statements 01:42:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 01:42:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.057s coverage: 10.8% of statements 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:42:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 33.2% of statements 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:42:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 86.1% of statements 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:42:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 65.1% of statements 01:42:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.857s coverage: 89.2% of statements 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:42:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.8% of statements 01:42:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:42:24 GO111MODULE=on go vet ./... 01:42:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:42:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:42:26 ./bin/test-attribution-txt.sh [Pipeline] echo 01:42:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:42:26 $ docker stop --time=1 eaa195d9b9e902599485b8c525d7e9cb4bcb5e4a94c1795cd521abdfdf1f3adc 01:42:29 $ docker rm -f eaa195d9b9e902599485b8c525d7e9cb4bcb5e4a94c1795cd521abdfdf1f3adc [Pipeline] // withDockerContainer [Pipeline] sh 01:42:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:42:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:42:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:42:31 + ls -al . 01:42:31 total 296 01:42:31 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 01:42 . 01:42:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 01:40 .. 01:42:31 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 01:40 .dockerignore 01:42:31 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 01:40 .git 01:42:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 01:40 .github 01:42:31 -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 01:40 .gitignore 01:42:31 -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 01:40 .golangci.yml 01:42:31 drwx------ 3 jenkins jenkins 4096 Apr 13 01:41 .semver 01:42:31 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 01:40 CHANGELOG.md 01:42:31 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 01:40 GOVERNANCE.md 01:42:31 -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 01:40 Jenkinsfile 01:42:31 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 01:40 LICENSE 01:42:31 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 01:40 Makefile 01:42:31 -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 01:40 OWNERS.md 01:42:31 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 01:40 README.md 01:42:31 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 01:41 VERSION 01:42:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 01:40 bin 01:42:31 -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 01:42 coverage.out 01:42:31 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 01:40 example 01:42:31 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 13 01:40 go.mod 01:42:31 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 13 01:40 go.sum 01:42:31 drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 01:40 internal 01:42:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 01:40 openapi 01:42:31 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 01:40 pkg 01:42:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 01:40 snap 01:42:31 -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 01:40 version.go [Pipeline] isUnix [Pipeline] sh 01:42:31 + 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=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd --label arch=amd64 --label version=0.0.0 . 01:42:31 Sending build context to Docker daemon 9.778MB 01:42:31 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:42:31 Step 2/25 : FROM ${BASE} AS builder 01:42:31 ---> 008f29891f53 01:42:31 Step 3/25 : ARG MAKE=make build 01:42:31 ---> Running in 132063b495b5 01:42:31 Removing intermediate container 132063b495b5 01:42:31 ---> 6c66d2a6412d 01:42:31 Step 4/25 : WORKDIR /device-sdk-go 01:42:31 ---> Running in d47358a3d028 01:42:31 Removing intermediate container d47358a3d028 01:42:31 ---> 0e1204dbf3e3 01:42:31 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:42:31 ---> Running in 6c3c6b5a2b4c 01:42:31 Removing intermediate container 6c3c6b5a2b4c 01:42:31 ---> 30fa42f3891a 01:42:31 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:42:31 ---> Running in 3796922f2624 01:42:32 Removing intermediate container 3796922f2624 01:42:32 ---> 2895138469cd 01:42:32 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:42:32 ---> Running in e8f97e894f46 01:42:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:42:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:42:33 OK: 221 MiB in 52 packages 01:42:34 Removing intermediate container e8f97e894f46 01:42:34 ---> 54d3b360e620 01:42:34 Step 8/25 : COPY go.mod vendor* ./ 01:42:34 ---> 95ec45a3dc8f 01:42:34 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:34 ---> Running in 6254998afce7 01:42:35 Removing intermediate container 6254998afce7 01:42:35 ---> 05014187b553 01:42:35 Step 10/25 : COPY . . 01:42:35 ---> 6a97b83cc467 01:42:35 Step 11/25 : RUN ${MAKE} 01:42:35 ---> Running in da90bc0a37cd 01:42:35 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 01:42:53 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:42:55 Removing intermediate container da90bc0a37cd 01:42:55 ---> fb949dc454ad 01:42:55 Step 12/25 : FROM alpine:3.14 01:42:55 3.14: Pulling from library/alpine 01:42:56 8663204ce13b: Pulling fs layer 01:42:56 8663204ce13b: Verifying Checksum 01:42:56 8663204ce13b: Download complete 01:42:56 8663204ce13b: Pull complete 01:42:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:42:56 Status: Downloaded newer image for alpine:3.14 01:42:56 ---> e04c818066af 01:42:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:42:56 ---> Running in c293e8f51b08 01:42:56 Removing intermediate container c293e8f51b08 01:42:56 ---> 161c5285ea69 01:42:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:42:56 ---> Running in 8802a8911079 01:42:57 Removing intermediate container 8802a8911079 01:42:57 ---> 967b81e7d37d 01:42:57 Step 15/25 : RUN apk add --update --no-cache zeromq 01:42:57 ---> Running in 1cbaffd7f2b3 01:42:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:42:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:42:58 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:42:58 (2/5) Installing libsodium (1.0.18-r0) 01:42:58 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:42:58 (4/5) Installing libzmq (4.3.4-r0) 01:42:58 (5/5) Installing zeromq (4.3.4-r0) 01:42:59 Executing busybox-1.33.1-r7.trigger 01:42:59 OK: 8 MiB in 19 packages 01:42:59 Removing intermediate container 1cbaffd7f2b3 01:42:59 ---> 4f8c84fd8b2b 01:42:59 Step 16/25 : WORKDIR / 01:42:59 ---> Running in b523aa303391 01:42:59 Removing intermediate container b523aa303391 01:42:59 ---> 12730cb4e030 01:42:59 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:43:00 ---> f3fd7fa50928 01:43:00 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:43:00 ---> db7d32e19acb 01:43:00 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:43:00 ---> 46d1f32b83a2 01:43:00 Step 20/25 : EXPOSE 59999 01:43:00 ---> Running in 11b7e184a857 01:43:00 Removing intermediate container 11b7e184a857 01:43:00 ---> 466b0eb1b73a 01:43:00 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:43:00 ---> Running in 34769d1cc041 01:43:00 Removing intermediate container 34769d1cc041 01:43:00 ---> 51b0de9a528a 01:43:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:43:00 ---> Running in b35628866eb3 01:43:01 Removing intermediate container b35628866eb3 01:43:01 ---> 848b3836892f 01:43:01 Step 23/25 : LABEL arch=amd64 01:43:01 ---> Running in 7a2a1df5f1ef 01:43:01 Removing intermediate container 7a2a1df5f1ef 01:43:01 ---> 460f67563d67 01:43:01 Step 24/25 : LABEL git_sha=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd 01:43:01 ---> Running in 6bbd29439c09 01:43:01 Removing intermediate container 6bbd29439c09 01:43:01 ---> 752cbe2694fa 01:43:01 Step 25/25 : LABEL version=0.0.0 01:43:01 ---> Running in c1f4a8f6f946 01:43:01 Removing intermediate container c1f4a8f6f946 01:43:01 ---> 201316ba7682 01:43:01 [Warning] One or more build-args [ARCH] were not consumed 01:43:01 Successfully built 201316ba7682 01:43:01 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 01:43:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:02 01:43:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:43:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:02 latest: Pulling from edgex-lftools-log-publisher 01:43:02 5eb5b503b376: Pulling fs layer 01:43:02 5c69ac0246d0: Pulling fs layer 01:43:02 ec43610c2a17: Pulling fs layer 01:43:02 3a2ae6a8a46f: Pulling fs layer 01:43:02 33b1e0a273af: Pulling fs layer 01:43:02 5d3b04190fa2: Pulling fs layer 01:43:02 2f39f015ded8: Pulling fs layer 01:43:02 3a2ae6a8a46f: Waiting 01:43:02 33b1e0a273af: Waiting 01:43:02 5d3b04190fa2: Waiting 01:43:02 2f39f015ded8: Waiting 01:43:02 5c69ac0246d0: Verifying Checksum 01:43:02 5c69ac0246d0: Download complete 01:43:02 3a2ae6a8a46f: Verifying Checksum 01:43:02 3a2ae6a8a46f: Download complete 01:43:02 33b1e0a273af: Verifying Checksum 01:43:02 33b1e0a273af: Download complete 01:43:02 5d3b04190fa2: Verifying Checksum 01:43:02 5d3b04190fa2: Download complete 01:43:02 ec43610c2a17: Verifying Checksum 01:43:02 ec43610c2a17: Download complete 01:43:02 5eb5b503b376: Verifying Checksum 01:43:02 5eb5b503b376: Download complete 01:43:03 2f39f015ded8: Verifying Checksum 01:43:03 2f39f015ded8: Download complete 01:43:03 5eb5b503b376: Pull complete 01:43:04 5c69ac0246d0: Pull complete 01:43:04 ec43610c2a17: Pull complete 01:43:04 3a2ae6a8a46f: Pull complete 01:43:04 33b1e0a273af: Pull complete 01:43:04 5d3b04190fa2: Pull complete 01:43:10 2f39f015ded8: Pull complete 01:43:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:43:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:43:10 prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container 01:43:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:43:11 $ docker top 625318fab1ae08a40503805dcfa0143a35059215f04b1dbf59f93e7d0d12352a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:12 ---> job-cost.sh 01:43:12 lf-activate-venv: SKIPPING 01:43:12 INFO: No Stack... 01:43:12 INFO: Retrieving Pricing Info for: v3-standard-8 01:43:13 INFO: Archiving Costs [Pipeline] sh 01:43:13 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/cost.csv 01:43:13 + cut -d, -f6 [Pipeline] lock 01:43:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] 01:43:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] did not exist. Created. 01:43:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:13 + echo total: 0.2199999988079071 [Pipeline] stash 01:43:13 Stashed 1 file(s) [Pipeline] } 01:43:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:13 $ docker stop --time=1 625318fab1ae08a40503805dcfa0143a35059215f04b1dbf59f93e7d0d12352a 01:43:14 $ docker rm -f 625318fab1ae08a40503805dcfa0143a35059215f04b1dbf59f93e7d0d12352a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:46:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20756 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [Pipeline] { [Pipeline] ws 01:46:23 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 01:46:23 The recommended git tool is: git 01:46:32 using credential edgex-jenkins-ssh 01:46:32 Cloning the remote Git repository 01:46:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:46:32 > git init /w/workspace/device-sdk-go/4 # timeout=10 01:46:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:46:32 > git --version # timeout=10 01:46:32 > git --version # 'git version 2.25.1' 01:46:32 using GIT_SSH to set credentials SSH Credentials for GitHub 01:46:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:46:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:46:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:46:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:46:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:46:35 using GIT_SSH to set credentials SSH Credentials for GitHub 01:46:35 > 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 01:46:35 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit daeaa2d04152392f6fcb0f7e694d6443ef22d2cd 01:46:36 Merge succeeded, producing daeaa2d04152392f6fcb0f7e694d6443ef22d2cd 01:46:36 Checking out Revision daeaa2d04152392f6fcb0f7e694d6443ef22d2cd (PR-1130) 01:46:35 > git config core.sparsecheckout # timeout=10 01:46:35 > git checkout -f daeaa2d04152392f6fcb0f7e694d6443ef22d2cd # timeout=10 01:46:36 > git remote # timeout=10 01:46:36 > git config --get remote.origin.url # timeout=10 01:46:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:46:36 > git merge 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 01:46:36 > git rev-parse HEAD^{commit} # timeout=10 01:46:36 > git config core.sparsecheckout # timeout=10 01:46:36 > git checkout -f daeaa2d04152392f6fcb0f7e694d6443ef22d2cd # timeout=10 01:46:40 Commit message: "feat: Implement ReadingUnits configuration for device profile changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:46:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:46:41 % Total % Received % Xferd Average Speed Time Time Time Current 01:46:41 Dload Upload Total Spent Left Speed 01:46:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 42754 0 --:--:-- --:--:-- --:--:-- 42909 [Pipeline] sh 01:46:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:46:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:46:42 + sudo tee /etc/docker/daemon.new 01:46:42 { 01:46:42 "registry-mirrors": [ 01:46:42 "https://nexus3.edgexfoundry.org:10001" 01:46:42 ], 01:46:42 "bip": "10.250.0.254/24", 01:46:42 "hosts": [ 01:46:42 "tcp://0.0.0.0:5555", 01:46:42 "unix:///var/run/docker.sock" 01:46:42 ], 01:46:42 "mtu": 1458, 01:46:42 "selinux-enabled": true, 01:46:42 "seccomp-profile": "/etc/docker/seccomp.json" 01:46:42 } [Pipeline] sh 01:46:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:46:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:01 provisioning config files... 01:47:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6303186178718251370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:01 ---> docker-login.sh 01:47:01 nexus3.edgexfoundry.org:10001 01:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:02 Configure a credential helper to remove this warning. See 01:47:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:02 01:47:02 Login Succeeded 01:47:02 nexus3.edgexfoundry.org:10002 01:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:03 Configure a credential helper to remove this warning. See 01:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:03 01:47:03 Login Succeeded 01:47:03 nexus3.edgexfoundry.org:10003 01:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:04 Configure a credential helper to remove this warning. See 01:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:04 01:47:04 Login Succeeded 01:47:04 nexus3.edgexfoundry.org:10004 01:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:04 Configure a credential helper to remove this warning. See 01:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:04 01:47:04 Login Succeeded 01:47:04 docker.io 01:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:05 Configure a credential helper to remove this warning. See 01:47:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:05 01:47:05 Login Succeeded 01:47:05 ---> docker-login.sh ends [Pipeline] } 01:47:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:47:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:47:05 ========================================================= 01:47:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:47:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:47:06 + 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 . 01:47:06 Sending build context to Docker daemon 5.227MB 01:47:06 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:47:06 Step 2/11 : FROM ${BASE} AS builder 01:47:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:47:06 9b3977197b4f: Pulling fs layer 01:47:06 1a89e8eeedd5: Pulling fs layer 01:47:06 94645a83ff95: Pulling fs layer 01:47:06 3f3a8bcf1eab: Pulling fs layer 01:47:06 0c92f367c5e7: Pulling fs layer 01:47:06 f7c0051592d6: Pulling fs layer 01:47:06 a227ed2f7395: Pulling fs layer 01:47:06 7b1c46037f91: Pulling fs layer 01:47:06 3f3a8bcf1eab: Waiting 01:47:06 0c92f367c5e7: Waiting 01:47:06 f7c0051592d6: Waiting 01:47:06 a227ed2f7395: Waiting 01:47:06 7b1c46037f91: Waiting 01:47:06 94645a83ff95: Verifying Checksum 01:47:06 94645a83ff95: Download complete 01:47:07 1a89e8eeedd5: Verifying Checksum 01:47:07 1a89e8eeedd5: Download complete 01:47:07 0c92f367c5e7: Verifying Checksum 01:47:07 0c92f367c5e7: Download complete 01:47:07 f7c0051592d6: Verifying Checksum 01:47:07 f7c0051592d6: Download complete 01:47:07 9b3977197b4f: Verifying Checksum 01:47:07 9b3977197b4f: Download complete 01:47:07 a227ed2f7395: Verifying Checksum 01:47:07 a227ed2f7395: Download complete 01:47:07 9b3977197b4f: Pull complete 01:47:08 1a89e8eeedd5: Pull complete 01:47:09 94645a83ff95: Pull complete 01:47:09 7b1c46037f91: Verifying Checksum 01:47:09 7b1c46037f91: Download complete 01:47:09 3f3a8bcf1eab: Verifying Checksum 01:47:09 3f3a8bcf1eab: Download complete 01:47:22 3f3a8bcf1eab: Pull complete 01:47:22 0c92f367c5e7: Pull complete 01:47:22 f7c0051592d6: Pull complete 01:47:22 a227ed2f7395: Pull complete 01:47:29 7b1c46037f91: Pull complete 01:47:29 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 01:47:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:47:29 ---> f79e39bc4007 01:47:29 Step 3/11 : ARG MAKE=make build 01:47:29 ---> Running in fbdb9eda17c9 01:47:30 Removing intermediate container fbdb9eda17c9 01:47:30 ---> 36e09a958189 01:47:30 Step 4/11 : WORKDIR /device-sdk-go 01:47:30 ---> Running in 2ee3523b680e 01:47:30 Removing intermediate container 2ee3523b680e 01:47:30 ---> a84220bc70bb 01:47:30 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:47:30 ---> Running in 7d2d5957ac96 01:47:31 Removing intermediate container 7d2d5957ac96 01:47:31 ---> b454b1410b92 01:47:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:47:31 ---> Running in c0baa6c2e3f7 01:47:33 Removing intermediate container c0baa6c2e3f7 01:47:33 ---> 2f1b48e1c806 01:47:33 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:47:33 ---> Running in ecbc563fdd0d 01:47:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:47:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:47:36 OK: 220 MiB in 52 packages 01:47:38 Removing intermediate container ecbc563fdd0d 01:47:38 ---> 09ac1fe7a4e2 01:47:38 Step 8/11 : COPY go.mod vendor* ./ 01:47:39 ---> 8b12a3416319 01:47:39 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:39 ---> Running in 423c9da30ffa 01:48:36 Removing intermediate container 423c9da30ffa 01:48:36 ---> b194bcc6e520 01:48:36 Step 10/11 : COPY . . 01:48:36 ---> 6b4d55ef512e 01:48:36 Step 11/11 : RUN ${MAKE} 01:48:36 ---> Running in 8e524c589d8d 01:48:36 noop 01:48:36 Removing intermediate container 8e524c589d8d 01:48:36 ---> a468d2749e51 01:48:36 Successfully built a468d2749e51 01:48:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:48:36 + docker inspect -f . ci-base-image-arm64 01:48:36 . [Pipeline] withDockerContainer 01:48:36 prd-ubuntu20.04-docker-arm64-4c-16g-20756 does not seem to be running inside a container 01:48:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:48:38 $ docker top 2513fae1d7832fd5ba094ae282d279d9dd616819066a78673487ea2e521bea75 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:39 + go version 01:48:39 go version go1.17.6 linux/arm64 [Pipeline] } 01:48:39 $ docker stop --time=1 2513fae1d7832fd5ba094ae282d279d9dd616819066a78673487ea2e521bea75 01:48:41 $ docker rm -f 2513fae1d7832fd5ba094ae282d279d9dd616819066a78673487ea2e521bea75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:48:41 + docker inspect -f . ci-base-image-arm64 01:48:41 . [Pipeline] withDockerContainer 01:48:41 prd-ubuntu20.04-docker-arm64-4c-16g-20756 does not seem to be running inside a container 01:48:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:48:43 $ docker top 3c53b2f1902b91cdbf5b374cd46ed977cd94b74c0260b9acd125418e8fb21b9e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:48:44 + make test 01:48:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:49:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:51:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:51:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:51:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:51:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.315s coverage: 23.3% of statements 01:51:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:51:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.291s coverage: 27.6% of statements 01:51:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.327s coverage: 78.9% of statements 01:51:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.269s coverage: 10.8% of statements 01:51:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 01:51:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:51:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:51:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.583s coverage: 33.2% of statements 01:51:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:51:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.275s coverage: 86.1% of statements 01:51:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:51:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:51:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.491s coverage: 65.1% of statements 01:51:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.515s coverage: 89.2% of statements 01:51:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:51:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.249s coverage: 4.8% of statements 01:51:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:51:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:51:22 GO111MODULE=on go vet ./... 01:52:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:52:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:52:44 ./bin/test-attribution-txt.sh [Pipeline] echo 01:52:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:52:46 $ docker stop --time=1 3c53b2f1902b91cdbf5b374cd46ed977cd94b74c0260b9acd125418e8fb21b9e 01:52:48 $ docker rm -f 3c53b2f1902b91cdbf5b374cd46ed977cd94b74c0260b9acd125418e8fb21b9e [Pipeline] // withDockerContainer [Pipeline] sh 01:52:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:52:49 Warning: overwriting stash ‘coverage-report’ 01:52:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:52:51 + ls -al . 01:52:51 total 292 01:52:51 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 01:52 . 01:52:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 01:46 .. 01:52:51 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 01:46 .dockerignore 01:52:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 01:46 .git 01:52:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 01:46 .github 01:52:51 -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 01:46 .gitignore 01:52:51 -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 01:46 .golangci.yml 01:52:51 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 01:46 CHANGELOG.md 01:52:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 01:46 GOVERNANCE.md 01:52:51 -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 01:46 Jenkinsfile 01:52:51 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 01:46 LICENSE 01:52:51 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 01:46 Makefile 01:52:51 -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 01:46 OWNERS.md 01:52:51 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 01:46 README.md 01:52:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 01:41 VERSION 01:52:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 01:46 bin 01:52:51 -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 01:51 coverage.out 01:52:51 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 01:46 example 01:52:51 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 13 01:46 go.mod 01:52:51 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 13 01:46 go.sum 01:52:51 drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 01:46 internal 01:52:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 01:46 openapi 01:52:51 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 01:46 pkg 01:52:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 01:46 snap 01:52:51 -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 01:46 version.go [Pipeline] isUnix [Pipeline] sh 01:52:51 + 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=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd --label arch=arm64 --label version=0.0.0 . 01:52:52 Sending build context to Docker daemon 5.357MB 01:52:52 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:52:52 Step 2/25 : FROM ${BASE} AS builder 01:52:52 ---> a468d2749e51 01:52:52 Step 3/25 : ARG MAKE=make build 01:52:52 ---> Running in 873bb5477c70 01:52:53 Removing intermediate container 873bb5477c70 01:52:53 ---> 3b340254713f 01:52:53 Step 4/25 : WORKDIR /device-sdk-go 01:52:53 ---> Running in 5314544d2b67 01:52:53 Removing intermediate container 5314544d2b67 01:52:53 ---> a0a0644f3177 01:52:53 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:52:53 ---> Running in bc58c8d51538 01:52:53 Removing intermediate container bc58c8d51538 01:52:53 ---> ef37089e00a5 01:52:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:53 ---> Running in 53e4a6069ce7 01:52:55 Removing intermediate container 53e4a6069ce7 01:52:55 ---> 9a1097833cff 01:52:55 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:52:55 ---> Running in 68b94c6d656d 01:52:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:52:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:52:58 OK: 220 MiB in 52 packages 01:52:59 Removing intermediate container 68b94c6d656d 01:52:59 ---> 3f0e500b982f 01:52:59 Step 8/25 : COPY go.mod vendor* ./ 01:52:59 ---> f005f64014ff 01:52:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:00 ---> Running in 1a390a8a558c 01:53:01 Removing intermediate container 1a390a8a558c 01:53:01 ---> 378a793dc678 01:53:01 Step 10/25 : COPY . . 01:53:02 ---> 8c568e274652 01:53:02 Step 11/25 : RUN ${MAKE} 01:53:02 ---> Running in 076e9b92073a 01:53:03 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 01:54:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:54:56 Removing intermediate container 076e9b92073a 01:54:56 ---> fb9954720ac3 01:54:56 Step 12/25 : FROM alpine:3.14 01:54:57 3.14: Pulling from library/alpine 01:54:57 455c02918c45: Pulling fs layer 01:54:57 455c02918c45: Verifying Checksum 01:54:57 455c02918c45: Download complete 01:54:58 455c02918c45: Pull complete 01:54:58 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:54:58 Status: Downloaded newer image for alpine:3.14 01:54:58 ---> ac73e934f311 01:54:58 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:54:58 ---> Running in 8f44f783ba99 01:54:58 Removing intermediate container 8f44f783ba99 01:54:58 ---> 40da2cb35f9e 01:54:58 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:54:58 ---> Running in 2f513528140d 01:55:00 Removing intermediate container 2f513528140d 01:55:00 ---> a159a02db5a1 01:55:00 Step 15/25 : RUN apk add --update --no-cache zeromq 01:55:00 ---> Running in 721d1d54e90b 01:55:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:55:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:55:03 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:55:03 (2/5) Installing libsodium (1.0.18-r0) 01:55:03 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:55:03 (4/5) Installing libzmq (4.3.4-r0) 01:55:03 (5/5) Installing zeromq (4.3.4-r0) 01:55:03 Executing busybox-1.33.1-r7.trigger 01:55:03 OK: 8 MiB in 19 packages 01:55:04 Removing intermediate container 721d1d54e90b 01:55:04 ---> 39abf87926e7 01:55:04 Step 16/25 : WORKDIR / 01:55:04 ---> Running in 6cddf1f6c1bc 01:55:04 Removing intermediate container 6cddf1f6c1bc 01:55:04 ---> 714cb8225869 01:55:04 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:55:05 ---> e5ef5b2dba85 01:55:05 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:55:06 ---> 57e059b99e15 01:55:06 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:55:07 ---> 70143a2f11c6 01:55:07 Step 20/25 : EXPOSE 59999 01:55:07 ---> Running in d1754b71374b 01:55:07 Removing intermediate container d1754b71374b 01:55:07 ---> d10a872270ff 01:55:07 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:55:08 ---> Running in 0897f8ec049f 01:55:08 Removing intermediate container 0897f8ec049f 01:55:08 ---> 9fe7d7f136f6 01:55:08 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:55:08 ---> Running in 046a0617b37d 01:55:08 Removing intermediate container 046a0617b37d 01:55:08 ---> 24dd39774d1d 01:55:08 Step 23/25 : LABEL arch=arm64 01:55:08 ---> Running in 8040a0265a87 01:55:09 Removing intermediate container 8040a0265a87 01:55:09 ---> 6599db604f44 01:55:09 Step 24/25 : LABEL git_sha=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd 01:55:09 ---> Running in b336ef64b672 01:55:09 Removing intermediate container b336ef64b672 01:55:09 ---> e87989f6c95f 01:55:09 Step 25/25 : LABEL version=0.0.0 01:55:09 ---> Running in 7fb3d3888721 01:55:09 Removing intermediate container 7fb3d3888721 01:55:09 ---> 8383de8f2ede 01:55:09 [Warning] One or more build-args [ARCH] were not consumed 01:55:09 Successfully built 8383de8f2ede 01:55:09 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 01:55:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:10 01:55:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:55:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:10 arm64: Pulling from edgex-lftools-log-publisher 01:55:10 8998bd30e6a1: Pulling fs layer 01:55:10 04944245beec: Pulling fs layer 01:55:10 699f458cf7ca: Pulling fs layer 01:55:10 765212b225bb: Pulling fs layer 01:55:10 f23df028b6ca: Pulling fs layer 01:55:10 d65c8cfc05b1: Pulling fs layer 01:55:10 2437ff75d9bd: Pulling fs layer 01:55:10 f23df028b6ca: Waiting 01:55:10 d65c8cfc05b1: Waiting 01:55:10 2437ff75d9bd: Waiting 01:55:10 765212b225bb: Waiting 01:55:10 04944245beec: Verifying Checksum 01:55:10 04944245beec: Download complete 01:55:10 765212b225bb: Verifying Checksum 01:55:10 765212b225bb: Download complete 01:55:10 f23df028b6ca: Verifying Checksum 01:55:10 f23df028b6ca: Download complete 01:55:10 d65c8cfc05b1: Verifying Checksum 01:55:10 d65c8cfc05b1: Download complete 01:55:11 699f458cf7ca: Verifying Checksum 01:55:11 699f458cf7ca: Download complete 01:55:11 8998bd30e6a1: Verifying Checksum 01:55:11 8998bd30e6a1: Download complete 01:55:14 2437ff75d9bd: Verifying Checksum 01:55:14 2437ff75d9bd: Download complete 01:55:16 8998bd30e6a1: Pull complete 01:55:16 04944245beec: Pull complete 01:55:17 699f458cf7ca: Pull complete 01:55:17 765212b225bb: Pull complete 01:55:18 f23df028b6ca: Pull complete 01:55:19 d65c8cfc05b1: Pull complete 01:55:34 2437ff75d9bd: Pull complete 01:55:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:55:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:55:34 prd-ubuntu20.04-docker-arm64-4c-16g-20756 does not seem to be running inside a container 01:55:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:55:36 $ docker top 0cadd0393bd5c1876d39800233248749ffd4ae0228ad46cdb5b90571d5db140c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:37 ---> job-cost.sh 01:55:37 lf-activate-venv: SKIPPING 01:55:37 INFO: No Stack... 01:55:38 INFO: Retrieving Pricing Info for: v3-standard-4 01:55:39 INFO: Archiving Costs [Pipeline] sh 01:55:39 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 01:55:39 + cut -d, -f6 [Pipeline] lock 01:55:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] 01:55:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] did not exist. Created. 01:55:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:55:40 /w/workspace/device-sdk-go/4@tmp/durable-9a6898be/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:55:41 + echo total: 0.10999999940395355 [Pipeline] stash 01:55:41 Warning: overwriting stash ‘stack-cost’ 01:55:41 Stashed 1 file(s) [Pipeline] } 01:55:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:55:41 $ docker stop --time=1 0cadd0393bd5c1876d39800233248749ffd4ae0228ad46cdb5b90571d5db140c 01:55:42 $ docker rm -f 0cadd0393bd5c1876d39800233248749ffd4ae0228ad46cdb5b90571d5db140c [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 01:55:43 provisioning config files... 01:55:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config3097498891128010167tmp [Pipeline] { [Pipeline] sh 01:55:43 + set +x 01:55:43 + curl -s https://codecov.io/bash 01:55:43 + bash -s -- 01:55:43 01:55:43 _____ _ 01:55:43 / ____| | | 01:55:43 | | ___ __| | ___ ___ _____ __ 01:55:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:55:43 | |___| (_) | (_| | __/ (_| (_) \ V / 01:55:43 \_____\___/ \__,_|\___|\___\___/ \_/ 01:55:43 Bash-1.0.6 01:55:43 01:55:43 01:55:43 ==> git version 2.25.1 found 01:55:43 ==> 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 01:55:43 Release-Date: 2020-01-08 01:55:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:55:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:55:43 ==> Jenkins CI detected. 01:55:43 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1130 01:55:43 project root: . 01:55:43 --> token set from env 01:55:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:55:43 ==> Running gcov in . (disable via -X gcov) 01:55:43 ==> Python coveragepy not found 01:55:43 ==> Searching for coverage reports in: 01:55:43 + . 01:55:43 -> Found 1 reports 01:55:43 ==> Detecting git/mercurial file structure 01:55:43 ==> Reading reports 01:55:43 + ./coverage.out bytes=129245 01:55:43 ==> Appending adjustments 01:55:43 https://docs.codecov.io/docs/fixing-reports 01:55:44 + Found adjustments 01:55:44 ==> Gzipping contents 01:55:44 20K /tmp/codecov.MoKa6H.gz 01:55:44 ==> Uploading reports 01:55:44 url: https://codecov.io 01:55:44 query: branch=PR-1130&commit=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= 01:55:44 -> Pinging Codecov 01:55:44 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=daeaa2d04152392f6fcb0f7e694d6443ef22d2cd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= 01:55:44 -> Uploading to 01:55:44 https://storage.googleapis.com/codecov/v4/raw/2022-04-13/7E55EF52A471D76F132DFD9A03CDDE97/daeaa2d04152392f6fcb0f7e694d6443ef22d2cd/733aa3d7-f62f-4c2f-9099-95a85fcc0f8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T015544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8998ad72b62be5e4414e3d77a34539a46e45363bbfca893faf3c6f2049d86c1a 01:55:44 % Total % Received % Xferd Average Speed Time Time Time Current 01:55:44 Dload Upload Total Spent Left Speed 01:55:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16567 0 0 100 16567 0 61132 --:--:-- --:--:-- --:--:-- 61132 01:55:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/daeaa2d04152392f6fcb0f7e694d6443ef22d2cd [Pipeline] } 01:55:44 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 01:55:45 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives ] 01:55:45 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives 01:55:45 total 16 01:55:45 drwxr-xr-x 3 root root 4096 Apr 13 01:43 . 01:55:45 drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 01:43 .. 01:55:45 drwxr-xr-x 2 root root 4096 Apr 13 01:43 cost 01:55:45 -rw-r--r-- 1 root root 85 Apr 13 01:43 cost.csv 01:55:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives 01:55:45 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives 01:55:45 total 16 01:55:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 01:43 . 01:55:45 drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 01:43 .. 01:55:45 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 01:43 cost 01:55:45 -rw-r--r-- 1 jenkins jenkins 85 Apr 13 01:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:55:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:55:46 ---> package-listing.sh 01:55:46 ++ facter osfamily 01:55:46 ++ tr '[:upper:]' '[:lower:]' 01:55:47 + OS_FAMILY=debian 01:55:47 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1130 01:55:47 + START_PACKAGES=/tmp/packages_start.txt 01:55:47 + END_PACKAGES=/tmp/packages_end.txt 01:55:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:55:47 + PACKAGES=/tmp/packages_start.txt 01:55:47 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' 01:55:47 + PACKAGES=/tmp/packages_end.txt 01:55:47 + case "${OS_FAMILY}" in 01:55:47 + dpkg -l 01:55:47 + grep '^ii' 01:55:47 + '[' -f /tmp/packages_start.txt ']' 01:55:47 + '[' -f /tmp/packages_end.txt ']' 01:55:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:55:47 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' 01:55:47 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ 01:55:47 + 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 01:55:47 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 01:55:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:55:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:55:47 . [Pipeline] withDockerContainer 01:55:47 prd-ubuntu20.04-docker-8c-8g-20754 does not seem to be running inside a container 01:55:48 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:55:48 $ docker top 2fa6fa1229ece659534acfbf8773c78f7d897bcb195ff71eb9c720471997e161 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:48 + touch /tmp/pre-build-complete [Pipeline] sh 01:55:48 + mkdir -p /var/log/sysstat [Pipeline] sh 01:55:49 + ls /var/log/sa-host 01:55:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:49 provisioning config files... 01:55:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config3663954195712073019tmp [Pipeline] { [Pipeline] echo 01:55:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:55:49 ---> create-netrc.sh [Pipeline] } 01:55:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:55:49 ---> python-tools-install.sh [Pipeline] echo 01:55:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:55:50 ---> sudo-logs.sh 01:55:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:55:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:55:50 ---> job-cost.sh 01:55:50 lf-activate-venv: SKIPPING 01:55:50 DEBUG: total: 0.2199999988079071 01:55:50 INFO: Retrieving Stack Cost... 01:55:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:55:51 INFO: Archiving Costs [Pipeline] echo 01:55:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:55:51 ---> logs-deploy.sh 01:55:51 lf-activate-venv: SKIPPING 01:55:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1130/4 01:55:51 INFO: archiving workspace using pattern(s): 01:55:52 Archives upload complete. 01:55:52 INFO: archiving logs to Nexus