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 [2022-05-09T23:03:40.590Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-09T23:03:40.651Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-09T23:03:40.666Z] ========================================================= [2022-05-09T23:03:40.667Z] EdgeX Global Pipelines Version Info [2022-05-09T23:03:40.667Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:03:41.427Z] ------------------- [2022-05-09T23:03:41.427Z] stable info: [2022-05-09T23:03:41.427Z] ------------------- [2022-05-09T23:03:41.427Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T23:03:41.427Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-09T23:03:41.427Z] Message: update stable to v1.0.227 [2022-05-09T23:03:42.001Z] ------------------- [2022-05-09T23:03:42.001Z] experimental info: [2022-05-09T23:03:42.001Z] ------------------- [2022-05-09T23:03:42.001Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T23:03:42.001Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-09T23:03:42.001Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-09T23:03:42.137Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-09T23:03:42.150Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-09T23:03:42.162Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-09T23:03:42.177Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-09T23:03:42.189Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-09T23:03:42.207Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-09T23:03:42.224Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-09T23:03:42.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-09T23:03:42.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-09T23:03:42.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-09T23:03:42.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-09T23:03:42.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-09T23:03:42.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-09T23:03:42.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-09T23:03:42.324Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T23:03:42.339Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T23:03:42.353Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T23:03:42.365Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T23:03:42.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-09T23:03:42.389Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-09T23:03:42.402Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-09T23:03:42.416Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-09T23:03:42.430Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-09T23:03:42.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-09T23:03:42.458Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-09T23:03:42.476Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-09T23:03:42.491Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-09T23:03:42.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-09T23:03:42.522Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-09T23:03:42.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b41f42986e30026cf34f8a06bff8ad408dee209a [Pipeline] echo [2022-05-09T23:03:42.551Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b41f429 [Pipeline] echo [2022-05-09T23:03:42.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T23:03:42.596Z] provisioning config files... [2022-05-09T23:03:42.612Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8186313885401813444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:03:42.957Z] ---> docker-login.sh [2022-05-09T23:03:42.957Z] nexus3.edgexfoundry.org:10001 [2022-05-09T23:03:43.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:03:43.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:03:43.796Z] Configure a credential helper to remove this warning. See [2022-05-09T23:03:43.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:03:43.796Z] [2022-05-09T23:03:43.796Z] Login Succeeded [2022-05-09T23:03:43.796Z] nexus3.edgexfoundry.org:10002 [2022-05-09T23:03:43.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:03:43.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:03:43.796Z] Configure a credential helper to remove this warning. See [2022-05-09T23:03:43.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:03:43.796Z] [2022-05-09T23:03:43.796Z] Login Succeeded [2022-05-09T23:03:43.796Z] nexus3.edgexfoundry.org:10003 [2022-05-09T23:03:44.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:03:44.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:03:44.057Z] Configure a credential helper to remove this warning. See [2022-05-09T23:03:44.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:03:44.057Z] [2022-05-09T23:03:44.057Z] Login Succeeded [2022-05-09T23:03:44.057Z] nexus3.edgexfoundry.org:10004 [2022-05-09T23:03:44.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:03:44.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:03:44.057Z] Configure a credential helper to remove this warning. See [2022-05-09T23:03:44.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:03:44.057Z] [2022-05-09T23:03:44.057Z] Login Succeeded [2022-05-09T23:03:44.057Z] docker.io [2022-05-09T23:03:44.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:03:44.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:03:44.578Z] Configure a credential helper to remove this warning. See [2022-05-09T23:03:44.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:03:44.578Z] [2022-05-09T23:03:44.578Z] Login Succeeded [2022-05-09T23:03:44.578Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T23:03:44.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-09T23:03:44.956Z] + git rev-list -1 --merges b41f42986e30026cf34f8a06bff8ad408dee209a~1..b41f42986e30026cf34f8a06bff8ad408dee209a [Pipeline] echo [2022-05-09T23:03:45.073Z] -----------> git rev-list -1 --merges b41f42986e30026cf34f8a06bff8ad408dee209a~1..b41f42986e30026cf34f8a06bff8ad408dee209a b41f42986e30026cf34f8a06bff8ad408dee209a [2022-05-09T23:03:45.073Z] b41f42986e30026cf34f8a06bff8ad408dee209a [false] [Pipeline] sh [2022-05-09T23:03:45.373Z] + git log --format=format:%s -1 b41f42986e30026cf34f8a06bff8ad408dee209a [Pipeline] echo [2022-05-09T23:03:45.391Z] ========================================================= [2022-05-09T23:03:45.391Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-09T23:03:45.391Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T23:03:45.732Z] + git log --format=format:%s -1 b41f42986e30026cf34f8a06bff8ad408dee209a [Pipeline] echo [2022-05-09T23:03:45.744Z] [semverPrep] GIT_COMMIT: b41f42986e30026cf34f8a06bff8ad408dee209a, Commit Message: Merge pull request #1158 from lenny-intel/released-go-mods [Pipeline] echo [2022-05-09T23:03:45.756Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-09T23:03:46.143Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T23:03:46.144Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-09T23:03:46.144Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-09T23:03:46.144Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-09T23:03:46.144Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-09T23:03:46.144Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-09T23:03:46.144Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:03:46.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T23:03:46.496Z] [2022-05-09T23:03:46.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:03:46.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T23:03:46.808Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-09T23:03:46.808Z] 1fe172e4850f: Pulling fs layer [2022-05-09T23:03:46.808Z] caf521ccaac6: Pulling fs layer [2022-05-09T23:03:46.808Z] 3ead6fa29328: Pulling fs layer [2022-05-09T23:03:46.808Z] 5c2a1cbceb83: Pulling fs layer [2022-05-09T23:03:46.808Z] a8d5f1318db7: Pulling fs layer [2022-05-09T23:03:46.808Z] c427282e49a2: Pulling fs layer [2022-05-09T23:03:46.808Z] 1827001aaf11: Pulling fs layer [2022-05-09T23:03:46.808Z] 0714d37db230: Pulling fs layer [2022-05-09T23:03:46.808Z] ac28cf19c067: Pulling fs layer [2022-05-09T23:03:46.808Z] a8d5f1318db7: Waiting [2022-05-09T23:03:46.808Z] ca983d60f3e2: Pulling fs layer [2022-05-09T23:03:46.808Z] 9f894cec8388: Pulling fs layer [2022-05-09T23:03:46.808Z] 0714d37db230: Waiting [2022-05-09T23:03:46.808Z] 1827001aaf11: Waiting [2022-05-09T23:03:46.808Z] 9f894cec8388: Waiting [2022-05-09T23:03:46.808Z] ca983d60f3e2: Waiting [2022-05-09T23:03:46.808Z] ac28cf19c067: Waiting [2022-05-09T23:03:46.808Z] caf521ccaac6: Verifying Checksum [2022-05-09T23:03:46.808Z] caf521ccaac6: Download complete [2022-05-09T23:03:46.808Z] 5c2a1cbceb83: Verifying Checksum [2022-05-09T23:03:46.808Z] 5c2a1cbceb83: Download complete [2022-05-09T23:03:47.071Z] a8d5f1318db7: Verifying Checksum [2022-05-09T23:03:47.071Z] a8d5f1318db7: Download complete [2022-05-09T23:03:47.071Z] c427282e49a2: Verifying Checksum [2022-05-09T23:03:47.071Z] c427282e49a2: Download complete [2022-05-09T23:03:47.071Z] 3ead6fa29328: Verifying Checksum [2022-05-09T23:03:47.071Z] 3ead6fa29328: Download complete [2022-05-09T23:03:47.071Z] 0714d37db230: Verifying Checksum [2022-05-09T23:03:47.071Z] 0714d37db230: Download complete [2022-05-09T23:03:47.071Z] ac28cf19c067: Download complete [2022-05-09T23:03:47.071Z] ca983d60f3e2: Verifying Checksum [2022-05-09T23:03:47.071Z] 1fe172e4850f: Verifying Checksum [2022-05-09T23:03:47.071Z] 1fe172e4850f: Download complete [2022-05-09T23:03:47.071Z] 9f894cec8388: Verifying Checksum [2022-05-09T23:03:47.071Z] 9f894cec8388: Download complete [2022-05-09T23:03:47.330Z] 1827001aaf11: Verifying Checksum [2022-05-09T23:03:47.330Z] 1827001aaf11: Download complete [2022-05-09T23:03:48.274Z] 1fe172e4850f: Pull complete [2022-05-09T23:03:48.533Z] caf521ccaac6: Pull complete [2022-05-09T23:03:49.113Z] 3ead6fa29328: Pull complete [2022-05-09T23:03:49.113Z] 5c2a1cbceb83: Pull complete [2022-05-09T23:03:49.373Z] a8d5f1318db7: Pull complete [2022-05-09T23:03:49.634Z] c427282e49a2: Pull complete [2022-05-09T23:03:51.540Z] 1827001aaf11: Pull complete [2022-05-09T23:03:51.540Z] 0714d37db230: Pull complete [2022-05-09T23:03:51.540Z] ac28cf19c067: Pull complete [2022-05-09T23:03:51.540Z] ca983d60f3e2: Pull complete [2022-05-09T23:03:51.801Z] 9f894cec8388: Pull complete [2022-05-09T23:03:51.801Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-09T23:03:51.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T23:03:51.801Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-09T23:03:51.872Z] prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container [2022-05-09T23:03:51.920Z] $ 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 [2022-05-09T23:03:53.751Z] $ docker top b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a -eo pid,comm [2022-05-09T23:03:53.810Z] 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). [2022-05-09T23:03:53.810Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T23:03:53.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T23:03:53.852Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T23:03:53.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T23:03:54.005Z] $ docker exec b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a ssh-agent [2022-05-09T23:03:54.125Z] SSH_AUTH_SOCK=/tmp/ssh-zotnCvXm0jEo/agent.32 [2022-05-09T23:03:54.125Z] SSH_AGENT_PID=38 [2022-05-09T23:03:54.134Z] Running ssh-add (command line suppressed) [2022-05-09T23:03:54.257Z] 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) [2022-05-09T23:03:54.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T23:03:54.566Z] + git tag --points-at HEAD [Pipeline] } [2022-05-09T23:03:54.598Z] $ docker exec --env ******** --env ******** b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a ssh-agent -k [2022-05-09T23:03:54.706Z] unset SSH_AUTH_SOCK; [2022-05-09T23:03:54.706Z] unset SSH_AGENT_PID; [2022-05-09T23:03:54.706Z] echo Agent pid 38 killed; [2022-05-09T23:03:54.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-09T23:03:54.741Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T23:03:54.741Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T23:03:54.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T23:03:54.878Z] $ docker exec b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a ssh-agent [2022-05-09T23:03:54.996Z] SSH_AUTH_SOCK=/tmp/ssh-dZd0dLVEMsSt/agent.72 [2022-05-09T23:03:54.996Z] SSH_AGENT_PID=78 [2022-05-09T23:03:55.002Z] Running ssh-add (command line suppressed) [2022-05-09T23:03:55.129Z] 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) [2022-05-09T23:03:55.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T23:03:55.432Z] + git semver init [2022-05-09T23:03:55.694Z] 2022-05-09 23:03:55,648 [run_init] DEBUG init version:0.0.0 force:False [2022-05-09T23:03:55.694Z] 2022-05-09 23:03:55,649 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-05-09T23:03:55.694Z] 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 [2022-05-09T23:03:55.694Z] 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) [2022-05-09T23:03:56.637Z] 2022-05-09 23:03:56,523 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-05-09T23:03:56.637Z] 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 [2022-05-09T23:03:56.637Z] 2022-05-09 23:03:56,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-09T23:03:56.637Z] 2022-05-09 23:03:56,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-09T23:03:56.637Z] 2.2.0-dev.38 [Pipeline] } [2022-05-09T23:03:56.653Z] $ docker exec --env ******** --env ******** b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a ssh-agent -k [2022-05-09T23:03:56.759Z] unset SSH_AUTH_SOCK; [2022-05-09T23:03:56.760Z] unset SSH_AGENT_PID; [2022-05-09T23:03:56.760Z] echo Agent pid 78 killed; [2022-05-09T23:03:56.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T23:03:57.075Z] + git semver [Pipeline] } [2022-05-09T23:03:57.358Z] $ docker stop --time=1 b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a [2022-05-09T23:03:58.774Z] $ docker rm -f b1b22b46ad1c432646a5a5f9c253fe3a3cf9d906fb84e045993fb403d069d75a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T23:03:59.122Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-09T23:03:59.405Z] Stashed 1 file(s) [Pipeline] echo [2022-05-09T23:03:59.410Z] [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 [2022-05-09T23:03:59.539Z] provisioning config files... [2022-05-09T23:03:59.550Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6809711200168156766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:03:59.855Z] ---> docker-login.sh [2022-05-09T23:03:59.855Z] nexus3.edgexfoundry.org:10001 [2022-05-09T23:03:59.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:03:59.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:03:59.855Z] Configure a credential helper to remove this warning. See [2022-05-09T23:03:59.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:03:59.855Z] [2022-05-09T23:03:59.855Z] Login Succeeded [2022-05-09T23:03:59.855Z] nexus3.edgexfoundry.org:10002 [2022-05-09T23:03:59.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:04:00.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:04:00.117Z] Configure a credential helper to remove this warning. See [2022-05-09T23:04:00.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:04:00.117Z] [2022-05-09T23:04:00.117Z] Login Succeeded [2022-05-09T23:04:00.117Z] nexus3.edgexfoundry.org:10003 [2022-05-09T23:04:00.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:04:00.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:04:00.117Z] Configure a credential helper to remove this warning. See [2022-05-09T23:04:00.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:04:00.117Z] [2022-05-09T23:04:00.117Z] Login Succeeded [2022-05-09T23:04:00.117Z] nexus3.edgexfoundry.org:10004 [2022-05-09T23:04:00.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:04:00.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:04:00.379Z] Configure a credential helper to remove this warning. See [2022-05-09T23:04:00.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:04:00.379Z] [2022-05-09T23:04:00.379Z] Login Succeeded [2022-05-09T23:04:00.379Z] docker.io [2022-05-09T23:04:00.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:04:00.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:04:00.641Z] Configure a credential helper to remove this warning. See [2022-05-09T23:04:00.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:04:00.641Z] [2022-05-09T23:04:00.641Z] Login Succeeded [2022-05-09T23:04:00.641Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T23:04:00.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T23:04:00.727Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T23:04:00.742Z] ========================================================= [2022-05-09T23:04:00.742Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-09T23:04:00.743Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:04:01.054Z] + 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 . [2022-05-09T23:04:01.054Z] Sending build context to Docker daemon 9.695MB [2022-05-09T23:04:01.054Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T23:04:01.054Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-09T23:04:01.054Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-09T23:04:01.054Z] 59bf1c3509f3: Pulling fs layer [2022-05-09T23:04:01.054Z] 666ba61612fd: Pulling fs layer [2022-05-09T23:04:01.054Z] 8ed8ca486205: Pulling fs layer [2022-05-09T23:04:01.054Z] 4fe6c5a15a65: Pulling fs layer [2022-05-09T23:04:01.054Z] 22a0e8bec74d: Pulling fs layer [2022-05-09T23:04:01.054Z] ca2b28591e48: Pulling fs layer [2022-05-09T23:04:01.054Z] a51346096db8: Pulling fs layer [2022-05-09T23:04:01.054Z] daebc70d1ce1: Pulling fs layer [2022-05-09T23:04:01.054Z] 0e18a0eac166: Pulling fs layer [2022-05-09T23:04:01.054Z] ca2b28591e48: Waiting [2022-05-09T23:04:01.054Z] a51346096db8: Waiting [2022-05-09T23:04:01.054Z] 4fe6c5a15a65: Waiting [2022-05-09T23:04:01.054Z] 0e18a0eac166: Waiting [2022-05-09T23:04:01.054Z] 22a0e8bec74d: Waiting [2022-05-09T23:04:01.314Z] 8ed8ca486205: Verifying Checksum [2022-05-09T23:04:01.314Z] 8ed8ca486205: Download complete [2022-05-09T23:04:01.314Z] 666ba61612fd: Download complete [2022-05-09T23:04:01.314Z] 22a0e8bec74d: Download complete [2022-05-09T23:04:01.314Z] ca2b28591e48: Verifying Checksum [2022-05-09T23:04:01.314Z] ca2b28591e48: Download complete [2022-05-09T23:04:01.314Z] a51346096db8: Download complete [2022-05-09T23:04:01.314Z] 59bf1c3509f3: Verifying Checksum [2022-05-09T23:04:01.314Z] 59bf1c3509f3: Download complete [2022-05-09T23:04:01.314Z] daebc70d1ce1: Verifying Checksum [2022-05-09T23:04:01.314Z] daebc70d1ce1: Download complete [2022-05-09T23:04:01.314Z] 59bf1c3509f3: Pull complete [2022-05-09T23:04:01.576Z] 666ba61612fd: Pull complete [2022-05-09T23:04:01.576Z] 8ed8ca486205: Pull complete [2022-05-09T23:04:01.837Z] 0e18a0eac166: Verifying Checksum [2022-05-09T23:04:01.837Z] 0e18a0eac166: Download complete [2022-05-09T23:04:02.097Z] 4fe6c5a15a65: Download complete [2022-05-09T23:04:05.393Z] 4fe6c5a15a65: Pull complete [2022-05-09T23:04:05.658Z] 22a0e8bec74d: Pull complete [2022-05-09T23:04:05.658Z] ca2b28591e48: Pull complete [2022-05-09T23:04:05.658Z] a51346096db8: Pull complete [2022-05-09T23:04:05.917Z] daebc70d1ce1: Pull complete [2022-05-09T23:04:07.824Z] 0e18a0eac166: Pull complete [2022-05-09T23:04:07.824Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-09T23:04:07.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T23:04:07.824Z] ---> f018257e8ee9 [2022-05-09T23:04:07.824Z] Step 3/11 : ARG MAKE=make build [2022-05-09T23:04:09.737Z] ---> Running in e2d284b89609 [2022-05-09T23:04:09.737Z] Removing intermediate container e2d284b89609 [2022-05-09T23:04:09.737Z] ---> aa5f0c029a89 [2022-05-09T23:04:09.737Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-09T23:04:09.737Z] ---> Running in c417f88473f2 [2022-05-09T23:04:09.737Z] Removing intermediate container c417f88473f2 [2022-05-09T23:04:09.737Z] ---> c580b811939f [2022-05-09T23:04:09.737Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T23:04:09.737Z] ---> Running in 1474083114a5 [2022-05-09T23:04:09.737Z] Removing intermediate container 1474083114a5 [2022-05-09T23:04:09.737Z] ---> 42770423bc4b [2022-05-09T23:04:09.737Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T23:04:09.737Z] ---> Running in dbd74d16e9eb [2022-05-09T23:04:10.304Z] Removing intermediate container dbd74d16e9eb [2022-05-09T23:04:10.304Z] ---> 45c0a2bfdfa5 [2022-05-09T23:04:10.304Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T23:04:10.570Z] ---> Running in b223edb7e052 [2022-05-09T23:04:10.830Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T23:04:11.769Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T23:04:12.029Z] OK: 221 MiB in 52 packages [2022-05-09T23:04:12.290Z] Removing intermediate container b223edb7e052 [2022-05-09T23:04:12.290Z] ---> a1c84d8675a1 [2022-05-09T23:04:12.290Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-09T23:04:12.551Z] ---> 1eb7aba2ab9f [2022-05-09T23:04:12.551Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T23:04:12.551Z] ---> Running in 62af5bd1d44b [2022-05-09T23:04:14.507Z] Still waiting to schedule task [2022-05-09T23:04:14.507Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-09T23:04:30.676Z] Removing intermediate container 62af5bd1d44b [2022-05-09T23:04:30.676Z] ---> 5d1bf656d3ca [2022-05-09T23:04:30.676Z] Step 10/11 : COPY . . [2022-05-09T23:04:30.676Z] ---> 005e73944e5b [2022-05-09T23:04:30.676Z] Step 11/11 : RUN ${MAKE} [2022-05-09T23:04:30.676Z] ---> Running in 3e304baf03f4 [2022-05-09T23:04:30.676Z] noop [2022-05-09T23:04:30.676Z] Removing intermediate container 3e304baf03f4 [2022-05-09T23:04:30.676Z] ---> 99e106bdcfb7 [2022-05-09T23:04:30.676Z] Successfully built 99e106bdcfb7 [2022-05-09T23:04:30.676Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:04:30.977Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T23:04:30.977Z] . [Pipeline] withDockerContainer [2022-05-09T23:04:31.046Z] prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container [2022-05-09T23:04:31.086Z] $ 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 [2022-05-09T23:04:31.472Z] $ docker top 6d645212a01dae565618ba5bc7cd609052300979d9b9584ac44b938fcc3374d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T23:04:31.826Z] + go version [2022-05-09T23:04:31.826Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-09T23:04:31.843Z] $ docker stop --time=1 6d645212a01dae565618ba5bc7cd609052300979d9b9584ac44b938fcc3374d2 [2022-05-09T23:04:33.117Z] $ docker rm -f 6d645212a01dae565618ba5bc7cd609052300979d9b9584ac44b938fcc3374d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:04:33.520Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T23:04:33.520Z] . [Pipeline] withDockerContainer [2022-05-09T23:04:33.589Z] prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container [2022-05-09T23:04:33.631Z] $ 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 [2022-05-09T23:04:34.079Z] $ docker top f8e81b843c3516cd2a12cb44d705554e372305ee7e8220dee428e30175213393 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T23:04:34.473Z] + make test [2022-05-09T23:04:34.474Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-09T23:04:39.754Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-09T23:04:51.958Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-09T23:04:51.958Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-09T23:04:51.958Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-09T23:04:51.958Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.105s coverage: 23.3% of statements [2022-05-09T23:04:51.958Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-09T23:04:52.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements [2022-05-09T23:04:52.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements [2022-05-09T23:04:52.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements [2022-05-09T23:04:52.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 60.0% of statements [2022-05-09T23:04:52.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-09T23:04:52.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-09T23:04:52.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements [2022-05-09T23:04:52.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-09T23:04:53.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 86.1% of statements [2022-05-09T23:04:53.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-09T23:04:53.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-09T23:04:53.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements [2022-05-09T23:04:53.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.811s coverage: 89.2% of statements [2022-05-09T23:04:53.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-09T23:04:53.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-05-09T23:04:53.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-09T23:05:08.486Z] GO111MODULE=on go vet ./... [2022-05-09T23:05:11.775Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T23:05:11.775Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T23:05:11.775Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T23:05:12.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T23:05:12.068Z] $ docker stop --time=1 f8e81b843c3516cd2a12cb44d705554e372305ee7e8220dee428e30175213393 [2022-05-09T23:05:14.690Z] $ docker rm -f f8e81b843c3516cd2a12cb44d705554e372305ee7e8220dee428e30175213393 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T23:05:15.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T23:05:15.275Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-09T23:05:16.001Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T23:05:16.291Z] + ls -al . [2022-05-09T23:05:16.291Z] total 296 [2022-05-09T23:05:16.291Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 23:05 . [2022-05-09T23:05:16.291Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:03 .. [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 23:03 .dockerignore [2022-05-09T23:05:16.291Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:03 .git [2022-05-09T23:05:16.291Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:03 .github [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 131 May 9 23:03 .gitignore [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 23:03 .golangci.yml [2022-05-09T23:05:16.291Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:03 .semver [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 9 23:03 CHANGELOG.md [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:03 GOVERNANCE.md [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 880 May 9 23:03 Jenkinsfile [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 23:03 LICENSE [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 9 23:03 Makefile [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 23:03 OWNERS.md [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 9 23:03 README.md [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 23:03 VERSION [2022-05-09T23:05:16.291Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:03 bin [2022-05-09T23:05:16.291Z] -rw-r--r-- 1 jenkins jenkins 130819 May 9 23:04 coverage.out [2022-05-09T23:05:16.291Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 23:03 example [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 9 23:03 go.mod [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 9 23:03 go.sum [2022-05-09T23:05:16.291Z] drwxrwxr-x 15 jenkins jenkins 4096 May 9 23:03 internal [2022-05-09T23:05:16.291Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:03 openapi [2022-05-09T23:05:16.291Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 23:03 pkg [2022-05-09T23:05:16.291Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:03 snap [2022-05-09T23:05:16.291Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 23:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:05:16.592Z] + 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 . [2022-05-09T23:05:16.592Z] Sending build context to Docker daemon 9.827MB [2022-05-09T23:05:16.592Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T23:05:16.592Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-09T23:05:16.592Z] ---> 99e106bdcfb7 [2022-05-09T23:05:16.592Z] Step 3/25 : ARG MAKE=make build [2022-05-09T23:05:16.851Z] ---> Running in d0146b2cb008 [2022-05-09T23:05:17.118Z] Removing intermediate container d0146b2cb008 [2022-05-09T23:05:17.118Z] ---> 3b5aefef0080 [2022-05-09T23:05:17.118Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-09T23:05:17.118Z] ---> Running in 25088e7b6851 [2022-05-09T23:05:17.118Z] Removing intermediate container 25088e7b6851 [2022-05-09T23:05:17.118Z] ---> acab3c3eaf5a [2022-05-09T23:05:17.118Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T23:05:17.381Z] ---> Running in 567d15223934 [2022-05-09T23:05:17.381Z] Removing intermediate container 567d15223934 [2022-05-09T23:05:17.381Z] ---> 75786cefc864 [2022-05-09T23:05:17.381Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T23:05:17.381Z] ---> Running in 8462ba3600e4 [2022-05-09T23:05:18.320Z] Removing intermediate container 8462ba3600e4 [2022-05-09T23:05:18.320Z] ---> 847bbad6696b [2022-05-09T23:05:18.320Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T23:05:18.320Z] ---> Running in 8e7b95ea908d [2022-05-09T23:05:18.320Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T23:05:19.259Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T23:05:19.519Z] OK: 221 MiB in 52 packages [2022-05-09T23:05:20.087Z] Removing intermediate container 8e7b95ea908d [2022-05-09T23:05:20.087Z] ---> 0fc34c957222 [2022-05-09T23:05:20.087Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-09T23:05:20.087Z] ---> cb032d16e411 [2022-05-09T23:05:20.087Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T23:05:20.087Z] ---> Running in 55ccd8e5396f [2022-05-09T23:05:20.657Z] Removing intermediate container 55ccd8e5396f [2022-05-09T23:05:20.657Z] ---> 472b87568f92 [2022-05-09T23:05:20.657Z] Step 10/25 : COPY . . [2022-05-09T23:05:21.224Z] ---> d5806d4116ac [2022-05-09T23:05:21.224Z] Step 11/25 : RUN ${MAKE} [2022-05-09T23:05:21.224Z] ---> Running in 0a31408fb838 [2022-05-09T23:05:21.482Z] 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 [2022-05-09T23:05:39.597Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-09T23:05:41.506Z] Removing intermediate container 0a31408fb838 [2022-05-09T23:05:41.506Z] ---> 09ef44e80e50 [2022-05-09T23:05:41.506Z] Step 12/25 : FROM alpine:3.14 [2022-05-09T23:05:41.765Z] 3.14: Pulling from library/alpine [2022-05-09T23:05:41.765Z] 8663204ce13b: Pulling fs layer [2022-05-09T23:05:42.026Z] 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 [2022-05-09T23:05:42.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T23:05:42.423Z] [2022-05-09T23:05:42.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:05:42.726Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T23:05:42.726Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-09T23:05:42.726Z] 5eb5b503b376: Pulling fs layer [2022-05-09T23:05:42.726Z] 5c69ac0246d0: Pulling fs layer [2022-05-09T23:05:42.726Z] ec43610c2a17: Pulling fs layer [2022-05-09T23:05:42.726Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-09T23:05:42.726Z] 3a2ae6a8a46f: Waiting [2022-05-09T23:05:42.726Z] 33b1e0a273af: Pulling fs layer [2022-05-09T23:05:42.726Z] 5d3b04190fa2: Pulling fs layer [2022-05-09T23:05:42.726Z] 2f39f015ded8: Pulling fs layer [2022-05-09T23:05:42.726Z] 2f39f015ded8: Waiting [2022-05-09T23:05:42.726Z] 33b1e0a273af: Waiting [2022-05-09T23:05:42.726Z] 5d3b04190fa2: Waiting [2022-05-09T23:05:42.726Z] 5c69ac0246d0: Download complete [2022-05-09T23:05:42.726Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-09T23:05:42.726Z] 3a2ae6a8a46f: Download complete [2022-05-09T23:05:42.726Z] 33b1e0a273af: Verifying Checksum [2022-05-09T23:05:42.726Z] 33b1e0a273af: Download complete [2022-05-09T23:05:42.726Z] ec43610c2a17: Verifying Checksum [2022-05-09T23:05:42.726Z] ec43610c2a17: Download complete [2022-05-09T23:05:42.726Z] 5d3b04190fa2: Verifying Checksum [2022-05-09T23:05:42.726Z] 5d3b04190fa2: Download complete [2022-05-09T23:05:42.989Z] 5eb5b503b376: Verifying Checksum [2022-05-09T23:05:42.989Z] 5eb5b503b376: Download complete [2022-05-09T23:05:43.557Z] 2f39f015ded8: Download complete [2022-05-09T23:05:44.125Z] 5eb5b503b376: Pull complete [2022-05-09T23:05:44.384Z] 5c69ac0246d0: Pull complete [2022-05-09T23:05:44.950Z] ec43610c2a17: Pull complete [2022-05-09T23:05:44.950Z] 3a2ae6a8a46f: Pull complete [2022-05-09T23:05:45.209Z] 33b1e0a273af: Pull complete [2022-05-09T23:05:45.209Z] 5d3b04190fa2: Pull complete [2022-05-09T23:05:49.403Z] 2f39f015ded8: Pull complete [2022-05-09T23:05:49.403Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-09T23:05:49.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T23:05:49.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-09T23:05:49.468Z] prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container [2022-05-09T23:05:49.507Z] $ 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 [2022-05-09T23:05:51.442Z] $ docker top 6602e1516ed221825973d06c1736068e6bf399cea6816e12ffa33500b306c0ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:05:51.830Z] ---> job-cost.sh [2022-05-09T23:05:51.830Z] lf-activate-venv: SKIPPING [2022-05-09T23:05:51.830Z] INFO: No Stack... [2022-05-09T23:05:52.401Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T23:05:52.660Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T23:05:52.957Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-05-09T23:05:52.957Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T23:05:52.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [2022-05-09T23:05:52.983Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] did not exist. Created. [2022-05-09T23:05:52.984Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T23:05:53.291Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-09T23:05:53.353Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T23:05:53.361Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T23:05:53.389Z] $ docker stop --time=1 6602e1516ed221825973d06c1736068e6bf399cea6816e12ffa33500b306c0ed [2022-05-09T23:05:54.575Z] $ docker rm -f 6602e1516ed221825973d06c1736068e6bf399cea6816e12ffa33500b306c0ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T23:05:54.722Z] Failed in branch amd64 [2022-05-09T23:06:52.894Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-44791 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-05-09T23:06:52.905Z] Running in /w/workspace/device-sdk-go/71 [Pipeline] { [Pipeline] checkout [2022-05-09T23:06:53.371Z] The recommended git tool is: git [2022-05-09T23:06:59.739Z] using credential edgex-jenkins-ssh [2022-05-09T23:06:59.756Z] Cloning the remote Git repository [2022-05-09T23:06:59.825Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-09T23:06:59.923Z] > git init /w/workspace/device-sdk-go/71 # timeout=10 [2022-05-09T23:07:00.037Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-09T23:07:00.038Z] > git --version # timeout=10 [2022-05-09T23:07:00.059Z] > git --version # 'git version 2.25.1' [2022-05-09T23:07:00.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T23:07:00.186Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T23:07:01.796Z] Avoid second fetch [2022-05-09T23:07:01.796Z] Checking out Revision b41f42986e30026cf34f8a06bff8ad408dee209a (main) [2022-05-09T23:07:01.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-09T23:07:01.781Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T23:07:01.824Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T23:07:01.842Z] > git checkout -f b41f42986e30026cf34f8a06bff8ad408dee209a # timeout=10 [2022-05-09T23:07:06.127Z] 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 [2022-05-09T23:07:07.004Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-09T23:07:07.004Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T23:07:07.004Z] Dload Upload Total Spent Left Speed [2022-05-09T23:07:07.004Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-05-09T23:07:07.563Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-09T23:07:07.916Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2022-05-09T23:07:07.916Z] tee /etc/docker/daemon.new [2022-05-09T23:07:07.916Z] { [2022-05-09T23:07:07.916Z] "registry-mirrors": [ [2022-05-09T23:07:07.916Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-09T23:07:07.916Z] ], [2022-05-09T23:07:07.916Z] "bip": "10.250.0.254/24", [2022-05-09T23:07:07.916Z] "hosts": [ [2022-05-09T23:07:07.916Z] "tcp://0.0.0.0:5555", [2022-05-09T23:07:07.916Z] "unix:///var/run/docker.sock" [2022-05-09T23:07:07.916Z] ], [2022-05-09T23:07:07.916Z] "mtu": 1458, [2022-05-09T23:07:07.916Z] "selinux-enabled": true, [2022-05-09T23:07:07.916Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-09T23:07:07.916Z] } [Pipeline] sh [2022-05-09T23:07:08.286Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-09T23:07:08.636Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T23:07:27.019Z] provisioning config files... [2022-05-09T23:07:27.048Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/71@tmp/config3661637891399175638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:07:27.436Z] ---> docker-login.sh [2022-05-09T23:07:27.436Z] nexus3.edgexfoundry.org:10001 [2022-05-09T23:07:28.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:07:28.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:07:28.322Z] Configure a credential helper to remove this warning. See [2022-05-09T23:07:28.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:07:28.322Z] [2022-05-09T23:07:28.322Z] Login Succeeded [2022-05-09T23:07:28.322Z] nexus3.edgexfoundry.org:10002 [2022-05-09T23:07:28.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:07:28.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:07:28.936Z] Configure a credential helper to remove this warning. See [2022-05-09T23:07:28.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:07:28.936Z] [2022-05-09T23:07:28.936Z] Login Succeeded [2022-05-09T23:07:28.936Z] nexus3.edgexfoundry.org:10003 [2022-05-09T23:07:29.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:07:29.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:07:29.546Z] Configure a credential helper to remove this warning. See [2022-05-09T23:07:29.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:07:29.546Z] [2022-05-09T23:07:29.546Z] Login Succeeded [2022-05-09T23:07:29.546Z] nexus3.edgexfoundry.org:10004 [2022-05-09T23:07:29.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:07:30.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:07:30.114Z] Configure a credential helper to remove this warning. See [2022-05-09T23:07:30.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:07:30.114Z] [2022-05-09T23:07:30.114Z] Login Succeeded [2022-05-09T23:07:30.114Z] docker.io [2022-05-09T23:07:30.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T23:07:30.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T23:07:30.992Z] Configure a credential helper to remove this warning. See [2022-05-09T23:07:30.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T23:07:30.992Z] [2022-05-09T23:07:30.992Z] Login Succeeded [2022-05-09T23:07:30.992Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T23:07:31.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T23:07:31.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T23:07:31.451Z] ========================================================= [2022-05-09T23:07:31.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-09T23:07:31.451Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:07:31.827Z] + 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 . [2022-05-09T23:07:32.428Z] Sending build context to Docker daemon 5.221MB [2022-05-09T23:07:32.428Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T23:07:32.428Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-09T23:07:32.428Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-09T23:07:32.428Z] 9b3977197b4f: Pulling fs layer [2022-05-09T23:07:32.428Z] 1a89e8eeedd5: Pulling fs layer [2022-05-09T23:07:32.428Z] 94645a83ff95: Pulling fs layer [2022-05-09T23:07:32.428Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-09T23:07:32.428Z] 0c92f367c5e7: Pulling fs layer [2022-05-09T23:07:32.428Z] 3096ccb668a1: Pulling fs layer [2022-05-09T23:07:32.428Z] e8cf19c19ddd: Pulling fs layer [2022-05-09T23:07:32.428Z] a4caa8a26152: Pulling fs layer [2022-05-09T23:07:32.428Z] 3f3a8bcf1eab: Waiting [2022-05-09T23:07:32.428Z] 0c92f367c5e7: Waiting [2022-05-09T23:07:32.428Z] 3096ccb668a1: Waiting [2022-05-09T23:07:32.428Z] e8cf19c19ddd: Waiting [2022-05-09T23:07:32.428Z] a4caa8a26152: Waiting [2022-05-09T23:07:32.428Z] 94645a83ff95: Download complete [2022-05-09T23:07:32.710Z] 1a89e8eeedd5: Verifying Checksum [2022-05-09T23:07:32.710Z] 1a89e8eeedd5: Download complete [2022-05-09T23:07:32.710Z] 0c92f367c5e7: Verifying Checksum [2022-05-09T23:07:32.710Z] 0c92f367c5e7: Download complete [2022-05-09T23:07:32.710Z] 9b3977197b4f: Verifying Checksum [2022-05-09T23:07:32.710Z] 9b3977197b4f: Download complete [2022-05-09T23:07:32.710Z] 3096ccb668a1: Verifying Checksum [2022-05-09T23:07:32.710Z] 3096ccb668a1: Download complete [2022-05-09T23:07:32.710Z] e8cf19c19ddd: Verifying Checksum [2022-05-09T23:07:32.710Z] e8cf19c19ddd: Download complete [2022-05-09T23:07:33.702Z] 9b3977197b4f: Pull complete [2022-05-09T23:07:34.315Z] 1a89e8eeedd5: Pull complete [2022-05-09T23:07:34.594Z] 94645a83ff95: Pull complete [2022-05-09T23:07:34.878Z] a4caa8a26152: Verifying Checksum [2022-05-09T23:07:34.878Z] a4caa8a26152: Download complete [2022-05-09T23:07:35.481Z] 3f3a8bcf1eab: Download complete [2022-05-09T23:07:47.895Z] 3f3a8bcf1eab: Pull complete [2022-05-09T23:07:48.170Z] 0c92f367c5e7: Pull complete [2022-05-09T23:07:48.448Z] 3096ccb668a1: Pull complete [2022-05-09T23:07:48.722Z] e8cf19c19ddd: Pull complete [2022-05-09T23:07:55.460Z] a4caa8a26152: Pull complete [2022-05-09T23:07:55.460Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-09T23:07:55.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T23:07:55.460Z] ---> 725f1c02e7f9 [2022-05-09T23:07:55.460Z] Step 3/11 : ARG MAKE=make build [2022-05-09T23:07:56.066Z] ---> Running in 194dbecf81e3 [2022-05-09T23:07:56.344Z] Removing intermediate container 194dbecf81e3 [2022-05-09T23:07:56.344Z] ---> 0774a917613e [2022-05-09T23:07:56.344Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-09T23:07:56.344Z] ---> Running in 4f313eb257a0 [2022-05-09T23:07:56.945Z] Removing intermediate container 4f313eb257a0 [2022-05-09T23:07:56.945Z] ---> d3609bca640a [2022-05-09T23:07:56.945Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T23:07:56.945Z] ---> Running in 1ac4509be7d1 [2022-05-09T23:07:57.230Z] Removing intermediate container 1ac4509be7d1 [2022-05-09T23:07:57.230Z] ---> 0bbab8af32f5 [2022-05-09T23:07:57.230Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T23:07:57.519Z] ---> Running in 5b49ab556110 [2022-05-09T23:08:00.951Z] Removing intermediate container 5b49ab556110 [2022-05-09T23:08:00.951Z] ---> 0ab1c9645bbc [2022-05-09T23:08:00.951Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T23:08:00.951Z] ---> Running in a20f4895b485 [2022-05-09T23:08:01.938Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T23:08:02.922Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T23:08:03.914Z] OK: 220 MiB in 52 packages [2022-05-09T23:08:04.914Z] Removing intermediate container a20f4895b485 [2022-05-09T23:08:04.914Z] ---> 353011492536 [2022-05-09T23:08:04.914Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-09T23:08:05.519Z] ---> 9d71138c4183 [2022-05-09T23:08:05.519Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T23:08:05.519Z] ---> Running in b659686b600c [2022-05-09T23:08:52.562Z] Removing intermediate container b659686b600c [2022-05-09T23:08:52.562Z] ---> 89fbf9f0f1a8 [2022-05-09T23:08:52.562Z] Step 10/11 : COPY . . [2022-05-09T23:08:52.562Z] ---> 887597e85f97 [2022-05-09T23:08:52.562Z] Step 11/11 : RUN ${MAKE} [2022-05-09T23:08:52.562Z] ---> Running in 6a88e04a3b91 [2022-05-09T23:08:53.158Z] noop [2022-05-09T23:08:54.143Z] Removing intermediate container 6a88e04a3b91 [2022-05-09T23:08:54.143Z] ---> 0673bb0c9cca [2022-05-09T23:08:54.143Z] Successfully built 0673bb0c9cca [2022-05-09T23:08:54.143Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:08:54.497Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T23:08:54.497Z] . [Pipeline] withDockerContainer [2022-05-09T23:08:54.723Z] prd-ubuntu20.04-docker-arm64-4c-16g-44791 does not seem to be running inside a container [2022-05-09T23:08:54.817Z] $ 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 [2022-05-09T23:08:56.067Z] $ docker top 2333d17b69bcac5dbb4c5cdaf1cadb092423ecd374101be7f75d350d82251c18 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T23:08:56.967Z] + go version [2022-05-09T23:08:56.967Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-09T23:08:56.995Z] $ docker stop --time=1 2333d17b69bcac5dbb4c5cdaf1cadb092423ecd374101be7f75d350d82251c18 [2022-05-09T23:08:58.619Z] $ docker rm -f 2333d17b69bcac5dbb4c5cdaf1cadb092423ecd374101be7f75d350d82251c18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:08:59.210Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T23:08:59.211Z] . [Pipeline] withDockerContainer [2022-05-09T23:08:59.429Z] prd-ubuntu20.04-docker-arm64-4c-16g-44791 does not seem to be running inside a container [2022-05-09T23:08:59.516Z] $ 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 [2022-05-09T23:09:00.734Z] $ docker top 4e83e39b0aa9b1b5ac407c432b4efe575a589f874d110574f19ab6d5ec5e6a81 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T23:09:01.644Z] + make test [2022-05-09T23:09:01.644Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-09T23:09:34.001Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-09T23:11:25.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-09T23:11:25.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-09T23:11:25.916Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-09T23:11:29.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.411s coverage: 23.3% of statements [2022-05-09T23:11:29.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-09T23:11:29.382Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.276s coverage: 27.6% of statements [2022-05-09T23:11:29.382Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.336s coverage: 78.9% of statements [2022-05-09T23:11:29.382Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.283s coverage: 10.8% of statements [2022-05-09T23:11:32.025Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.606s coverage: 60.0% of statements [2022-05-09T23:11:32.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-09T23:11:32.025Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-09T23:11:35.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.473s coverage: 34.8% of statements [2022-05-09T23:11:35.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-09T23:11:38.090Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.308s coverage: 86.1% of statements [2022-05-09T23:11:38.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-09T23:11:38.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-09T23:11:38.090Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.596s coverage: 65.1% of statements [2022-05-09T23:11:40.074Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.228s coverage: 89.2% of statements [2022-05-09T23:11:40.074Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-09T23:11:43.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.248s coverage: 4.7% of statements [2022-05-09T23:11:43.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-09T23:11:43.450Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-09T23:11:43.450Z] GO111MODULE=on go vet ./... [2022-05-09T23:13:20.348Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T23:13:20.348Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T23:13:20.348Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T23:13:20.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T23:13:20.390Z] $ docker stop --time=1 4e83e39b0aa9b1b5ac407c432b4efe575a589f874d110574f19ab6d5ec5e6a81 [2022-05-09T23:13:22.217Z] $ docker rm -f 4e83e39b0aa9b1b5ac407c432b4efe575a589f874d110574f19ab6d5ec5e6a81 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T23:13:23.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T23:13:23.604Z] Warning: overwriting stash ‘coverage-report’ [2022-05-09T23:13:24.257Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T23:13:24.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T23:13:25.012Z] + ls -al . [2022-05-09T23:13:25.012Z] total 292 [2022-05-09T23:13:25.012Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 23:13 . [2022-05-09T23:13:25.012Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:07 .. [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 23:07 .dockerignore [2022-05-09T23:13:25.012Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:07 .git [2022-05-09T23:13:25.012Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:07 .github [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 131 May 9 23:07 .gitignore [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 23:07 .golangci.yml [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 26321 May 9 23:07 CHANGELOG.md [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:07 GOVERNANCE.md [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 880 May 9 23:07 Jenkinsfile [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 23:07 LICENSE [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 9 23:07 Makefile [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 23:07 OWNERS.md [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 9 23:07 README.md [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 23:03 VERSION [2022-05-09T23:13:25.012Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:07 bin [2022-05-09T23:13:25.012Z] -rw-r--r-- 1 jenkins jenkins 130819 May 9 23:11 coverage.out [2022-05-09T23:13:25.012Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 23:07 example [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 9 23:07 go.mod [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 9 23:07 go.sum [2022-05-09T23:13:25.012Z] drwxrwxr-x 15 jenkins jenkins 4096 May 9 23:07 internal [2022-05-09T23:13:25.012Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:07 openapi [2022-05-09T23:13:25.012Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 23:07 pkg [2022-05-09T23:13:25.012Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:07 snap [2022-05-09T23:13:25.012Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 23:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:13:25.360Z] + 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 . [2022-05-09T23:13:25.966Z] Sending build context to Docker daemon 5.352MB [2022-05-09T23:13:25.966Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T23:13:25.966Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-09T23:13:25.966Z] ---> 0673bb0c9cca [2022-05-09T23:13:25.966Z] Step 3/25 : ARG MAKE=make build [2022-05-09T23:13:25.966Z] ---> Running in d7233db16d6e [2022-05-09T23:13:26.246Z] Removing intermediate container d7233db16d6e [2022-05-09T23:13:26.246Z] ---> f82cd0287b04 [2022-05-09T23:13:26.247Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-09T23:13:26.519Z] ---> Running in e38e049a1da1 [2022-05-09T23:13:26.790Z] Removing intermediate container e38e049a1da1 [2022-05-09T23:13:26.790Z] ---> ab235a0c98e6 [2022-05-09T23:13:26.790Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T23:13:26.790Z] ---> Running in 018196f2974d [2022-05-09T23:13:27.061Z] Removing intermediate container 018196f2974d [2022-05-09T23:13:27.061Z] ---> a099d481a9e3 [2022-05-09T23:13:27.061Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T23:13:27.337Z] ---> Running in 6ef220360be1 [2022-05-09T23:13:28.772Z] Removing intermediate container 6ef220360be1 [2022-05-09T23:13:28.772Z] ---> a9fb0d94f0ea [2022-05-09T23:13:28.772Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-09T23:13:28.772Z] ---> Running in f43bb43b5ad0 [2022-05-09T23:13:29.755Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T23:13:30.741Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T23:13:31.728Z] OK: 220 MiB in 52 packages [2022-05-09T23:13:32.740Z] Removing intermediate container f43bb43b5ad0 [2022-05-09T23:13:32.740Z] ---> db2efc4acff5 [2022-05-09T23:13:32.740Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-09T23:13:33.349Z] ---> 00add8b35484 [2022-05-09T23:13:33.350Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T23:13:33.350Z] ---> Running in 3e8811b0ca14 [2022-05-09T23:13:35.336Z] Removing intermediate container 3e8811b0ca14 [2022-05-09T23:13:35.336Z] ---> a1ccb4dbde84 [2022-05-09T23:13:35.336Z] Step 10/25 : COPY . . [2022-05-09T23:13:36.779Z] ---> 6f34c2743788 [2022-05-09T23:13:36.779Z] Step 11/25 : RUN ${MAKE} [2022-05-09T23:13:36.779Z] ---> Running in 122d180d9b10 [2022-05-09T23:13:37.767Z] 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 [2022-05-09T23:15:44.681Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-09T23:15:44.681Z] Removing intermediate container 122d180d9b10 [2022-05-09T23:15:44.681Z] ---> 7bd60f2ddc86 [2022-05-09T23:15:44.681Z] Step 12/25 : FROM alpine:3.14 [2022-05-09T23:15:44.681Z] 3.14: Pulling from library/alpine [2022-05-09T23:15:44.681Z] 455c02918c45: Pulling fs layer [2022-05-09T23:15:44.681Z] 455c02918c45: Verifying Checksum [2022-05-09T23:15:44.681Z] 455c02918c45: Download complete [2022-05-09T23:15:45.285Z] 455c02918c45: Pull complete [2022-05-09T23:15:45.285Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T23:15:45.285Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T23:15:45.285Z] ---> ac73e934f311 [2022-05-09T23:15:45.285Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-09T23:15:45.565Z] ---> Running in bffe685e3d08 [2022-05-09T23:15:45.838Z] Removing intermediate container bffe685e3d08 [2022-05-09T23:15:45.838Z] ---> cfec1d1ff6ba [2022-05-09T23:15:45.838Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T23:15:45.838Z] ---> Running in 0746689581ea [2022-05-09T23:15:47.283Z] Removing intermediate container 0746689581ea [2022-05-09T23:15:47.283Z] ---> 8880526e464f [2022-05-09T23:15:47.283Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-09T23:15:47.563Z] ---> Running in 2b538a0dce8e [2022-05-09T23:15:48.544Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-09T23:15:49.519Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-09T23:15:50.114Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T23:15:50.114Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-09T23:15:50.387Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T23:15:50.387Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-09T23:15:50.387Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-09T23:15:50.661Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T23:15:50.661Z] OK: 8 MiB in 19 packages [2022-05-09T23:15:51.642Z] Removing intermediate container 2b538a0dce8e [2022-05-09T23:15:51.642Z] ---> fb88d802ff2a [2022-05-09T23:15:51.642Z] Step 16/25 : WORKDIR / [2022-05-09T23:15:51.642Z] ---> Running in ca6f167a82ec [2022-05-09T23:15:51.917Z] Removing intermediate container ca6f167a82ec [2022-05-09T23:15:51.917Z] ---> 865fd2250b89 [2022-05-09T23:15:51.917Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-09T23:15:52.515Z] ---> 67926a07e179 [2022-05-09T23:15:52.515Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-09T23:15:53.955Z] ---> 9dda2c145a4b [2022-05-09T23:15:53.955Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-09T23:15:54.560Z] ---> 9ede509b713c [2022-05-09T23:15:54.560Z] Step 20/25 : EXPOSE 59999 [2022-05-09T23:15:54.839Z] ---> Running in f6a90b42991e [2022-05-09T23:15:55.114Z] Removing intermediate container f6a90b42991e [2022-05-09T23:15:55.114Z] ---> 94c286667d1b [2022-05-09T23:15:55.114Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-09T23:15:55.114Z] ---> Running in 43ac2cca6af1 [2022-05-09T23:15:55.389Z] Removing intermediate container 43ac2cca6af1 [2022-05-09T23:15:55.389Z] ---> 1c28d5cd63fe [2022-05-09T23:15:55.389Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-09T23:15:55.670Z] ---> Running in ea60308c368f [2022-05-09T23:15:55.948Z] Removing intermediate container ea60308c368f [2022-05-09T23:15:55.948Z] ---> a32640ccf9d4 [2022-05-09T23:15:55.948Z] Step 23/25 : LABEL arch=arm64 [2022-05-09T23:15:55.948Z] ---> Running in 77992daa4bb9 [2022-05-09T23:15:56.228Z] Removing intermediate container 77992daa4bb9 [2022-05-09T23:15:56.228Z] ---> 4aa9a7843184 [2022-05-09T23:15:56.228Z] Step 24/25 : LABEL git_sha=b41f42986e30026cf34f8a06bff8ad408dee209a [2022-05-09T23:15:56.228Z] ---> Running in 00f00050cc71 [2022-05-09T23:15:56.503Z] Removing intermediate container 00f00050cc71 [2022-05-09T23:15:56.503Z] ---> d8cae6f90430 [2022-05-09T23:15:56.503Z] Step 25/25 : LABEL version=2.2.0-dev.38 [2022-05-09T23:15:56.777Z] ---> Running in 6c9ac8267d60 [2022-05-09T23:15:57.052Z] Removing intermediate container 6c9ac8267d60 [2022-05-09T23:15:57.052Z] ---> 6fce2950afe8 [2022-05-09T23:15:57.052Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T23:15:57.052Z] Successfully built 6fce2950afe8 [2022-05-09T23:15:57.052Z] 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 [2022-05-09T23:15:57.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T23:15:57.500Z] [2022-05-09T23:15:57.500Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:15:57.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T23:15:58.130Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-09T23:15:58.130Z] 8998bd30e6a1: Pulling fs layer [2022-05-09T23:15:58.130Z] 04944245beec: Pulling fs layer [2022-05-09T23:15:58.130Z] 699f458cf7ca: Pulling fs layer [2022-05-09T23:15:58.130Z] 765212b225bb: Pulling fs layer [2022-05-09T23:15:58.130Z] f23df028b6ca: Pulling fs layer [2022-05-09T23:15:58.130Z] d65c8cfc05b1: Pulling fs layer [2022-05-09T23:15:58.130Z] 2437ff75d9bd: Pulling fs layer [2022-05-09T23:15:58.130Z] f23df028b6ca: Waiting [2022-05-09T23:15:58.130Z] d65c8cfc05b1: Waiting [2022-05-09T23:15:58.130Z] 765212b225bb: Waiting [2022-05-09T23:15:58.130Z] 2437ff75d9bd: Waiting [2022-05-09T23:15:58.130Z] 04944245beec: Verifying Checksum [2022-05-09T23:15:58.130Z] 04944245beec: Download complete [2022-05-09T23:15:58.130Z] 765212b225bb: Verifying Checksum [2022-05-09T23:15:58.130Z] 765212b225bb: Download complete [2022-05-09T23:15:58.130Z] d65c8cfc05b1: Verifying Checksum [2022-05-09T23:15:58.130Z] d65c8cfc05b1: Download complete [2022-05-09T23:15:58.408Z] 699f458cf7ca: Verifying Checksum [2022-05-09T23:15:58.408Z] 699f458cf7ca: Download complete [2022-05-09T23:15:58.683Z] 8998bd30e6a1: Verifying Checksum [2022-05-09T23:15:58.683Z] 8998bd30e6a1: Download complete [2022-05-09T23:16:01.319Z] 2437ff75d9bd: Verifying Checksum [2022-05-09T23:16:01.319Z] 2437ff75d9bd: Download complete [2022-05-09T23:16:03.303Z] 8998bd30e6a1: Pull complete [2022-05-09T23:16:03.576Z] 04944245beec: Pull complete [2022-05-09T23:16:05.014Z] 699f458cf7ca: Pull complete [2022-05-09T23:16:05.289Z] 765212b225bb: Pull complete [2022-05-09T23:16:06.271Z] f23df028b6ca: Pull complete [2022-05-09T23:16:06.271Z] d65c8cfc05b1: Pull complete [2022-05-09T23:16:21.384Z] 2437ff75d9bd: Pull complete [2022-05-09T23:16:21.384Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-09T23:16:21.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T23:16:21.384Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-09T23:16:21.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-44791 does not seem to be running inside a container [2022-05-09T23:16:21.732Z] $ 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 [2022-05-09T23:16:24.327Z] $ docker top 369bbc4102131951d0ba9138ead0c9a12f9c03e3dfbe28178b1c7a88ad52a375 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:16:25.270Z] ---> job-cost.sh [2022-05-09T23:16:25.271Z] lf-activate-venv: SKIPPING [2022-05-09T23:16:25.271Z] INFO: No Stack... [2022-05-09T23:16:25.869Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-09T23:16:26.855Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T23:16:27.535Z] + cat /w/workspace/device-sdk-go/71/archives/cost.csv [2022-05-09T23:16:27.535Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T23:16:27.603Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [2022-05-09T23:16:27.611Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] did not exist. Created. [2022-05-09T23:16:27.611Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T23:16:28.297Z] /w/workspace/device-sdk-go/71@tmp/durable-3bd435c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-09T23:16:28.990Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-09T23:16:29.013Z] Warning: overwriting stash ‘stack-cost’ [2022-05-09T23:16:29.078Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T23:16:29.084Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T23:16:29.110Z] $ docker stop --time=1 369bbc4102131951d0ba9138ead0c9a12f9c03e3dfbe28178b1c7a88ad52a375 [2022-05-09T23:16:30.663Z] $ 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 [2022-05-09T23:16:31.685Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-05-09T23:16:31.685Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-09T23:16:31.685Z] total 16 [2022-05-09T23:16:31.685Z] drwxr-xr-x 3 root root 4096 May 9 23:05 . [2022-05-09T23:16:31.685Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 23:05 .. [2022-05-09T23:16:31.685Z] drwxr-xr-x 2 root root 4096 May 9 23:05 cost [2022-05-09T23:16:31.685Z] -rw-r--r-- 1 root root 83 May 9 23:05 cost.csv [2022-05-09T23:16:31.685Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-09T23:16:31.685Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-09T23:16:31.685Z] total 16 [2022-05-09T23:16:31.685Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:05 . [2022-05-09T23:16:31.685Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 23:05 .. [2022-05-09T23:16:31.685Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 23:05 cost [2022-05-09T23:16:31.685Z] -rw-r--r-- 1 jenkins jenkins 83 May 9 23:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:16:31.982Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:16:32.846Z] ---> package-listing.sh [2022-05-09T23:16:32.846Z] ++ facter osfamily [2022-05-09T23:16:32.846Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-09T23:16:33.106Z] + OS_FAMILY=debian [2022-05-09T23:16:33.106Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-05-09T23:16:33.106Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-09T23:16:33.106Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-09T23:16:33.106Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-09T23:16:33.106Z] + PACKAGES=/tmp/packages_start.txt [2022-05-09T23:16:33.106Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-05-09T23:16:33.106Z] + PACKAGES=/tmp/packages_end.txt [2022-05-09T23:16:33.106Z] + case "${OS_FAMILY}" in [2022-05-09T23:16:33.106Z] + dpkg -l [2022-05-09T23:16:33.106Z] + grep '^ii' [2022-05-09T23:16:33.106Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-09T23:16:33.106Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-09T23:16:33.106Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-09T23:16:33.106Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-05-09T23:16:33.106Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-05-09T23:16:33.106Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-05-09T23:16:33.119Z] 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 [2022-05-09T23:16:33.401Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-09T23:16:33.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T23:16:33.963Z] . [Pipeline] withDockerContainer [2022-05-09T23:16:34.031Z] prd-ubuntu20.04-docker-8c-8g-44786 does not seem to be running inside a container [2022-05-09T23:16:34.072Z] $ 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 [2022-05-09T23:16:34.308Z] $ docker top 3c69efe9d41c960d63c6872483760390860340d5cc0f80cc9bd1fc54e69190a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T23:16:34.662Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-09T23:16:34.952Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-09T23:16:35.242Z] + ls /var/log/sa-host [2022-05-09T23:16:35.242Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T23:16:35.327Z] provisioning config files... [2022-05-09T23:16:35.338Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5271476337038873550tmp [Pipeline] { [Pipeline] echo [2022-05-09T23:16:35.354Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:16:35.640Z] ---> create-netrc.sh [Pipeline] } [2022-05-09T23:16:35.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:16:35.974Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-09T23:16:35.983Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:16:36.269Z] ---> sudo-logs.sh [2022-05-09T23:16:36.269Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-09T23:16:36.296Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:16:36.582Z] ---> job-cost.sh [2022-05-09T23:16:36.582Z] lf-activate-venv: SKIPPING [2022-05-09T23:16:36.582Z] DEBUG: total: 0.2199999988079071 [2022-05-09T23:16:36.582Z] INFO: Retrieving Stack Cost... [2022-05-09T23:16:37.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T23:16:37.413Z] INFO: Archiving Costs [Pipeline] echo [2022-05-09T23:16:37.428Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T23:16:37.715Z] ---> logs-deploy.sh [2022-05-09T23:16:37.715Z] lf-activate-venv: SKIPPING [2022-05-09T23:16:37.715Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/71 [2022-05-09T23:16:37.715Z] INFO: archiving workspace using pattern(s): [2022-05-09T23:16:38.653Z] Archives upload complete. [2022-05-09T23:16:38.653Z] INFO: archiving logs to Nexus