Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b41f42986e30026cf34f8a06bff8ad408dee209a 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-ssh12741787487759439268.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh730211436024395325.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3128032427777049169.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10202861448392637101.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9537804246854067378.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-44783’ is offline Running on prd-ubuntu20.04-docker-8c-8g-44786 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 Avoid second fetch Checking out Revision b41f42986e30026cf34f8a06bff8ad408dee209a (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f b41f42986e30026cf34f8a06bff8ad408dee209a # timeout=10 Commit message: "Merge pull request #1158 from lenny-intel/released-go-mods" > git rev-list --no-walk cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:03:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:03:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:03:40 ========================================================= 23:03:40 EdgeX Global Pipelines Version Info 23:03:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:03:41 ------------------- 23:03:41 stable info: 23:03:41 ------------------- 23:03:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:03:41 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 23:03:41 Message: update stable to v1.0.227 23:03:42 ------------------- 23:03:42 experimental info: 23:03:42 ------------------- 23:03:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:03:42 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 23:03:42 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b41f42986e30026cf34f8a06bff8ad408dee209a [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b41f429 [Pipeline] echo 23:03:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:03:42 provisioning config files... 23:03:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8186313885401813444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:42 ---> docker-login.sh 23:03:42 nexus3.edgexfoundry.org:10001 23:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:43 Configure a credential helper to remove this warning. See 23:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:43 23:03:43 Login Succeeded 23:03:43 nexus3.edgexfoundry.org:10002 23:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:43 Configure a credential helper to remove this warning. See 23:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:43 23:03:43 Login Succeeded 23:03:43 nexus3.edgexfoundry.org:10003 23:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:44 Configure a credential helper to remove this warning. See 23:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:44 23:03:44 Login Succeeded 23:03:44 nexus3.edgexfoundry.org:10004 23:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:44 Configure a credential helper to remove this warning. See 23:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:44 23:03:44 Login Succeeded 23:03:44 docker.io 23:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:44 Configure a credential helper to remove this warning. See 23:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:44 23:03:44 Login Succeeded 23:03:44 ---> docker-login.sh ends [Pipeline] } 23:03:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:03:44 + git rev-list -1 --merges b41f42986e30026cf34f8a06bff8ad408dee209a~1..b41f42986e30026cf34f8a06bff8ad408dee209a [Pipeline] echo 23:03:45 -----------> git rev-list -1 --merges b41f42986e30026cf34f8a06bff8ad408dee209a~1..b41f42986e30026cf34f8a06bff8ad408dee209a b41f42986e30026cf34f8a06bff8ad408dee209a 23:03:45 b41f42986e30026cf34f8a06bff8ad408dee209a [false] [Pipeline] sh 23:03:45 + git log --format=format:%s -1 b41f42986e30026cf34f8a06bff8ad408dee209a [Pipeline] echo 23:03:45 ========================================================= 23:03:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:03:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:03:45 + git log --format=format:%s -1 b41f42986e30026cf34f8a06bff8ad408dee209a [Pipeline] echo 23:03:45 [semverPrep] GIT_COMMIT: b41f42986e30026cf34f8a06bff8ad408dee209a, Commit Message: Merge pull request #1158 from lenny-intel/released-go-mods [Pipeline] echo 23:03:45 [semverPrep] This is not a build commit. [Pipeline] sh 23:03:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:03:46 + grep -v github /etc/ssh/ssh_known_hosts 23:03:46 + [ -e /tmp/ssh_known_hosts ] 23:03:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:03:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:03:46 + sudo tee -a /etc/ssh/ssh_known_hosts 23:03:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:03:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:03:46 23:03:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:03:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:03:46 latest: Pulling from edgex-devops/py-git-semver 23:03:46 1fe172e4850f: Pulling fs layer 23:03:46 caf521ccaac6: Pulling fs layer 23:03:46 3ead6fa29328: Pulling fs layer 23:03:46 5c2a1cbceb83: Pulling fs layer 23:03:46 a8d5f1318db7: Pulling fs layer 23:03:46 c427282e49a2: Pulling fs layer 23:03:46 1827001aaf11: Pulling fs layer 23:03:46 0714d37db230: Pulling fs layer 23:03:46 ac28cf19c067: Pulling fs layer 23:03:46 a8d5f1318db7: Waiting 23:03:46 ca983d60f3e2: Pulling fs layer 23:03:46 9f894cec8388: Pulling fs layer 23:03:46 0714d37db230: Waiting 23:03:46 1827001aaf11: Waiting 23:03:46 9f894cec8388: Waiting 23:03:46 ca983d60f3e2: Waiting 23:03:46 ac28cf19c067: Waiting 23:03:46 caf521ccaac6: Verifying Checksum 23:03:46 caf521ccaac6: Download complete 23:03:46 5c2a1cbceb83: Verifying Checksum 23:03:46 5c2a1cbceb83: Download complete 23:03:47 a8d5f1318db7: Verifying Checksum 23:03:47 a8d5f1318db7: Download complete 23:03:47 c427282e49a2: Verifying Checksum 23:03:47 c427282e49a2: Download complete 23:03:47 3ead6fa29328: Verifying Checksum 23:03:47 3ead6fa29328: Download complete 23:03:47 0714d37db230: Verifying Checksum 23:03:47 0714d37db230: Download complete 23:03:47 ac28cf19c067: Download complete 23:03:47 ca983d60f3e2: Verifying Checksum 23:03:47 1fe172e4850f: Verifying Checksum 23:03:47 1fe172e4850f: Download complete 23:03:47 9f894cec8388: Verifying Checksum 23:03:47 9f894cec8388: Download complete 23:03:47 1827001aaf11: Verifying Checksum 23:03:47 1827001aaf11: Download complete 23:03:48 1fe172e4850f: Pull complete 23:03:48 caf521ccaac6: Pull complete 23:03:49 3ead6fa29328: Pull complete 23:03:49 5c2a1cbceb83: Pull complete 23:03:49 a8d5f1318db7: Pull complete 23:03:49 c427282e49a2: Pull complete 23:03:51 1827001aaf11: Pull complete 23:03:51 0714d37db230: Pull complete 23:03:51 ac28cf19c067: Pull complete 23:03:51 ca983d60f3e2: Pull complete 23:03:51 9f894cec8388: Pull complete 23:03:51 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:03:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:03:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 23:03:51 prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container 23:03:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:03:53 $ docker top b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a -eo pid,comm 23:03:53 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). 23:03:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:03:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:53 [ssh-agent] Looking for ssh-agent implementation... 23:03:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:54 $ docker exec b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a ssh-agent 23:03:54 SSH_AUTH_SOCK=/tmp/ssh-zotnCvXm0jEo/agent.32 23:03:54 SSH_AGENT_PID=38 23:03:54 Running ssh-add (command line suppressed) 23:03:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7873332267802421271.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7873332267802421271.key) 23:03:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:03:54 + git tag --points-at HEAD [Pipeline] } 23:03:54 $ docker exec --env ******** --env ******** b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a ssh-agent -k 23:03:54 unset SSH_AUTH_SOCK; 23:03:54 unset SSH_AGENT_PID; 23:03:54 echo Agent pid 38 killed; 23:03:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:03:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:03:54 [ssh-agent] Looking for ssh-agent implementation... 23:03:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:03:54 $ docker exec b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a ssh-agent 23:03:54 SSH_AUTH_SOCK=/tmp/ssh-dZd0dLVEMsSt/agent.72 23:03:54 SSH_AGENT_PID=78 23:03:55 Running ssh-add (command line suppressed) 23:03:55 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2709513702468572385.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2709513702468572385.key) 23:03:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:03:55 + git semver init 23:03:55 2022-05-09 23:03:55,648 [run_init] DEBUG init version:0.0.0 force:False 23:03:55 2022-05-09 23:03:55,649 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:03:55 2022-05-09 23:03:55,650 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:03:55 2022-05-09 23:03:55,650 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 23:03:56 2022-05-09 23:03:56,523 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 23:03:56 2022-05-09 23:03:56,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 23:03:56 2022-05-09 23:03:56,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:03:56 2022-05-09 23:03:56,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:03:56 2.2.0-dev.38 [Pipeline] } 23:03:56 $ docker exec --env ******** --env ******** b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a ssh-agent -k 23:03:56 unset SSH_AUTH_SOCK; 23:03:56 unset SSH_AGENT_PID; 23:03:56 echo Agent pid 78 killed; 23:03:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:03:57 + git semver [Pipeline] } 23:03:57 $ docker stop --time=1 b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a 23:03:58 $ docker rm -f b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a [Pipeline] // withDockerContainer [Pipeline] sh 23:03:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:03:59 Stashed 1 file(s) [Pipeline] echo 23:03:59 [edgeXSemver]: initialized semver on version 2.2.0-dev.38 [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 23:03:59 provisioning config files... 23:03:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6809711200168156766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:59 ---> docker-login.sh 23:03:59 nexus3.edgexfoundry.org:10001 23:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:03:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:03:59 Configure a credential helper to remove this warning. See 23:03:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:03:59 23:03:59 Login Succeeded 23:03:59 nexus3.edgexfoundry.org:10002 23:03:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:00 Configure a credential helper to remove this warning. See 23:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:00 23:04:00 Login Succeeded 23:04:00 nexus3.edgexfoundry.org:10003 23:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:00 Configure a credential helper to remove this warning. See 23:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:00 23:04:00 Login Succeeded 23:04:00 nexus3.edgexfoundry.org:10004 23:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:00 Configure a credential helper to remove this warning. See 23:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:00 23:04:00 Login Succeeded 23:04:00 docker.io 23:04:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:00 Configure a credential helper to remove this warning. See 23:04:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:00 23:04:00 Login Succeeded 23:04:00 ---> docker-login.sh ends [Pipeline] } 23:04:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:04:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:00 ========================================================= 23:04:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:04:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:04:01 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:04:01 Sending build context to Docker daemon 9.695MB 23:04:01 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:04:01 Step 2/11 : FROM ${BASE} AS builder 23:04:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:04:01 59bf1c3509f3: Pulling fs layer 23:04:01 666ba61612fd: Pulling fs layer 23:04:01 8ed8ca486205: Pulling fs layer 23:04:01 4fe6c5a15a65: Pulling fs layer 23:04:01 22a0e8bec74d: Pulling fs layer 23:04:01 ca2b28591e48: Pulling fs layer 23:04:01 a51346096db8: Pulling fs layer 23:04:01 daebc70d1ce1: Pulling fs layer 23:04:01 0e18a0eac166: Pulling fs layer 23:04:01 ca2b28591e48: Waiting 23:04:01 a51346096db8: Waiting 23:04:01 4fe6c5a15a65: Waiting 23:04:01 0e18a0eac166: Waiting 23:04:01 22a0e8bec74d: Waiting 23:04:01 8ed8ca486205: Verifying Checksum 23:04:01 8ed8ca486205: Download complete 23:04:01 666ba61612fd: Download complete 23:04:01 22a0e8bec74d: Download complete 23:04:01 ca2b28591e48: Verifying Checksum 23:04:01 ca2b28591e48: Download complete 23:04:01 a51346096db8: Download complete 23:04:01 59bf1c3509f3: Verifying Checksum 23:04:01 59bf1c3509f3: Download complete 23:04:01 daebc70d1ce1: Verifying Checksum 23:04:01 daebc70d1ce1: Download complete 23:04:01 59bf1c3509f3: Pull complete 23:04:01 666ba61612fd: Pull complete 23:04:01 8ed8ca486205: Pull complete 23:04:01 0e18a0eac166: Verifying Checksum 23:04:01 0e18a0eac166: Download complete 23:04:02 4fe6c5a15a65: Download complete 23:04:05 4fe6c5a15a65: Pull complete 23:04:05 22a0e8bec74d: Pull complete 23:04:05 ca2b28591e48: Pull complete 23:04:05 a51346096db8: Pull complete 23:04:05 daebc70d1ce1: Pull complete 23:04:07 0e18a0eac166: Pull complete 23:04:07 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 23:04:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:04:07 ---> f018257e8ee9 23:04:07 Step 3/11 : ARG MAKE=make build 23:04:09 ---> Running in e2d284b89609 23:04:09 Removing intermediate container e2d284b89609 23:04:09 ---> aa5f0c029a89 23:04:09 Step 4/11 : WORKDIR /device-sdk-go 23:04:09 ---> Running in c417f88473f2 23:04:09 Removing intermediate container c417f88473f2 23:04:09 ---> c580b811939f 23:04:09 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:04:09 ---> Running in 1474083114a5 23:04:09 Removing intermediate container 1474083114a5 23:04:09 ---> 42770423bc4b 23:04:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:04:09 ---> Running in dbd74d16e9eb 23:04:10 Removing intermediate container dbd74d16e9eb 23:04:10 ---> 45c0a2bfdfa5 23:04:10 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:04:10 ---> Running in b223edb7e052 23:04:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:04:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:04:12 OK: 221 MiB in 52 packages 23:04:12 Removing intermediate container b223edb7e052 23:04:12 ---> a1c84d8675a1 23:04:12 Step 8/11 : COPY go.mod vendor* ./ 23:04:12 ---> 1eb7aba2ab9f 23:04:12 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:04:12 ---> Running in 62af5bd1d44b 23:04:14 Still waiting to schedule task 23:04:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:04:30 Removing intermediate container 62af5bd1d44b 23:04:30 ---> 5d1bf656d3ca 23:04:30 Step 10/11 : COPY . . 23:04:30 ---> 005e73944e5b 23:04:30 Step 11/11 : RUN ${MAKE} 23:04:30 ---> Running in 3e304baf03f4 23:04:30 noop 23:04:30 Removing intermediate container 3e304baf03f4 23:04:30 ---> 99e106bdcfb7 23:04:30 Successfully built 99e106bdcfb7 23:04:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:04:30 + docker inspect -f . ci-base-image-x86_64 23:04:30 . [Pipeline] withDockerContainer 23:04:31 prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container 23:04:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 23:04:31 $ docker top 6d645212a01dae565618ba5bc7cd609052300979d9b9584ac44b938fcc3374d2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:31 + go version 23:04:31 go version go1.17.6 linux/amd64 [Pipeline] } 23:04:31 $ docker stop --time=1 6d645212a01dae565618ba5bc7cd609052300979d9b9584ac44b938fcc3374d2 23:04:33 $ docker rm -f 6d645212a01dae565618ba5bc7cd609052300979d9b9584ac44b938fcc3374d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:04:33 + docker inspect -f . ci-base-image-x86_64 23:04:33 . [Pipeline] withDockerContainer 23:04:33 prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container 23:04:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat 23:04:34 $ docker top f8e81b843c3516cd2a12cb44d705554e372305ee7e8220dee428e30175213393 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:04:34 + make test 23:04:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:04:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:04:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:04:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:04:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:04:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.105s coverage: 23.3% of statements 23:04:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:04:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 23:04:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements 23:04:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements 23:04:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 60.0% of statements 23:04:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:04:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:04:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements 23:04:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:04:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 86.1% of statements 23:04:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:04:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:04:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements 23:04:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.811s coverage: 89.2% of statements 23:04:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:04:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 23:04:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:05:08 GO111MODULE=on go vet ./... 23:05:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:05:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:05:11 ./bin/test-attribution-txt.sh [Pipeline] echo 23:05:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:05:12 $ docker stop --time=1 f8e81b843c3516cd2a12cb44d705554e372305ee7e8220dee428e30175213393 23:05:14 $ docker rm -f f8e81b843c3516cd2a12cb44d705554e372305ee7e8220dee428e30175213393 [Pipeline] // withDockerContainer [Pipeline] sh 23:05:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:05:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:05:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:05:16 + ls -al . 23:05:16 total 296 23:05:16 drwxrwxr-x 11 jenkins jenkins 4096 May 9 23:05 . 23:05:16 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:03 .. 23:05:16 -rw-rw-r-- 1 jenkins jenkins 140 May 9 23:03 .dockerignore 23:05:16 drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:03 .git 23:05:16 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:03 .github 23:05:16 -rw-rw-r-- 1 jenkins jenkins 131 May 9 23:03 .gitignore 23:05:16 -rw-rw-r-- 1 jenkins jenkins 42 May 9 23:03 .golangci.yml 23:05:16 drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:03 .semver 23:05:16 -rw-rw-r-- 1 jenkins jenkins 26321 May 9 23:03 CHANGELOG.md 23:05:16 -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:03 GOVERNANCE.md 23:05:16 -rw-rw-r-- 1 jenkins jenkins 880 May 9 23:03 Jenkinsfile 23:05:16 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 23:03 LICENSE 23:05:16 -rw-rw-r-- 1 jenkins jenkins 2015 May 9 23:03 Makefile 23:05:16 -rw-rw-r-- 1 jenkins jenkins 619 May 9 23:03 OWNERS.md 23:05:16 -rw-rw-r-- 1 jenkins jenkins 4881 May 9 23:03 README.md 23:05:16 -rw-rw-r-- 1 jenkins jenkins 12 May 9 23:03 VERSION 23:05:16 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:03 bin 23:05:16 -rw-r--r-- 1 jenkins jenkins 130819 May 9 23:04 coverage.out 23:05:16 drwxrwxr-x 5 jenkins jenkins 4096 May 9 23:03 example 23:05:16 -rw-rw-r-- 1 jenkins jenkins 3159 May 9 23:03 go.mod 23:05:16 -rw-rw-r-- 1 jenkins jenkins 34529 May 9 23:03 go.sum 23:05:16 drwxrwxr-x 15 jenkins jenkins 4096 May 9 23:03 internal 23:05:16 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:03 openapi 23:05:16 drwxrwxr-x 5 jenkins jenkins 4096 May 9 23:03 pkg 23:05:16 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:03 snap 23:05:16 -rw-rw-r-- 1 jenkins jenkins 222 May 9 23:03 version.go [Pipeline] isUnix [Pipeline] sh 23:05:16 + 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=b41f42986e30026cf34f8a06bff8ad408dee209a --label arch=amd64 --label version=2.2.0-dev.38 . 23:05:16 Sending build context to Docker daemon 9.827MB 23:05:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:05:16 Step 2/25 : FROM ${BASE} AS builder 23:05:16 ---> 99e106bdcfb7 23:05:16 Step 3/25 : ARG MAKE=make build 23:05:16 ---> Running in d0146b2cb008 23:05:17 Removing intermediate container d0146b2cb008 23:05:17 ---> 3b5aefef0080 23:05:17 Step 4/25 : WORKDIR /device-sdk-go 23:05:17 ---> Running in 25088e7b6851 23:05:17 Removing intermediate container 25088e7b6851 23:05:17 ---> acab3c3eaf5a 23:05:17 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:05:17 ---> Running in 567d15223934 23:05:17 Removing intermediate container 567d15223934 23:05:17 ---> 75786cefc864 23:05:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:05:17 ---> Running in 8462ba3600e4 23:05:18 Removing intermediate container 8462ba3600e4 23:05:18 ---> 847bbad6696b 23:05:18 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:05:18 ---> Running in 8e7b95ea908d 23:05:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:05:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:05:19 OK: 221 MiB in 52 packages 23:05:20 Removing intermediate container 8e7b95ea908d 23:05:20 ---> 0fc34c957222 23:05:20 Step 8/25 : COPY go.mod vendor* ./ 23:05:20 ---> cb032d16e411 23:05:20 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:05:20 ---> Running in 55ccd8e5396f 23:05:20 Removing intermediate container 55ccd8e5396f 23:05:20 ---> 472b87568f92 23:05:20 Step 10/25 : COPY . . 23:05:21 ---> d5806d4116ac 23:05:21 Step 11/25 : RUN ${MAKE} 23:05:21 ---> Running in 0a31408fb838 23:05:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.38" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:05:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:05:41 Removing intermediate container 0a31408fb838 23:05:41 ---> 09ef44e80e50 23:05:41 Step 12/25 : FROM alpine:3.14 23:05:41 3.14: Pulling from library/alpine 23:05:41 8663204ce13b: Pulling fs layer 23:05:42 error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e0/e04c818066afe78a0c9379f62ec65aece28566024fd348242de92760293454b8/data?verify=1652140541-7VtTPg8A6v%2F22p2VxYS%2Fx0X4L%2Fc%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:05:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:05:42 23:05:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:05:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:05:42 latest: Pulling from edgex-lftools-log-publisher 23:05:42 5eb5b503b376: Pulling fs layer 23:05:42 5c69ac0246d0: Pulling fs layer 23:05:42 ec43610c2a17: Pulling fs layer 23:05:42 3a2ae6a8a46f: Pulling fs layer 23:05:42 3a2ae6a8a46f: Waiting 23:05:42 33b1e0a273af: Pulling fs layer 23:05:42 5d3b04190fa2: Pulling fs layer 23:05:42 2f39f015ded8: Pulling fs layer 23:05:42 2f39f015ded8: Waiting 23:05:42 33b1e0a273af: Waiting 23:05:42 5d3b04190fa2: Waiting 23:05:42 5c69ac0246d0: Download complete 23:05:42 3a2ae6a8a46f: Verifying Checksum 23:05:42 3a2ae6a8a46f: Download complete 23:05:42 33b1e0a273af: Verifying Checksum 23:05:42 33b1e0a273af: Download complete 23:05:42 ec43610c2a17: Verifying Checksum 23:05:42 ec43610c2a17: Download complete 23:05:42 5d3b04190fa2: Verifying Checksum 23:05:42 5d3b04190fa2: Download complete 23:05:42 5eb5b503b376: Verifying Checksum 23:05:42 5eb5b503b376: Download complete 23:05:43 2f39f015ded8: Download complete 23:05:44 5eb5b503b376: Pull complete 23:05:44 5c69ac0246d0: Pull complete 23:05:44 ec43610c2a17: Pull complete 23:05:44 3a2ae6a8a46f: Pull complete 23:05:45 33b1e0a273af: Pull complete 23:05:45 5d3b04190fa2: Pull complete 23:05:49 2f39f015ded8: Pull complete 23:05:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:05:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:05:49 prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container 23:05:49 $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:05:51 $ docker top 6602e1516ed221825973d06c1736068e6bf399cea6816e12ffa33500b306c0ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:05:51 ---> job-cost.sh 23:05:51 lf-activate-venv: SKIPPING 23:05:51 INFO: No Stack... 23:05:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:05:52 INFO: Archiving Costs [Pipeline] sh 23:05:52 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 23:05:52 + cut -d, -f6 [Pipeline] lock 23:05:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] 23:05:52 Resource [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] did not exist. Created. 23:05:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:05:53 + echo total: 0.2199999988079071 [Pipeline] stash 23:05:53 Stashed 1 file(s) [Pipeline] } 23:05:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 23:05:53 $ docker stop --time=1 6602e1516ed221825973d06c1736068e6bf399cea6816e12ffa33500b306c0ed 23:05:54 $ docker rm -f 6602e1516ed221825973d06c1736068e6bf399cea6816e12ffa33500b306c0ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:05:54 Failed in branch amd64 23:06:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44791 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 23:06:52 Running in /w/workspace/device-sdk-go/71 [Pipeline] { [Pipeline] checkout 23:06:53 The recommended git tool is: git 23:06:59 using credential edgex-jenkins-ssh 23:06:59 Cloning the remote Git repository 23:06:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:06:59 > git init /w/workspace/device-sdk-go/71 # timeout=10 23:07:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:07:00 > git --version # timeout=10 23:07:00 > git --version # 'git version 2.25.1' 23:07:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:07:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:07:01 Avoid second fetch 23:07:01 Checking out Revision b41f42986e30026cf34f8a06bff8ad408dee209a (main) 23:07:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:07:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:07:01 > git config core.sparsecheckout # timeout=10 23:07:01 > git checkout -f b41f42986e30026cf34f8a06bff8ad408dee209a # timeout=10 23:07:06 Commit message: "Merge pull request #1158 from lenny-intel/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:07:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:07:07 % Total % Received % Xferd Average Speed Time Time Time Current 23:07:07 Dload Upload Total Spent Left Speed 23:07:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 23:07:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:07:07 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 23:07:07 tee /etc/docker/daemon.new 23:07:07 { 23:07:07 "registry-mirrors": [ 23:07:07 "https://nexus3.edgexfoundry.org:10001" 23:07:07 ], 23:07:07 "bip": "10.250.0.254/24", 23:07:07 "hosts": [ 23:07:07 "tcp://0.0.0.0:5555", 23:07:07 "unix:///var/run/docker.sock" 23:07:07 ], 23:07:07 "mtu": 1458, 23:07:07 "selinux-enabled": true, 23:07:07 "seccomp-profile": "/etc/docker/seccomp.json" 23:07:07 } [Pipeline] sh 23:07:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:07:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:07:27 provisioning config files... 23:07:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/71@tmp/config3661637891399175638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:27 ---> docker-login.sh 23:07:27 nexus3.edgexfoundry.org:10001 23:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:28 Configure a credential helper to remove this warning. See 23:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:28 23:07:28 Login Succeeded 23:07:28 nexus3.edgexfoundry.org:10002 23:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:28 Configure a credential helper to remove this warning. See 23:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:28 23:07:28 Login Succeeded 23:07:28 nexus3.edgexfoundry.org:10003 23:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:29 Configure a credential helper to remove this warning. See 23:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:29 23:07:29 Login Succeeded 23:07:29 nexus3.edgexfoundry.org:10004 23:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:30 Configure a credential helper to remove this warning. See 23:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:30 23:07:30 Login Succeeded 23:07:30 docker.io 23:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:30 Configure a credential helper to remove this warning. See 23:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:30 23:07:30 Login Succeeded 23:07:30 ---> docker-login.sh ends [Pipeline] } 23:07:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:07:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:07:31 ========================================================= 23:07:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:07:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:07:31 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:07:32 Sending build context to Docker daemon 5.221MB 23:07:32 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:07:32 Step 2/11 : FROM ${BASE} AS builder 23:07:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:07:32 9b3977197b4f: Pulling fs layer 23:07:32 1a89e8eeedd5: Pulling fs layer 23:07:32 94645a83ff95: Pulling fs layer 23:07:32 3f3a8bcf1eab: Pulling fs layer 23:07:32 0c92f367c5e7: Pulling fs layer 23:07:32 3096ccb668a1: Pulling fs layer 23:07:32 e8cf19c19ddd: Pulling fs layer 23:07:32 a4caa8a26152: Pulling fs layer 23:07:32 3f3a8bcf1eab: Waiting 23:07:32 0c92f367c5e7: Waiting 23:07:32 3096ccb668a1: Waiting 23:07:32 e8cf19c19ddd: Waiting 23:07:32 a4caa8a26152: Waiting 23:07:32 94645a83ff95: Download complete 23:07:32 1a89e8eeedd5: Verifying Checksum 23:07:32 1a89e8eeedd5: Download complete 23:07:32 0c92f367c5e7: Verifying Checksum 23:07:32 0c92f367c5e7: Download complete 23:07:32 9b3977197b4f: Verifying Checksum 23:07:32 9b3977197b4f: Download complete 23:07:32 3096ccb668a1: Verifying Checksum 23:07:32 3096ccb668a1: Download complete 23:07:32 e8cf19c19ddd: Verifying Checksum 23:07:32 e8cf19c19ddd: Download complete 23:07:33 9b3977197b4f: Pull complete 23:07:34 1a89e8eeedd5: Pull complete 23:07:34 94645a83ff95: Pull complete 23:07:34 a4caa8a26152: Verifying Checksum 23:07:34 a4caa8a26152: Download complete 23:07:35 3f3a8bcf1eab: Download complete 23:07:47 3f3a8bcf1eab: Pull complete 23:07:48 0c92f367c5e7: Pull complete 23:07:48 3096ccb668a1: Pull complete 23:07:48 e8cf19c19ddd: Pull complete 23:07:55 a4caa8a26152: Pull complete 23:07:55 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 23:07:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:07:55 ---> 725f1c02e7f9 23:07:55 Step 3/11 : ARG MAKE=make build 23:07:56 ---> Running in 194dbecf81e3 23:07:56 Removing intermediate container 194dbecf81e3 23:07:56 ---> 0774a917613e 23:07:56 Step 4/11 : WORKDIR /device-sdk-go 23:07:56 ---> Running in 4f313eb257a0 23:07:56 Removing intermediate container 4f313eb257a0 23:07:56 ---> d3609bca640a 23:07:56 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:07:56 ---> Running in 1ac4509be7d1 23:07:57 Removing intermediate container 1ac4509be7d1 23:07:57 ---> 0bbab8af32f5 23:07:57 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:07:57 ---> Running in 5b49ab556110 23:08:00 Removing intermediate container 5b49ab556110 23:08:00 ---> 0ab1c9645bbc 23:08:00 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:08:00 ---> Running in a20f4895b485 23:08:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:08:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:08:03 OK: 220 MiB in 52 packages 23:08:04 Removing intermediate container a20f4895b485 23:08:04 ---> 353011492536 23:08:04 Step 8/11 : COPY go.mod vendor* ./ 23:08:05 ---> 9d71138c4183 23:08:05 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:08:05 ---> Running in b659686b600c 23:08:52 Removing intermediate container b659686b600c 23:08:52 ---> 89fbf9f0f1a8 23:08:52 Step 10/11 : COPY . . 23:08:52 ---> 887597e85f97 23:08:52 Step 11/11 : RUN ${MAKE} 23:08:52 ---> Running in 6a88e04a3b91 23:08:53 noop 23:08:54 Removing intermediate container 6a88e04a3b91 23:08:54 ---> 0673bb0c9cca 23:08:54 Successfully built 0673bb0c9cca 23:08:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:08:54 + docker inspect -f . ci-base-image-arm64 23:08:54 . [Pipeline] withDockerContainer 23:08:54 prd-ubuntu20.04-docker-arm64-4c-16g-44791 does not seem to be running inside a container 23:08:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/71 -v /w/workspace/device-sdk-go/71:/w/workspace/device-sdk-go/71:rw,z -v /w/workspace/device-sdk-go/71@tmp:/w/workspace/device-sdk-go/71@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 ******** ci-base-image-arm64 cat 23:08:56 $ docker top 2333d17b69bcac5dbb4c5cdaf1cadb092423ecd374101be7f75d350d82251c18 -eo pid,comm [Pipeline] { [Pipeline] sh 23:08:56 + go version 23:08:56 go version go1.17.6 linux/arm64 [Pipeline] } 23:08:56 $ docker stop --time=1 2333d17b69bcac5dbb4c5cdaf1cadb092423ecd374101be7f75d350d82251c18 23:08:58 $ docker rm -f 2333d17b69bcac5dbb4c5cdaf1cadb092423ecd374101be7f75d350d82251c18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:08:59 + docker inspect -f . ci-base-image-arm64 23:08:59 . [Pipeline] withDockerContainer 23:08:59 prd-ubuntu20.04-docker-arm64-4c-16g-44791 does not seem to be running inside a container 23:08:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/71 -v /w/workspace/device-sdk-go/71:/w/workspace/device-sdk-go/71:rw,z -v /w/workspace/device-sdk-go/71@tmp:/w/workspace/device-sdk-go/71@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 ******** ci-base-image-arm64 cat 23:09:00 $ docker top 4e83e39b0aa9b1b5ac407c432b4efe575a589f874d110574f19ab6d5ec5e6a81 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:09:01 + make test 23:09:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:09:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:11:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:11:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:11:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.411s coverage: 23.3% of statements 23:11:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.276s coverage: 27.6% of statements 23:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.336s coverage: 78.9% of statements 23:11:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.283s coverage: 10.8% of statements 23:11:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.606s coverage: 60.0% of statements 23:11:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:11:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:11:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.473s coverage: 34.8% of statements 23:11:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:11:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.308s coverage: 86.1% of statements 23:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:11:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.596s coverage: 65.1% of statements 23:11:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.228s coverage: 89.2% of statements 23:11:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:11:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.248s coverage: 4.7% of statements 23:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:11:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:11:43 GO111MODULE=on go vet ./... 23:13:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:13:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:13:20 ./bin/test-attribution-txt.sh [Pipeline] echo 23:13:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:13:20 $ docker stop --time=1 4e83e39b0aa9b1b5ac407c432b4efe575a589f874d110574f19ab6d5ec5e6a81 23:13:22 $ docker rm -f 4e83e39b0aa9b1b5ac407c432b4efe575a589f874d110574f19ab6d5ec5e6a81 [Pipeline] // withDockerContainer [Pipeline] sh 23:13:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:13:23 Warning: overwriting stash ‘coverage-report’ 23:13:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:13:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:13:25 + ls -al . 23:13:25 total 292 23:13:25 drwxrwxr-x 10 jenkins jenkins 4096 May 9 23:13 . 23:13:25 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:07 .. 23:13:25 -rw-rw-r-- 1 jenkins jenkins 140 May 9 23:07 .dockerignore 23:13:25 drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:07 .git 23:13:25 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:07 .github 23:13:25 -rw-rw-r-- 1 jenkins jenkins 131 May 9 23:07 .gitignore 23:13:25 -rw-rw-r-- 1 jenkins jenkins 42 May 9 23:07 .golangci.yml 23:13:25 -rw-rw-r-- 1 jenkins jenkins 26321 May 9 23:07 CHANGELOG.md 23:13:25 -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:07 GOVERNANCE.md 23:13:25 -rw-rw-r-- 1 jenkins jenkins 880 May 9 23:07 Jenkinsfile 23:13:25 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 23:07 LICENSE 23:13:25 -rw-rw-r-- 1 jenkins jenkins 2015 May 9 23:07 Makefile 23:13:25 -rw-rw-r-- 1 jenkins jenkins 619 May 9 23:07 OWNERS.md 23:13:25 -rw-rw-r-- 1 jenkins jenkins 4881 May 9 23:07 README.md 23:13:25 -rw-rw-r-- 1 jenkins jenkins 12 May 9 23:03 VERSION 23:13:25 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:07 bin 23:13:25 -rw-r--r-- 1 jenkins jenkins 130819 May 9 23:11 coverage.out 23:13:25 drwxrwxr-x 5 jenkins jenkins 4096 May 9 23:07 example 23:13:25 -rw-rw-r-- 1 jenkins jenkins 3159 May 9 23:07 go.mod 23:13:25 -rw-rw-r-- 1 jenkins jenkins 34529 May 9 23:07 go.sum 23:13:25 drwxrwxr-x 15 jenkins jenkins 4096 May 9 23:07 internal 23:13:25 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:07 openapi 23:13:25 drwxrwxr-x 5 jenkins jenkins 4096 May 9 23:07 pkg 23:13:25 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:07 snap 23:13:25 -rw-rw-r-- 1 jenkins jenkins 222 May 9 23:07 version.go [Pipeline] isUnix [Pipeline] sh 23:13:25 + 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=b41f42986e30026cf34f8a06bff8ad408dee209a --label arch=arm64 --label version=2.2.0-dev.38 . 23:13:25 Sending build context to Docker daemon 5.352MB 23:13:25 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:13:25 Step 2/25 : FROM ${BASE} AS builder 23:13:25 ---> 0673bb0c9cca 23:13:25 Step 3/25 : ARG MAKE=make build 23:13:25 ---> Running in d7233db16d6e 23:13:26 Removing intermediate container d7233db16d6e 23:13:26 ---> f82cd0287b04 23:13:26 Step 4/25 : WORKDIR /device-sdk-go 23:13:26 ---> Running in e38e049a1da1 23:13:26 Removing intermediate container e38e049a1da1 23:13:26 ---> ab235a0c98e6 23:13:26 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:13:26 ---> Running in 018196f2974d 23:13:27 Removing intermediate container 018196f2974d 23:13:27 ---> a099d481a9e3 23:13:27 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:13:27 ---> Running in 6ef220360be1 23:13:28 Removing intermediate container 6ef220360be1 23:13:28 ---> a9fb0d94f0ea 23:13:28 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:13:28 ---> Running in f43bb43b5ad0 23:13:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:13:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:13:31 OK: 220 MiB in 52 packages 23:13:32 Removing intermediate container f43bb43b5ad0 23:13:32 ---> db2efc4acff5 23:13:32 Step 8/25 : COPY go.mod vendor* ./ 23:13:33 ---> 00add8b35484 23:13:33 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:13:33 ---> Running in 3e8811b0ca14 23:13:35 Removing intermediate container 3e8811b0ca14 23:13:35 ---> a1ccb4dbde84 23:13:35 Step 10/25 : COPY . . 23:13:36 ---> 6f34c2743788 23:13:36 Step 11/25 : RUN ${MAKE} 23:13:36 ---> Running in 122d180d9b10 23:13:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.38" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:15:44 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:15:44 Removing intermediate container 122d180d9b10 23:15:44 ---> 7bd60f2ddc86 23:15:44 Step 12/25 : FROM alpine:3.14 23:15:44 3.14: Pulling from library/alpine 23:15:44 455c02918c45: Pulling fs layer 23:15:44 455c02918c45: Verifying Checksum 23:15:44 455c02918c45: Download complete 23:15:45 455c02918c45: Pull complete 23:15:45 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:15:45 Status: Downloaded newer image for alpine:3.14 23:15:45 ---> ac73e934f311 23:15:45 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:15:45 ---> Running in bffe685e3d08 23:15:45 Removing intermediate container bffe685e3d08 23:15:45 ---> cfec1d1ff6ba 23:15:45 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:15:45 ---> Running in 0746689581ea 23:15:47 Removing intermediate container 0746689581ea 23:15:47 ---> 8880526e464f 23:15:47 Step 15/25 : RUN apk add --update --no-cache zeromq 23:15:47 ---> Running in 2b538a0dce8e 23:15:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:15:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:15:50 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:15:50 (2/5) Installing libsodium (1.0.18-r0) 23:15:50 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:15:50 (4/5) Installing libzmq (4.3.4-r0) 23:15:50 (5/5) Installing zeromq (4.3.4-r0) 23:15:50 Executing busybox-1.33.1-r7.trigger 23:15:50 OK: 8 MiB in 19 packages 23:15:51 Removing intermediate container 2b538a0dce8e 23:15:51 ---> fb88d802ff2a 23:15:51 Step 16/25 : WORKDIR / 23:15:51 ---> Running in ca6f167a82ec 23:15:51 Removing intermediate container ca6f167a82ec 23:15:51 ---> 865fd2250b89 23:15:51 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:15:52 ---> 67926a07e179 23:15:52 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:15:53 ---> 9dda2c145a4b 23:15:53 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:15:54 ---> 9ede509b713c 23:15:54 Step 20/25 : EXPOSE 59999 23:15:54 ---> Running in f6a90b42991e 23:15:55 Removing intermediate container f6a90b42991e 23:15:55 ---> 94c286667d1b 23:15:55 Step 21/25 : ENTRYPOINT ["/device-simple"] 23:15:55 ---> Running in 43ac2cca6af1 23:15:55 Removing intermediate container 43ac2cca6af1 23:15:55 ---> 1c28d5cd63fe 23:15:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:15:55 ---> Running in ea60308c368f 23:15:55 Removing intermediate container ea60308c368f 23:15:55 ---> a32640ccf9d4 23:15:55 Step 23/25 : LABEL arch=arm64 23:15:55 ---> Running in 77992daa4bb9 23:15:56 Removing intermediate container 77992daa4bb9 23:15:56 ---> 4aa9a7843184 23:15:56 Step 24/25 : LABEL git_sha=b41f42986e30026cf34f8a06bff8ad408dee209a 23:15:56 ---> Running in 00f00050cc71 23:15:56 Removing intermediate container 00f00050cc71 23:15:56 ---> d8cae6f90430 23:15:56 Step 25/25 : LABEL version=2.2.0-dev.38 23:15:56 ---> Running in 6c9ac8267d60 23:15:57 Removing intermediate container 6c9ac8267d60 23:15:57 ---> 6fce2950afe8 23:15:57 [Warning] One or more build-args [ARCH] were not consumed 23:15:57 Successfully built 6fce2950afe8 23:15:57 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:15:57 23:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:15:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:15:58 arm64: Pulling from edgex-lftools-log-publisher 23:15:58 8998bd30e6a1: Pulling fs layer 23:15:58 04944245beec: Pulling fs layer 23:15:58 699f458cf7ca: Pulling fs layer 23:15:58 765212b225bb: Pulling fs layer 23:15:58 f23df028b6ca: Pulling fs layer 23:15:58 d65c8cfc05b1: Pulling fs layer 23:15:58 2437ff75d9bd: Pulling fs layer 23:15:58 f23df028b6ca: Waiting 23:15:58 d65c8cfc05b1: Waiting 23:15:58 765212b225bb: Waiting 23:15:58 2437ff75d9bd: Waiting 23:15:58 04944245beec: Verifying Checksum 23:15:58 04944245beec: Download complete 23:15:58 765212b225bb: Verifying Checksum 23:15:58 765212b225bb: Download complete 23:15:58 d65c8cfc05b1: Verifying Checksum 23:15:58 d65c8cfc05b1: Download complete 23:15:58 699f458cf7ca: Verifying Checksum 23:15:58 699f458cf7ca: Download complete 23:15:58 8998bd30e6a1: Verifying Checksum 23:15:58 8998bd30e6a1: Download complete 23:16:01 2437ff75d9bd: Verifying Checksum 23:16:01 2437ff75d9bd: Download complete 23:16:03 8998bd30e6a1: Pull complete 23:16:03 04944245beec: Pull complete 23:16:05 699f458cf7ca: Pull complete 23:16:05 765212b225bb: Pull complete 23:16:06 f23df028b6ca: Pull complete 23:16:06 d65c8cfc05b1: Pull complete 23:16:21 2437ff75d9bd: Pull complete 23:16:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:16:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:16:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:16:21 prd-ubuntu20.04-docker-arm64-4c-16g-44791 does not seem to be running inside a container 23:16:21 $ 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/71 -v /w/workspace/device-sdk-go/71:/w/workspace/device-sdk-go/71:rw,z -v /w/workspace/device-sdk-go/71@tmp:/w/workspace/device-sdk-go/71@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:16:24 $ docker top 369bbc4102131951d0ba9138ead0c9a12f9c03e3dfbe28178b1c7a88ad52a375 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:25 ---> job-cost.sh 23:16:25 lf-activate-venv: SKIPPING 23:16:25 INFO: No Stack... 23:16:25 INFO: Retrieving Pricing Info for: v3-standard-4 23:16:26 INFO: Archiving Costs [Pipeline] sh 23:16:27 + cat /w/workspace/device-sdk-go/71/archives/cost.csv 23:16:27 + cut -d, -f6 [Pipeline] lock 23:16:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] 23:16:27 Resource [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] did not exist. Created. 23:16:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:16:28 /w/workspace/device-sdk-go/71@tmp/durable-3bd435c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:16:28 + echo total: 0.10999999940395355 [Pipeline] stash 23:16:29 Warning: overwriting stash ‘stack-cost’ 23:16:29 Stashed 1 file(s) [Pipeline] } 23:16:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 23:16:29 $ docker stop --time=1 369bbc4102131951d0ba9138ead0c9a12f9c03e3dfbe28178b1c7a88ad52a375 23:16:30 $ docker rm -f 369bbc4102131951d0ba9138ead0c9a12f9c03e3dfbe28178b1c7a88ad52a375 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:16:31 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 23:16:31 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 23:16:31 total 16 23:16:31 drwxr-xr-x 3 root root 4096 May 9 23:05 . 23:16:31 drwxrwxr-x 12 jenkins jenkins 4096 May 9 23:05 .. 23:16:31 drwxr-xr-x 2 root root 4096 May 9 23:05 cost 23:16:31 -rw-r--r-- 1 root root 83 May 9 23:05 cost.csv 23:16:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 23:16:31 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 23:16:31 total 16 23:16:31 drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:05 . 23:16:31 drwxrwxr-x 12 jenkins jenkins 4096 May 9 23:05 .. 23:16:31 drwxr-xr-x 2 jenkins jenkins 4096 May 9 23:05 cost 23:16:31 -rw-r--r-- 1 jenkins jenkins 83 May 9 23:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:16:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:16:32 ---> package-listing.sh 23:16:32 ++ facter osfamily 23:16:32 ++ tr '[:upper:]' '[:lower:]' 23:16:33 + OS_FAMILY=debian 23:16:33 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 23:16:33 + START_PACKAGES=/tmp/packages_start.txt 23:16:33 + END_PACKAGES=/tmp/packages_end.txt 23:16:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:16:33 + PACKAGES=/tmp/packages_start.txt 23:16:33 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 23:16:33 + PACKAGES=/tmp/packages_end.txt 23:16:33 + case "${OS_FAMILY}" in 23:16:33 + dpkg -l 23:16:33 + grep '^ii' 23:16:33 + '[' -f /tmp/packages_start.txt ']' 23:16:33 + '[' -f /tmp/packages_end.txt ']' 23:16:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:16:33 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 23:16:33 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 23:16:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 23:16:33 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:16:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:16:33 . [Pipeline] withDockerContainer 23:16:34 prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container 23:16:34 $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:16:34 $ docker top 3c69efe9d41c960d63c6872483760390860340d5cc0f80cc9bd1fc54e69190a6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:34 + touch /tmp/pre-build-complete [Pipeline] sh 23:16:34 + mkdir -p /var/log/sysstat [Pipeline] sh 23:16:35 + ls /var/log/sa-host 23:16:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:35 provisioning config files... 23:16:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5271476337038873550tmp [Pipeline] { [Pipeline] echo 23:16:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:16:35 ---> create-netrc.sh [Pipeline] } 23:16:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:16:35 ---> python-tools-install.sh [Pipeline] echo 23:16:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:16:36 ---> sudo-logs.sh 23:16:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:16:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:16:36 ---> job-cost.sh 23:16:36 lf-activate-venv: SKIPPING 23:16:36 DEBUG: total: 0.2199999988079071 23:16:36 INFO: Retrieving Stack Cost... 23:16:37 INFO: Retrieving Pricing Info for: v3-standard-8 23:16:37 INFO: Archiving Costs [Pipeline] echo 23:16:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:16:37 ---> logs-deploy.sh 23:16:37 lf-activate-venv: SKIPPING 23:16:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/71 23:16:37 INFO: archiving workspace using pattern(s): 23:16:38 Archives upload complete. 23:16:38 INFO: archiving logs to Nexus