Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fad5b8934091ce8d844bc32fca8ede5bda20e4fc+c11ae5f9cc83784f65659a881f6412b77a9cc0d8 (9b63f448802798bd445f1dfe8de26ba57afe7c0a) 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-ssh584856509594727541.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-ssh15525116961006634044.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1122/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1122/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18415156087184755456.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-ssh8414802144715571842.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1122/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1122/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13337634898873050809.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-20570 in /w/workspace/gexfoundry_device-sdk-go_PR-1122 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1122 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit fad5b8934091ce8d844bc32fca8ede5bda20e4fc Merge succeeded, producing 73417602b74e3a5132d1a38fdf4054a4482d9977 Checking out Revision 73417602b74e3a5132d1a38fdf4054a4482d9977 (PR-1122) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1122/head:refs/remotes/origin/PR-1122 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73417602b74e3a5132d1a38fdf4054a4482d9977 # timeout=10 Commit message: "Merge commit 'c11ae5f9cc83784f65659a881f6412b77a9cc0d8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:40:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:40:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:40:26 ========================================================= 22:40:26 EdgeX Global Pipelines Version Info 22:40:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e935a8832cfbfe53789e0847d752cbd1c364582c # timeout=10 22:40:27 ------------------- 22:40:27 stable info: 22:40:27 ------------------- 22:40:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:40:27 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:40:27 Message: update stable to v1.0.221 22:40:27 ------------------- 22:40:27 experimental info: 22:40:27 ------------------- 22:40:27 Commited By: **** collab-it+edgex@linuxfoundation.org 22:40:27 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 22:40:27 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1122 [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1122 [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1122 [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7341760 [Pipeline] echo 22:40:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:28 provisioning config files... 22:40:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config6192817877214132274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:28 ---> docker-login.sh 22:40:28 nexus3.edgexfoundry.org:10001 22:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:29 Configure a credential helper to remove this warning. See 22:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:29 22:40:29 Login Succeeded 22:40:29 nexus3.edgexfoundry.org:10002 22:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:29 Configure a credential helper to remove this warning. See 22:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:29 22:40:29 Login Succeeded 22:40:29 nexus3.edgexfoundry.org:10003 22:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:29 Configure a credential helper to remove this warning. See 22:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:29 22:40:29 Login Succeeded 22:40:29 nexus3.edgexfoundry.org:10004 22:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:29 Configure a credential helper to remove this warning. See 22:40:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:29 22:40:29 Login Succeeded 22:40:29 docker.io 22:40:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:30 Configure a credential helper to remove this warning. See 22:40:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:30 22:40:30 Login Succeeded 22:40:30 ---> docker-login.sh ends [Pipeline] } 22:40:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:40:30 + git rev-list -1 --merges 73417602b74e3a5132d1a38fdf4054a4482d9977~1..73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] echo 22:40:30 -----------> git rev-list -1 --merges 73417602b74e3a5132d1a38fdf4054a4482d9977~1..73417602b74e3a5132d1a38fdf4054a4482d9977 73417602b74e3a5132d1a38fdf4054a4482d9977 22:40:30 73417602b74e3a5132d1a38fdf4054a4482d9977 [false] [Pipeline] sh 22:40:31 + git log --format=format:%s -1 73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] echo 22:40:31 ========================================================= 22:40:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:40:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:31 + git log --format=format:%s -1 73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] echo 22:40:31 [semverPrep] GIT_COMMIT: 73417602b74e3a5132d1a38fdf4054a4482d9977, Commit Message: Merge commit 'c11ae5f9cc83784f65659a881f6412b77a9cc0d8' into HEAD [Pipeline] echo 22:40:31 [semverPrep] This is not a build commit. [Pipeline] sh 22:40:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:40:31 + grep -v github /etc/ssh/ssh_known_hosts 22:40:31 + [ -e /tmp/ssh_known_hosts ] 22:40:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:40:31 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 22:40:31 tee -a /etc/ssh/ssh_known_hosts 22:40:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:40:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:32 22:40:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:40:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:32 latest: Pulling from edgex-devops/git-semver 22:40:32 a0d0a0d46f8b: Pulling fs layer 22:40:32 3e5f54012d9b: Pulling fs layer 22:40:32 4c7163046ea9: Pulling fs layer 22:40:32 0c2d73faf560: Pulling fs layer 22:40:32 3e5f54012d9b: Verifying Checksum 22:40:32 3e5f54012d9b: Download complete 22:40:32 a0d0a0d46f8b: Verifying Checksum 22:40:32 a0d0a0d46f8b: Download complete 22:40:32 0c2d73faf560: Verifying Checksum 22:40:32 0c2d73faf560: Download complete 22:40:32 4c7163046ea9: Verifying Checksum 22:40:32 4c7163046ea9: Download complete 22:40:32 a0d0a0d46f8b: Pull complete 22:40:32 3e5f54012d9b: Pull complete 22:40:33 4c7163046ea9: Pull complete 22:40:33 0c2d73faf560: Pull complete 22:40:33 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:40:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:40:33 prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container 22:40:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:40:34 $ docker top 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:40:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:34 [ssh-agent] Looking for ssh-agent implementation... 22:40:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:34 $ docker exec 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 ssh-agent 22:40:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHLjgMg/agent.13 22:40:34 SSH_AGENT_PID=20 22:40:34 Running ssh-add (command line suppressed) 22:40:34 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_560823355900633380.key (/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_560823355900633380.key) 22:40:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:34 + git tag --points-at HEAD [Pipeline] } 22:40:34 $ docker exec --env ******** --env ******** 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 ssh-agent -k 22:40:34 unset SSH_AUTH_SOCK; 22:40:34 unset SSH_AGENT_PID; 22:40:34 echo Agent pid 20 killed; 22:40:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:40:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:35 [ssh-agent] Looking for ssh-agent implementation... 22:40:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:35 $ docker exec 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 ssh-agent 22:40:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfGjkFa/agent.53 22:40:35 SSH_AGENT_PID=59 22:40:35 Running ssh-add (command line suppressed) 22:40:35 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_8123102538095320161.key (/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/private_key_8123102538095320161.key) 22:40:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:35 + git semver init 22:40:35 # -> Open(): unable to determine branch for HEAD 22:40:35 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1122/.git 22:40:35 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1122 22:40:35 # $SEMVER_REMOTE_NAME = origin 22:40:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:40:35 # $SEMVER_USER_NAME = edgex-jenkins 22:40:35 # $SEMVER_BRANCH = PR-1122 22:40:35 # $SEMVER_TEMP = /tmp/semver-505779674 22:40:35 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:40:36 # '/tmp/semver-505779674' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1122/.semver' 22:40:36 # -> Force: false 22:40:36 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1122/.semver [Pipeline] } 22:40:36 $ docker exec --env ******** --env ******** 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 ssh-agent -k 22:40:37 unset SSH_AUTH_SOCK; 22:40:37 unset SSH_AGENT_PID; 22:40:37 echo Agent pid 59 killed; 22:40:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:40:37 + git semver [Pipeline] } 22:40:37 $ docker stop --time=1 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 22:40:38 $ docker rm -f 8cb960c5126022a1fa90b5fc614e340a3d8568d3ebd695f9ae4e57cea5e4af09 [Pipeline] // withDockerContainer [Pipeline] sh 22:40:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:40:39 Stashed 1 file(s) [Pipeline] echo 22:40:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:39 provisioning config files... 22:40:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config6145819340430199347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:39 ---> docker-login.sh 22:40:39 nexus3.edgexfoundry.org:10001 22:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:39 Configure a credential helper to remove this warning. See 22:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:39 22:40:39 Login Succeeded 22:40:39 nexus3.edgexfoundry.org:10002 22:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:40 Configure a credential helper to remove this warning. See 22:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:40 22:40:40 Login Succeeded 22:40:40 nexus3.edgexfoundry.org:10003 22:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:40 Configure a credential helper to remove this warning. See 22:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:40 22:40:40 Login Succeeded 22:40:40 nexus3.edgexfoundry.org:10004 22:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:40 Configure a credential helper to remove this warning. See 22:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:40 22:40:40 Login Succeeded 22:40:40 docker.io 22:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:40 Configure a credential helper to remove this warning. See 22:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:40 22:40:40 Login Succeeded 22:40:40 ---> docker-login.sh ends [Pipeline] } 22:40:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:40:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:40 ========================================================= 22:40:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:40:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:40:41 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:40:41 Sending build context to Docker daemon 9.583MB 22:40:41 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:40:41 Step 2/11 : FROM ${BASE} AS builder 22:40:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:40:41 59bf1c3509f3: Pulling fs layer 22:40:41 666ba61612fd: Pulling fs layer 22:40:41 8ed8ca486205: Pulling fs layer 22:40:41 4fe6c5a15a65: Pulling fs layer 22:40:41 22a0e8bec74d: Pulling fs layer 22:40:41 640e595b4fbd: Pulling fs layer 22:40:41 763cafe07f6e: Pulling fs layer 22:40:41 0c0b528cf693: Pulling fs layer 22:40:41 10935f4eaf8b: Pulling fs layer 22:40:41 4fe6c5a15a65: Waiting 22:40:41 22a0e8bec74d: Waiting 22:40:41 640e595b4fbd: Waiting 22:40:41 0c0b528cf693: Waiting 22:40:41 763cafe07f6e: Waiting 22:40:41 8ed8ca486205: Verifying Checksum 22:40:41 8ed8ca486205: Download complete 22:40:41 666ba61612fd: Download complete 22:40:41 22a0e8bec74d: Verifying Checksum 22:40:41 22a0e8bec74d: Download complete 22:40:41 640e595b4fbd: Verifying Checksum 22:40:41 640e595b4fbd: Download complete 22:40:41 59bf1c3509f3: Verifying Checksum 22:40:41 59bf1c3509f3: Download complete 22:40:41 763cafe07f6e: Verifying Checksum 22:40:41 763cafe07f6e: Download complete 22:40:41 0c0b528cf693: Verifying Checksum 22:40:41 0c0b528cf693: Download complete 22:40:41 59bf1c3509f3: Pull complete 22:40:41 666ba61612fd: Pull complete 22:40:41 8ed8ca486205: Pull complete 22:40:41 10935f4eaf8b: Verifying Checksum 22:40:41 10935f4eaf8b: Download complete 22:40:42 4fe6c5a15a65: Verifying Checksum 22:40:42 4fe6c5a15a65: Download complete 22:40:46 4fe6c5a15a65: Pull complete 22:40:46 22a0e8bec74d: Pull complete 22:40:46 640e595b4fbd: Pull complete 22:40:46 763cafe07f6e: Pull complete 22:40:46 0c0b528cf693: Pull complete 22:40:48 10935f4eaf8b: Pull complete 22:40:48 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 22:40:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:40:48 ---> 99d49a6021b9 22:40:48 Step 3/11 : ARG MAKE=make build 22:40:49 ---> Running in 186d4454d73a 22:40:49 Removing intermediate container 186d4454d73a 22:40:49 ---> cd8aea470729 22:40:49 Step 4/11 : WORKDIR /device-sdk-go 22:40:49 ---> Running in 85e0ca7f9853 22:40:49 Removing intermediate container 85e0ca7f9853 22:40:49 ---> e0099380833e 22:40:49 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:40:49 ---> Running in 9745f2767d50 22:40:49 Removing intermediate container 9745f2767d50 22:40:49 ---> 9b9de2dc5a45 22:40:49 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:40:49 ---> Running in e9f6fe4222a7 22:40:50 Removing intermediate container e9f6fe4222a7 22:40:50 ---> 81b1831a8c4c 22:40:50 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:40:50 ---> Running in 3c36a239aeab 22:40:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:40:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:40:51 OK: 221 MiB in 52 packages 22:40:52 Removing intermediate container 3c36a239aeab 22:40:52 ---> 6c4c3a3c6f4b 22:40:52 Step 8/11 : COPY go.mod vendor* ./ 22:40:52 ---> b8ba67cea7fa 22:40:52 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:52 ---> Running in f0b5c5a77142 22:40:54 Still waiting to schedule task 22:40:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:41:07 Removing intermediate container f0b5c5a77142 22:41:07 ---> bb90b60251c8 22:41:07 Step 10/11 : COPY . . 22:41:07 ---> 9535efb6e93b 22:41:07 Step 11/11 : RUN ${MAKE} 22:41:07 ---> Running in 86c248e2744e 22:41:07 noop 22:41:07 Removing intermediate container 86c248e2744e 22:41:07 ---> 93d9980bb43e 22:41:07 Successfully built 93d9980bb43e 22:41:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:41:07 + docker inspect -f . ci-base-image-x86_64 22:41:07 . [Pipeline] withDockerContainer 22:41:07 prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container 22:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:41:08 $ docker top 3eb5f968ad5cd6ab47336a80cf1c86e29c383d7c5fbeb8b63d4c6bc0e6278f7b -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:08 + go version 22:41:08 go version go1.17.6 linux/amd64 [Pipeline] } 22:41:08 $ docker stop --time=1 3eb5f968ad5cd6ab47336a80cf1c86e29c383d7c5fbeb8b63d4c6bc0e6278f7b 22:41:09 $ docker rm -f 3eb5f968ad5cd6ab47336a80cf1c86e29c383d7c5fbeb8b63d4c6bc0e6278f7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:41:10 + docker inspect -f . ci-base-image-x86_64 22:41:10 . [Pipeline] withDockerContainer 22:41:10 prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container 22:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:41:10 $ docker top 725c75549da81fe3d8a96f7cba9343d40ccef84729fe0e8bdcae6d4bae5b396b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:41:11 + make test 22:41:11 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:41:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:41:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.016s coverage: 23.3% of statements 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:41:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.012s coverage: 27.6% of statements 22:41:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.017s coverage: 78.9% of statements 22:41:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.021s coverage: 10.8% of statements 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:41:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.021s coverage: 33.2% of statements 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:41:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 86.1% of statements 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:41:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.019s coverage: 57.4% of statements 22:41:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.036s coverage: 89.2% of statements 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:41:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.018s coverage: 4.8% of statements 22:41:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:41:27 GO111MODULE=on go vet ./... 22:41:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:41:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:41:31 ./bin/test-attribution-txt.sh [Pipeline] echo 22:41:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:41:32 $ docker stop --time=1 725c75549da81fe3d8a96f7cba9343d40ccef84729fe0e8bdcae6d4bae5b396b 22:41:33 $ docker rm -f 725c75549da81fe3d8a96f7cba9343d40ccef84729fe0e8bdcae6d4bae5b396b [Pipeline] // withDockerContainer [Pipeline] sh 22:41:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:41:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:41:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:41:35 + ls -al . 22:41:35 total 316 22:41:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 22:41 . 22:41:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:40 .. 22:41:35 -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 22:40 .dockerignore 22:41:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 22:40 .git 22:41:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:40 .github 22:41:35 -rw-rw-r-- 1 jenkins jenkins 131 Apr 11 22:40 .gitignore 22:41:35 -rw-rw-r-- 1 jenkins jenkins 42 Apr 11 22:40 .golangci.yml 22:41:35 drwx------ 3 jenkins jenkins 4096 Apr 11 22:40 .semver 22:41:35 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 11 22:40 CHANGELOG.md 22:41:35 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 22:40 GOVERNANCE.md 22:41:35 -rw-rw-r-- 1 jenkins jenkins 880 Apr 11 22:40 Jenkinsfile 22:41:35 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 11 22:40 LICENSE 22:41:35 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 11 22:40 Makefile 22:41:35 -rw-rw-r-- 1 jenkins jenkins 619 Apr 11 22:40 OWNERS.md 22:41:35 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 11 22:40 README.md 22:41:35 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 22:40 VERSION 22:41:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:40 bin 22:41:35 -rw-r--r-- 1 jenkins jenkins 129001 Apr 11 22:41 coverage.out 22:41:35 drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:40 example 22:41:35 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 11 22:40 go.mod 22:41:35 -rw-rw-r-- 1 jenkins jenkins 53784 Apr 11 22:40 go.sum 22:41:35 drwxrwxr-x 15 jenkins jenkins 4096 Apr 11 22:40 internal 22:41:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 22:40 openapi 22:41:35 drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:40 pkg 22:41:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:40 snap 22:41:35 -rw-rw-r-- 1 jenkins jenkins 222 Apr 11 22:40 version.go [Pipeline] isUnix [Pipeline] sh 22:41:36 + 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=73417602b74e3a5132d1a38fdf4054a4482d9977 --label arch=amd64 --label version=0.0.0 . 22:41:36 Sending build context to Docker daemon 9.713MB 22:41:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:41:36 Step 2/25 : FROM ${BASE} AS builder 22:41:36 ---> 93d9980bb43e 22:41:36 Step 3/25 : ARG MAKE=make build 22:41:36 ---> Running in cd9f40b06eb9 22:41:36 Removing intermediate container cd9f40b06eb9 22:41:36 ---> 96754a3c4a0d 22:41:36 Step 4/25 : WORKDIR /device-sdk-go 22:41:36 ---> Running in 6d2fc7f7f711 22:41:36 Removing intermediate container 6d2fc7f7f711 22:41:36 ---> 4e28aba69f36 22:41:36 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:41:36 ---> Running in 544d01ed48b7 22:41:36 Removing intermediate container 544d01ed48b7 22:41:36 ---> 00dc8fbe354c 22:41:36 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:36 ---> Running in 477c1725f8bd 22:41:37 Removing intermediate container 477c1725f8bd 22:41:37 ---> cd6a5531b698 22:41:37 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:41:37 ---> Running in e5b7664bed49 22:41:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:41:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:41:38 OK: 221 MiB in 52 packages 22:41:39 Removing intermediate container e5b7664bed49 22:41:39 ---> 4e01b40daecf 22:41:39 Step 8/25 : COPY go.mod vendor* ./ 22:41:39 ---> 190428675c24 22:41:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:39 ---> Running in 4f1fee5a74ce 22:41:39 Removing intermediate container 4f1fee5a74ce 22:41:39 ---> d6283c5fb777 22:41:39 Step 10/25 : COPY . . 22:41:40 ---> 908f82736ae3 22:41:40 Step 11/25 : RUN ${MAKE} 22:41:40 ---> Running in 9deb81cffb3c 22:41:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:41:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:41:58 Removing intermediate container 9deb81cffb3c 22:41:58 ---> 631b85060aa0 22:41:58 Step 12/25 : FROM alpine:3.14 22:41:59 3.14: Pulling from library/alpine 22:41:59 8663204ce13b: Pulling fs layer 22:42:00 8663204ce13b: Download complete 22:42:00 8663204ce13b: Pull complete 22:42:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:42:00 Status: Downloaded newer image for alpine:3.14 22:42:00 ---> e04c818066af 22:42:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:42:00 ---> Running in c829e70d47d6 22:42:00 Removing intermediate container c829e70d47d6 22:42:00 ---> 7dfb4c324fc8 22:42:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:00 ---> Running in 490970b83110 22:42:00 Removing intermediate container 490970b83110 22:42:00 ---> 88c7a0d2af40 22:42:00 Step 15/25 : RUN apk add --update --no-cache zeromq 22:42:00 ---> Running in 30e8f1695555 22:42:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:42:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:42:02 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:42:02 (2/5) Installing libsodium (1.0.18-r0) 22:42:02 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:42:02 (4/5) Installing libzmq (4.3.4-r0) 22:42:02 (5/5) Installing zeromq (4.3.4-r0) 22:42:02 Executing busybox-1.33.1-r7.trigger 22:42:02 OK: 8 MiB in 19 packages 22:42:03 Removing intermediate container 30e8f1695555 22:42:03 ---> 0c47e0eb7b51 22:42:03 Step 16/25 : WORKDIR / 22:42:03 ---> Running in 3019f6f3cf18 22:42:03 Removing intermediate container 3019f6f3cf18 22:42:03 ---> 6473db8801ac 22:42:03 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:42:03 ---> bcb11f717192 22:42:03 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:42:03 ---> 6d1cf608221d 22:42:03 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:42:04 ---> 5adbcbb2f943 22:42:04 Step 20/25 : EXPOSE 59999 22:42:04 ---> Running in 8327876d1845 22:42:04 Removing intermediate container 8327876d1845 22:42:04 ---> 56f91cc56c18 22:42:04 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:42:04 ---> Running in 009c4256ddbf 22:42:04 Removing intermediate container 009c4256ddbf 22:42:04 ---> 02a083f30f70 22:42:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:42:04 ---> Running in b24e74842ca5 22:42:04 Removing intermediate container b24e74842ca5 22:42:04 ---> d10589b0b2d5 22:42:04 Step 23/25 : LABEL arch=amd64 22:42:04 ---> Running in fad1811fc07c 22:42:04 Removing intermediate container fad1811fc07c 22:42:04 ---> d0e5343ecfe6 22:42:04 Step 24/25 : LABEL git_sha=73417602b74e3a5132d1a38fdf4054a4482d9977 22:42:04 ---> Running in fe0114a8bc9f 22:42:04 Removing intermediate container fe0114a8bc9f 22:42:04 ---> 929c73d2be0a 22:42:04 Step 25/25 : LABEL version=0.0.0 22:42:05 ---> Running in 70ce15791b7c 22:42:05 Removing intermediate container 70ce15791b7c 22:42:05 ---> bd75977981c8 22:42:05 [Warning] One or more build-args [ARCH] were not consumed 22:42:05 Successfully built bd75977981c8 22:42:05 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:42:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:05 22:42:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:42:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:05 latest: Pulling from edgex-lftools-log-publisher 22:42:05 5eb5b503b376: Pulling fs layer 22:42:05 5c69ac0246d0: Pulling fs layer 22:42:05 ec43610c2a17: Pulling fs layer 22:42:05 3a2ae6a8a46f: Pulling fs layer 22:42:05 33b1e0a273af: Pulling fs layer 22:42:05 5d3b04190fa2: Pulling fs layer 22:42:05 2f39f015ded8: Pulling fs layer 22:42:05 33b1e0a273af: Waiting 22:42:05 5d3b04190fa2: Waiting 22:42:05 3a2ae6a8a46f: Waiting 22:42:05 5c69ac0246d0: Verifying Checksum 22:42:05 5c69ac0246d0: Download complete 22:42:05 3a2ae6a8a46f: Verifying Checksum 22:42:05 3a2ae6a8a46f: Download complete 22:42:05 33b1e0a273af: Verifying Checksum 22:42:05 33b1e0a273af: Download complete 22:42:05 5d3b04190fa2: Verifying Checksum 22:42:05 5d3b04190fa2: Download complete 22:42:05 ec43610c2a17: Verifying Checksum 22:42:05 ec43610c2a17: Download complete 22:42:05 5eb5b503b376: Verifying Checksum 22:42:05 5eb5b503b376: Download complete 22:42:06 2f39f015ded8: Download complete 22:42:07 5eb5b503b376: Pull complete 22:42:07 5c69ac0246d0: Pull complete 22:42:08 ec43610c2a17: Pull complete 22:42:08 3a2ae6a8a46f: Pull complete 22:42:08 33b1e0a273af: Pull complete 22:42:08 5d3b04190fa2: Pull complete 22:42:13 2f39f015ded8: Pull complete 22:42:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:42:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:42:13 prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container 22:42:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:42:15 $ docker top 34bc415a3c7db9c09cdc2500a96ea9554e7f4a9f8adca23b9b2039ffdb522c07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:15 ---> job-cost.sh 22:42:15 lf-activate-venv: SKIPPING 22:42:15 INFO: No Stack... 22:42:16 INFO: Retrieving Pricing Info for: v3-standard-8 22:42:16 INFO: Archiving Costs [Pipeline] sh 22:42:16 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/cost.csv 22:42:16 + cut -d, -f6 [Pipeline] lock 22:42:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] 22:42:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] did not exist. Created. 22:42:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:17 + echo total: 0.2199999988079071 [Pipeline] stash 22:42:17 Stashed 1 file(s) [Pipeline] } 22:42:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:17 $ docker stop --time=1 34bc415a3c7db9c09cdc2500a96ea9554e7f4a9f8adca23b9b2039ffdb522c07 22:42:18 $ docker rm -f 34bc415a3c7db9c09cdc2500a96ea9554e7f4a9f8adca23b9b2039ffdb522c07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:42:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20572 in /w/workspace/gexfoundry_device-sdk-go_PR-1122 [Pipeline] { [Pipeline] ws 22:42:28 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 22:42:28 The recommended git tool is: git 22:42:35 using credential edgex-jenkins-ssh 22:42:35 Cloning the remote Git repository 22:42:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:42:36 > git init /w/workspace/device-sdk-go/3 # timeout=10 22:42:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:42:36 > git --version # timeout=10 22:42:36 > git --version # 'git version 2.25.1' 22:42:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:42:39 Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit fad5b8934091ce8d844bc32fca8ede5bda20e4fc 22:42:39 Merge succeeded, producing 28ef465814b688676f14cb703bfcce7f1f02fc86 22:42:39 Checking out Revision 28ef465814b688676f14cb703bfcce7f1f02fc86 (PR-1122) 22:42:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:42:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:42:38 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1122/head:refs/remotes/origin/PR-1122 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:42:39 > git config core.sparsecheckout # timeout=10 22:42:39 > git checkout -f fad5b8934091ce8d844bc32fca8ede5bda20e4fc # timeout=10 22:42:39 > git remote # timeout=10 22:42:39 > git config --get remote.origin.url # timeout=10 22:42:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:39 > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 22:42:39 > git rev-parse HEAD^{commit} # timeout=10 22:42:39 > git config core.sparsecheckout # timeout=10 22:42:39 > git checkout -f 28ef465814b688676f14cb703bfcce7f1f02fc86 # timeout=10 22:42:43 Commit message: "Merge commit 'c11ae5f9cc83784f65659a881f6412b77a9cc0d8' into HEAD" 22:42:43 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:43 > git rev-list --no-walk e935a8832cfbfe53789e0847d752cbd1c364582c # timeout=10 22:42:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:42:44 % Total % Received % Xferd Average Speed Time Time Time Current 22:42:44 Dload Upload Total Spent Left Speed 22:42:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47562 0 --:--:-- --:--:-- --:--:-- 47562 [Pipeline] sh 22:42:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:42:45 + sudo tee /etc/docker/daemon.new 22:42:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:42:45 { 22:42:45 "registry-mirrors": [ 22:42:45 "https://nexus3.edgexfoundry.org:10001" 22:42:45 ], 22:42:45 "bip": "10.250.0.254/24", 22:42:45 "hosts": [ 22:42:45 "tcp://0.0.0.0:5555", 22:42:45 "unix:///var/run/docker.sock" 22:42:45 ], 22:42:45 "mtu": 1458, 22:42:45 "selinux-enabled": true, 22:42:45 "seccomp-profile": "/etc/docker/seccomp.json" 22:42:45 } [Pipeline] sh 22:42:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:42:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:04 provisioning config files... 22:43:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3955836001439022783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:05 ---> docker-login.sh 22:43:05 nexus3.edgexfoundry.org:10001 22:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:06 Configure a credential helper to remove this warning. See 22:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:06 22:43:06 Login Succeeded 22:43:06 nexus3.edgexfoundry.org:10002 22:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:06 Configure a credential helper to remove this warning. See 22:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:06 22:43:06 Login Succeeded 22:43:06 nexus3.edgexfoundry.org:10003 22:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:06 Configure a credential helper to remove this warning. See 22:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:06 22:43:06 Login Succeeded 22:43:07 nexus3.edgexfoundry.org:10004 22:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:07 Configure a credential helper to remove this warning. See 22:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:07 22:43:07 Login Succeeded 22:43:07 docker.io 22:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:08 Configure a credential helper to remove this warning. See 22:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:08 22:43:08 Login Succeeded 22:43:08 ---> docker-login.sh ends [Pipeline] } 22:43:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:43:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:08 ========================================================= 22:43:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:43:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:43:09 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:43:09 Sending build context to Docker daemon 5.167MB 22:43:09 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:43:09 Step 2/11 : FROM ${BASE} AS builder 22:43:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:43:09 9b3977197b4f: Pulling fs layer 22:43:09 1a89e8eeedd5: Pulling fs layer 22:43:09 94645a83ff95: Pulling fs layer 22:43:09 3f3a8bcf1eab: Pulling fs layer 22:43:09 0c92f367c5e7: Pulling fs layer 22:43:09 f7c0051592d6: Pulling fs layer 22:43:09 a227ed2f7395: Pulling fs layer 22:43:09 7b1c46037f91: Pulling fs layer 22:43:09 3f3a8bcf1eab: Waiting 22:43:09 0c92f367c5e7: Waiting 22:43:09 f7c0051592d6: Waiting 22:43:09 a227ed2f7395: Waiting 22:43:09 7b1c46037f91: Waiting 22:43:09 94645a83ff95: Verifying Checksum 22:43:09 94645a83ff95: Download complete 22:43:09 1a89e8eeedd5: Download complete 22:43:09 0c92f367c5e7: Verifying Checksum 22:43:09 0c92f367c5e7: Download complete 22:43:09 f7c0051592d6: Verifying Checksum 22:43:09 f7c0051592d6: Download complete 22:43:10 9b3977197b4f: Download complete 22:43:10 a227ed2f7395: Verifying Checksum 22:43:10 a227ed2f7395: Download complete 22:43:10 9b3977197b4f: Pull complete 22:43:11 1a89e8eeedd5: Pull complete 22:43:11 94645a83ff95: Pull complete 22:43:11 7b1c46037f91: Verifying Checksum 22:43:11 7b1c46037f91: Download complete 22:43:12 3f3a8bcf1eab: Verifying Checksum 22:43:12 3f3a8bcf1eab: Download complete 22:43:25 3f3a8bcf1eab: Pull complete 22:43:25 0c92f367c5e7: Pull complete 22:43:25 f7c0051592d6: Pull complete 22:43:25 a227ed2f7395: Pull complete 22:43:32 7b1c46037f91: Pull complete 22:43:32 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 22:43:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:43:32 ---> f79e39bc4007 22:43:32 Step 3/11 : ARG MAKE=make build 22:43:32 ---> Running in d936d9fdae2f 22:43:32 Removing intermediate container d936d9fdae2f 22:43:32 ---> 08b48fb07499 22:43:32 Step 4/11 : WORKDIR /device-sdk-go 22:43:32 ---> Running in f35badfec725 22:43:32 Removing intermediate container f35badfec725 22:43:32 ---> 5441f0c3bb24 22:43:32 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:43:32 ---> Running in fa709a5a72eb 22:43:33 Removing intermediate container fa709a5a72eb 22:43:33 ---> c15eee38c90b 22:43:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:43:33 ---> Running in 54d18bb6faa7 22:43:35 Removing intermediate container 54d18bb6faa7 22:43:35 ---> d87053a67107 22:43:35 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:43:35 ---> Running in ec663aed6575 22:43:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:43:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:43:37 OK: 220 MiB in 52 packages 22:43:38 Removing intermediate container ec663aed6575 22:43:38 ---> 9256118a5ffc 22:43:38 Step 8/11 : COPY go.mod vendor* ./ 22:43:38 ---> 3f117b82ea47 22:43:38 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:38 ---> Running in 0659660af271 22:44:25 Removing intermediate container 0659660af271 22:44:25 ---> fa761f6477b3 22:44:25 Step 10/11 : COPY . . 22:44:25 ---> 026ab3619695 22:44:25 Step 11/11 : RUN ${MAKE} 22:44:25 ---> Running in 077b5f6877bb 22:44:25 noop 22:44:25 Removing intermediate container 077b5f6877bb 22:44:25 ---> ed6d7d2d2507 22:44:25 Successfully built ed6d7d2d2507 22:44:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:44:26 + docker inspect -f . ci-base-image-arm64 22:44:26 . [Pipeline] withDockerContainer 22:44:26 prd-ubuntu20.04-docker-arm64-4c-16g-20572 does not seem to be running inside a container 22:44:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:44:27 $ docker top 132593d2e2786a148681c4a93636345e727131bc8fef1490052a4a35c6e28cd8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:28 + go version 22:44:28 go version go1.17.6 linux/arm64 [Pipeline] } 22:44:28 $ docker stop --time=1 132593d2e2786a148681c4a93636345e727131bc8fef1490052a4a35c6e28cd8 22:44:30 $ docker rm -f 132593d2e2786a148681c4a93636345e727131bc8fef1490052a4a35c6e28cd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:44:31 + docker inspect -f . ci-base-image-arm64 22:44:31 . [Pipeline] withDockerContainer 22:44:31 prd-ubuntu20.04-docker-arm64-4c-16g-20572 does not seem to be running inside a container 22:44:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:44:32 $ docker top f393d6bd39c8f30d12ca9d216a1434e2dd1089f2a00aa10ca07ff967f62be082 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:44:33 + make test 22:44:33 GO111MODULE=on go test -coverprofile=coverage.out ./... 22:44:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:45:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:45:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:45:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:45:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.128s coverage: 23.3% of statements 22:45:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:45:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 22:45:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.095s coverage: 78.9% of statements 22:45:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.066s coverage: 10.8% of statements 22:45:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:45:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:45:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:46:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.141s coverage: 33.2% of statements 22:46:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:46:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.071s coverage: 86.1% of statements 22:46:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:46:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:46:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.153s coverage: 57.4% of statements 22:46:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.203s coverage: 89.2% of statements 22:46:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:46:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.8% of statements 22:46:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:46:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:46:07 GO111MODULE=on go vet ./... 22:46:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:46:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:46:33 ./bin/test-attribution-txt.sh [Pipeline] echo 22:46:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:46:35 $ docker stop --time=1 f393d6bd39c8f30d12ca9d216a1434e2dd1089f2a00aa10ca07ff967f62be082 22:46:36 $ docker rm -f f393d6bd39c8f30d12ca9d216a1434e2dd1089f2a00aa10ca07ff967f62be082 [Pipeline] // withDockerContainer [Pipeline] sh 22:46:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:46:37 Warning: overwriting stash ‘coverage-report’ 22:46:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:46:39 + ls -al . 22:46:39 total 312 22:46:39 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 22:46 . 22:46:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:42 .. 22:46:39 -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 22:42 .dockerignore 22:46:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 22:42 .git 22:46:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:42 .github 22:46:39 -rw-rw-r-- 1 jenkins jenkins 131 Apr 11 22:42 .gitignore 22:46:39 -rw-rw-r-- 1 jenkins jenkins 42 Apr 11 22:42 .golangci.yml 22:46:39 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 11 22:42 CHANGELOG.md 22:46:39 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 22:42 GOVERNANCE.md 22:46:39 -rw-rw-r-- 1 jenkins jenkins 880 Apr 11 22:42 Jenkinsfile 22:46:39 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 11 22:42 LICENSE 22:46:39 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 11 22:42 Makefile 22:46:39 -rw-rw-r-- 1 jenkins jenkins 619 Apr 11 22:42 OWNERS.md 22:46:39 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 11 22:42 README.md 22:46:39 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 22:40 VERSION 22:46:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 22:42 bin 22:46:39 -rw-r--r-- 1 jenkins jenkins 129001 Apr 11 22:46 coverage.out 22:46:39 drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:42 example 22:46:39 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 11 22:42 go.mod 22:46:39 -rw-rw-r-- 1 jenkins jenkins 53784 Apr 11 22:42 go.sum 22:46:39 drwxrwxr-x 15 jenkins jenkins 4096 Apr 11 22:42 internal 22:46:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 22:42 openapi 22:46:39 drwxrwxr-x 5 jenkins jenkins 4096 Apr 11 22:42 pkg 22:46:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 22:42 snap 22:46:39 -rw-rw-r-- 1 jenkins jenkins 222 Apr 11 22:42 version.go [Pipeline] isUnix [Pipeline] sh 22:46:39 + 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=28ef465814b688676f14cb703bfcce7f1f02fc86 --label arch=arm64 --label version=0.0.0 . 22:46:39 Sending build context to Docker daemon 5.297MB 22:46:39 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:46:39 Step 2/25 : FROM ${BASE} AS builder 22:46:39 ---> ed6d7d2d2507 22:46:39 Step 3/25 : ARG MAKE=make build 22:46:39 ---> Running in ff8e2e0e73c3 22:46:40 Removing intermediate container ff8e2e0e73c3 22:46:40 ---> e427feaae01d 22:46:40 Step 4/25 : WORKDIR /device-sdk-go 22:46:40 ---> Running in 09701771a478 22:46:40 Removing intermediate container 09701771a478 22:46:40 ---> 374fba683bb5 22:46:40 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:40 ---> Running in 01850a09bf46 22:46:41 Removing intermediate container 01850a09bf46 22:46:41 ---> 4822d2388d8c 22:46:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:41 ---> Running in 9cd573bce76c 22:46:43 Removing intermediate container 9cd573bce76c 22:46:43 ---> f43045c603cb 22:46:43 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:46:43 ---> Running in 6a84fa84f373 22:46:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:46:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:46:46 OK: 220 MiB in 52 packages 22:46:46 Removing intermediate container 6a84fa84f373 22:46:46 ---> cbd23d540714 22:46:46 Step 8/25 : COPY go.mod vendor* ./ 22:46:47 ---> 2390d2881e81 22:46:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:47 ---> Running in e7e0b4d82338 22:46:49 Removing intermediate container e7e0b4d82338 22:46:49 ---> 80ce436c5a0e 22:46:49 Step 10/25 : COPY . . 22:46:50 ---> 96328a920895 22:46:50 Step 11/25 : RUN ${MAKE} 22:46:50 ---> Running in 258312d00636 22:46:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:48:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:48:58 Removing intermediate container 258312d00636 22:48:58 ---> 73950771cdc6 22:48:58 Step 12/25 : FROM alpine:3.14 22:48:58 3.14: Pulling from library/alpine 22:48:58 455c02918c45: Pulling fs layer 22:48:58 455c02918c45: Verifying Checksum 22:48:58 455c02918c45: Download complete 22:48:58 455c02918c45: Pull complete 22:48:58 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:48:58 Status: Downloaded newer image for alpine:3.14 22:48:58 ---> ac73e934f311 22:48:58 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:48:58 ---> Running in 75eb4dd26966 22:48:58 Removing intermediate container 75eb4dd26966 22:48:58 ---> 406ed25187c5 22:48:58 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:48:58 ---> Running in cadc7afdaf0e 22:48:58 Removing intermediate container cadc7afdaf0e 22:48:58 ---> d98d958c2ea5 22:48:58 Step 15/25 : RUN apk add --update --no-cache zeromq 22:48:58 ---> Running in 2908417cc60f 22:48:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:48:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:48:58 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:48:58 (2/5) Installing libsodium (1.0.18-r0) 22:48:58 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:48:58 (4/5) Installing libzmq (4.3.4-r0) 22:48:58 (5/5) Installing zeromq (4.3.4-r0) 22:48:58 Executing busybox-1.33.1-r7.trigger 22:48:58 OK: 8 MiB in 19 packages 22:48:58 Removing intermediate container 2908417cc60f 22:48:58 ---> 2cc57b3045a7 22:48:58 Step 16/25 : WORKDIR / 22:48:58 ---> Running in 0d3303f889d8 22:48:58 Removing intermediate container 0d3303f889d8 22:48:58 ---> a9360bf090a9 22:48:58 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:48:59 ---> 0a7cbce81406 22:48:59 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:49:01 ---> c27d361fa98c 22:49:01 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:49:01 ---> 3cf019f16ebd 22:49:01 Step 20/25 : EXPOSE 59999 22:49:01 ---> Running in e3cc5d29075f 22:49:02 Removing intermediate container e3cc5d29075f 22:49:02 ---> 8ca6bcf8cb64 22:49:02 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:49:02 ---> Running in 8c46e3f00eb8 22:49:02 Removing intermediate container 8c46e3f00eb8 22:49:02 ---> d9058a4800df 22:49:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:49:02 ---> Running in f7c9b99d9e97 22:49:02 Removing intermediate container f7c9b99d9e97 22:49:02 ---> 747ff94c195e 22:49:02 Step 23/25 : LABEL arch=arm64 22:49:02 ---> Running in 3a009f5c78cc 22:49:03 Removing intermediate container 3a009f5c78cc 22:49:03 ---> 7a1302b795ed 22:49:03 Step 24/25 : LABEL git_sha=28ef465814b688676f14cb703bfcce7f1f02fc86 22:49:03 ---> Running in 50a60b117031 22:49:03 Removing intermediate container 50a60b117031 22:49:03 ---> b08fac351c15 22:49:03 Step 25/25 : LABEL version=0.0.0 22:49:03 ---> Running in c5005023c3a3 22:49:04 Removing intermediate container c5005023c3a3 22:49:04 ---> 548464e5a939 22:49:04 [Warning] One or more build-args [ARCH] were not consumed 22:49:04 Successfully built 548464e5a939 22:49:04 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:49:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:49:04 22:49:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:49:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:49:05 arm64: Pulling from edgex-lftools-log-publisher 22:49:05 8998bd30e6a1: Pulling fs layer 22:49:05 04944245beec: Pulling fs layer 22:49:05 699f458cf7ca: Pulling fs layer 22:49:05 765212b225bb: Pulling fs layer 22:49:05 f23df028b6ca: Pulling fs layer 22:49:05 d65c8cfc05b1: Pulling fs layer 22:49:05 2437ff75d9bd: Pulling fs layer 22:49:05 d65c8cfc05b1: Waiting 22:49:05 2437ff75d9bd: Waiting 22:49:05 765212b225bb: Waiting 22:49:05 f23df028b6ca: Waiting 22:49:05 04944245beec: Verifying Checksum 22:49:05 04944245beec: Download complete 22:49:05 765212b225bb: Verifying Checksum 22:49:05 765212b225bb: Download complete 22:49:05 f23df028b6ca: Download complete 22:49:05 d65c8cfc05b1: Verifying Checksum 22:49:05 d65c8cfc05b1: Download complete 22:49:05 699f458cf7ca: Verifying Checksum 22:49:05 699f458cf7ca: Download complete 22:49:05 8998bd30e6a1: Verifying Checksum 22:49:05 8998bd30e6a1: Download complete 22:49:08 2437ff75d9bd: Verifying Checksum 22:49:08 2437ff75d9bd: Download complete 22:49:10 8998bd30e6a1: Pull complete 22:49:10 04944245beec: Pull complete 22:49:12 699f458cf7ca: Pull complete 22:49:12 765212b225bb: Pull complete 22:49:13 f23df028b6ca: Pull complete 22:49:13 d65c8cfc05b1: Pull complete 22:49:28 2437ff75d9bd: Pull complete 22:49:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:49:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:49:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:49:28 prd-ubuntu20.04-docker-arm64-4c-16g-20572 does not seem to be running inside a container 22:49:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:49:31 $ docker top f9840d1f5825b21a0a3475f3039db86c6fb01dd8ba8a532feabcd5e59e41d8d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:32 ---> job-cost.sh 22:49:32 lf-activate-venv: SKIPPING 22:49:32 INFO: No Stack... 22:49:33 INFO: Retrieving Pricing Info for: v3-standard-4 22:49:34 INFO: Archiving Costs [Pipeline] sh 22:49:34 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 22:49:34 + cut -d, -f6 [Pipeline] lock 22:49:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] 22:49:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] did not exist. Created. 22:49:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:49:35 /w/workspace/device-sdk-go/3@tmp/durable-2bf48ac6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:49:36 + echo total: 0.10999999940395355 [Pipeline] stash 22:49:36 Warning: overwriting stash ‘stack-cost’ 22:49:36 Stashed 1 file(s) [Pipeline] } 22:49:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1122-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:49:36 $ docker stop --time=1 f9840d1f5825b21a0a3475f3039db86c6fb01dd8ba8a532feabcd5e59e41d8d2 22:49:38 $ docker rm -f f9840d1f5825b21a0a3475f3039db86c6fb01dd8ba8a532feabcd5e59e41d8d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:49:38 provisioning config files... 22:49:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config8565093801332709240tmp [Pipeline] { [Pipeline] sh 22:49:38 + set +x 22:49:38 + curl -s https://codecov.io/bash 22:49:38 + bash -s -- 22:49:38 22:49:38 _____ _ 22:49:38 / ____| | | 22:49:38 | | ___ __| | ___ ___ _____ __ 22:49:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:49:38 | |___| (_) | (_| | __/ (_| (_) \ V / 22:49:38 \_____\___/ \__,_|\___|\___\___/ \_/ 22:49:38 Bash-1.0.6 22:49:38 22:49:38 22:49:38 ==> git version 2.25.1 found 22:49:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:49:38 Release-Date: 2020-01-08 22:49:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:49:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:49:38 ==> Jenkins CI detected. 22:49:38 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1122 22:49:38 project root: . 22:49:38 --> token set from env 22:49:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:49:38 ==> Running gcov in . (disable via -X gcov) 22:49:38 ==> Python coveragepy not found 22:49:38 ==> Searching for coverage reports in: 22:49:38 + . 22:49:38 -> Found 1 reports 22:49:38 ==> Detecting git/mercurial file structure 22:49:38 ==> Reading reports 22:49:38 + ./coverage.out bytes=129001 22:49:38 ==> Appending adjustments 22:49:38 https://docs.codecov.io/docs/fixing-reports 22:49:39 + Found adjustments 22:49:39 ==> Gzipping contents 22:49:39 16K /tmp/codecov.rWTtAw.gz 22:49:39 ==> Uploading reports 22:49:39 url: https://codecov.io 22:49:39 query: branch=PR-1122&commit=73417602b74e3a5132d1a38fdf4054a4482d9977&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1122%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1122&job=&cmd_args= 22:49:39 -> Pinging Codecov 22:49:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1122&commit=73417602b74e3a5132d1a38fdf4054a4482d9977&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1122%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1122&job=&cmd_args= 22:49:39 -> Uploading to 22:49:39 https://storage.googleapis.com/codecov/v4/raw/2022-04-11/7E55EF52A471D76F132DFD9A03CDDE97/73417602b74e3a5132d1a38fdf4054a4482d9977/3d84b2a9-d458-460a-bb0c-7f0d4c17a02a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T224939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a152de778c4b915376ed8af1076c9588e3a12366bfa644d659303e5b3573a794 22:49:39 % Total % Received % Xferd Average Speed Time Time Time Current 22:49:39 Dload Upload Total Spent Left Speed 22:49:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16232 0 0 100 16232 0 65451 --:--:-- --:--:-- --:--:-- 65451 22:49:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/73417602b74e3a5132d1a38fdf4054a4482d9977 [Pipeline] } 22:49:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:49:40 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives ] 22:49:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives 22:49:40 total 16 22:49:40 drwxr-xr-x 3 root root 4096 Apr 11 22:42 . 22:49:40 drwxrwxr-x 12 jenkins jenkins 4096 Apr 11 22:42 .. 22:49:40 drwxr-xr-x 2 root root 4096 Apr 11 22:42 cost 22:49:40 -rw-r--r-- 1 root root 86 Apr 11 22:42 cost.csv 22:49:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives 22:49:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives 22:49:40 total 16 22:49:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 22:42 . 22:49:40 drwxrwxr-x 12 jenkins jenkins 4096 Apr 11 22:42 .. 22:49:40 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 22:42 cost 22:49:40 -rw-r--r-- 1 jenkins jenkins 86 Apr 11 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:49:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:49:42 ---> package-listing.sh 22:49:42 ++ facter osfamily 22:49:42 ++ tr '[:upper:]' '[:lower:]' 22:49:42 + OS_FAMILY=debian 22:49:42 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1122 22:49:42 + START_PACKAGES=/tmp/packages_start.txt 22:49:42 + END_PACKAGES=/tmp/packages_end.txt 22:49:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:49:42 + PACKAGES=/tmp/packages_start.txt 22:49:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1122 ']' 22:49:42 + PACKAGES=/tmp/packages_end.txt 22:49:42 + case "${OS_FAMILY}" in 22:49:42 + dpkg -l 22:49:42 + grep '^ii' 22:49:42 + '[' -f /tmp/packages_start.txt ']' 22:49:42 + '[' -f /tmp/packages_end.txt ']' 22:49:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:49:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1122 ']' 22:49:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/ 22:49:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1122/archives/ [Pipeline] echo 22:49:42 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1122/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:49:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:49:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:49:43 . [Pipeline] withDockerContainer 22:49:43 prd-ubuntu20.04-docker-8c-8g-20570 does not seem to be running inside a container 22:49:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1122/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1122 -v /w/workspace/gexfoundry_device-sdk-go_PR-1122:/w/workspace/gexfoundry_device-sdk-go_PR-1122:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:49:43 $ docker top ce69dabdc4b719d90acb138f024cfeea28260a862027214cc6fee42fbf4bb526 -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:43 + touch /tmp/pre-build-complete [Pipeline] sh 22:49:44 + mkdir -p /var/log/sysstat [Pipeline] sh 22:49:44 + ls /var/log/sa-host 22:49:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:44 provisioning config files... 22:49:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1122@tmp/config5960231316383346289tmp [Pipeline] { [Pipeline] echo 22:49:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:49:44 ---> create-netrc.sh [Pipeline] } 22:49:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:49:45 ---> python-tools-install.sh [Pipeline] echo 22:49:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:49:45 ---> sudo-logs.sh 22:49:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:49:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:49:45 ---> job-cost.sh 22:49:45 lf-activate-venv: SKIPPING 22:49:45 DEBUG: total: 0.2199999988079071 22:49:45 INFO: Retrieving Stack Cost... 22:49:46 INFO: Retrieving Pricing Info for: v3-standard-8 22:49:46 INFO: Archiving Costs [Pipeline] echo 22:49:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:49:47 ---> logs-deploy.sh 22:49:47 lf-activate-venv: SKIPPING 22:49:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1122/3 22:49:47 INFO: archiving workspace using pattern(s): 22:49:47 Archives upload complete. 22:49:47 INFO: archiving logs to Nexus