Pull request #1107 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2865306a2bfe46b626c4b2e0de553eb33f0640df+8ece66f1c570f367a2f406d94221d9aee4294f1c (d481f26586f6c93704b4f74e22fa643077710a1a) 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-ssh11139780670562809382.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-ssh13148320850724875513.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-1107/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-1107/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7321947505298485624.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-ssh5789048122516920439.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-1107/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-1107/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1408805190012547546.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7771’ Running on prd-ubuntu20.04-docker-8c-8g-7775 in /w/workspace/gexfoundry_device-sdk-go_PR-1107 [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-1107 # 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 8ece66f1c570f367a2f406d94221d9aee4294f1c into PR head commit 2865306a2bfe46b626c4b2e0de553eb33f0640df Merge succeeded, producing 2865306a2bfe46b626c4b2e0de553eb33f0640df Checking out Revision 2865306a2bfe46b626c4b2e0de553eb33f0640df (PR-1107) > 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/1107/head:refs/remotes/origin/PR-1107 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2865306a2bfe46b626c4b2e0de553eb33f0640df # 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 8ece66f1c570f367a2f406d94221d9aee4294f1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2865306a2bfe46b626c4b2e0de553eb33f0640df # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1" First time build. Skipping changelog. > git rev-list --no-walk 26056081b215df26c0679be68df6b046f58fd050 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:47:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:47:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:47:08 ========================================================= 04:47:08 EdgeX Global Pipelines Version Info 04:47:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:47:09 ------------------- 04:47:09 stable info: 04:47:09 ------------------- 04:47:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:47:09 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:47:09 Message: update stable to v1.0.221 04:47:10 ------------------- 04:47:10 experimental info: 04:47:10 ------------------- 04:47:10 Commited By: **** collab-it+edgex@linuxfoundation.org 04:47:10 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:47:10 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1107 [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1107 [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1107 [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2865306 [Pipeline] echo 04:47:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:47:10 provisioning config files... 04:47:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/config7169292681319554875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:10 ---> docker-login.sh 04:47:10 nexus3.edgexfoundry.org:10001 04:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:11 Configure a credential helper to remove this warning. See 04:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:11 04:47:11 Login Succeeded 04:47:11 nexus3.edgexfoundry.org:10002 04:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:11 Configure a credential helper to remove this warning. See 04:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:11 04:47:11 Login Succeeded 04:47:11 nexus3.edgexfoundry.org:10003 04:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:11 Configure a credential helper to remove this warning. See 04:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:11 04:47:11 Login Succeeded 04:47:11 nexus3.edgexfoundry.org:10004 04:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:11 Configure a credential helper to remove this warning. See 04:47:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:11 04:47:11 Login Succeeded 04:47:11 docker.io 04:47:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:12 Configure a credential helper to remove this warning. See 04:47:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:12 04:47:12 Login Succeeded 04:47:12 ---> docker-login.sh ends [Pipeline] } 04:47:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:47:12 + git rev-list -1 --merges 2865306a2bfe46b626c4b2e0de553eb33f0640df~1..2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] echo 04:47:12 -----------> git rev-list -1 --merges 2865306a2bfe46b626c4b2e0de553eb33f0640df~1..2865306a2bfe46b626c4b2e0de553eb33f0640df 2865306a2bfe46b626c4b2e0de553eb33f0640df [false] [Pipeline] sh 04:47:13 + git log --format=format:%s -1 2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] echo 04:47:13 ========================================================= 04:47:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:47:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:47:13 + git log --format=format:%s -1 2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] echo 04:47:13 [semverPrep] GIT_COMMIT: 2865306a2bfe46b626c4b2e0de553eb33f0640df, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 [Pipeline] echo 04:47:13 [semverPrep] This is not a build commit. [Pipeline] sh 04:47:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:47:13 + grep -v github /etc/ssh/ssh_known_hosts 04:47:13 + [ -e /tmp/ssh_known_hosts ] 04:47:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:47:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:47:13 + sudo tee -a /etc/ssh/ssh_known_hosts 04:47:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:47:14 04:47:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:47:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:47:14 latest: Pulling from edgex-devops/git-semver 04:47:14 a0d0a0d46f8b: Pulling fs layer 04:47:14 3e5f54012d9b: Pulling fs layer 04:47:14 4c7163046ea9: Pulling fs layer 04:47:14 0c2d73faf560: Pulling fs layer 04:47:14 3e5f54012d9b: Download complete 04:47:14 a0d0a0d46f8b: Download complete 04:47:14 4c7163046ea9: Verifying Checksum 04:47:14 4c7163046ea9: Download complete 04:47:14 0c2d73faf560: Verifying Checksum 04:47:14 0c2d73faf560: Download complete 04:47:14 a0d0a0d46f8b: Pull complete 04:47:14 3e5f54012d9b: Pull complete 04:47:15 4c7163046ea9: Pull complete 04:47:15 0c2d73faf560: Pull complete 04:47:15 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:47:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:47:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:47:15 prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container 04:47:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@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 04:47:16 $ docker top c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:47:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:47:16 [ssh-agent] Looking for ssh-agent implementation... 04:47:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:47:16 $ docker exec c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 ssh-agent 04:47:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkLNmmE/agent.13 04:47:16 SSH_AGENT_PID=19 04:47:16 Running ssh-add (command line suppressed) 04:47:16 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/private_key_5689137524877327831.key (/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/private_key_5689137524877327831.key) 04:47:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:47:17 + git tag --points-at HEAD [Pipeline] } 04:47:17 $ docker exec --env ******** --env ******** c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 ssh-agent -k 04:47:17 unset SSH_AUTH_SOCK; 04:47:17 unset SSH_AGENT_PID; 04:47:17 echo Agent pid 19 killed; 04:47:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:47:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:47:17 [ssh-agent] Looking for ssh-agent implementation... 04:47:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:47:17 $ docker exec c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 ssh-agent 04:47:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPjookk/agent.52 04:47:17 SSH_AGENT_PID=58 04:47:17 Running ssh-add (command line suppressed) 04:47:17 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/private_key_7244448415594447171.key (/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/private_key_7244448415594447171.key) 04:47:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:47:17 + git semver init 04:47:17 # -> Open(): unable to determine branch for HEAD 04:47:17 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1107/.git 04:47:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1107 04:47:17 # $SEMVER_REMOTE_NAME = origin 04:47:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:47:17 # $SEMVER_USER_NAME = edgex-jenkins 04:47:17 # $SEMVER_BRANCH = PR-1107 04:47:17 # $SEMVER_TEMP = /tmp/semver-706978838 04:47:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:47:18 # '/tmp/semver-706978838' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1107/.semver' 04:47:19 # -> Force: false 04:47:19 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1107/.semver [Pipeline] } 04:47:19 $ docker exec --env ******** --env ******** c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 ssh-agent -k 04:47:19 unset SSH_AUTH_SOCK; 04:47:19 unset SSH_AGENT_PID; 04:47:19 echo Agent pid 58 killed; 04:47:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:47:19 + git semver [Pipeline] } 04:47:19 $ docker stop --time=1 c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 04:47:21 $ docker rm -f c7b5950cee022200fd682ff6b53c31529acdb4c817cd30b11612befd27112476 [Pipeline] // withDockerContainer [Pipeline] sh 04:47:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:47:21 Stashed 1 file(s) [Pipeline] echo 04:47:21 [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 04:47:21 provisioning config files... 04:47:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/config7213350129247215792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:22 ---> docker-login.sh 04:47:22 nexus3.edgexfoundry.org:10001 04:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:22 Configure a credential helper to remove this warning. See 04:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:22 04:47:22 Login Succeeded 04:47:22 nexus3.edgexfoundry.org:10002 04:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:22 Configure a credential helper to remove this warning. See 04:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:22 04:47:22 Login Succeeded 04:47:22 nexus3.edgexfoundry.org:10003 04:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:22 Configure a credential helper to remove this warning. See 04:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:22 04:47:22 Login Succeeded 04:47:22 nexus3.edgexfoundry.org:10004 04:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:22 Configure a credential helper to remove this warning. See 04:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:22 04:47:22 Login Succeeded 04:47:22 docker.io 04:47:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:22 Configure a credential helper to remove this warning. See 04:47:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:22 04:47:22 Login Succeeded 04:47:22 ---> docker-login.sh ends [Pipeline] } 04:47:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:47:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:47:23 ========================================================= 04:47:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:47:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:47:23 + 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 . 04:47:23 Sending build context to Docker daemon 9.516MB 04:47:23 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:47:23 Step 2/11 : FROM ${BASE} AS builder 04:47:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:47:23 59bf1c3509f3: Pulling fs layer 04:47:23 666ba61612fd: Pulling fs layer 04:47:23 8ed8ca486205: Pulling fs layer 04:47:23 4fe6c5a15a65: Pulling fs layer 04:47:23 22a0e8bec74d: Pulling fs layer 04:47:23 640e595b4fbd: Pulling fs layer 04:47:23 763cafe07f6e: Pulling fs layer 04:47:23 0c0b528cf693: Pulling fs layer 04:47:23 10935f4eaf8b: Pulling fs layer 04:47:23 22a0e8bec74d: Waiting 04:47:23 640e595b4fbd: Waiting 04:47:23 0c0b528cf693: Waiting 04:47:23 10935f4eaf8b: Waiting 04:47:23 4fe6c5a15a65: Waiting 04:47:23 8ed8ca486205: Verifying Checksum 04:47:23 8ed8ca486205: Download complete 04:47:23 666ba61612fd: Download complete 04:47:23 22a0e8bec74d: Verifying Checksum 04:47:23 22a0e8bec74d: Download complete 04:47:23 640e595b4fbd: Verifying Checksum 04:47:23 640e595b4fbd: Download complete 04:47:23 59bf1c3509f3: Verifying Checksum 04:47:23 59bf1c3509f3: Download complete 04:47:23 763cafe07f6e: Verifying Checksum 04:47:23 763cafe07f6e: Download complete 04:47:23 0c0b528cf693: Verifying Checksum 04:47:23 0c0b528cf693: Download complete 04:47:23 59bf1c3509f3: Pull complete 04:47:23 666ba61612fd: Pull complete 04:47:24 8ed8ca486205: Pull complete 04:47:24 10935f4eaf8b: Verifying Checksum 04:47:24 10935f4eaf8b: Download complete 04:47:24 4fe6c5a15a65: Verifying Checksum 04:47:24 4fe6c5a15a65: Download complete 04:47:28 4fe6c5a15a65: Pull complete 04:47:28 22a0e8bec74d: Pull complete 04:47:28 640e595b4fbd: Pull complete 04:47:28 763cafe07f6e: Pull complete 04:47:28 0c0b528cf693: Pull complete 04:47:31 10935f4eaf8b: Pull complete 04:47:31 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 04:47:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:47:31 ---> 99d49a6021b9 04:47:31 Step 3/11 : ARG MAKE=make build 04:47:32 ---> Running in 0bd9252bdc92 04:47:32 Removing intermediate container 0bd9252bdc92 04:47:32 ---> 887658316b6b 04:47:32 Step 4/11 : WORKDIR /device-sdk-go 04:47:32 ---> Running in b6f3d9670f39 04:47:32 Removing intermediate container b6f3d9670f39 04:47:32 ---> 5cf5b8c942cd 04:47:32 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:47:32 ---> Running in 43d5327e4eb8 04:47:33 Removing intermediate container 43d5327e4eb8 04:47:33 ---> b07f7387598e 04:47:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:47:33 ---> Running in 44c863da1553 04:47:33 Removing intermediate container 44c863da1553 04:47:33 ---> 9f05173f8034 04:47:33 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:47:33 ---> Running in 07c13996e061 04:47:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:47:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:47:35 OK: 221 MiB in 52 packages 04:47:35 Removing intermediate container 07c13996e061 04:47:35 ---> 550131311154 04:47:35 Step 8/11 : COPY go.mod vendor* ./ 04:47:35 ---> 93fd889c27fd 04:47:35 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:47:35 ---> Running in 8167a7749501 04:47:36 Still waiting to schedule task 04:47:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7772’ 04:48:02 Removing intermediate container 8167a7749501 04:48:02 ---> c0cb81a035ef 04:48:02 Step 10/11 : COPY . . 04:48:02 ---> befaa5ae3c1f 04:48:02 Step 11/11 : RUN ${MAKE} 04:48:02 ---> Running in fc17fb96daea 04:48:02 noop 04:48:02 Removing intermediate container fc17fb96daea 04:48:02 ---> 6f4949eff7b9 04:48:02 Successfully built 6f4949eff7b9 04:48:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:48:02 + docker inspect -f . ci-base-image-x86_64 04:48:02 . [Pipeline] withDockerContainer 04:48:02 prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container 04:48:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@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 04:48:03 $ docker top 26a6858297ad99db333039dc4dc93c6ebf3b489842d7ff536c59b4c571ae70c1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:48:03 + go version 04:48:03 go version go1.17.6 linux/amd64 [Pipeline] } 04:48:03 $ docker stop --time=1 26a6858297ad99db333039dc4dc93c6ebf3b489842d7ff536c59b4c571ae70c1 04:48:04 $ docker rm -f 26a6858297ad99db333039dc4dc93c6ebf3b489842d7ff536c59b4c571ae70c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:48:05 + docker inspect -f . ci-base-image-x86_64 04:48:05 . [Pipeline] withDockerContainer 04:48:05 prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container 04:48:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@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 04:48:05 $ docker top b2d142860b2deec151d7070bd4a2e3650e49c950f6150ab4a7285b390da536e5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:48:06 + make test 04:48:06 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:48:06 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.019s coverage: 23.3% of statements 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.022s coverage: 27.6% of statements 04:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.014s coverage: 78.9% of statements 04:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.031s coverage: 10.8% of statements 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.019s coverage: 33.2% of statements 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.041s coverage: 86.1% of statements 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.035s coverage: 57.4% of statements 04:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.032s coverage: 89.2% of statements 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:48:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.015s coverage: 4.8% of statements 04:48:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:48:21 GO111MODULE=on go vet ./... 04:48:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:48:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:48:24 ./bin/test-attribution-txt.sh [Pipeline] echo 04:48:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:48:24 $ docker stop --time=1 b2d142860b2deec151d7070bd4a2e3650e49c950f6150ab4a7285b390da536e5 04:48:26 $ docker rm -f b2d142860b2deec151d7070bd4a2e3650e49c950f6150ab4a7285b390da536e5 [Pipeline] // withDockerContainer [Pipeline] sh 04:48:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:48:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:48:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:48:27 + ls -al . 04:48:27 total 312 04:48:27 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 04:48 . 04:48:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:47 .. 04:48:27 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:47 .dockerignore 04:48:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:47 .git 04:48:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:47 .github 04:48:27 -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 04:47 .gitignore 04:48:27 -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 04:47 .golangci.yml 04:48:27 drwx------ 3 jenkins jenkins 4096 Mar 17 04:47 .semver 04:48:27 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 04:47 CHANGELOG.md 04:48:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 04:47 GOVERNANCE.md 04:48:27 -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 04:47 Jenkinsfile 04:48:27 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:47 LICENSE 04:48:27 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 04:47 Makefile 04:48:27 -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 04:47 OWNERS.md 04:48:27 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 04:47 README.md 04:48:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 04:47 VERSION 04:48:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:47 bin 04:48:27 -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 04:48 coverage.out 04:48:27 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:47 example 04:48:27 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 04:47 go.mod 04:48:27 -rw-rw-r-- 1 jenkins jenkins 49866 Mar 17 04:47 go.sum 04:48:27 drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 04:47 internal 04:48:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:47 openapi 04:48:27 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:47 pkg 04:48:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:47 snap 04:48:27 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:47 version.go [Pipeline] isUnix [Pipeline] sh 04:48:28 + 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=2865306a2bfe46b626c4b2e0de553eb33f0640df --label arch=amd64 --label version=0.0.0 . 04:48:28 Sending build context to Docker daemon 9.646MB 04:48:28 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:48:28 Step 2/25 : FROM ${BASE} AS builder 04:48:28 ---> 6f4949eff7b9 04:48:28 Step 3/25 : ARG MAKE=make build 04:48:28 ---> Running in 3ec6ac0e4f05 04:48:28 Removing intermediate container 3ec6ac0e4f05 04:48:28 ---> 03e2ccff86a3 04:48:28 Step 4/25 : WORKDIR /device-sdk-go 04:48:28 ---> Running in d18ae664aad1 04:48:28 Removing intermediate container d18ae664aad1 04:48:28 ---> 94bc67c30401 04:48:28 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:48:28 ---> Running in 7b18b0bbd356 04:48:28 Removing intermediate container 7b18b0bbd356 04:48:28 ---> d656cbf184bb 04:48:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:28 ---> Running in bd9da3ffae6a 04:48:29 Removing intermediate container bd9da3ffae6a 04:48:29 ---> d9a4979a342b 04:48:29 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:48:29 ---> Running in 02634aa8763a 04:48:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:48:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:48:30 OK: 221 MiB in 52 packages 04:48:31 Removing intermediate container 02634aa8763a 04:48:31 ---> 119251eef957 04:48:31 Step 8/25 : COPY go.mod vendor* ./ 04:48:31 ---> f2478259541a 04:48:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:31 ---> Running in bc709edf8b1a 04:48:31 Removing intermediate container bc709edf8b1a 04:48:31 ---> f2cb43da0c38 04:48:31 Step 10/25 : COPY . . 04:48:32 ---> b448e0a462f6 04:48:32 Step 11/25 : RUN ${MAKE} 04:48:32 ---> Running in 512b1f37ab8d 04:48:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:48:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:48:40 Removing intermediate container 512b1f37ab8d 04:48:40 ---> 7b37d326002b 04:48:40 Step 12/25 : FROM alpine:3.14 04:48:40 3.14: Pulling from library/alpine 04:48:41 97518928ae5f: Pulling fs layer 04:48:41 97518928ae5f: Download complete 04:48:41 97518928ae5f: Pull complete 04:48:41 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:48:41 Status: Downloaded newer image for alpine:3.14 04:48:41 ---> 0a97eee8041e 04:48:41 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:48:41 ---> Running in 0a43e6ad19c3 04:48:41 Removing intermediate container 0a43e6ad19c3 04:48:41 ---> 99455f702296 04:48:41 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:41 ---> Running in 4a73c9095c63 04:48:42 Removing intermediate container 4a73c9095c63 04:48:42 ---> 7b15660e903e 04:48:42 Step 15/25 : RUN apk add --update --no-cache zeromq 04:48:42 ---> Running in 5edd4bf4977b 04:48:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:48:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:48:44 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:48:44 (2/5) Installing libsodium (1.0.18-r0) 04:48:44 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:48:44 (4/5) Installing libzmq (4.3.4-r0) 04:48:44 (5/5) Installing zeromq (4.3.4-r0) 04:48:44 Executing busybox-1.33.1-r6.trigger 04:48:44 OK: 8 MiB in 19 packages 04:48:44 Removing intermediate container 5edd4bf4977b 04:48:44 ---> 7795a65f55ef 04:48:44 Step 16/25 : WORKDIR / 04:48:44 ---> Running in 0cdba178b8c7 04:48:44 Removing intermediate container 0cdba178b8c7 04:48:44 ---> 0ca071dee927 04:48:44 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:48:45 ---> 0b8dd08584db 04:48:45 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:48:45 ---> 3af0cc4d8a99 04:48:45 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:48:45 ---> 1f8454d503ff 04:48:45 Step 20/25 : EXPOSE 59999 04:48:45 ---> Running in aa5c7bc27ce6 04:48:45 Removing intermediate container aa5c7bc27ce6 04:48:45 ---> 99d7d7968f05 04:48:45 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:48:45 ---> Running in 7c3d53f66863 04:48:45 Removing intermediate container 7c3d53f66863 04:48:45 ---> 37b6ff9ec5a0 04:48:45 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:48:45 ---> Running in 305cd2bef196 04:48:45 Removing intermediate container 305cd2bef196 04:48:45 ---> 1ddeefefeaf4 04:48:45 Step 23/25 : LABEL arch=amd64 04:48:45 ---> Running in fad71f467a8a 04:48:46 Removing intermediate container fad71f467a8a 04:48:46 ---> 7f2bcece04d0 04:48:46 Step 24/25 : LABEL git_sha=2865306a2bfe46b626c4b2e0de553eb33f0640df 04:48:46 ---> Running in fc2a2d9cee71 04:48:46 Removing intermediate container fc2a2d9cee71 04:48:46 ---> c1cec756fc8d 04:48:46 Step 25/25 : LABEL version=0.0.0 04:48:46 ---> Running in 3b0a5461f1a6 04:48:46 Removing intermediate container 3b0a5461f1a6 04:48:46 ---> 8aeef692136c 04:48:46 [Warning] One or more build-args [ARCH] were not consumed 04:48:46 Successfully built 8aeef692136c 04:48:46 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 04:48:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:46 04:48:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:48:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:47 latest: Pulling from edgex-lftools-log-publisher 04:48:47 5eb5b503b376: Pulling fs layer 04:48:47 5c69ac0246d0: Pulling fs layer 04:48:47 ec43610c2a17: Pulling fs layer 04:48:47 3a2ae6a8a46f: Pulling fs layer 04:48:47 33b1e0a273af: Pulling fs layer 04:48:47 5d3b04190fa2: Pulling fs layer 04:48:47 2f39f015ded8: Pulling fs layer 04:48:47 3a2ae6a8a46f: Waiting 04:48:47 2f39f015ded8: Waiting 04:48:47 33b1e0a273af: Waiting 04:48:47 5c69ac0246d0: Download complete 04:48:47 3a2ae6a8a46f: Verifying Checksum 04:48:47 3a2ae6a8a46f: Download complete 04:48:47 33b1e0a273af: Verifying Checksum 04:48:47 33b1e0a273af: Download complete 04:48:47 5d3b04190fa2: Download complete 04:48:47 ec43610c2a17: Verifying Checksum 04:48:47 ec43610c2a17: Download complete 04:48:47 5eb5b503b376: Verifying Checksum 04:48:47 5eb5b503b376: Download complete 04:48:47 2f39f015ded8: Download complete 04:48:48 5eb5b503b376: Pull complete 04:48:48 5c69ac0246d0: Pull complete 04:48:49 ec43610c2a17: Pull complete 04:48:49 3a2ae6a8a46f: Pull complete 04:48:49 33b1e0a273af: Pull complete 04:48:49 5d3b04190fa2: Pull complete 04:48:54 2f39f015ded8: Pull complete 04:48:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:48:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:48:54 prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container 04:48:55 $ 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-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@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 04:48:56 $ docker top 15df6c5c68697ea3580d163111581d8d09cf23a09aa2ee548902aa67dc237ae7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:56 ---> job-cost.sh 04:48:56 lf-activate-venv: SKIPPING 04:48:56 INFO: No Stack... 04:48:57 INFO: Retrieving Pricing Info for: v3-standard-8 04:48:57 INFO: Archiving Costs [Pipeline] sh 04:48:58 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives/cost.csv 04:48:58 + cut -d, -f6 [Pipeline] lock 04:48:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] 04:48:58 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] did not exist. Created. 04:48:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:48:58 + echo total: 0.2199999988079071 [Pipeline] stash 04:48:58 Stashed 1 file(s) [Pipeline] } 04:48:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:48:58 $ docker stop --time=1 15df6c5c68697ea3580d163111581d8d09cf23a09aa2ee548902aa67dc237ae7 04:48:59 $ docker rm -f 15df6c5c68697ea3580d163111581d8d09cf23a09aa2ee548902aa67dc237ae7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:50:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7779 in /w/workspace/gexfoundry_device-sdk-go_PR-1107 [Pipeline] { [Pipeline] ws 04:50:29 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 04:50:30 The recommended git tool is: git 04:50:37 using credential edgex-jenkins-ssh 04:50:38 Cloning the remote Git repository 04:50:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:50:38 > git init /w/workspace/device-sdk-go/3 # timeout=10 04:50:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:50:38 > git --version # timeout=10 04:50:38 > git --version # 'git version 2.25.1' 04:50:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:50:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:50:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:50:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:50:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:50:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1107/head:refs/remotes/origin/PR-1107 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:50:41 Merging remotes/origin/main commit 8ece66f1c570f367a2f406d94221d9aee4294f1c into PR head commit 2865306a2bfe46b626c4b2e0de553eb33f0640df 04:50:41 Merge succeeded, producing 2865306a2bfe46b626c4b2e0de553eb33f0640df 04:50:41 Checking out Revision 2865306a2bfe46b626c4b2e0de553eb33f0640df (PR-1107) 04:50:41 > git config core.sparsecheckout # timeout=10 04:50:41 > git checkout -f 2865306a2bfe46b626c4b2e0de553eb33f0640df # timeout=10 04:50:41 > git remote # timeout=10 04:50:41 > git config --get remote.origin.url # timeout=10 04:50:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:41 > git merge 8ece66f1c570f367a2f406d94221d9aee4294f1c # timeout=10 04:50:41 > git rev-parse HEAD^{commit} # timeout=10 04:50:41 > git config core.sparsecheckout # timeout=10 04:50:41 > git checkout -f 2865306a2bfe46b626c4b2e0de553eb33f0640df # timeout=10 04:50:46 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:50:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:50:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:50:47 Dload Upload Total Spent Left Speed 04:50:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 04:50:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:50:48 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:50:48 sudo tee /etc/docker/daemon.new 04:50:48 { 04:50:48 "registry-mirrors": [ 04:50:48 "https://nexus3.edgexfoundry.org:10001" 04:50:48 ], 04:50:48 "bip": "10.250.0.254/24", 04:50:48 "hosts": [ 04:50:48 "tcp://0.0.0.0:5555", 04:50:48 "unix:///var/run/docker.sock" 04:50:48 ], 04:50:48 "mtu": 1458, 04:50:48 "selinux-enabled": true, 04:50:48 "seccomp-profile": "/etc/docker/seccomp.json" 04:50:48 } [Pipeline] sh 04:50:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:50:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:51:07 provisioning config files... 04:51:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5398360959719704721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:51:07 ---> docker-login.sh 04:51:07 nexus3.edgexfoundry.org:10001 04:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:08 Configure a credential helper to remove this warning. See 04:51:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:08 04:51:08 Login Succeeded 04:51:08 nexus3.edgexfoundry.org:10002 04:51:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:09 Configure a credential helper to remove this warning. See 04:51:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:09 04:51:09 Login Succeeded 04:51:09 nexus3.edgexfoundry.org:10003 04:51:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:09 Configure a credential helper to remove this warning. See 04:51:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:09 04:51:09 Login Succeeded 04:51:09 nexus3.edgexfoundry.org:10004 04:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:10 Configure a credential helper to remove this warning. See 04:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:10 04:51:10 Login Succeeded 04:51:10 docker.io 04:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:51:10 Configure a credential helper to remove this warning. See 04:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:51:10 04:51:10 Login Succeeded 04:51:10 ---> docker-login.sh ends [Pipeline] } 04:51:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:51:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:51:11 ========================================================= 04:51:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:51:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:51:11 + 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 . 04:51:12 Sending build context to Docker daemon 5.143MB 04:51:12 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:51:12 Step 2/11 : FROM ${BASE} AS builder 04:51:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:51:12 9b3977197b4f: Pulling fs layer 04:51:12 1a89e8eeedd5: Pulling fs layer 04:51:12 94645a83ff95: Pulling fs layer 04:51:12 3f3a8bcf1eab: Pulling fs layer 04:51:12 0c92f367c5e7: Pulling fs layer 04:51:12 3f3a8bcf1eab: Waiting 04:51:12 f7c0051592d6: Pulling fs layer 04:51:12 a227ed2f7395: Pulling fs layer 04:51:12 7b1c46037f91: Pulling fs layer 04:51:12 0c92f367c5e7: Waiting 04:51:12 f7c0051592d6: Waiting 04:51:12 a227ed2f7395: Waiting 04:51:12 7b1c46037f91: Waiting 04:51:12 94645a83ff95: Download complete 04:51:12 1a89e8eeedd5: Download complete 04:51:12 0c92f367c5e7: Verifying Checksum 04:51:12 0c92f367c5e7: Download complete 04:51:12 f7c0051592d6: Verifying Checksum 04:51:12 f7c0051592d6: Download complete 04:51:12 9b3977197b4f: Download complete 04:51:12 a227ed2f7395: Verifying Checksum 04:51:12 a227ed2f7395: Download complete 04:51:13 9b3977197b4f: Pull complete 04:51:13 1a89e8eeedd5: Pull complete 04:51:14 94645a83ff95: Pull complete 04:51:14 7b1c46037f91: Verifying Checksum 04:51:14 7b1c46037f91: Download complete 04:51:15 3f3a8bcf1eab: Verifying Checksum 04:51:15 3f3a8bcf1eab: Download complete 04:51:27 3f3a8bcf1eab: Pull complete 04:51:27 0c92f367c5e7: Pull complete 04:51:27 f7c0051592d6: Pull complete 04:51:27 a227ed2f7395: Pull complete 04:51:34 7b1c46037f91: Pull complete 04:51:34 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 04:51:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:51:34 ---> f79e39bc4007 04:51:34 Step 3/11 : ARG MAKE=make build 04:51:34 ---> Running in 4a63dcbf0872 04:51:34 Removing intermediate container 4a63dcbf0872 04:51:34 ---> b14c737314d0 04:51:34 Step 4/11 : WORKDIR /device-sdk-go 04:51:34 ---> Running in 90a49a812585 04:51:35 Removing intermediate container 90a49a812585 04:51:35 ---> 9f9e53dfb781 04:51:35 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:51:35 ---> Running in b9cff010fc5e 04:51:35 Removing intermediate container b9cff010fc5e 04:51:35 ---> 3bc5d328e742 04:51:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:51:35 ---> Running in d0278bc55c4a 04:51:37 Removing intermediate container d0278bc55c4a 04:51:37 ---> be8e7a562b10 04:51:37 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:51:37 ---> Running in f2096225a6c7 04:51:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:51:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:51:40 OK: 220 MiB in 52 packages 04:51:41 Removing intermediate container f2096225a6c7 04:51:41 ---> 0e1a21813b3d 04:51:41 Step 8/11 : COPY go.mod vendor* ./ 04:51:41 ---> 787eeed7a4de 04:51:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:51:41 ---> Running in eb7f8d9f258c 04:53:03 Removing intermediate container eb7f8d9f258c 04:53:03 ---> 0662b4c2dc5f 04:53:03 Step 10/11 : COPY . . 04:53:03 ---> e9ecb5026884 04:53:03 Step 11/11 : RUN ${MAKE} 04:53:03 ---> Running in 4b0a75ea1299 04:53:03 noop 04:53:03 Removing intermediate container 4b0a75ea1299 04:53:03 ---> 683c42294168 04:53:03 Successfully built 683c42294168 04:53:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:53:04 + docker inspect -f . ci-base-image-arm64 04:53:04 . [Pipeline] withDockerContainer 04:53:04 prd-ubuntu20.04-docker-arm64-4c-16g-7779 does not seem to be running inside a container 04:53:04 $ 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 04:53:05 $ docker top 01007a2dfd9f0012b319a174260d4c51189d4c6f9ff09528148974c0b3e3651e -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:06 + go version 04:53:06 go version go1.17.6 linux/arm64 [Pipeline] } 04:53:06 $ docker stop --time=1 01007a2dfd9f0012b319a174260d4c51189d4c6f9ff09528148974c0b3e3651e 04:53:08 $ docker rm -f 01007a2dfd9f0012b319a174260d4c51189d4c6f9ff09528148974c0b3e3651e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:53:09 + docker inspect -f . ci-base-image-arm64 04:53:09 . [Pipeline] withDockerContainer 04:53:09 prd-ubuntu20.04-docker-arm64-4c-16g-7779 does not seem to be running inside a container 04:53:09 $ 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 04:53:10 $ docker top c7936ef0b51209c86178dec8626e12c7313da853a0b6ef8ddff16d44e017b11e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:53:11 + make test 04:53:11 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:53:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:54:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:54:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:54:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:54:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.088s coverage: 23.3% of statements 04:54:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:54:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 27.6% of statements 04:54:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.126s coverage: 78.9% of statements 04:54:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.057s coverage: 10.8% of statements 04:54:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:54:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:54:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:54:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 33.2% of statements 04:54:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.109s coverage: 86.1% of statements 04:54:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:54:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:54:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 57.4% of statements 04:54:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.212s coverage: 89.2% of statements 04:54:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:54:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements 04:54:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:54:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:54:20 GO111MODULE=on go vet ./... 04:54:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:42 ./bin/test-attribution-txt.sh [Pipeline] echo 04:54:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:54:44 $ docker stop --time=1 c7936ef0b51209c86178dec8626e12c7313da853a0b6ef8ddff16d44e017b11e 04:54:46 $ docker rm -f c7936ef0b51209c86178dec8626e12c7313da853a0b6ef8ddff16d44e017b11e [Pipeline] // withDockerContainer [Pipeline] sh 04:54:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:47 Warning: overwriting stash ‘coverage-report’ 04:54:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:48 + ls -al . 04:54:48 total 308 04:54:48 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 04:54 . 04:54:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:50 .. 04:54:48 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:50 .dockerignore 04:54:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:50 .git 04:54:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:50 .github 04:54:48 -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 04:50 .gitignore 04:54:48 -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 04:50 .golangci.yml 04:54:48 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 04:50 CHANGELOG.md 04:54:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 04:50 GOVERNANCE.md 04:54:48 -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 04:50 Jenkinsfile 04:54:48 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:50 LICENSE 04:54:48 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 04:50 Makefile 04:54:48 -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 04:50 OWNERS.md 04:54:48 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 04:50 README.md 04:54:48 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 04:47 VERSION 04:54:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:50 bin 04:54:48 -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 04:54 coverage.out 04:54:48 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:50 example 04:54:48 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 04:50 go.mod 04:54:48 -rw-rw-r-- 1 jenkins jenkins 49866 Mar 17 04:50 go.sum 04:54:48 drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 04:50 internal 04:54:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:50 openapi 04:54:48 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:50 pkg 04:54:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:50 snap 04:54:48 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:50 version.go [Pipeline] isUnix [Pipeline] sh 04:54:48 + 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=2865306a2bfe46b626c4b2e0de553eb33f0640df --label arch=arm64 --label version=0.0.0 . 04:54:49 Sending build context to Docker daemon 5.273MB 04:54:49 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:54:49 Step 2/25 : FROM ${BASE} AS builder 04:54:49 ---> 683c42294168 04:54:49 Step 3/25 : ARG MAKE=make build 04:54:49 ---> Running in b0eb06507258 04:54:49 Removing intermediate container b0eb06507258 04:54:49 ---> 9909b54ea4ab 04:54:49 Step 4/25 : WORKDIR /device-sdk-go 04:54:49 ---> Running in 0b11cb25ea57 04:54:50 Removing intermediate container 0b11cb25ea57 04:54:50 ---> 37e1be91ae58 04:54:50 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:54:50 ---> Running in f543ce109c8b 04:54:50 Removing intermediate container f543ce109c8b 04:54:50 ---> 751c39ed965d 04:54:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:54:50 ---> Running in d6c930c69650 04:54:52 Removing intermediate container d6c930c69650 04:54:52 ---> 5986f30424c6 04:54:52 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:54:52 ---> Running in 5bf801816a7f 04:54:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:54:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:54:55 OK: 220 MiB in 52 packages 04:54:56 Removing intermediate container 5bf801816a7f 04:54:56 ---> fde0bd250b91 04:54:56 Step 8/25 : COPY go.mod vendor* ./ 04:54:57 ---> 75ec2d0dd727 04:54:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:57 ---> Running in 5d85a738d7e3 04:54:59 Removing intermediate container 5d85a738d7e3 04:54:59 ---> ccda2bc4a47a 04:54:59 Step 10/25 : COPY . . 04:55:00 ---> 930bf6dcb30f 04:55:00 Step 11/25 : RUN ${MAKE} 04:55:00 ---> Running in 23ba33c1ea5e 04:55:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:55:48 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:55:48 Removing intermediate container 23ba33c1ea5e 04:55:48 ---> af0a5080fb4c 04:55:48 Step 12/25 : FROM alpine:3.14 04:55:48 3.14: Pulling from library/alpine 04:55:48 be307f383ecc: Pulling fs layer 04:55:48 be307f383ecc: Verifying Checksum 04:55:48 be307f383ecc: Download complete 04:55:48 be307f383ecc: Pull complete 04:55:48 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:55:48 Status: Downloaded newer image for alpine:3.14 04:55:48 ---> 5b8b7b635229 04:55:48 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:55:48 ---> Running in ffa50cf36f91 04:55:48 Removing intermediate container ffa50cf36f91 04:55:48 ---> 9e204c1197fa 04:55:48 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:55:48 ---> Running in 2ad3ee4f799f 04:55:50 Removing intermediate container 2ad3ee4f799f 04:55:50 ---> 0a3e298bc304 04:55:50 Step 15/25 : RUN apk add --update --no-cache zeromq 04:55:50 ---> Running in d6102cfa7822 04:55:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:55:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:55:53 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:55:53 (2/5) Installing libsodium (1.0.18-r0) 04:55:53 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:55:53 (4/5) Installing libzmq (4.3.4-r0) 04:55:53 (5/5) Installing zeromq (4.3.4-r0) 04:55:53 Executing busybox-1.33.1-r6.trigger 04:55:53 OK: 8 MiB in 19 packages 04:55:54 Removing intermediate container d6102cfa7822 04:55:54 ---> 63faa22d1a07 04:55:54 Step 16/25 : WORKDIR / 04:55:54 ---> Running in cb19a6dc9b3c 04:55:54 Removing intermediate container cb19a6dc9b3c 04:55:54 ---> 4c33d29a21e9 04:55:54 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:55:55 ---> ab42c5e93cb9 04:55:55 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:55:56 ---> d45fe2900830 04:55:56 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:55:57 ---> 679c70f45982 04:55:57 Step 20/25 : EXPOSE 59999 04:55:57 ---> Running in f0ac8a4c1e7c 04:55:57 Removing intermediate container f0ac8a4c1e7c 04:55:57 ---> a744c17360d5 04:55:57 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:55:57 ---> Running in 3af08c2e3c77 04:55:57 Removing intermediate container 3af08c2e3c77 04:55:57 ---> 71ebdc51d239 04:55:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:55:57 ---> Running in 39f714b3d6b9 04:55:58 Removing intermediate container 39f714b3d6b9 04:55:58 ---> 1fc013974a93 04:55:58 Step 23/25 : LABEL arch=arm64 04:55:58 ---> Running in a20bcc2a5d87 04:55:58 Removing intermediate container a20bcc2a5d87 04:55:58 ---> e55fc5a73439 04:55:58 Step 24/25 : LABEL git_sha=2865306a2bfe46b626c4b2e0de553eb33f0640df 04:55:58 ---> Running in 2d33bd7a6e18 04:55:59 Removing intermediate container 2d33bd7a6e18 04:55:59 ---> b8cbe60834c7 04:55:59 Step 25/25 : LABEL version=0.0.0 04:55:59 ---> Running in 2157b96ad27c 04:55:59 Removing intermediate container 2157b96ad27c 04:55:59 ---> 5b46c266590f 04:55:59 [Warning] One or more build-args [ARCH] were not consumed 04:55:59 Successfully built 5b46c266590f 04:55:59 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 04:56:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:56:00 04:56:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:56:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:56:00 arm64: Pulling from edgex-lftools-log-publisher 04:56:00 8998bd30e6a1: Pulling fs layer 04:56:00 04944245beec: Pulling fs layer 04:56:00 699f458cf7ca: Pulling fs layer 04:56:00 765212b225bb: Pulling fs layer 04:56:00 f23df028b6ca: Pulling fs layer 04:56:00 d65c8cfc05b1: Pulling fs layer 04:56:00 2437ff75d9bd: Pulling fs layer 04:56:00 765212b225bb: Waiting 04:56:00 f23df028b6ca: Waiting 04:56:00 d65c8cfc05b1: Waiting 04:56:00 2437ff75d9bd: Waiting 04:56:00 04944245beec: Verifying Checksum 04:56:00 04944245beec: Download complete 04:56:00 765212b225bb: Verifying Checksum 04:56:00 765212b225bb: Download complete 04:56:00 f23df028b6ca: Verifying Checksum 04:56:00 f23df028b6ca: Download complete 04:56:00 d65c8cfc05b1: Verifying Checksum 04:56:00 d65c8cfc05b1: Download complete 04:56:00 699f458cf7ca: Verifying Checksum 04:56:00 699f458cf7ca: Download complete 04:56:01 8998bd30e6a1: Verifying Checksum 04:56:01 8998bd30e6a1: Download complete 04:56:03 2437ff75d9bd: Verifying Checksum 04:56:03 2437ff75d9bd: Download complete 04:56:05 8998bd30e6a1: Pull complete 04:56:05 04944245beec: Pull complete 04:56:07 699f458cf7ca: Pull complete 04:56:07 765212b225bb: Pull complete 04:56:08 f23df028b6ca: Pull complete 04:56:08 d65c8cfc05b1: Pull complete 04:56:23 2437ff75d9bd: Pull complete 04:56:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:56:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:56:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:56:24 prd-ubuntu20.04-docker-arm64-4c-16g-7779 does not seem to be running inside a container 04:56:24 $ 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 04:56:26 $ docker top 3ffa2abed7124ffd84ee8f90ba801a02a4216204b9195b2d1d33d334dde064c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:27 ---> job-cost.sh 04:56:27 lf-activate-venv: SKIPPING 04:56:27 INFO: No Stack... 04:56:28 INFO: Retrieving Pricing Info for: v3-standard-4 04:56:29 INFO: Archiving Costs [Pipeline] sh 04:56:29 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 04:56:29 + cut -d, -f6 [Pipeline] lock 04:56:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] 04:56:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] did not exist. Created. 04:56:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:56:30 /w/workspace/device-sdk-go/3@tmp/durable-b0589157/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:56:31 + echo total: 0.10999999940395355 [Pipeline] stash 04:56:31 Warning: overwriting stash ‘stack-cost’ 04:56:31 Stashed 1 file(s) [Pipeline] } 04:56:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1107-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:56:31 $ docker stop --time=1 3ffa2abed7124ffd84ee8f90ba801a02a4216204b9195b2d1d33d334dde064c6 04:56:32 $ docker rm -f 3ffa2abed7124ffd84ee8f90ba801a02a4216204b9195b2d1d33d334dde064c6 [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 04:56:33 provisioning config files... 04:56:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/config188794444332929751tmp [Pipeline] { [Pipeline] sh 04:56:33 + set +x 04:56:33 + curl -s https://codecov.io/bash 04:56:33 + bash -s -- 04:56:33 04:56:33 _____ _ 04:56:33 / ____| | | 04:56:33 | | ___ __| | ___ ___ _____ __ 04:56:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:56:33 | |___| (_) | (_| | __/ (_| (_) \ V / 04:56:33 \_____\___/ \__,_|\___|\___\___/ \_/ 04:56:33 Bash-1.0.6 04:56:33 04:56:33 04:56:33 ==> git version 2.25.1 found 04:56:33 ==> 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 04:56:33 Release-Date: 2020-01-08 04:56:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:56:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:56:33 ==> Jenkins CI detected. 04:56:33 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1107 04:56:33 project root: . 04:56:33 --> token set from env 04:56:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:56:33 ==> Running gcov in . (disable via -X gcov) 04:56:33 ==> Python coveragepy not found 04:56:33 ==> Searching for coverage reports in: 04:56:33 + . 04:56:33 -> Found 1 reports 04:56:33 ==> Detecting git/mercurial file structure 04:56:33 ==> Reading reports 04:56:33 + ./coverage.out bytes=129001 04:56:33 ==> Appending adjustments 04:56:33 https://docs.codecov.io/docs/fixing-reports 04:56:33 + Found adjustments 04:56:33 ==> Gzipping contents 04:56:33 16K /tmp/codecov.EWmvUO.gz 04:56:33 ==> Uploading reports 04:56:33 url: https://codecov.io 04:56:33 query: branch=PR-1107&commit=2865306a2bfe46b626c4b2e0de553eb33f0640df&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1107%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1107&job=&cmd_args= 04:56:33 -> Pinging Codecov 04:56:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1107&commit=2865306a2bfe46b626c4b2e0de553eb33f0640df&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1107%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1107&job=&cmd_args= 04:56:34 -> Uploading to 04:56:34 https://storage.googleapis.com/codecov/v4/raw/2022-03-17/7E55EF52A471D76F132DFD9A03CDDE97/2865306a2bfe46b626c4b2e0de553eb33f0640df/5b8bb3d0-db3f-49b2-858f-13a9ed2fa7a5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T045634Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=39e3763e6a00ded70ef24d29c8f5a37b02289bf7d65fb5b94da56a3d0234bdb1 04:56:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:56:34 Dload Upload Total Spent Left Speed 04:56:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16251 0 0 100 16251 0 72874 --:--:-- --:--:-- --:--:-- 72874 04:56:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2865306a2bfe46b626c4b2e0de553eb33f0640df [Pipeline] } 04:56:34 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 04:56:35 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives ] 04:56:35 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives 04:56:35 total 16 04:56:35 drwxr-xr-x 3 root root 4096 Mar 17 04:48 . 04:56:35 drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 04:48 .. 04:56:35 drwxr-xr-x 2 root root 4096 Mar 17 04:48 cost 04:56:35 -rw-r--r-- 1 root root 85 Mar 17 04:48 cost.csv 04:56:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives 04:56:35 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives 04:56:35 total 16 04:56:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 04:48 . 04:56:35 drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 04:48 .. 04:56:35 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 04:48 cost 04:56:35 -rw-r--r-- 1 jenkins jenkins 85 Mar 17 04:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:56:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:56:36 ---> package-listing.sh 04:56:36 ++ facter osfamily 04:56:36 ++ tr '[:upper:]' '[:lower:]' 04:56:36 + OS_FAMILY=debian 04:56:36 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1107 04:56:36 + START_PACKAGES=/tmp/packages_start.txt 04:56:36 + END_PACKAGES=/tmp/packages_end.txt 04:56:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:56:36 + PACKAGES=/tmp/packages_start.txt 04:56:36 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1107 ']' 04:56:36 + PACKAGES=/tmp/packages_end.txt 04:56:36 + case "${OS_FAMILY}" in 04:56:36 + dpkg -l 04:56:36 + grep '^ii' 04:56:36 + '[' -f /tmp/packages_start.txt ']' 04:56:36 + '[' -f /tmp/packages_end.txt ']' 04:56:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:56:36 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1107 ']' 04:56:36 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives/ 04:56:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1107/archives/ [Pipeline] echo 04:56:36 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-1107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:56:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:56:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:37 . [Pipeline] withDockerContainer 04:56:37 prd-ubuntu20.04-docker-8c-8g-7775 does not seem to be running inside a container 04:56:37 $ 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-1107/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-1107 -v /w/workspace/gexfoundry_device-sdk-go_PR-1107:/w/workspace/gexfoundry_device-sdk-go_PR-1107:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1107@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 04:56:37 $ docker top f784832ec755fa0e96013f3227f89be208daebd1929c4bdb8d73f68e893e4087 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:38 + touch /tmp/pre-build-complete [Pipeline] sh 04:56:38 + mkdir -p /var/log/sysstat [Pipeline] sh 04:56:38 + ls /var/log/sa-host 04:56:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:56:38 provisioning config files... 04:56:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1107@tmp/config2101294449936305037tmp [Pipeline] { [Pipeline] echo 04:56:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:56:39 ---> create-netrc.sh [Pipeline] } 04:56:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:56:39 ---> python-tools-install.sh [Pipeline] echo 04:56:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:56:39 ---> sudo-logs.sh 04:56:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:56:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:56:40 ---> job-cost.sh 04:56:40 lf-activate-venv: SKIPPING 04:56:40 DEBUG: total: 0.2199999988079071 04:56:40 INFO: Retrieving Stack Cost... 04:56:40 INFO: Retrieving Pricing Info for: v3-standard-8 04:56:40 INFO: Archiving Costs [Pipeline] echo 04:56:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:56:41 ---> logs-deploy.sh 04:56:41 lf-activate-venv: SKIPPING 04:56:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1107/3 04:56:41 INFO: archiving workspace using pattern(s): 04:56:42 Archives upload complete. 04:56:42 INFO: archiving logs to Nexus