Pull request #1192 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7ac517d3a1701eab144e36f2ef0a344d5ff3c953+ba443a3625d4eef64e240836a867426dc0799199 (9ee7c0afb0643ef37ee0ec07501daeabfa02c209) 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-ssh31284921123310702.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7e4371ac6d730b8e642184b898413c6ef59a5643 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-ssh17941202157035694802.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 7e4371ac6d730b8e642184b898413c6ef59a5643 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15015652125523631796.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14694433679946197584.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7e4371ac6d730b8e642184b898413c6ef59a5643 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7e4371ac6d730b8e642184b898413c6ef59a5643 # timeout=10 Commit message: "Merge pull request #404 from bill-mahoney/go-1.18" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh6250278820211248008.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1705555751002424005.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7e4371ac6d730b8e642184b898413c6ef59a5643 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19328’ Running on prd-ubuntu20.04-docker-8c-8g-19330 in /w/workspace/gexfoundry_device-sdk-go_PR-1192 [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-1192 # 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/jakarta commit ba443a3625d4eef64e240836a867426dc0799199 into PR head commit 7ac517d3a1701eab144e36f2ef0a344d5ff3c953 Merge succeeded, producing 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d Checking out Revision 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d (PR-1192) > 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/1192/head:refs/remotes/origin/PR-1192 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ac517d3a1701eab144e36f2ef0a344d5ff3c953 # 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 ba443a3625d4eef64e240836a867426dc0799199 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d # timeout=10 Commit message: "Merge commit 'ba443a3625d4eef64e240836a867426dc0799199' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7e4371ac6d730b8e642184b898413c6ef59a5643 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:56:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:56:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:56:57 ========================================================= 18:56:57 EdgeX Global Pipelines Version Info 18:56:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:56:58 ------------------- 18:56:58 stable info: 18:56:58 ------------------- 18:56:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:56:58 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 18:56:58 Message: update stable to v1.0.236 18:56:59 ------------------- 18:56:59 experimental info: 18:56:59 ------------------- 18:56:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:56:59 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 18:56:59 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:56:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:56:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:56:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:56:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:56:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:56:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1192 [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1192 [Pipeline] echo 18:57:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1192 [Pipeline] echo 18:57:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d [Pipeline] echo 18:57:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 306dfe4 [Pipeline] echo 18:57:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:01 provisioning config files... 18:57:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp/config6210010030201118840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:01 ---> docker-login.sh 18:57:01 nexus3.edgexfoundry.org:10001 18:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:02 Configure a credential helper to remove this warning. See 18:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:02 18:57:02 Login Succeeded 18:57:02 nexus3.edgexfoundry.org:10002 18:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:02 Configure a credential helper to remove this warning. See 18:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:02 18:57:02 Login Succeeded 18:57:02 nexus3.edgexfoundry.org:10003 18:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:02 Configure a credential helper to remove this warning. See 18:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:02 18:57:02 Login Succeeded 18:57:02 nexus3.edgexfoundry.org:10004 18:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:02 Configure a credential helper to remove this warning. See 18:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:02 18:57:02 Login Succeeded 18:57:02 docker.io 18:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:03 Configure a credential helper to remove this warning. See 18:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:03 18:57:03 Login Succeeded 18:57:03 ---> docker-login.sh ends [Pipeline] } 18:57:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:57:03 + git rev-list -1 --merges 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d~1..306dfe472137a7e6d1c4e2550b25dfc2733f5b7d [Pipeline] echo 18:57:03 -----------> git rev-list -1 --merges 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d~1..306dfe472137a7e6d1c4e2550b25dfc2733f5b7d 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d 18:57:03 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d [false] [Pipeline] sh 18:57:04 + git log --format=format:%s -1 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d [Pipeline] echo 18:57:04 ========================================================= 18:57:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:57:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:57:04 + git log --format=format:%s -1 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d [Pipeline] echo 18:57:04 [semverPrep] GIT_COMMIT: 306dfe472137a7e6d1c4e2550b25dfc2733f5b7d, Commit Message: Merge commit 'ba443a3625d4eef64e240836a867426dc0799199' into HEAD [Pipeline] echo 18:57:04 [semverPrep] This is not a build commit. [Pipeline] sh 18:57:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:57:05 + grep -v github /etc/ssh/ssh_known_hosts 18:57:05 + [ -e /tmp/ssh_known_hosts ] 18:57:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:57:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:57:05 + sudo tee -a /etc/ssh/ssh_known_hosts 18:57:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:05 18:57:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:05 0.1.4: Pulling from edgex-devops/py-git-semver 18:57:05 b85a868b505f: Pulling fs layer 18:57:05 e2be974225ed: Pulling fs layer 18:57:05 339a4e72a1f5: Pulling fs layer 18:57:05 988bab9f4d93: Pulling fs layer 18:57:05 1469e6f7b9e6: Pulling fs layer 18:57:05 eaf3925da568: Pulling fs layer 18:57:05 bab4dde63d76: Pulling fs layer 18:57:05 bde34c3a00c8: Pulling fs layer 18:57:05 b352a97aabf1: Pulling fs layer 18:57:05 4872d77fe225: Pulling fs layer 18:57:05 5851b861e8e6: Pulling fs layer 18:57:05 eaf3925da568: Waiting 18:57:05 988bab9f4d93: Waiting 18:57:05 bab4dde63d76: Waiting 18:57:05 b352a97aabf1: Waiting 18:57:05 4872d77fe225: Waiting 18:57:05 5851b861e8e6: Waiting 18:57:05 e2be974225ed: Download complete 18:57:05 988bab9f4d93: Verifying Checksum 18:57:05 988bab9f4d93: Download complete 18:57:06 339a4e72a1f5: Verifying Checksum 18:57:06 339a4e72a1f5: Download complete 18:57:06 eaf3925da568: Verifying Checksum 18:57:06 eaf3925da568: Download complete 18:57:06 1469e6f7b9e6: Verifying Checksum 18:57:06 1469e6f7b9e6: Download complete 18:57:06 bde34c3a00c8: Download complete 18:57:06 b352a97aabf1: Verifying Checksum 18:57:06 b352a97aabf1: Download complete 18:57:06 4872d77fe225: Download complete 18:57:06 5851b861e8e6: Download complete 18:57:06 b85a868b505f: Download complete 18:57:06 bab4dde63d76: Verifying Checksum 18:57:06 bab4dde63d76: Download complete 18:57:07 b85a868b505f: Pull complete 18:57:07 e2be974225ed: Pull complete 18:57:08 339a4e72a1f5: Pull complete 18:57:08 988bab9f4d93: Pull complete 18:57:08 1469e6f7b9e6: Pull complete 18:57:08 eaf3925da568: Pull complete 18:57:10 bab4dde63d76: Pull complete 18:57:10 bde34c3a00c8: Pull complete 18:57:10 b352a97aabf1: Pull complete 18:57:10 4872d77fe225: Pull complete 18:57:10 5851b861e8e6: Pull complete 18:57:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:57:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:11 prd-ubuntu20.04-docker-8c-8g-19330 does not seem to be running inside a container 18:57:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1192 -v /w/workspace/gexfoundry_device-sdk-go_PR-1192:/w/workspace/gexfoundry_device-sdk-go_PR-1192:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1192@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-devops/py-git-semver:0.1.4 cat 18:57:12 $ docker top bbb2eb9b13794c3a18e58e65e4e56585d673b8937b085ea27fdf1de49c26f9ea -eo pid,comm 18:57:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:57:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:12 [ssh-agent] Looking for ssh-agent implementation... 18:57:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:12 $ docker exec bbb2eb9b13794c3a18e58e65e4e56585d673b8937b085ea27fdf1de49c26f9ea ssh-agent 18:57:13 SSH_AUTH_SOCK=/tmp/ssh-HF5mfKxykFJO/agent.33 18:57:13 SSH_AGENT_PID=39 18:57:13 Running ssh-add (command line suppressed) 18:57:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp/private_key_2171241210045312182.key (/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp/private_key_2171241210045312182.key) 18:57:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:13 + git tag --points-at HEAD [Pipeline] } 18:57:13 $ docker exec --env ******** --env ******** bbb2eb9b13794c3a18e58e65e4e56585d673b8937b085ea27fdf1de49c26f9ea ssh-agent -k 18:57:13 unset SSH_AUTH_SOCK; 18:57:13 unset SSH_AGENT_PID; 18:57:13 echo Agent pid 39 killed; 18:57:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:57:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:13 [ssh-agent] Looking for ssh-agent implementation... 18:57:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:13 $ docker exec bbb2eb9b13794c3a18e58e65e4e56585d673b8937b085ea27fdf1de49c26f9ea ssh-agent 18:57:14 SSH_AUTH_SOCK=/tmp/ssh-pFAZiIvIrg2D/agent.72 18:57:14 SSH_AGENT_PID=78 18:57:14 Running ssh-add (command line suppressed) 18:57:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp/private_key_3580454685641346352.key (/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp/private_key_3580454685641346352.key) 18:57:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:14 + git semver init 18:57:14 2022-07-11 18:57:14,692 [run_init] DEBUG init version:0.0.0 force:False 18:57:14 2022-07-11 18:57:14,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1192/.semver 18:57:14 2022-07-11 18:57:14,693 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1192/.semver 18:57:14 2022-07-11 18:57:14,693 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1192/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1192, universal_newlines=False, shell=None, istream=None) 18:57:15 2022-07-11 18:57:15,466 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1192/.git/info/exclude 18:57:15 2022-07-11 18:57:15,467 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1192/.semver/PR-1192 with force:False 18:57:15 2022-07-11 18:57:15,467 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1192/.semver/PR-1192 18:57:15 2022-07-11 18:57:15,472 [execute] INFO git cat-file --batch-check 18:57:15 2022-07-11 18:57:15,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1192/.semver, universal_newlines=False, shell=None, istream=) 18:57:15 2022-07-11 18:57:15,479 [execute] INFO git cat-file --batch 18:57:15 2022-07-11 18:57:15,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1192/.semver, universal_newlines=False, shell=None, istream=) 18:57:15 2022-07-11 18:57:15,485 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1192/.semver/PR-1192 18:57:15 0.0.0 [Pipeline] } 18:57:15 $ docker exec --env ******** --env ******** bbb2eb9b13794c3a18e58e65e4e56585d673b8937b085ea27fdf1de49c26f9ea ssh-agent -k 18:57:15 unset SSH_AUTH_SOCK; 18:57:15 unset SSH_AGENT_PID; 18:57:15 echo Agent pid 78 killed; 18:57:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:16 + git semver [Pipeline] } 18:57:16 $ docker stop --time=1 bbb2eb9b13794c3a18e58e65e4e56585d673b8937b085ea27fdf1de49c26f9ea 18:57:17 $ docker rm -f bbb2eb9b13794c3a18e58e65e4e56585d673b8937b085ea27fdf1de49c26f9ea [Pipeline] // withDockerContainer [Pipeline] sh 18:57:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:57:18 Stashed 1 file(s) [Pipeline] echo 18:57:18 [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 18:57:19 provisioning config files... 18:57:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp/config7568808523913389724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:19 ---> docker-login.sh 18:57:19 nexus3.edgexfoundry.org:10001 18:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:19 Configure a credential helper to remove this warning. See 18:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:19 18:57:19 Login Succeeded 18:57:19 nexus3.edgexfoundry.org:10002 18:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:19 Configure a credential helper to remove this warning. See 18:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:19 18:57:19 Login Succeeded 18:57:19 nexus3.edgexfoundry.org:10003 18:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:19 Configure a credential helper to remove this warning. See 18:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:19 18:57:19 Login Succeeded 18:57:19 nexus3.edgexfoundry.org:10004 18:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:20 Configure a credential helper to remove this warning. See 18:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:20 18:57:20 Login Succeeded 18:57:20 docker.io 18:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:20 Configure a credential helper to remove this warning. See 18:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:20 18:57:20 Login Succeeded 18:57:20 ---> docker-login.sh ends [Pipeline] } 18:57:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:57:20 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 18:57:20 + grep ^go [0-9].[0-9]* go.mod 18:57:20 + cut -d -f 2 [Pipeline] echo 18:57:21 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:57:21 ========================================================= 18:57:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 18:57:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:21 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 18:57:21 Sending build context to Docker daemon 20.73MB 18:57:21 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 18:57:21 Step 2/10 : FROM ${BASE} AS builder 18:57:21 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 18:57:21 a0d0a0d46f8b: Pulling fs layer 18:57:21 31adcdaf11c8: Pulling fs layer 18:57:21 b8b176561691: Pulling fs layer 18:57:21 4527c011a84f: Pulling fs layer 18:57:21 5d74067f8e1e: Pulling fs layer 18:57:21 4527c011a84f: Waiting 18:57:21 5d74067f8e1e: Waiting 18:57:21 fd57009d33ed: Pulling fs layer 18:57:21 6b058263d067: Pulling fs layer 18:57:21 16d7c86c65f4: Pulling fs layer 18:57:21 1290d154cb4b: Pulling fs layer 18:57:21 6b058263d067: Waiting 18:57:21 fd57009d33ed: Waiting 18:57:21 16d7c86c65f4: Waiting 18:57:21 1290d154cb4b: Waiting 18:57:21 b8b176561691: Verifying Checksum 18:57:21 b8b176561691: Download complete 18:57:21 31adcdaf11c8: Verifying Checksum 18:57:21 31adcdaf11c8: Download complete 18:57:21 5d74067f8e1e: Download complete 18:57:21 fd57009d33ed: Verifying Checksum 18:57:21 fd57009d33ed: Download complete 18:57:21 a0d0a0d46f8b: Verifying Checksum 18:57:21 a0d0a0d46f8b: Download complete 18:57:21 6b058263d067: Verifying Checksum 18:57:21 6b058263d067: Download complete 18:57:22 16d7c86c65f4: Verifying Checksum 18:57:22 16d7c86c65f4: Download complete 18:57:22 a0d0a0d46f8b: Pull complete 18:57:22 31adcdaf11c8: Pull complete 18:57:22 b8b176561691: Pull complete 18:57:22 1290d154cb4b: Verifying Checksum 18:57:22 1290d154cb4b: Download complete 18:57:22 4527c011a84f: Verifying Checksum 18:57:22 4527c011a84f: Download complete 18:57:26 4527c011a84f: Pull complete 18:57:26 5d74067f8e1e: Pull complete 18:57:26 fd57009d33ed: Pull complete 18:57:26 6b058263d067: Pull complete 18:57:26 16d7c86c65f4: Pull complete 18:57:28 1290d154cb4b: Pull complete 18:57:28 Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 18:57:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 18:57:28 ---> de6a6ee31cbe 18:57:28 Step 3/10 : ARG MAKE=make build 18:57:30 ---> Running in 5e914092bb4c 18:57:30 Removing intermediate container 5e914092bb4c 18:57:30 ---> 6f9a515c7877 18:57:30 Step 4/10 : WORKDIR /device-sdk-go 18:57:30 ---> Running in 5eed5e57cdef 18:57:30 Removing intermediate container 5eed5e57cdef 18:57:30 ---> c78bace2c108 18:57:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:57:30 ---> Running in b3c227d75866 18:57:30 Removing intermediate container b3c227d75866 18:57:30 ---> 4f03a6256b48 18:57:30 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:57:30 ---> Running in 4478128903ba 18:57:30 Removing intermediate container 4478128903ba 18:57:30 ---> 60a734dd73a8 18:57:30 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:57:30 ---> Running in 192c9648a2f8 18:57:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:57:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:57:32 OK: 220 MiB in 52 packages 18:57:32 Removing intermediate container 192c9648a2f8 18:57:32 ---> d2c9e0861c3c 18:57:32 Step 8/10 : COPY . . 18:57:33 ---> 4cb566d8f519 18:57:33 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:33 ---> Running in 8039967e1b3e 18:57:33 skipping... 18:57:33 Removing intermediate container 8039967e1b3e 18:57:33 ---> eccdc8f3cbe7 18:57:33 Step 10/10 : RUN ${MAKE} 18:57:33 ---> Running in 1f9f42d625ce 18:57:34 Still waiting to schedule task 18:57:34 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19329’ 18:57:34 noop 18:57:34 Removing intermediate container 1f9f42d625ce 18:57:34 ---> 86c65f54d8e3 18:57:34 Successfully built 86c65f54d8e3 18:57:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:34 + docker inspect -f . ci-base-image-x86_64 18:57:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:35 prd-ubuntu20.04-docker-8c-8g-19330 does not seem to be running inside a container 18:57:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1192 -v /w/workspace/gexfoundry_device-sdk-go_PR-1192:/w/workspace/gexfoundry_device-sdk-go_PR-1192:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:57:35 $ docker top 0d72d676312d6bae7e362f4fb325579dffc07049e5bb5429e57eeaad4c28b745 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:35 + go version 18:57:35 go version go1.16.8 linux/amd64 [Pipeline] } 18:57:35 $ docker stop --time=1 0d72d676312d6bae7e362f4fb325579dffc07049e5bb5429e57eeaad4c28b745 18:57:37 $ docker rm -f 0d72d676312d6bae7e362f4fb325579dffc07049e5bb5429e57eeaad4c28b745 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:37 + docker inspect -f . ci-base-image-x86_64 18:57:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:38 prd-ubuntu20.04-docker-8c-8g-19330 does not seem to be running inside a container 18:57:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1192 -v /w/workspace/gexfoundry_device-sdk-go_PR-1192:/w/workspace/gexfoundry_device-sdk-go_PR-1192:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:57:38 $ docker top be93f83c080a39a2ef7ecba64e58d28acb49d9ce7ad6ad194f40d2fba4590303 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:57:38 + make test 18:57:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:57:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:57:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.058s coverage: 23.3% of statements 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:57:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 27.6% of statements 18:57:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.099s coverage: 78.9% of statements 18:57:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.085s coverage: 9.0% of statements 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:57:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.086s coverage: 28.7% of statements 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:57:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 83.3% of statements 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:57:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 57.8% of statements 18:57:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.858s coverage: 89.2% of statements 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:57:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements 18:57:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:57:54 GO111MODULE=on go vet ./... 18:58:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:58:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:58:02 ./bin/test-attribution-txt.sh 18:58:03 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 18:58:03 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 18:58:03 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 18:58:03 go: downloading github.com/OneOfOne/xxhash v1.2.8 18:58:03 go: downloading github.com/google/uuid v1.3.0 18:58:03 go: downloading github.com/stretchr/testify v1.7.0 18:58:03 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 18:58:03 go: downloading github.com/pelletier/go-toml v1.9.4 18:58:03 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 18:58:03 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 18:58:03 go: downloading github.com/gorilla/mux v1.8.0 18:58:03 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 18:58:03 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 18:58:04 go: downloading github.com/hashicorp/go-multierror v1.1.0 18:58:04 go: downloading github.com/hashicorp/consul/api v1.9.1 18:58:04 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:58:04 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 18:58:04 go: downloading github.com/go-playground/validator/v10 v10.9.0 18:58:04 go: downloading github.com/go-kit/kit v0.11.0 18:58:04 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 18:58:04 go: downloading github.com/pebbe/zmq4 v1.2.7 18:58:04 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:58:04 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:58:04 go: downloading github.com/mitchellh/copystructure v1.0.0 18:58:04 go: downloading github.com/mitchellh/mapstructure v1.1.2 18:58:04 go: downloading github.com/go-logfmt/logfmt v0.5.0 18:58:04 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 18:58:04 go: downloading github.com/davecgh/go-spew v1.1.1 18:58:04 go: downloading github.com/pmezard/go-difflib v1.0.0 18:58:04 go: downloading github.com/stretchr/objx v0.1.1 18:58:04 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 18:58:04 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 18:58:04 go: downloading golang.org/x/text v0.3.6 18:58:04 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 18:58:04 go: downloading github.com/hashicorp/errwrap v1.0.0 18:58:04 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:58:04 go: downloading github.com/hashicorp/go-hclog v0.12.0 18:58:04 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:58:04 go: downloading github.com/hashicorp/serf v0.9.5 18:58:04 go: downloading github.com/go-playground/universal-translator v0.18.0 18:58:04 go: downloading github.com/leodido/go-urn v1.2.1 18:58:04 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 18:58:04 go: downloading github.com/mitchellh/reflectwalk v1.0.0 18:58:04 go: downloading github.com/hashicorp/golang-lru v0.5.0 18:58:04 go: downloading github.com/gorilla/websocket v1.4.2 18:58:04 go: downloading github.com/x448/float16 v0.8.4 18:58:04 go: downloading github.com/fatih/color v1.9.0 18:58:04 go: downloading github.com/mattn/go-colorable v0.1.6 18:58:04 go: downloading github.com/mattn/go-isatty v0.0.12 18:58:04 go: downloading github.com/go-playground/locales v0.14.0 18:58:04 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 18:58:05 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 18:58:06 + go mod tidy 18:58:06 go: downloading github.com/go-stack/stack v1.8.0 18:58:06 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 18:58:06 go: downloading github.com/go-playground/assert/v2 v2.0.1 18:58:06 go: downloading github.com/hashicorp/consul/sdk v0.8.0 18:58:06 go: downloading github.com/hashicorp/go-uuid v1.0.1 18:58:06 go: downloading github.com/onsi/ginkgo v1.10.1 18:58:06 go: downloading github.com/onsi/gomega v1.7.0 18:58:06 go: downloading github.com/hashicorp/go-msgpack v0.5.3 18:58:06 go: downloading github.com/hashicorp/memberlist v0.2.2 18:58:06 go: downloading github.com/pkg/errors v0.9.1 18:58:06 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 18:58:06 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 18:58:06 go: downloading gopkg.in/yaml.v2 v2.3.0 18:58:06 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 18:58:06 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 18:58:06 go: downloading github.com/miekg/dns v1.1.26 18:58:06 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 18:58:06 go: downloading github.com/kr/pretty v0.3.0 18:58:06 go: downloading github.com/hpcloud/tail v1.0.0 18:58:06 go: downloading github.com/rogpeppe/go-internal v1.8.0 18:58:06 go: downloading github.com/kr/text v0.2.0 18:58:06 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 18:58:06 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 18:58:06 $ docker stop --time=1 be93f83c080a39a2ef7ecba64e58d28acb49d9ce7ad6ad194f40d2fba4590303 18:58:09 $ docker rm -f be93f83c080a39a2ef7ecba64e58d28acb49d9ce7ad6ad194f40d2fba4590303 [Pipeline] // withDockerContainer [Pipeline] sh 18:58:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:58:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:58:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:58:10 + ls -al . 18:58:10 total 308 18:58:10 drwxrwxr-x 12 jenkins jenkins 4096 Jul 11 18:58 . 18:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:56 .. 18:58:10 -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 18:56 .dockerignore 18:58:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:57 .git 18:58:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:56 .github 18:58:10 -rw-rw-r-- 1 jenkins jenkins 124 Jul 11 18:56 .gitignore 18:58:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 18:57 .semver 18:58:10 -rw-rw-r-- 1 jenkins jenkins 26850 Jul 11 18:56 CHANGELOG.md 18:58:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 18:56 GOVERNANCE.md 18:58:10 -rw-rw-r-- 1 jenkins jenkins 880 Jul 11 18:56 Jenkinsfile 18:58:10 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 11 18:56 LICENSE 18:58:10 -rw-rw-r-- 1 jenkins jenkins 1120 Jul 11 18:56 Makefile 18:58:10 -rw-rw-r-- 1 jenkins jenkins 619 Jul 11 18:56 OWNERS.md 18:58:10 -rw-rw-r-- 1 jenkins jenkins 4890 Jul 11 18:56 README.md 18:58:10 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 18:57 VERSION 18:58:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 18:56 bin 18:58:10 -rw-r--r-- 1 jenkins jenkins 128641 Jul 11 18:57 coverage.out 18:58:10 drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 18:56 example 18:58:10 -rw-rw-r-- 1 jenkins jenkins 576 Jul 11 18:58 go.mod 18:58:10 -rw-rw-r-- 1 jenkins jenkins 48946 Jul 11 18:56 go.sum 18:58:10 drwxrwxr-x 15 jenkins jenkins 4096 Jul 11 18:56 internal 18:58:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:56 openapi 18:58:10 drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 18:56 pkg 18:58:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:56 snap 18:58:10 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 18:56 vendor 18:58:10 -rw-rw-r-- 1 jenkins jenkins 222 Jul 11 18:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:11 + 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=306dfe472137a7e6d1c4e2550b25dfc2733f5b7d --label arch=amd64 --label version=0.0.0 . 18:58:11 Sending build context to Docker daemon 20.86MB 18:58:11 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 18:58:11 Step 2/24 : FROM ${BASE} AS builder 18:58:11 ---> 86c65f54d8e3 18:58:11 Step 3/24 : ARG MAKE=make build 18:58:11 ---> Running in 36a5485c78b8 18:58:11 Removing intermediate container 36a5485c78b8 18:58:11 ---> 4eb9bb0c8721 18:58:11 Step 4/24 : WORKDIR /device-sdk-go 18:58:11 ---> Running in da0ecf3671b1 18:58:11 Removing intermediate container da0ecf3671b1 18:58:11 ---> e43472958844 18:58:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:58:11 ---> Running in c2e9b2ecbeea 18:58:11 Removing intermediate container c2e9b2ecbeea 18:58:11 ---> 02b93b9c93e7 18:58:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:58:11 ---> Running in 01d3b8e1460d 18:58:12 Removing intermediate container 01d3b8e1460d 18:58:12 ---> 7fd617113863 18:58:12 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:58:12 ---> Running in 145431b55294 18:58:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:58:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:58:13 OK: 220 MiB in 52 packages 18:58:14 Removing intermediate container 145431b55294 18:58:14 ---> 556d5e483942 18:58:14 Step 8/24 : COPY . . 18:58:15 ---> d950ec3f8f03 18:58:15 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:58:15 ---> Running in 22d3e95ff423 18:58:15 skipping... 18:58:15 Removing intermediate container 22d3e95ff423 18:58:15 ---> 5cc95c8d18d3 18:58:15 Step 10/24 : RUN ${MAKE} 18:58:15 ---> Running in 8d1ef6555549 18:58:15 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 18:58:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:58:23 Removing intermediate container 8d1ef6555549 18:58:23 ---> d4beeb7a0ac9 18:58:23 Step 11/24 : FROM alpine:3.14 18:58:23 3.14: Pulling from library/alpine 18:58:23 8663204ce13b: Pulling fs layer 18:58:23 8663204ce13b: Download complete 18:58:24 8663204ce13b: Pull complete 18:58:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:58:24 Status: Downloaded newer image for alpine:3.14 18:58:24 ---> e04c818066af 18:58:24 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:58:24 ---> Running in b49c5fd2654f 18:58:24 Removing intermediate container b49c5fd2654f 18:58:24 ---> b2cde1a3963f 18:58:24 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:58:24 ---> Running in 052bb6aca159 18:58:24 Removing intermediate container 052bb6aca159 18:58:24 ---> f2da20a1ced9 18:58:24 Step 14/24 : RUN apk add --update --no-cache zeromq 18:58:25 ---> Running in f25dcc474a9b 18:58:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:58:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:58:26 (1/5) Installing libgcc (10.3.1_git20210424-r2) 18:58:26 (2/5) Installing libsodium (1.0.18-r0) 18:58:26 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 18:58:26 (4/5) Installing libzmq (4.3.4-r0) 18:58:26 (5/5) Installing zeromq (4.3.4-r0) 18:58:26 Executing busybox-1.33.1-r7.trigger 18:58:26 OK: 8 MiB in 19 packages 18:58:27 Removing intermediate container f25dcc474a9b 18:58:27 ---> e71312add404 18:58:27 Step 15/24 : WORKDIR / 18:58:27 ---> Running in 5b9d2e4c6543 18:58:27 Removing intermediate container 5b9d2e4c6543 18:58:27 ---> 16ec06f6f543 18:58:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:58:27 ---> d0023066d238 18:58:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:58:27 ---> b78e3c1f8da0 18:58:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:58:28 ---> e5531e55bae1 18:58:28 Step 19/24 : EXPOSE 59999 18:58:28 ---> Running in 32b44a2cf8b0 18:58:28 Removing intermediate container 32b44a2cf8b0 18:58:28 ---> b65ee13d23d2 18:58:28 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:58:28 ---> Running in 7ecf248ab2af 18:58:28 Removing intermediate container 7ecf248ab2af 18:58:28 ---> 801202bc02ee 18:58:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:58:28 ---> Running in e829ab1332e9 18:58:28 Removing intermediate container e829ab1332e9 18:58:28 ---> ba79847acbf2 18:58:28 Step 22/24 : LABEL arch=amd64 18:58:28 ---> Running in b01164680630 18:58:28 Removing intermediate container b01164680630 18:58:28 ---> 4d473c2e79ae 18:58:28 Step 23/24 : LABEL git_sha=306dfe472137a7e6d1c4e2550b25dfc2733f5b7d 18:58:28 ---> Running in 7a4d9cefd37e 18:58:28 Removing intermediate container 7a4d9cefd37e 18:58:28 ---> 5786abe8de72 18:58:28 Step 24/24 : LABEL version=0.0.0 18:58:28 ---> Running in a33607bc1594 18:58:28 Removing intermediate container a33607bc1594 18:58:28 ---> a28cc335623a 18:58:28 [Warning] One or more build-args [ARCH] were not consumed 18:58:28 Successfully built a28cc335623a 18:58:28 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 18:58:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:29 18:58:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:29 latest: Pulling from edgex-lftools-log-publisher 18:58:29 5eb5b503b376: Pulling fs layer 18:58:29 5c69ac0246d0: Pulling fs layer 18:58:29 ec43610c2a17: Pulling fs layer 18:58:29 3a2ae6a8a46f: Pulling fs layer 18:58:29 33b1e0a273af: Pulling fs layer 18:58:29 5d3b04190fa2: Pulling fs layer 18:58:29 2f39f015ded8: Pulling fs layer 18:58:29 33b1e0a273af: Waiting 18:58:29 5d3b04190fa2: Waiting 18:58:29 2f39f015ded8: Waiting 18:58:29 3a2ae6a8a46f: Waiting 18:58:29 5c69ac0246d0: Download complete 18:58:29 3a2ae6a8a46f: Download complete 18:58:29 33b1e0a273af: Verifying Checksum 18:58:29 33b1e0a273af: Download complete 18:58:29 5d3b04190fa2: Verifying Checksum 18:58:29 5d3b04190fa2: Download complete 18:58:29 ec43610c2a17: Verifying Checksum 18:58:29 ec43610c2a17: Download complete 18:58:30 5eb5b503b376: Verifying Checksum 18:58:30 5eb5b503b376: Download complete 18:58:30 2f39f015ded8: Download complete 18:58:31 5eb5b503b376: Pull complete 18:58:31 5c69ac0246d0: Pull complete 18:58:31 ec43610c2a17: Pull complete 18:58:31 3a2ae6a8a46f: Pull complete 18:58:31 33b1e0a273af: Pull complete 18:58:31 5d3b04190fa2: Pull complete 18:58:36 2f39f015ded8: Pull complete 18:58:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:36 prd-ubuntu20.04-docker-8c-8g-19330 does not seem to be running inside a container 18:58:36 $ 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-1192 -v /w/workspace/gexfoundry_device-sdk-go_PR-1192:/w/workspace/gexfoundry_device-sdk-go_PR-1192:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:58:37 $ docker top 53c7ada01c597c1d0a8f6f7f526939299934d24038eba864ddb87263f6d98803 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:38 ---> job-cost.sh 18:58:38 lf-activate-venv: SKIPPING 18:58:38 INFO: No Stack... 18:58:38 INFO: Retrieving Pricing Info for: v3-standard-8 18:58:38 INFO: Archiving Costs [Pipeline] sh 18:58:39 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1192/archives/cost.csv 18:58:39 + cut -d, -f6 [Pipeline] lock 18:58:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1192-1-stack-cost] 18:58:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1192-1-stack-cost] did not exist. Created. 18:58:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1192-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:58:39 + echo total: 0.2199999988079071 [Pipeline] stash 18:58:39 Stashed 1 file(s) [Pipeline] } 18:58:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1192-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:58:40 $ docker stop --time=1 53c7ada01c597c1d0a8f6f7f526939299934d24038eba864ddb87263f6d98803 18:58:41 $ docker rm -f 53c7ada01c597c1d0a8f6f7f526939299934d24038eba864ddb87263f6d98803 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:01:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19331 in /w/workspace/gexfoundry_device-sdk-go_PR-1192 [Pipeline] { [Pipeline] ws 19:01:01 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 19:01:01 The recommended git tool is: git 19:01:09 using credential edgex-jenkins-ssh 19:01:09 Cloning the remote Git repository 19:01:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:01:09 > git init /w/workspace/device-sdk-go/1 # timeout=10 19:01:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:01:09 > git --version # timeout=10 19:01:09 > git --version # 'git version 2.25.1' 19:01:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:13 Merging remotes/origin/jakarta commit ba443a3625d4eef64e240836a867426dc0799199 into PR head commit 7ac517d3a1701eab144e36f2ef0a344d5ff3c953 19:01:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:01:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:01:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:01:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:01:12 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1192/head:refs/remotes/origin/PR-1192 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 19:01:13 > git config core.sparsecheckout # timeout=10 19:01:13 > git checkout -f 7ac517d3a1701eab144e36f2ef0a344d5ff3c953 # timeout=10 19:01:14 Merge succeeded, producing f190329e80ef2cfc856c54532dc91a9505743473 19:01:14 Checking out Revision f190329e80ef2cfc856c54532dc91a9505743473 (PR-1192) 19:01:13 > git remote # timeout=10 19:01:13 > git config --get remote.origin.url # timeout=10 19:01:13 using GIT_SSH to set credentials SSH Credentials for GitHub 19:01:13 > git merge ba443a3625d4eef64e240836a867426dc0799199 # timeout=10 19:01:14 > git rev-parse HEAD^{commit} # timeout=10 19:01:14 > git config core.sparsecheckout # timeout=10 19:01:14 > git checkout -f f190329e80ef2cfc856c54532dc91a9505743473 # timeout=10 19:01:18 Commit message: "Merge commit 'ba443a3625d4eef64e240836a867426dc0799199' into HEAD" 19:01:18 First time build. Skipping changelog. 19:01:18 > git --version # timeout=10 19:01:18 > git --version # 'git version 2.25.1' 19:01:18 fatal: bad object 7e4371ac6d730b8e642184b898413c6ef59a5643 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:01:19 % Total % Received % Xferd Average Speed Time Time Time Current 19:01:19 Dload Upload Total Spent Left Speed 19:01:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 93709 0 --:--:-- --:--:-- --:--:-- 93709 [Pipeline] sh 19:01:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:01:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:01:21 + sudo tee /etc/docker/daemon.new 19:01:21 { 19:01:21 "registry-mirrors": [ 19:01:21 "https://nexus3.edgexfoundry.org:10001" 19:01:21 ], 19:01:21 "bip": "10.250.0.254/24", 19:01:21 "hosts": [ 19:01:21 "tcp://0.0.0.0:5555", 19:01:21 "unix:///var/run/docker.sock" 19:01:21 ], 19:01:21 "mtu": 1458, 19:01:21 "selinux-enabled": true, 19:01:21 "seccomp-profile": "/etc/docker/seccomp.json" 19:01:21 } [Pipeline] sh 19:01:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:01:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:40 provisioning config files... 19:01:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config30241925826712734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:40 ---> docker-login.sh 19:01:40 nexus3.edgexfoundry.org:10001 19:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:41 Configure a credential helper to remove this warning. See 19:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:41 19:01:41 Login Succeeded 19:01:41 nexus3.edgexfoundry.org:10002 19:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:42 Configure a credential helper to remove this warning. See 19:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:42 19:01:42 Login Succeeded 19:01:42 nexus3.edgexfoundry.org:10003 19:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:42 Configure a credential helper to remove this warning. See 19:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:42 19:01:42 Login Succeeded 19:01:42 nexus3.edgexfoundry.org:10004 19:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:43 Configure a credential helper to remove this warning. See 19:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:43 19:01:43 Login Succeeded 19:01:43 docker.io 19:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:01:43 Configure a credential helper to remove this warning. See 19:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:01:43 19:01:43 Login Succeeded 19:01:43 ---> docker-login.sh ends [Pipeline] } 19:01:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:44 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 19:01:44 + cut -d -f 2 19:01:44 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 19:01:44 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:01:44 ========================================================= 19:01:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 19:01:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:45 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 19:01:46 Sending build context to Docker daemon 16.23MB 19:01:46 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 19:01:46 Step 2/10 : FROM ${BASE} AS builder 19:01:46 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 19:01:46 552d1f2373af: Pulling fs layer 19:01:46 ea3f2d53f512: Pulling fs layer 19:01:46 9e70ebbbe112: Pulling fs layer 19:01:46 7a9cfe048b4a: Pulling fs layer 19:01:46 72dc09318566: Pulling fs layer 19:01:46 f324388ff665: Pulling fs layer 19:01:46 53ef782089cf: Pulling fs layer 19:01:46 2af28fca035d: Pulling fs layer 19:01:46 7a9cfe048b4a: Waiting 19:01:46 f324388ff665: Waiting 19:01:46 72dc09318566: Waiting 19:01:46 53ef782089cf: Waiting 19:01:46 2af28fca035d: Waiting 19:01:46 9e70ebbbe112: Download complete 19:01:46 ea3f2d53f512: Verifying Checksum 19:01:46 ea3f2d53f512: Download complete 19:01:46 72dc09318566: Verifying Checksum 19:01:46 72dc09318566: Download complete 19:01:46 552d1f2373af: Verifying Checksum 19:01:46 f324388ff665: Verifying Checksum 19:01:46 f324388ff665: Download complete 19:01:46 53ef782089cf: Verifying Checksum 19:01:46 53ef782089cf: Download complete 19:01:47 552d1f2373af: Pull complete 19:01:47 ea3f2d53f512: Pull complete 19:01:48 9e70ebbbe112: Pull complete 19:01:48 2af28fca035d: Verifying Checksum 19:01:48 2af28fca035d: Download complete 19:01:48 7a9cfe048b4a: Verifying Checksum 19:01:48 7a9cfe048b4a: Download complete 19:02:01 7a9cfe048b4a: Pull complete 19:02:01 72dc09318566: Pull complete 19:02:01 f324388ff665: Pull complete 19:02:01 53ef782089cf: Pull complete 19:02:06 2af28fca035d: Pull complete 19:02:06 Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 19:02:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 19:02:06 ---> d19f1962542a 19:02:06 Step 3/10 : ARG MAKE=make build 19:02:08 ---> Running in 94aa5639979e 19:02:08 Removing intermediate container 94aa5639979e 19:02:08 ---> c40b69620666 19:02:08 Step 4/10 : WORKDIR /device-sdk-go 19:02:08 ---> Running in 6b8ed743400b 19:02:09 Removing intermediate container 6b8ed743400b 19:02:09 ---> e1add33a180e 19:02:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:02:09 ---> Running in fa96d966cf25 19:02:09 Removing intermediate container fa96d966cf25 19:02:09 ---> a87495aa4e52 19:02:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:02:09 ---> Running in 6b4207ab200e 19:02:11 Removing intermediate container 6b4207ab200e 19:02:11 ---> a2b133ed3f2c 19:02:11 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:02:11 ---> Running in b99c434e75e1 19:02:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:02:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:02:13 OK: 219 MiB in 52 packages 19:02:14 Removing intermediate container b99c434e75e1 19:02:14 ---> 899db5bf6cf0 19:02:14 Step 8/10 : COPY . . 19:02:19 ---> f47d0ae2cb7c 19:02:19 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:19 ---> Running in e542fffa27f2 19:02:19 skipping... 19:02:20 Removing intermediate container e542fffa27f2 19:02:20 ---> 9007c1605944 19:02:20 Step 10/10 : RUN ${MAKE} 19:02:20 ---> Running in a7d9ccede2ac 19:02:21 noop 19:02:21 Removing intermediate container a7d9ccede2ac 19:02:21 ---> 1e25b64c3214 19:02:21 Successfully built 1e25b64c3214 19:02:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:22 + docker inspect -f . ci-base-image-arm64 19:02:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:22 prd-ubuntu20.04-docker-arm64-4c-16g-19331 does not seem to be running inside a container 19:02:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:02:24 $ docker top c12f9eb642ac185a3ca21dd28fcf281327cd06727407fa66b2b4545740c47ac6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:25 + go version 19:02:25 go version go1.16.8 linux/arm64 [Pipeline] } 19:02:25 $ docker stop --time=1 c12f9eb642ac185a3ca21dd28fcf281327cd06727407fa66b2b4545740c47ac6 19:02:26 $ docker rm -f c12f9eb642ac185a3ca21dd28fcf281327cd06727407fa66b2b4545740c47ac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:27 + docker inspect -f . ci-base-image-arm64 19:02:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:27 prd-ubuntu20.04-docker-arm64-4c-16g-19331 does not seem to be running inside a container 19:02:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:02:29 $ docker top 5af868c11fe5a0ab3dfd231a4edcc9c9c13dad93447624743780e1f884b667c2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:02:30 + make test 19:02:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:02:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 19:04:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 19:04:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 19:04:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 19:04:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.414s coverage: 23.3% of statements 19:04:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 19:04:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.230s coverage: 27.6% of statements 19:04:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.274s coverage: 78.9% of statements 19:04:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.238s coverage: 9.0% of statements 19:04:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 19:04:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 19:04:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 19:04:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.356s coverage: 28.7% of statements 19:04:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 19:04:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.258s coverage: 83.3% of statements 19:04:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 19:04:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 19:04:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.381s coverage: 57.8% of statements 19:04:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.099s coverage: 89.2% of statements 19:04:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 19:04:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.209s coverage: 4.8% of statements 19:04:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 19:04:16 GO111MODULE=on go vet ./... 19:05:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:05:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:05:14 ./bin/test-attribution-txt.sh 19:05:15 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 19:05:16 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 19:05:16 go: downloading github.com/google/uuid v1.3.0 19:05:16 go: downloading github.com/stretchr/testify v1.7.0 19:05:16 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:05:16 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 19:05:16 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 19:05:16 go: downloading github.com/pelletier/go-toml v1.9.4 19:05:16 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 19:05:16 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 19:05:16 go: downloading github.com/gorilla/mux v1.8.0 19:05:16 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 19:05:16 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 19:05:16 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 19:05:16 go: downloading github.com/hashicorp/go-multierror v1.1.0 19:05:16 go: downloading github.com/hashicorp/consul/api v1.9.1 19:05:16 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:05:16 go: downloading github.com/go-kit/kit v0.11.0 19:05:16 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 19:05:16 go: downloading github.com/go-playground/validator/v10 v10.9.0 19:05:16 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 19:05:16 go: downloading github.com/pebbe/zmq4 v1.2.7 19:05:16 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:05:16 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 19:05:16 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:05:16 go: downloading github.com/mitchellh/copystructure v1.0.0 19:05:16 go: downloading github.com/mitchellh/mapstructure v1.1.2 19:05:16 go: downloading github.com/davecgh/go-spew v1.1.1 19:05:16 go: downloading github.com/pmezard/go-difflib v1.0.0 19:05:16 go: downloading github.com/stretchr/objx v0.1.1 19:05:16 go: downloading github.com/go-logfmt/logfmt v0.5.0 19:05:16 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 19:05:16 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 19:05:16 go: downloading golang.org/x/text v0.3.6 19:05:18 go: downloading github.com/hashicorp/golang-lru v0.5.0 19:05:18 go: downloading github.com/hashicorp/errwrap v1.0.0 19:05:18 go: downloading github.com/x448/float16 v0.8.4 19:05:18 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:05:18 go: downloading github.com/hashicorp/go-hclog v0.12.0 19:05:18 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:05:18 go: downloading github.com/hashicorp/serf v0.9.5 19:05:18 go: downloading github.com/go-playground/universal-translator v0.18.0 19:05:18 go: downloading github.com/leodido/go-urn v1.2.1 19:05:19 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 19:05:20 go: downloading github.com/gorilla/websocket v1.4.2 19:05:20 go: downloading github.com/mitchellh/reflectwalk v1.0.0 19:05:20 go: downloading github.com/fatih/color v1.9.0 19:05:20 go: downloading github.com/mattn/go-colorable v0.1.6 19:05:20 go: downloading github.com/mattn/go-isatty v0.0.12 19:05:20 go: downloading github.com/mitchellh/go-homedir v1.1.0 19:05:20 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 19:05:24 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 19:05:25 + go mod tidy 19:05:25 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 19:05:25 go: downloading github.com/go-stack/stack v1.8.0 19:05:25 go: downloading github.com/go-playground/assert/v2 v2.0.1 19:05:25 go: downloading github.com/hashicorp/consul/sdk v0.8.0 19:05:25 go: downloading github.com/hashicorp/go-uuid v1.0.1 19:05:25 go: downloading github.com/onsi/ginkgo v1.10.1 19:05:25 go: downloading github.com/onsi/gomega v1.7.0 19:05:25 go: downloading github.com/pkg/errors v0.9.1 19:05:25 go: downloading github.com/kr/pretty v0.3.0 19:05:25 go: downloading github.com/hashicorp/memberlist v0.2.2 19:05:25 go: downloading github.com/hashicorp/go-msgpack v0.5.3 19:05:25 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 19:05:25 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 19:05:25 go: downloading github.com/kr/text v0.2.0 19:05:25 go: downloading github.com/rogpeppe/go-internal v1.8.0 19:05:25 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 19:05:25 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 19:05:25 go: downloading github.com/miekg/dns v1.1.26 19:05:25 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 19:05:26 go: downloading github.com/hpcloud/tail v1.0.0 19:05:26 go: downloading gopkg.in/yaml.v2 v2.3.0 19:05:26 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 19:05:26 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 19:05:26 $ docker stop --time=1 5af868c11fe5a0ab3dfd231a4edcc9c9c13dad93447624743780e1f884b667c2 19:05:28 $ docker rm -f 5af868c11fe5a0ab3dfd231a4edcc9c9c13dad93447624743780e1f884b667c2 [Pipeline] // withDockerContainer [Pipeline] sh 19:05:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:05:31 Warning: overwriting stash ‘coverage-report’ 19:05:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:05:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:05:33 + ls -al . 19:05:33 total 304 19:05:33 drwxrwxr-x 11 jenkins jenkins 4096 Jul 11 19:05 . 19:05:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 19:01 .. 19:05:33 -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 19:01 .dockerignore 19:05:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 19:01 .git 19:05:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 19:01 .github 19:05:33 -rw-rw-r-- 1 jenkins jenkins 124 Jul 11 19:01 .gitignore 19:05:33 -rw-rw-r-- 1 jenkins jenkins 26850 Jul 11 19:01 CHANGELOG.md 19:05:33 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 19:01 GOVERNANCE.md 19:05:33 -rw-rw-r-- 1 jenkins jenkins 880 Jul 11 19:01 Jenkinsfile 19:05:33 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 11 19:01 LICENSE 19:05:33 -rw-rw-r-- 1 jenkins jenkins 1120 Jul 11 19:01 Makefile 19:05:33 -rw-rw-r-- 1 jenkins jenkins 619 Jul 11 19:01 OWNERS.md 19:05:33 -rw-rw-r-- 1 jenkins jenkins 4890 Jul 11 19:01 README.md 19:05:33 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 18:57 VERSION 19:05:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 19:01 bin 19:05:33 -rw-r--r-- 1 jenkins jenkins 128641 Jul 11 19:04 coverage.out 19:05:33 drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 19:01 example 19:05:33 -rw-rw-r-- 1 jenkins jenkins 576 Jul 11 19:05 go.mod 19:05:33 -rw-rw-r-- 1 jenkins jenkins 48946 Jul 11 19:01 go.sum 19:05:33 drwxrwxr-x 15 jenkins jenkins 4096 Jul 11 19:01 internal 19:05:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 19:01 openapi 19:05:33 drwxrwxr-x 5 jenkins jenkins 4096 Jul 11 19:01 pkg 19:05:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 19:01 snap 19:05:33 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 19:01 vendor 19:05:33 -rw-rw-r-- 1 jenkins jenkins 222 Jul 11 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:33 + 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=f190329e80ef2cfc856c54532dc91a9505743473 --label arch=arm64 --label version=0.0.0 . 19:05:35 Sending build context to Docker daemon 16.36MB 19:05:35 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 19:05:35 Step 2/24 : FROM ${BASE} AS builder 19:05:35 ---> 1e25b64c3214 19:05:35 Step 3/24 : ARG MAKE=make build 19:05:35 ---> Running in c40c1b3e254e 19:05:35 Removing intermediate container c40c1b3e254e 19:05:35 ---> af248d95620b 19:05:35 Step 4/24 : WORKDIR /device-sdk-go 19:05:35 ---> Running in 4a82cafc9737 19:05:35 Removing intermediate container 4a82cafc9737 19:05:35 ---> b5775a07a4f4 19:05:35 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:05:35 ---> Running in 3bcf942d8b8b 19:05:36 Removing intermediate container 3bcf942d8b8b 19:05:36 ---> 0c090e4c7829 19:05:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:05:36 ---> Running in d63324fddbd2 19:05:38 Removing intermediate container d63324fddbd2 19:05:38 ---> f6f30921c152 19:05:38 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:05:38 ---> Running in bd0774913779 19:05:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:05:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:05:40 OK: 219 MiB in 52 packages 19:05:41 Removing intermediate container bd0774913779 19:05:41 ---> 91a5f7e4c3a2 19:05:41 Step 8/24 : COPY . . 19:05:45 ---> c5dbdf6ef30b 19:05:45 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:05:45 ---> Running in 0cf148fde87b 19:05:46 skipping... 19:05:47 Removing intermediate container 0cf148fde87b 19:05:47 ---> 01c5df7f09f9 19:05:47 Step 10/24 : RUN ${MAKE} 19:05:47 ---> Running in bfa62ec30173 19:05:48 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 19:06:27 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 19:06:27 Removing intermediate container bfa62ec30173 19:06:27 ---> 3f35e42e32ab 19:06:27 Step 11/24 : FROM alpine:3.14 19:06:27 3.14: Pulling from library/alpine 19:06:27 455c02918c45: Pulling fs layer 19:06:27 455c02918c45: Verifying Checksum 19:06:27 455c02918c45: Download complete 19:06:27 455c02918c45: Pull complete 19:06:27 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:06:27 Status: Downloaded newer image for alpine:3.14 19:06:27 ---> ac73e934f311 19:06:27 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:06:27 ---> Running in 7b331db621e5 19:06:27 Removing intermediate container 7b331db621e5 19:06:27 ---> e66e5af130db 19:06:27 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:06:27 ---> Running in b06ea7960b64 19:06:28 Removing intermediate container b06ea7960b64 19:06:28 ---> 37ae326784c4 19:06:28 Step 14/24 : RUN apk add --update --no-cache zeromq 19:06:28 ---> Running in dcc4879df0a2 19:06:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:06:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:06:30 (1/5) Installing libgcc (10.3.1_git20210424-r2) 19:06:31 (2/5) Installing libsodium (1.0.18-r0) 19:06:31 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 19:06:31 (4/5) Installing libzmq (4.3.4-r0) 19:06:31 (5/5) Installing zeromq (4.3.4-r0) 19:06:31 Executing busybox-1.33.1-r7.trigger 19:06:31 OK: 8 MiB in 19 packages 19:06:32 Removing intermediate container dcc4879df0a2 19:06:32 ---> d701f5767a2b 19:06:32 Step 15/24 : WORKDIR / 19:06:32 ---> Running in 14919e3e9823 19:06:32 Removing intermediate container 14919e3e9823 19:06:32 ---> 068f2da732a6 19:06:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:06:33 ---> 2063ffce8d42 19:06:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:06:34 ---> 4759d5cabcc8 19:06:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:06:34 ---> e162985cbaba 19:06:34 Step 19/24 : EXPOSE 59999 19:06:34 ---> Running in f278d9df67c8 19:06:35 Removing intermediate container f278d9df67c8 19:06:35 ---> da94b31b59ea 19:06:35 Step 20/24 : ENTRYPOINT ["/device-simple"] 19:06:35 ---> Running in e50104a61487 19:06:35 Removing intermediate container e50104a61487 19:06:35 ---> b4752d8b9afe 19:06:35 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:06:35 ---> Running in 016ebedfc52c 19:06:35 Removing intermediate container 016ebedfc52c 19:06:35 ---> e12b2633f44a 19:06:35 Step 22/24 : LABEL arch=arm64 19:06:35 ---> Running in afae0d1ee2d5 19:06:36 Removing intermediate container afae0d1ee2d5 19:06:36 ---> 42959d0a4046 19:06:36 Step 23/24 : LABEL git_sha=f190329e80ef2cfc856c54532dc91a9505743473 19:06:36 ---> Running in 2e9f2ac3ad16 19:06:36 Removing intermediate container 2e9f2ac3ad16 19:06:36 ---> 4523ffe5652f 19:06:36 Step 24/24 : LABEL version=0.0.0 19:06:36 ---> Running in 0e6815ee9d68 19:06:37 Removing intermediate container 0e6815ee9d68 19:06:37 ---> f0fd4d593326 19:06:37 [Warning] One or more build-args [ARCH] were not consumed 19:06:37 Successfully built f0fd4d593326 19:06:37 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 19:06:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:06:38 19:06:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:06:38 arm64: Pulling from edgex-lftools-log-publisher 19:06:38 8998bd30e6a1: Pulling fs layer 19:06:38 04944245beec: Pulling fs layer 19:06:38 699f458cf7ca: Pulling fs layer 19:06:38 765212b225bb: Pulling fs layer 19:06:38 f23df028b6ca: Pulling fs layer 19:06:38 d65c8cfc05b1: Pulling fs layer 19:06:38 2437ff75d9bd: Pulling fs layer 19:06:38 f23df028b6ca: Waiting 19:06:38 765212b225bb: Waiting 19:06:38 2437ff75d9bd: Waiting 19:06:38 d65c8cfc05b1: Waiting 19:06:38 04944245beec: Verifying Checksum 19:06:38 04944245beec: Download complete 19:06:38 765212b225bb: Verifying Checksum 19:06:38 765212b225bb: Download complete 19:06:38 f23df028b6ca: Verifying Checksum 19:06:38 f23df028b6ca: Download complete 19:06:38 d65c8cfc05b1: Verifying Checksum 19:06:38 d65c8cfc05b1: Download complete 19:06:39 699f458cf7ca: Download complete 19:06:39 8998bd30e6a1: Verifying Checksum 19:06:39 8998bd30e6a1: Download complete 19:06:42 2437ff75d9bd: Verifying Checksum 19:06:42 2437ff75d9bd: Download complete 19:06:43 8998bd30e6a1: Pull complete 19:06:44 04944245beec: Pull complete 19:06:45 699f458cf7ca: Pull complete 19:06:45 765212b225bb: Pull complete 19:06:46 f23df028b6ca: Pull complete 19:06:46 d65c8cfc05b1: Pull complete 19:07:01 2437ff75d9bd: Pull complete 19:07:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:07:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:16 prd-ubuntu20.04-docker-arm64-4c-16g-19331 does not seem to be running inside a container 19:07:16 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:07:18 $ docker top 9001fcf133da15938adb3a1165dc889a7076c6af9e6ac5b93be16c2f7eca71db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:19 ---> job-cost.sh 19:07:19 lf-activate-venv: SKIPPING 19:07:19 INFO: No Stack... 19:07:19 INFO: Retrieving Pricing Info for: v3-standard-4 19:07:20 INFO: Archiving Costs [Pipeline] sh 19:07:21 + cut -d, -f6 19:07:21 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 19:07:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1192-1-stack-cost] 19:07:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1192-1-stack-cost] did not exist. Created. 19:07:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1192-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:07:22 /w/workspace/device-sdk-go/1@tmp/durable-fe0cd8f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:07:23 + echo total: 0.10999999940395355 [Pipeline] stash 19:07:23 Warning: overwriting stash ‘stack-cost’ 19:07:23 Stashed 1 file(s) [Pipeline] } 19:07:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1192-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:07:23 $ docker stop --time=1 9001fcf133da15938adb3a1165dc889a7076c6af9e6ac5b93be16c2f7eca71db 19:07:25 $ docker rm -f 9001fcf133da15938adb3a1165dc889a7076c6af9e6ac5b93be16c2f7eca71db [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 19:07:26 provisioning config files... 19:07:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp/config3495986707702024351tmp [Pipeline] { [Pipeline] sh 19:07:26 + set +x 19:07:26 + curl -s https://codecov.io/bash 19:07:26 + bash -s -- 19:07:26 19:07:26 _____ _ 19:07:26 / ____| | | 19:07:26 | | ___ __| | ___ ___ _____ __ 19:07:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:07:26 | |___| (_) | (_| | __/ (_| (_) \ V / 19:07:26 \_____\___/ \__,_|\___|\___\___/ \_/ 19:07:26 Bash-1.0.6 19:07:26 19:07:26 19:07:26 ==> git version 2.25.1 found 19:07:26 ==> 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 19:07:26 Release-Date: 2020-01-08 19:07:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:07:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:07:26 ==> Jenkins CI detected. 19:07:26 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1192 19:07:26 project root: . 19:07:26 --> token set from env 19:07:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:07:26 ==> Running gcov in . (disable via -X gcov) 19:07:26 ==> Python coveragepy not found 19:07:26 ==> Searching for coverage reports in: 19:07:26 + . 19:07:26 -> Found 1 reports 19:07:26 ==> Detecting git/mercurial file structure 19:07:26 ==> Reading reports 19:07:26 + ./coverage.out bytes=128641 19:07:26 ==> Appending adjustments 19:07:26 https://docs.codecov.io/docs/fixing-reports 19:07:27 + Found adjustments 19:07:27 ==> Gzipping contents 19:07:27 24K /tmp/codecov.JV2V2j.gz 19:07:27 ==> Uploading reports 19:07:27 url: https://codecov.io 19:07:27 query: branch=PR-1192&commit=306dfe472137a7e6d1c4e2550b25dfc2733f5b7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1192%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1192&job=&cmd_args= 19:07:27 -> Pinging Codecov 19:07:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1192&commit=306dfe472137a7e6d1c4e2550b25dfc2733f5b7d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1192%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1192&job=&cmd_args= 19:07:27 -> Uploading to 19:07:27 https://storage.googleapis.com/codecov/v4/raw/2022-07-11/7E55EF52A471D76F132DFD9A03CDDE97/306dfe472137a7e6d1c4e2550b25dfc2733f5b7d/897b72b0-f0fe-4016-a853-125253758cf1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220711%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220711T190727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b24dc86227840dca977c32e8adb8b80228ff76245b26859fdac4c4af8c8628b 19:07:27 % Total % Received % Xferd Average Speed Time Time Time Current 19:07:27 Dload Upload Total Spent Left Speed 19:07:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23071 0 0 100 23071 0 99874 --:--:-- --:--:-- --:--:-- 99874 19:07:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/306dfe472137a7e6d1c4e2550b25dfc2733f5b7d [Pipeline] } 19:07:27 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 19:07:29 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1192/archives ] 19:07:29 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1192/archives 19:07:29 total 16 19:07:29 drwxr-xr-x 3 root root 4096 Jul 11 18:58 . 19:07:29 drwxrwxr-x 13 jenkins jenkins 4096 Jul 11 18:58 .. 19:07:29 drwxr-xr-x 2 root root 4096 Jul 11 18:58 cost 19:07:29 -rw-r--r-- 1 root root 85 Jul 11 18:58 cost.csv 19:07:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1192/archives 19:07:29 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1192/archives 19:07:29 total 16 19:07:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 18:58 . 19:07:29 drwxrwxr-x 13 jenkins jenkins 4096 Jul 11 18:58 .. 19:07:29 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 18:58 cost 19:07:29 -rw-r--r-- 1 jenkins jenkins 85 Jul 11 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:07:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:07:30 ---> package-listing.sh 19:07:30 ++ facter osfamily 19:07:30 ++ tr '[:upper:]' '[:lower:]' 19:07:30 + OS_FAMILY=debian 19:07:30 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1192 19:07:30 + START_PACKAGES=/tmp/packages_start.txt 19:07:30 + END_PACKAGES=/tmp/packages_end.txt 19:07:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:07:30 + PACKAGES=/tmp/packages_start.txt 19:07:30 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1192 ']' 19:07:30 + PACKAGES=/tmp/packages_end.txt 19:07:30 + case "${OS_FAMILY}" in 19:07:30 + dpkg -l 19:07:30 + grep '^ii' 19:07:30 + '[' -f /tmp/packages_start.txt ']' 19:07:30 + '[' -f /tmp/packages_end.txt ']' 19:07:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:07:30 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1192 ']' 19:07:30 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1192/archives/ 19:07:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1192/archives/ [Pipeline] echo 19:07:30 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-1192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:07:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:07:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:32 prd-ubuntu20.04-docker-8c-8g-19330 does not seem to be running inside a container 19:07:32 $ 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-1192/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-1192 -v /w/workspace/gexfoundry_device-sdk-go_PR-1192:/w/workspace/gexfoundry_device-sdk-go_PR-1192:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:07:32 $ docker top a873531f02c7d9ae87dfb676a722293ad2d5b6fadc0a7db52b61bc01afbb412b -eo pid,comm [Pipeline] { [Pipeline] sh 19:07:32 + touch /tmp/pre-build-complete [Pipeline] sh 19:07:33 + mkdir -p /var/log/sysstat [Pipeline] sh 19:07:33 + ls /var/log/sa-host 19:07:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:33 provisioning config files... 19:07:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1192@tmp/config4570110064879463956tmp [Pipeline] { [Pipeline] echo 19:07:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:07:33 ---> create-netrc.sh [Pipeline] } 19:07:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:07:34 ---> python-tools-install.sh [Pipeline] echo 19:07:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:07:34 ---> sudo-logs.sh 19:07:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:07:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:07:35 ---> job-cost.sh 19:07:35 lf-activate-venv: SKIPPING 19:07:35 DEBUG: total: 0.2199999988079071 19:07:35 INFO: Retrieving Stack Cost... 19:07:35 INFO: Retrieving Pricing Info for: v3-standard-8 19:07:35 INFO: Archiving Costs [Pipeline] echo 19:07:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:07:36 ---> logs-deploy.sh 19:07:36 lf-activate-venv: SKIPPING 19:07:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1192/1 19:07:36 INFO: archiving workspace using pattern(s): 19:07:37 Archives upload complete. 19:07:37 INFO: archiving logs to Nexus