Pull request #1110 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1+0c98a10ee9e4548efad256221762cfb1e846b147 (6ea3aaabf99227c4ad0d32fe00d4283adf5454d1) 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-ssh8527325441319514351.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-ssh14802136788706098452.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-1110/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-1110/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2384352344828553946.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-ssh10805088955337239126.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-1110/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-1110/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10489862434816454644.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9218 in /w/workspace/gexfoundry_device-sdk-go_PR-1110 [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-1110 # 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 0c98a10ee9e4548efad256221762cfb1e846b147 into PR head commit 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 Merge succeeded, producing 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 Checking out Revision 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 (PR-1110) > 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/1110/head:refs/remotes/origin/PR-1110 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 # 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 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:36 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 00e2cb89c30a0863b56540878b3a6ac2890959bb # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:36 ========================================================= 04:19:36 EdgeX Global Pipelines Version Info 04:19:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:19:37 ------------------- 04:19:37 stable info: 04:19:37 ------------------- 04:19:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:37 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:19:37 Message: update stable to v1.0.221 04:19:37 ------------------- 04:19:37 experimental info: 04:19:37 ------------------- 04:19:37 Commited By: **** collab-it+edgex@linuxfoundation.org 04:19:37 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:19:37 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1110 [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1110 [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1110 [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d7c4ac [Pipeline] echo 04:19:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:38 provisioning config files... 04:19:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp/config1236190470746596452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:38 ---> docker-login.sh 04:19:38 nexus3.edgexfoundry.org:10001 04:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:39 Configure a credential helper to remove this warning. See 04:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:39 04:19:39 Login Succeeded 04:19:39 nexus3.edgexfoundry.org:10002 04:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:39 Configure a credential helper to remove this warning. See 04:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:39 04:19:39 Login Succeeded 04:19:39 nexus3.edgexfoundry.org:10003 04:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:39 Configure a credential helper to remove this warning. See 04:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:39 04:19:39 Login Succeeded 04:19:39 nexus3.edgexfoundry.org:10004 04:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:39 Configure a credential helper to remove this warning. See 04:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:39 04:19:39 Login Succeeded 04:19:39 docker.io 04:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:40 Configure a credential helper to remove this warning. See 04:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:40 04:19:40 Login Succeeded 04:19:40 ---> docker-login.sh ends [Pipeline] } 04:19:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:19:40 + git rev-list -1 --merges 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1~1..9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 [Pipeline] echo 04:19:40 -----------> git rev-list -1 --merges 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1~1..9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 [false] [Pipeline] sh 04:19:41 + git log --format=format:%s -1 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 [Pipeline] echo 04:19:41 ========================================================= 04:19:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:19:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:41 + git log --format=format:%s -1 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 [Pipeline] echo 04:19:41 [semverPrep] GIT_COMMIT: 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:19:41 [semverPrep] This is not a build commit. [Pipeline] sh 04:19:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:19:41 + grep -v github /etc/ssh/ssh_known_hosts 04:19:41 + [ -e /tmp/ssh_known_hosts ] 04:19:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:19:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:19:41 + sudo tee -a /etc/ssh/ssh_known_hosts 04:19:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:19:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:42 04:19:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:19:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:42 latest: Pulling from edgex-devops/git-semver 04:19:42 a0d0a0d46f8b: Pulling fs layer 04:19:42 3e5f54012d9b: Pulling fs layer 04:19:42 4c7163046ea9: Pulling fs layer 04:19:42 0c2d73faf560: Pulling fs layer 04:19:42 0c2d73faf560: Waiting 04:19:42 3e5f54012d9b: Download complete 04:19:42 a0d0a0d46f8b: Download complete 04:19:42 0c2d73faf560: Verifying Checksum 04:19:42 0c2d73faf560: Download complete 04:19:42 4c7163046ea9: Verifying Checksum 04:19:42 4c7163046ea9: Download complete 04:19:42 a0d0a0d46f8b: Pull complete 04:19:43 3e5f54012d9b: Pull complete 04:19:43 4c7163046ea9: Pull complete 04:19:43 0c2d73faf560: Pull complete 04:19:43 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:19:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:19:43 prd-ubuntu20.04-docker-8c-8g-9218 does not seem to be running inside a container 04:19:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1110 -v /w/workspace/gexfoundry_device-sdk-go_PR-1110:/w/workspace/gexfoundry_device-sdk-go_PR-1110:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1110@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:19:44 $ docker top bb612930f72bcbdb8cdf85d7f45b140b7bbe45ad92bdcc671d21a1e572810c86 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:19:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:44 [ssh-agent] Looking for ssh-agent implementation... 04:19:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:44 $ docker exec bb612930f72bcbdb8cdf85d7f45b140b7bbe45ad92bdcc671d21a1e572810c86 ssh-agent 04:19:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKEKaoA/agent.13 04:19:44 SSH_AGENT_PID=20 04:19:44 Running ssh-add (command line suppressed) 04:19:44 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp/private_key_6099118026264884130.key (/w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp/private_key_6099118026264884130.key) 04:19:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:45 + git tag --points-at HEAD [Pipeline] } 04:19:45 $ docker exec --env ******** --env ******** bb612930f72bcbdb8cdf85d7f45b140b7bbe45ad92bdcc671d21a1e572810c86 ssh-agent -k 04:19:45 unset SSH_AUTH_SOCK; 04:19:45 unset SSH_AGENT_PID; 04:19:45 echo Agent pid 20 killed; 04:19:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:19:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:45 [ssh-agent] Looking for ssh-agent implementation... 04:19:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:45 $ docker exec bb612930f72bcbdb8cdf85d7f45b140b7bbe45ad92bdcc671d21a1e572810c86 ssh-agent 04:19:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhafbeb/agent.54 04:19:45 SSH_AGENT_PID=61 04:19:45 Running ssh-add (command line suppressed) 04:19:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp/private_key_3930930254675862023.key (/w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp/private_key_3930930254675862023.key) 04:19:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:46 + git semver init 04:19:46 # -> Open(): unable to determine branch for HEAD 04:19:46 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1110/.git 04:19:46 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1110 04:19:46 # $SEMVER_REMOTE_NAME = origin 04:19:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:19:46 # $SEMVER_USER_NAME = edgex-jenkins 04:19:46 # $SEMVER_BRANCH = PR-1110 04:19:46 # $SEMVER_TEMP = /tmp/semver-596713865 04:19:46 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:19:47 # '/tmp/semver-596713865' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1110/.semver' 04:19:47 # -> Force: false 04:19:47 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1110/.semver [Pipeline] } 04:19:47 $ docker exec --env ******** --env ******** bb612930f72bcbdb8cdf85d7f45b140b7bbe45ad92bdcc671d21a1e572810c86 ssh-agent -k 04:19:47 unset SSH_AUTH_SOCK; 04:19:47 unset SSH_AGENT_PID; 04:19:47 echo Agent pid 61 killed; 04:19:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:47 + git semver [Pipeline] } 04:19:47 $ docker stop --time=1 bb612930f72bcbdb8cdf85d7f45b140b7bbe45ad92bdcc671d21a1e572810c86 04:19:49 $ docker rm -f bb612930f72bcbdb8cdf85d7f45b140b7bbe45ad92bdcc671d21a1e572810c86 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:19:49 Stashed 1 file(s) [Pipeline] echo 04:19:49 [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:19:50 provisioning config files... 04:19:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp/config1242705384610148309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:50 ---> docker-login.sh 04:19:50 nexus3.edgexfoundry.org:10001 04:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:50 Configure a credential helper to remove this warning. See 04:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:50 04:19:50 Login Succeeded 04:19:50 nexus3.edgexfoundry.org:10002 04:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:50 Configure a credential helper to remove this warning. See 04:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:50 04:19:50 Login Succeeded 04:19:50 nexus3.edgexfoundry.org:10003 04:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:50 Configure a credential helper to remove this warning. See 04:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:50 04:19:50 Login Succeeded 04:19:50 nexus3.edgexfoundry.org:10004 04:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:50 Configure a credential helper to remove this warning. See 04:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:50 04:19:50 Login Succeeded 04:19:50 docker.io 04:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:19:51 Configure a credential helper to remove this warning. See 04:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:19:51 04:19:51 Login Succeeded 04:19:51 ---> docker-login.sh ends [Pipeline] } 04:19:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:19:51 ========================================================= 04:19:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:19:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:19:51 + 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:19:51 Sending build context to Docker daemon 9.548MB 04:19:51 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:19:51 Step 2/11 : FROM ${BASE} AS builder 04:19:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:19:51 59bf1c3509f3: Pulling fs layer 04:19:51 666ba61612fd: Pulling fs layer 04:19:51 8ed8ca486205: Pulling fs layer 04:19:51 4fe6c5a15a65: Pulling fs layer 04:19:51 22a0e8bec74d: Pulling fs layer 04:19:51 640e595b4fbd: Pulling fs layer 04:19:51 763cafe07f6e: Pulling fs layer 04:19:51 0c0b528cf693: Pulling fs layer 04:19:51 10935f4eaf8b: Pulling fs layer 04:19:51 22a0e8bec74d: Waiting 04:19:51 640e595b4fbd: Waiting 04:19:51 10935f4eaf8b: Waiting 04:19:51 763cafe07f6e: Waiting 04:19:51 0c0b528cf693: Waiting 04:19:51 4fe6c5a15a65: Waiting 04:19:52 8ed8ca486205: Verifying Checksum 04:19:52 8ed8ca486205: Download complete 04:19:52 666ba61612fd: Download complete 04:19:52 22a0e8bec74d: Verifying Checksum 04:19:52 22a0e8bec74d: Download complete 04:19:52 640e595b4fbd: Verifying Checksum 04:19:52 640e595b4fbd: Download complete 04:19:52 763cafe07f6e: Verifying Checksum 04:19:52 763cafe07f6e: Download complete 04:19:52 59bf1c3509f3: Download complete 04:19:52 0c0b528cf693: Verifying Checksum 04:19:52 0c0b528cf693: Download complete 04:19:52 59bf1c3509f3: Pull complete 04:19:52 666ba61612fd: Pull complete 04:19:52 8ed8ca486205: Pull complete 04:19:52 10935f4eaf8b: Verifying Checksum 04:19:52 10935f4eaf8b: Download complete 04:19:52 4fe6c5a15a65: Verifying Checksum 04:19:52 4fe6c5a15a65: Download complete 04:19:57 4fe6c5a15a65: Pull complete 04:19:57 22a0e8bec74d: Pull complete 04:19:57 640e595b4fbd: Pull complete 04:19:57 763cafe07f6e: Pull complete 04:19:57 0c0b528cf693: Pull complete 04:19:59 10935f4eaf8b: Pull complete 04:19:59 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 04:19:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:19:59 ---> 99d49a6021b9 04:19:59 Step 3/11 : ARG MAKE=make build 04:20:01 ---> Running in 86f97a63bd06 04:20:01 Removing intermediate container 86f97a63bd06 04:20:01 ---> 7a131adee5b5 04:20:01 Step 4/11 : WORKDIR /device-sdk-go 04:20:01 ---> Running in 06004fac6575 04:20:01 Removing intermediate container 06004fac6575 04:20:01 ---> 991c4f9efc0e 04:20:01 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:20:01 ---> Running in 44093478cae7 04:20:01 Removing intermediate container 44093478cae7 04:20:01 ---> 9b678f9e0c1d 04:20:01 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:01 ---> Running in 362794781bea 04:20:01 Removing intermediate container 362794781bea 04:20:01 ---> 6354ebff4fc0 04:20:01 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:20:01 ---> Running in e9fcf5c26247 04:20:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:20:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:20:03 OK: 221 MiB in 52 packages 04:20:03 Removing intermediate container e9fcf5c26247 04:20:03 ---> 8a293d03fcc8 04:20:03 Step 8/11 : COPY go.mod vendor* ./ 04:20:03 ---> 1359cbe3f0e7 04:20:03 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:03 ---> Running in cd72ea6ace52 04:20:05 Still waiting to schedule task 04:20:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:20:30 Removing intermediate container cd72ea6ace52 04:20:30 ---> a721c81270cb 04:20:30 Step 10/11 : COPY . . 04:20:30 ---> 76fb6e676f48 04:20:30 Step 11/11 : RUN ${MAKE} 04:20:30 ---> Running in c43445878608 04:20:30 noop 04:20:30 Removing intermediate container c43445878608 04:20:30 ---> 1a2e5a7c8dbf 04:20:30 Successfully built 1a2e5a7c8dbf 04:20:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:20:30 + docker inspect -f . ci-base-image-x86_64 04:20:30 . [Pipeline] withDockerContainer 04:20:30 prd-ubuntu20.04-docker-8c-8g-9218 does not seem to be running inside a container 04:20:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1110 -v /w/workspace/gexfoundry_device-sdk-go_PR-1110:/w/workspace/gexfoundry_device-sdk-go_PR-1110:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1110@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:20:31 $ docker top b88c34146df7f92b8863a8925d2587a898459d10ffd0851d2e4bd2a95b7c713e -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:31 + go version 04:20:31 go version go1.17.6 linux/amd64 [Pipeline] } 04:20:31 $ docker stop --time=1 b88c34146df7f92b8863a8925d2587a898459d10ffd0851d2e4bd2a95b7c713e 04:20:32 $ docker rm -f b88c34146df7f92b8863a8925d2587a898459d10ffd0851d2e4bd2a95b7c713e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:20:33 + docker inspect -f . ci-base-image-x86_64 04:20:33 . [Pipeline] withDockerContainer 04:20:33 prd-ubuntu20.04-docker-8c-8g-9218 does not seem to be running inside a container 04:20:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1110 -v /w/workspace/gexfoundry_device-sdk-go_PR-1110:/w/workspace/gexfoundry_device-sdk-go_PR-1110:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1110@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:20:33 $ docker top fe684c4af695dfb5c1a730cfe2c00ad0645af5aa605c1f62afd9998a70a5a97b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:20:34 + make test 04:20:34 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:20:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.012s coverage: 23.3% of statements 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.012s coverage: 27.6% of statements 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.015s coverage: 78.9% of statements 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.053s coverage: 10.8% of statements 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.021s coverage: 33.2% of statements 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.019s coverage: 86.1% of statements 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.013s coverage: 57.4% of statements 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.043s coverage: 89.2% of statements 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.015s coverage: 4.8% of statements 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:20:49 GO111MODULE=on go vet ./... 04:20:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:20:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:20:52 ./bin/test-attribution-txt.sh [Pipeline] echo 04:20:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:20:52 $ docker stop --time=1 fe684c4af695dfb5c1a730cfe2c00ad0645af5aa605c1f62afd9998a70a5a97b 04:20:54 $ docker rm -f fe684c4af695dfb5c1a730cfe2c00ad0645af5aa605c1f62afd9998a70a5a97b [Pipeline] // withDockerContainer [Pipeline] sh 04:20:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:20:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:20:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:20:55 + ls -al . 04:20:55 total 312 04:20:55 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 04:20 . 04:20:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:19 .. 04:20:55 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 04:19 .dockerignore 04:20:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 04:19 .git 04:20:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:19 .github 04:20:55 -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 04:19 .gitignore 04:20:55 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 04:19 .golangci.yml 04:20:55 drwx------ 3 jenkins jenkins 4096 Mar 28 04:19 .semver 04:20:55 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 28 04:19 CHANGELOG.md 04:20:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 04:19 GOVERNANCE.md 04:20:55 -rw-rw-r-- 1 jenkins jenkins 880 Mar 28 04:19 Jenkinsfile 04:20:55 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 04:19 LICENSE 04:20:55 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 28 04:19 Makefile 04:20:55 -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 04:19 OWNERS.md 04:20:55 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 28 04:19 README.md 04:20:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 04:19 VERSION 04:20:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 04:19 bin 04:20:55 -rw-r--r-- 1 jenkins jenkins 129001 Mar 28 04:20 coverage.out 04:20:55 drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:19 example 04:20:55 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 28 04:19 go.mod 04:20:55 -rw-rw-r-- 1 jenkins jenkins 50080 Mar 28 04:19 go.sum 04:20:55 drwxrwxr-x 15 jenkins jenkins 4096 Mar 28 04:19 internal 04:20:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:19 openapi 04:20:55 drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:19 pkg 04:20:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:19 snap 04:20:55 -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 04:19 version.go [Pipeline] isUnix [Pipeline] sh 04:20:56 + 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=9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 --label arch=amd64 --label version=0.0.0 . 04:20:56 Sending build context to Docker daemon 9.677MB 04:20:56 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:20:56 Step 2/25 : FROM ${BASE} AS builder 04:20:56 ---> 1a2e5a7c8dbf 04:20:56 Step 3/25 : ARG MAKE=make build 04:20:56 ---> Running in df99ee2b7943 04:20:56 Removing intermediate container df99ee2b7943 04:20:56 ---> 8f57304e0ea3 04:20:56 Step 4/25 : WORKDIR /device-sdk-go 04:20:56 ---> Running in b2570ef8489e 04:20:56 Removing intermediate container b2570ef8489e 04:20:56 ---> 9561292c642f 04:20:56 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:20:56 ---> Running in 469e91face1c 04:20:56 Removing intermediate container 469e91face1c 04:20:56 ---> f77c8a564639 04:20:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:56 ---> Running in ba0b5d21218d 04:20:57 Removing intermediate container ba0b5d21218d 04:20:57 ---> bce6baca0ce7 04:20:57 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:20:57 ---> Running in f3b48f0a26b5 04:20:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:20:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:20:58 OK: 221 MiB in 52 packages 04:20:58 Removing intermediate container f3b48f0a26b5 04:20:58 ---> e315b305e7fe 04:20:58 Step 8/25 : COPY go.mod vendor* ./ 04:20:58 ---> 5b4d4889583b 04:20:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:59 ---> Running in 3423038a53ff 04:20:59 Removing intermediate container 3423038a53ff 04:20:59 ---> e0964275b2bf 04:20:59 Step 10/25 : COPY . . 04:21:00 ---> 694b76c35682 04:21:00 Step 11/25 : RUN ${MAKE} 04:21:00 ---> Running in 9e16dbd7a558 04:21:00 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:21:07 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:21:07 Removing intermediate container 9e16dbd7a558 04:21:07 ---> 92f8fc705884 04:21:07 Step 12/25 : FROM alpine:3.14 04:21:08 3.14: Pulling from library/alpine 04:21:08 36ccefbf3d8a: Pulling fs layer 04:21:08 36ccefbf3d8a: Download complete 04:21:08 36ccefbf3d8a: Pull complete 04:21:08 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 04:21:08 Status: Downloaded newer image for alpine:3.14 04:21:08 ---> a33ac4f1069a 04:21:08 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:21:08 ---> Running in 20b5fe34e748 04:21:09 Removing intermediate container 20b5fe34e748 04:21:09 ---> 5744f2ebc122 04:21:09 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:09 ---> Running in 405c4ccd69bc 04:21:09 Removing intermediate container 405c4ccd69bc 04:21:09 ---> 8de5edc67772 04:21:09 Step 15/25 : RUN apk add --update --no-cache zeromq 04:21:09 ---> Running in 96cff0560508 04:21:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:21:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:21:10 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:21:11 (2/5) Installing libsodium (1.0.18-r0) 04:21:11 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:21:11 (4/5) Installing libzmq (4.3.4-r0) 04:21:11 (5/5) Installing zeromq (4.3.4-r0) 04:21:11 Executing busybox-1.33.1-r6.trigger 04:21:11 OK: 8 MiB in 19 packages 04:21:11 Removing intermediate container 96cff0560508 04:21:11 ---> 3dd140bfdfdf 04:21:11 Step 16/25 : WORKDIR / 04:21:11 ---> Running in 46a218900c40 04:21:11 Removing intermediate container 46a218900c40 04:21:11 ---> d15217dc494c 04:21:11 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:21:12 ---> 8a879d57c0ed 04:21:12 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:21:12 ---> 48fa3823c16f 04:21:12 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:21:12 ---> e9c314b5a256 04:21:12 Step 20/25 : EXPOSE 59999 04:21:12 ---> Running in 4c5835e9fef6 04:21:12 Removing intermediate container 4c5835e9fef6 04:21:12 ---> 476e46b278bf 04:21:12 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:21:12 ---> Running in ffa2a2e603c1 04:21:13 Removing intermediate container ffa2a2e603c1 04:21:13 ---> 4df1b89c423d 04:21:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:21:13 ---> Running in f5a9fa18c725 04:21:13 Removing intermediate container f5a9fa18c725 04:21:13 ---> dc09f2ac7772 04:21:13 Step 23/25 : LABEL arch=amd64 04:21:13 ---> Running in 1a3d7c0fa6f4 04:21:13 Removing intermediate container 1a3d7c0fa6f4 04:21:13 ---> 50bf4fa5dcb6 04:21:13 Step 24/25 : LABEL git_sha=9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 04:21:13 ---> Running in 8f8e9e668ccf 04:21:13 Removing intermediate container 8f8e9e668ccf 04:21:13 ---> 9125a4a00c4d 04:21:13 Step 25/25 : LABEL version=0.0.0 04:21:13 ---> Running in 771da46f1080 04:21:13 Removing intermediate container 771da46f1080 04:21:13 ---> 2a230b8a05f4 04:21:13 [Warning] One or more build-args [ARCH] were not consumed 04:21:13 Successfully built 2a230b8a05f4 04:21:13 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:21:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:13 04:21:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:21:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:14 latest: Pulling from edgex-lftools-log-publisher 04:21:14 5eb5b503b376: Pulling fs layer 04:21:14 5c69ac0246d0: Pulling fs layer 04:21:14 ec43610c2a17: Pulling fs layer 04:21:14 3a2ae6a8a46f: Pulling fs layer 04:21:14 33b1e0a273af: Pulling fs layer 04:21:14 5d3b04190fa2: Pulling fs layer 04:21:14 2f39f015ded8: Pulling fs layer 04:21:14 3a2ae6a8a46f: Waiting 04:21:14 2f39f015ded8: Waiting 04:21:14 5d3b04190fa2: Waiting 04:21:14 33b1e0a273af: Waiting 04:21:14 5c69ac0246d0: Verifying Checksum 04:21:14 5c69ac0246d0: Download complete 04:21:14 3a2ae6a8a46f: Verifying Checksum 04:21:14 3a2ae6a8a46f: Download complete 04:21:14 33b1e0a273af: Verifying Checksum 04:21:14 33b1e0a273af: Download complete 04:21:14 5d3b04190fa2: Verifying Checksum 04:21:14 5d3b04190fa2: Download complete 04:21:14 ec43610c2a17: Verifying Checksum 04:21:14 ec43610c2a17: Download complete 04:21:14 5eb5b503b376: Verifying Checksum 04:21:14 5eb5b503b376: Download complete 04:21:15 2f39f015ded8: Download complete 04:21:15 5eb5b503b376: Pull complete 04:21:15 5c69ac0246d0: Pull complete 04:21:16 ec43610c2a17: Pull complete 04:21:16 3a2ae6a8a46f: Pull complete 04:21:16 33b1e0a273af: Pull complete 04:21:16 5d3b04190fa2: Pull complete 04:21:22 2f39f015ded8: Pull complete 04:21:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:21:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:21:22 prd-ubuntu20.04-docker-8c-8g-9218 does not seem to be running inside a container 04:21:22 $ 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-1110 -v /w/workspace/gexfoundry_device-sdk-go_PR-1110:/w/workspace/gexfoundry_device-sdk-go_PR-1110:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1110@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:21:23 $ docker top 9241f6e469540840741d29d2f592204ee9905f505b2bf6a3a3988b744667dc52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:24 ---> job-cost.sh 04:21:24 lf-activate-venv: SKIPPING 04:21:24 INFO: No Stack... 04:21:24 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:25 INFO: Archiving Costs [Pipeline] sh 04:21:25 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1110/archives/cost.csv 04:21:25 + cut -d, -f6 [Pipeline] lock 04:21:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1110-2-stack-cost] 04:21:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1110-2-stack-cost] did not exist. Created. 04:21:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1110-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:25 + echo total: 0.2199999988079071 [Pipeline] stash 04:21:25 Stashed 1 file(s) [Pipeline] } 04:21:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1110-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:25 $ docker stop --time=1 9241f6e469540840741d29d2f592204ee9905f505b2bf6a3a3988b744667dc52 04:21:26 $ docker rm -f 9241f6e469540840741d29d2f592204ee9905f505b2bf6a3a3988b744667dc52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:22:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9220 in /w/workspace/gexfoundry_device-sdk-go_PR-1110 [Pipeline] { [Pipeline] ws 04:22:35 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 04:22:36 The recommended git tool is: git 04:22:44 using credential edgex-jenkins-ssh 04:22:44 Cloning the remote Git repository 04:22:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:22:44 > git init /w/workspace/device-sdk-go/2 # timeout=10 04:22:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:44 > git --version # timeout=10 04:22:45 > git --version # 'git version 2.25.1' 04:22:45 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:47 Merging remotes/origin/main commit 0c98a10ee9e4548efad256221762cfb1e846b147 into PR head commit 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 04:22:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1110/head:refs/remotes/origin/PR-1110 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:22:47 > git config core.sparsecheckout # timeout=10 04:22:47 > git checkout -f 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 # timeout=10 04:22:47 > git remote # timeout=10 04:22:47 Merge succeeded, producing 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 04:22:47 Checking out Revision 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 (PR-1110) 04:22:47 > git config --get remote.origin.url # timeout=10 04:22:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:47 > git merge 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 04:22:47 > git rev-parse HEAD^{commit} # timeout=10 04:22:47 > git config core.sparsecheckout # timeout=10 04:22:47 > git checkout -f 9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 # timeout=10 04:22:52 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:22:53 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:53 Dload Upload Total Spent Left Speed 04:22:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 49552 0 --:--:-- --:--:-- --:--:-- 49760 [Pipeline] sh 04:22:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:22:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:22:54 + sudo tee /etc/docker/daemon.new 04:22:54 { 04:22:54 "registry-mirrors": [ 04:22:54 "https://nexus3.edgexfoundry.org:10001" 04:22:54 ], 04:22:54 "bip": "10.250.0.254/24", 04:22:54 "hosts": [ 04:22:54 "tcp://0.0.0.0:5555", 04:22:54 "unix:///var/run/docker.sock" 04:22:54 ], 04:22:54 "mtu": 1458, 04:22:54 "selinux-enabled": true, 04:22:54 "seccomp-profile": "/etc/docker/seccomp.json" 04:22:54 } [Pipeline] sh 04:22:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:22:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:13 provisioning config files... 04:23:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2463615727041175380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:13 ---> docker-login.sh 04:23:13 nexus3.edgexfoundry.org:10001 04:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:14 Configure a credential helper to remove this warning. See 04:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:14 04:23:14 Login Succeeded 04:23:14 nexus3.edgexfoundry.org:10002 04:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:15 Configure a credential helper to remove this warning. See 04:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:15 04:23:15 Login Succeeded 04:23:15 nexus3.edgexfoundry.org:10003 04:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:16 Configure a credential helper to remove this warning. See 04:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:16 04:23:16 Login Succeeded 04:23:16 nexus3.edgexfoundry.org:10004 04:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:16 Configure a credential helper to remove this warning. See 04:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:16 04:23:16 Login Succeeded 04:23:16 docker.io 04:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:17 Configure a credential helper to remove this warning. See 04:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:17 04:23:17 Login Succeeded 04:23:17 ---> docker-login.sh ends [Pipeline] } 04:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:17 ========================================================= 04:23:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:23:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:23:18 + 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:23:18 Sending build context to Docker daemon 5.155MB 04:23:18 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:23:18 Step 2/11 : FROM ${BASE} AS builder 04:23:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:23:18 9b3977197b4f: Pulling fs layer 04:23:18 1a89e8eeedd5: Pulling fs layer 04:23:18 94645a83ff95: Pulling fs layer 04:23:18 3f3a8bcf1eab: Pulling fs layer 04:23:18 0c92f367c5e7: Pulling fs layer 04:23:18 f7c0051592d6: Pulling fs layer 04:23:18 a227ed2f7395: Pulling fs layer 04:23:18 7b1c46037f91: Pulling fs layer 04:23:18 f7c0051592d6: Waiting 04:23:18 a227ed2f7395: Waiting 04:23:18 7b1c46037f91: Waiting 04:23:18 3f3a8bcf1eab: Waiting 04:23:18 0c92f367c5e7: Waiting 04:23:18 94645a83ff95: Verifying Checksum 04:23:18 94645a83ff95: Download complete 04:23:18 1a89e8eeedd5: Verifying Checksum 04:23:18 1a89e8eeedd5: Download complete 04:23:18 0c92f367c5e7: Verifying Checksum 04:23:18 0c92f367c5e7: Download complete 04:23:18 f7c0051592d6: Verifying Checksum 04:23:18 f7c0051592d6: Download complete 04:23:19 9b3977197b4f: Download complete 04:23:19 a227ed2f7395: Verifying Checksum 04:23:19 a227ed2f7395: Download complete 04:23:19 9b3977197b4f: Pull complete 04:23:20 1a89e8eeedd5: Pull complete 04:23:20 94645a83ff95: Pull complete 04:23:21 7b1c46037f91: Verifying Checksum 04:23:21 7b1c46037f91: Download complete 04:23:21 3f3a8bcf1eab: Verifying Checksum 04:23:21 3f3a8bcf1eab: Download complete 04:23:34 3f3a8bcf1eab: Pull complete 04:23:34 0c92f367c5e7: Pull complete 04:23:34 f7c0051592d6: Pull complete 04:23:34 a227ed2f7395: Pull complete 04:23:41 7b1c46037f91: Pull complete 04:23:41 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 04:23:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:23:41 ---> f79e39bc4007 04:23:41 Step 3/11 : ARG MAKE=make build 04:23:41 ---> Running in cad0ca253a53 04:23:42 Removing intermediate container cad0ca253a53 04:23:42 ---> 1de550847964 04:23:42 Step 4/11 : WORKDIR /device-sdk-go 04:23:42 ---> Running in 607f5081d87c 04:23:42 Removing intermediate container 607f5081d87c 04:23:42 ---> 7a1261b6de41 04:23:42 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:23:42 ---> Running in 3a1f22465512 04:23:43 Removing intermediate container 3a1f22465512 04:23:43 ---> 0ccbcdbd27e1 04:23:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:23:43 ---> Running in c16cfa259d61 04:23:45 Removing intermediate container c16cfa259d61 04:23:45 ---> 7f74bbbac4b4 04:23:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:23:45 ---> Running in 5fa2901030e2 04:23:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:23:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:23:47 OK: 220 MiB in 52 packages 04:23:48 Removing intermediate container 5fa2901030e2 04:23:48 ---> db14d267543a 04:23:48 Step 8/11 : COPY go.mod vendor* ./ 04:23:49 ---> 0edff4bff74f 04:23:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:49 ---> Running in c1319deb5e00 04:25:11 Removing intermediate container c1319deb5e00 04:25:11 ---> d81ea3a7a699 04:25:11 Step 10/11 : COPY . . 04:25:11 ---> 5c1566105fd2 04:25:11 Step 11/11 : RUN ${MAKE} 04:25:11 ---> Running in 6acece86cf9b 04:25:11 noop 04:25:11 Removing intermediate container 6acece86cf9b 04:25:11 ---> d06589c2b504 04:25:11 Successfully built d06589c2b504 04:25:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:25:11 + docker inspect -f . ci-base-image-arm64 04:25:11 . [Pipeline] withDockerContainer 04:25:11 prd-ubuntu20.04-docker-arm64-4c-16g-9220 does not seem to be running inside a container 04:25:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:25:13 $ docker top b62ee2773bce42b13dcbfb877f26e9cd72f741c42453bc60edd789b9e14a29eb -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:14 + go version 04:25:14 go version go1.17.6 linux/arm64 [Pipeline] } 04:25:14 $ docker stop --time=1 b62ee2773bce42b13dcbfb877f26e9cd72f741c42453bc60edd789b9e14a29eb 04:25:15 $ docker rm -f b62ee2773bce42b13dcbfb877f26e9cd72f741c42453bc60edd789b9e14a29eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:25:16 + docker inspect -f . ci-base-image-arm64 04:25:16 . [Pipeline] withDockerContainer 04:25:16 prd-ubuntu20.04-docker-arm64-4c-16g-9220 does not seem to be running inside a container 04:25:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:25:18 $ docker top c200ca2a88a936fea4625f524a6081af1dacfbcfe83dc1456efa6fa312236a5a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:25:19 + make test 04:25:19 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:25:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:26:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:26:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:26:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:26:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.114s coverage: 23.3% of statements 04:26:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:26:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 04:26:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements 04:26:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.069s coverage: 10.8% of statements 04:26:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:26:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:26:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:26:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.125s coverage: 33.2% of statements 04:26:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:26:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.105s coverage: 86.1% of statements 04:26:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:26:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:26:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 57.4% of statements 04:26:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.199s coverage: 89.2% of statements 04:26:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:26:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.8% of statements 04:26:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:26:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:26:25 GO111MODULE=on go vet ./... 04:26:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:26:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:26:47 ./bin/test-attribution-txt.sh [Pipeline] echo 04:26:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:26:50 $ docker stop --time=1 c200ca2a88a936fea4625f524a6081af1dacfbcfe83dc1456efa6fa312236a5a 04:26:52 $ docker rm -f c200ca2a88a936fea4625f524a6081af1dacfbcfe83dc1456efa6fa312236a5a [Pipeline] // withDockerContainer [Pipeline] sh 04:26:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:26:53 Warning: overwriting stash ‘coverage-report’ 04:26:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:26:54 + ls -al . 04:26:54 total 308 04:26:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 04:26 . 04:26:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:22 .. 04:26:54 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 04:22 .dockerignore 04:26:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 04:22 .git 04:26:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:22 .github 04:26:54 -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 04:22 .gitignore 04:26:54 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 04:22 .golangci.yml 04:26:54 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 28 04:22 CHANGELOG.md 04:26:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 04:22 GOVERNANCE.md 04:26:54 -rw-rw-r-- 1 jenkins jenkins 880 Mar 28 04:22 Jenkinsfile 04:26:54 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 04:22 LICENSE 04:26:54 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 28 04:22 Makefile 04:26:54 -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 04:22 OWNERS.md 04:26:54 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 28 04:22 README.md 04:26:54 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 04:19 VERSION 04:26:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 04:22 bin 04:26:54 -rw-r--r-- 1 jenkins jenkins 129001 Mar 28 04:26 coverage.out 04:26:54 drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:22 example 04:26:54 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 28 04:22 go.mod 04:26:54 -rw-rw-r-- 1 jenkins jenkins 50080 Mar 28 04:22 go.sum 04:26:54 drwxrwxr-x 15 jenkins jenkins 4096 Mar 28 04:22 internal 04:26:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:22 openapi 04:26:54 drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:22 pkg 04:26:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:22 snap 04:26:54 -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 04:22 version.go [Pipeline] isUnix [Pipeline] sh 04:26:55 + 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=9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 --label arch=arm64 --label version=0.0.0 . 04:26:55 Sending build context to Docker daemon 5.284MB 04:26:55 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:26:55 Step 2/25 : FROM ${BASE} AS builder 04:26:55 ---> d06589c2b504 04:26:55 Step 3/25 : ARG MAKE=make build 04:26:55 ---> Running in 9ea8ccdc4d1b 04:26:55 Removing intermediate container 9ea8ccdc4d1b 04:26:55 ---> 3b56d85ec5f3 04:26:55 Step 4/25 : WORKDIR /device-sdk-go 04:26:56 ---> Running in 6de22354d10d 04:26:56 Removing intermediate container 6de22354d10d 04:26:56 ---> a139ae67877c 04:26:56 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:26:56 ---> Running in c639cd728eb7 04:26:56 Removing intermediate container c639cd728eb7 04:26:56 ---> fffb2db62b18 04:26:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:26:57 ---> Running in 857ea1bba1b9 04:26:58 Removing intermediate container 857ea1bba1b9 04:26:58 ---> 5ef33809d430 04:26:58 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:26:58 ---> Running in 52de27f77fa3 04:26:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:27:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:27:01 OK: 220 MiB in 52 packages 04:27:02 Removing intermediate container 52de27f77fa3 04:27:02 ---> d32ae901a74a 04:27:02 Step 8/25 : COPY go.mod vendor* ./ 04:27:02 ---> 4a93496b5378 04:27:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:03 ---> Running in ab8caeb9666a 04:27:05 Removing intermediate container ab8caeb9666a 04:27:05 ---> 0589a7d020e6 04:27:05 Step 10/25 : COPY . . 04:27:06 ---> 045de5a14869 04:27:06 Step 11/25 : RUN ${MAKE} 04:27:06 ---> Running in 2cc19ab50172 04:27:07 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:27:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:27:54 Removing intermediate container 2cc19ab50172 04:27:54 ---> 58558cdbb4ae 04:27:54 Step 12/25 : FROM alpine:3.14 04:27:54 3.14: Pulling from library/alpine 04:27:54 93a1719cf261: Pulling fs layer 04:27:54 93a1719cf261: Verifying Checksum 04:27:54 93a1719cf261: Download complete 04:27:54 93a1719cf261: Pull complete 04:27:54 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 04:27:54 Status: Downloaded newer image for alpine:3.14 04:27:54 ---> 71a2028e5025 04:27:54 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:27:54 ---> Running in d0b5a5fe339f 04:27:54 Removing intermediate container d0b5a5fe339f 04:27:54 ---> bec4ac16b43f 04:27:54 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:27:54 ---> Running in 2a30e3dc91eb 04:27:54 Removing intermediate container 2a30e3dc91eb 04:27:54 ---> a10c7da2d411 04:27:54 Step 15/25 : RUN apk add --update --no-cache zeromq 04:27:54 ---> Running in ee942f5efac0 04:27:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:27:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:27:57 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:27:57 (2/5) Installing libsodium (1.0.18-r0) 04:27:57 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:27:57 (4/5) Installing libzmq (4.3.4-r0) 04:27:57 (5/5) Installing zeromq (4.3.4-r0) 04:27:57 Executing busybox-1.33.1-r6.trigger 04:27:57 OK: 8 MiB in 19 packages 04:27:58 Removing intermediate container ee942f5efac0 04:27:58 ---> 479e119ef93b 04:27:58 Step 16/25 : WORKDIR / 04:27:58 ---> Running in c94455e9d7af 04:27:58 Removing intermediate container c94455e9d7af 04:27:58 ---> fc2e43996f4a 04:27:58 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:27:59 ---> 94919d5d7ec4 04:27:59 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:28:00 ---> 709243ed0e43 04:28:00 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:28:01 ---> 8835cad77f68 04:28:01 Step 20/25 : EXPOSE 59999 04:28:01 ---> Running in d20465c4bcbf 04:28:01 Removing intermediate container d20465c4bcbf 04:28:01 ---> a9d25a82ebad 04:28:01 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:28:01 ---> Running in 49953af9a229 04:28:01 Removing intermediate container 49953af9a229 04:28:01 ---> b5c1c836aeb8 04:28:01 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:28:02 ---> Running in e061e857663a 04:28:02 Removing intermediate container e061e857663a 04:28:02 ---> ddfe19c2300a 04:28:02 Step 23/25 : LABEL arch=arm64 04:28:02 ---> Running in d472b32a8c8e 04:28:02 Removing intermediate container d472b32a8c8e 04:28:02 ---> f4b30b1c1dad 04:28:02 Step 24/25 : LABEL git_sha=9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 04:28:02 ---> Running in 64772b7c5470 04:28:03 Removing intermediate container 64772b7c5470 04:28:03 ---> c35182aec942 04:28:03 Step 25/25 : LABEL version=0.0.0 04:28:03 ---> Running in e342ae63a727 04:28:03 Removing intermediate container e342ae63a727 04:28:03 ---> 09820fd8e4a5 04:28:03 [Warning] One or more build-args [ARCH] were not consumed 04:28:03 Successfully built 09820fd8e4a5 04:28:03 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:28:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:04 04:28:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:28:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:04 arm64: Pulling from edgex-lftools-log-publisher 04:28:04 8998bd30e6a1: Pulling fs layer 04:28:04 04944245beec: Pulling fs layer 04:28:04 699f458cf7ca: Pulling fs layer 04:28:04 765212b225bb: Pulling fs layer 04:28:04 f23df028b6ca: Pulling fs layer 04:28:04 d65c8cfc05b1: Pulling fs layer 04:28:04 2437ff75d9bd: Pulling fs layer 04:28:04 765212b225bb: Waiting 04:28:04 f23df028b6ca: Waiting 04:28:04 d65c8cfc05b1: Waiting 04:28:04 2437ff75d9bd: Waiting 04:28:04 04944245beec: Download complete 04:28:04 765212b225bb: Verifying Checksum 04:28:04 765212b225bb: Download complete 04:28:04 f23df028b6ca: Verifying Checksum 04:28:04 f23df028b6ca: Download complete 04:28:04 d65c8cfc05b1: Verifying Checksum 04:28:04 d65c8cfc05b1: Download complete 04:28:04 699f458cf7ca: Verifying Checksum 04:28:04 699f458cf7ca: Download complete 04:28:05 8998bd30e6a1: Verifying Checksum 04:28:05 8998bd30e6a1: Download complete 04:28:07 2437ff75d9bd: Verifying Checksum 04:28:07 2437ff75d9bd: Download complete 04:28:09 8998bd30e6a1: Pull complete 04:28:10 04944245beec: Pull complete 04:28:12 699f458cf7ca: Pull complete 04:28:12 765212b225bb: Pull complete 04:28:13 f23df028b6ca: Pull complete 04:28:13 d65c8cfc05b1: Pull complete 04:28:28 2437ff75d9bd: Pull complete 04:28:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:28:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:28:28 prd-ubuntu20.04-docker-arm64-4c-16g-9220 does not seem to be running inside a container 04:28:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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:28:31 $ docker top 95fc37af07487504bcb7c1f15f218387fbe1a1b738546bc805a09a64c96305bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:32 ---> job-cost.sh 04:28:32 lf-activate-venv: SKIPPING 04:28:32 INFO: No Stack... 04:28:32 INFO: Retrieving Pricing Info for: v3-standard-4 04:28:33 INFO: Archiving Costs [Pipeline] sh 04:28:34 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 04:28:34 + cut -d, -f6 [Pipeline] lock 04:28:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1110-2-stack-cost] 04:28:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1110-2-stack-cost] did not exist. Created. 04:28:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1110-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:35 /w/workspace/device-sdk-go/2@tmp/durable-c14e0fe2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:28:35 + echo total: 0.10999999940395355 [Pipeline] stash 04:28:35 Warning: overwriting stash ‘stack-cost’ 04:28:35 Stashed 1 file(s) [Pipeline] } 04:28:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1110-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:28:35 $ docker stop --time=1 95fc37af07487504bcb7c1f15f218387fbe1a1b738546bc805a09a64c96305bd 04:28:37 $ docker rm -f 95fc37af07487504bcb7c1f15f218387fbe1a1b738546bc805a09a64c96305bd [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:28:38 provisioning config files... 04:28:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp/config1250810504930267299tmp [Pipeline] { [Pipeline] sh 04:28:38 + set +x 04:28:38 + curl -s https://codecov.io/bash 04:28:38 + bash -s -- 04:28:38 04:28:38 _____ _ 04:28:38 / ____| | | 04:28:38 | | ___ __| | ___ ___ _____ __ 04:28:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:28:38 | |___| (_) | (_| | __/ (_| (_) \ V / 04:28:38 \_____\___/ \__,_|\___|\___\___/ \_/ 04:28:38 Bash-1.0.6 04:28:38 04:28:38 04:28:38 ==> git version 2.25.1 found 04:28:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:28:38 Release-Date: 2020-01-08 04:28:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:28:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:28:38 ==> Jenkins CI detected. 04:28:38 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1110 04:28:38 project root: . 04:28:38 --> token set from env 04:28:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:28:38 ==> Running gcov in . (disable via -X gcov) 04:28:38 ==> Python coveragepy not found 04:28:38 ==> Searching for coverage reports in: 04:28:38 + . 04:28:38 -> Found 1 reports 04:28:38 ==> Detecting git/mercurial file structure 04:28:38 ==> Reading reports 04:28:38 + ./coverage.out bytes=129001 04:28:38 ==> Appending adjustments 04:28:38 https://docs.codecov.io/docs/fixing-reports 04:28:39 + Found adjustments 04:28:39 ==> Gzipping contents 04:28:39 16K /tmp/codecov.vRBd7f.gz 04:28:39 ==> Uploading reports 04:28:39 url: https://codecov.io 04:28:39 query: branch=PR-1110&commit=9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1110%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1110&job=&cmd_args= 04:28:39 -> Pinging Codecov 04:28:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1110&commit=9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1110%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1110&job=&cmd_args= 04:28:39 -> Uploading to 04:28:39 https://storage.googleapis.com/codecov/v4/raw/2022-03-28/7E55EF52A471D76F132DFD9A03CDDE97/9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1/7d4e9068-a1a6-4b40-b9d1-52d70ccdba47.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220328T042839Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ba64e97fc15444458727f38bf402041137e35a0a2b0ec39645d0e053ae23a48 04:28:39 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:39 Dload Upload Total Spent Left Speed 04:28:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16253 0 0 100 16253 0 66610 --:--:-- --:--:-- --:--:-- 66610 04:28:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9d7c4ace4ae49f15714a146b03c1e98b7c9b84f1 [Pipeline] } 04:28:39 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:28:40 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1110/archives ] 04:28:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1110/archives 04:28:40 total 16 04:28:40 drwxr-xr-x 3 root root 4096 Mar 28 04:21 . 04:28:40 drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 04:21 .. 04:28:40 drwxr-xr-x 2 root root 4096 Mar 28 04:21 cost 04:28:40 -rw-r--r-- 1 root root 85 Mar 28 04:21 cost.csv 04:28:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1110/archives 04:28:40 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1110/archives 04:28:40 total 16 04:28:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 04:21 . 04:28:40 drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 04:21 .. 04:28:40 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 04:21 cost 04:28:40 -rw-r--r-- 1 jenkins jenkins 85 Mar 28 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:28:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:41 ---> package-listing.sh 04:28:41 ++ facter osfamily 04:28:41 ++ tr '[:upper:]' '[:lower:]' 04:28:41 + OS_FAMILY=debian 04:28:41 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1110 04:28:41 + START_PACKAGES=/tmp/packages_start.txt 04:28:41 + END_PACKAGES=/tmp/packages_end.txt 04:28:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:41 + PACKAGES=/tmp/packages_start.txt 04:28:41 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1110 ']' 04:28:41 + PACKAGES=/tmp/packages_end.txt 04:28:41 + case "${OS_FAMILY}" in 04:28:41 + dpkg -l 04:28:41 + grep '^ii' 04:28:41 + '[' -f /tmp/packages_start.txt ']' 04:28:41 + '[' -f /tmp/packages_end.txt ']' 04:28:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:41 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1110 ']' 04:28:41 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1110/archives/ 04:28:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1110/archives/ [Pipeline] echo 04:28:41 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-1110/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:28:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:28:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:42 . [Pipeline] withDockerContainer 04:28:42 prd-ubuntu20.04-docker-8c-8g-9218 does not seem to be running inside a container 04:28:42 $ 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-1110/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-1110 -v /w/workspace/gexfoundry_device-sdk-go_PR-1110:/w/workspace/gexfoundry_device-sdk-go_PR-1110:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1110@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:28:43 $ docker top 81be0a0ca98913115ff93cb60070915056cb5684c95ab8abdfb642af9ad55ab8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:43 + touch /tmp/pre-build-complete [Pipeline] sh 04:28:43 + mkdir -p /var/log/sysstat [Pipeline] sh 04:28:44 + ls /var/log/sa-host 04:28:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:44 provisioning config files... 04:28:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1110@tmp/config6296422030702421441tmp [Pipeline] { [Pipeline] echo 04:28:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:28:44 ---> create-netrc.sh [Pipeline] } 04:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:28:44 ---> python-tools-install.sh [Pipeline] echo 04:28:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:28:45 ---> sudo-logs.sh 04:28:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:28:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:28:45 ---> job-cost.sh 04:28:45 lf-activate-venv: SKIPPING 04:28:45 DEBUG: total: 0.2199999988079071 04:28:45 INFO: Retrieving Stack Cost... 04:28:45 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:46 INFO: Archiving Costs [Pipeline] echo 04:28:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:28:46 ---> logs-deploy.sh 04:28:46 lf-activate-venv: SKIPPING 04:28:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1110/2 04:28:46 INFO: archiving workspace using pattern(s): 04:28:47 Archives upload complete. 04:28:47 INFO: archiving logs to Nexus