Started by upstream project "edgexfoundry/cd-management/release-lts" build number 25 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f384208dfb8ead966c90d33757fc444e5c339218 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-ssh16643723084165697822.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0296cfd70f3001d69e24c2db393b493f66f700db 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-ssh3259307567949507184.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 0296cfd70f3001d69e24c2db393b493f66f700db The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/jakarta/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-gpio/branches/jakarta/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11752205459026992780.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0296cfd70f3001d69e24c2db393b493f66f700db (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0296cfd70f3001d69e24c2db393b493f66f700db # timeout=10 Commit message: "Merge pull request #381 from edgexfoundry/us3314" > 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-ssh1659228999752533958.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-gpio/branches/jakarta/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-gpio/branches/jakarta/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9294250139164677685.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-gpio] ========================================================= [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-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-33531’ is offline Running on prd-ubuntu20.04-docker-8c-8g-33535 in /w/workspace/edgexfoundry_device-gpio_jakarta [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-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_jakarta # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.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-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f384208dfb8ead966c90d33757fc444e5c339218 (jakarta) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.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 f384208dfb8ead966c90d33757fc444e5c339218 # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.0 @78dcb4f" > git rev-list --no-walk f384208dfb8ead966c90d33757fc444e5c339218 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:37:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:37:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:37:45 ========================================================= 21:37:45 EdgeX Global Pipelines Version Info 21:37:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:37:46 ------------------- 21:37:46 stable info: 21:37:46 ------------------- 21:37:46 Commited By: Emilio Reyes emilio.reyes@intel.com 21:37:46 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 21:37:46 Message: update stable to v1.0.225 21:37:47 ------------------- 21:37:47 experimental info: 21:37:47 ------------------- 21:37:47 Commited By: **** collab-it+edgex@linuxfoundation.org 21:37:47 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 21:37:47 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f384208dfb8ead966c90d33757fc444e5c339218 [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f384208 [Pipeline] echo 21:37:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:37:47 provisioning config files... 21:37:47 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config1881682336299701059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:48 ---> docker-login.sh 21:37:48 nexus3.edgexfoundry.org:10001 21:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:48 Configure a credential helper to remove this warning. See 21:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:48 21:37:48 Login Succeeded 21:37:48 nexus3.edgexfoundry.org:10002 21:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:48 Configure a credential helper to remove this warning. See 21:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:48 21:37:48 Login Succeeded 21:37:48 nexus3.edgexfoundry.org:10003 21:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:49 Configure a credential helper to remove this warning. See 21:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:49 21:37:49 Login Succeeded 21:37:49 nexus3.edgexfoundry.org:10004 21:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:49 Configure a credential helper to remove this warning. See 21:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:49 21:37:49 Login Succeeded 21:37:49 docker.io 21:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:49 Configure a credential helper to remove this warning. See 21:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:49 21:37:49 Login Succeeded 21:37:49 ---> docker-login.sh ends [Pipeline] } 21:37:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:37:50 + git rev-list -1 --merges f384208dfb8ead966c90d33757fc444e5c339218~1..f384208dfb8ead966c90d33757fc444e5c339218 [Pipeline] echo 21:37:50 -----------> git rev-list -1 --merges f384208dfb8ead966c90d33757fc444e5c339218~1..f384208dfb8ead966c90d33757fc444e5c339218 f384208dfb8ead966c90d33757fc444e5c339218 [false] [Pipeline] sh 21:37:50 + git log --format=format:%s -1 f384208dfb8ead966c90d33757fc444e5c339218 [Pipeline] echo 21:37:50 ========================================================= 21:37:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 21:37:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:50 + git log --format=format:%s -1 f384208dfb8ead966c90d33757fc444e5c339218 [Pipeline] echo 21:37:50 [semverPrep] GIT_COMMIT: f384208dfb8ead966c90d33757fc444e5c339218, Commit Message: ci(lts-release): LTS release v2.1.0 @78dcb4f [Pipeline] echo 21:37:50 [semverPrep] This is not a build commit. [Pipeline] sh 21:37:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:37:51 + grep -v github /etc/ssh/ssh_known_hosts 21:37:51 + [ -e /tmp/ssh_known_hosts ] 21:37:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:37:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:37:51 + sudo tee -a /etc/ssh/ssh_known_hosts 21:37:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:37:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:37:51 21:37:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:37:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:37:51 latest: Pulling from edgex-devops/py-git-semver 21:37:51 1fe172e4850f: Pulling fs layer 21:37:51 caf521ccaac6: Pulling fs layer 21:37:51 3ead6fa29328: Pulling fs layer 21:37:51 5c2a1cbceb83: Pulling fs layer 21:37:51 a8d5f1318db7: Pulling fs layer 21:37:51 c427282e49a2: Pulling fs layer 21:37:51 1827001aaf11: Pulling fs layer 21:37:51 0714d37db230: Pulling fs layer 21:37:51 ac28cf19c067: Pulling fs layer 21:37:51 ca983d60f3e2: Pulling fs layer 21:37:51 9f894cec8388: Pulling fs layer 21:37:51 5c2a1cbceb83: Waiting 21:37:51 a8d5f1318db7: Waiting 21:37:51 c427282e49a2: Waiting 21:37:51 1827001aaf11: Waiting 21:37:51 0714d37db230: Waiting 21:37:51 ac28cf19c067: Waiting 21:37:51 ca983d60f3e2: Waiting 21:37:51 9f894cec8388: Waiting 21:37:51 caf521ccaac6: Download complete 21:37:51 5c2a1cbceb83: Verifying Checksum 21:37:51 5c2a1cbceb83: Download complete 21:37:52 a8d5f1318db7: Verifying Checksum 21:37:52 a8d5f1318db7: Download complete 21:37:52 3ead6fa29328: Verifying Checksum 21:37:52 3ead6fa29328: Download complete 21:37:52 c427282e49a2: Verifying Checksum 21:37:52 c427282e49a2: Download complete 21:37:52 0714d37db230: Verifying Checksum 21:37:52 0714d37db230: Download complete 21:37:52 ac28cf19c067: Verifying Checksum 21:37:52 ac28cf19c067: Download complete 21:37:52 ca983d60f3e2: Download complete 21:37:52 9f894cec8388: Verifying Checksum 21:37:52 9f894cec8388: Download complete 21:37:52 1fe172e4850f: Verifying Checksum 21:37:52 1fe172e4850f: Download complete 21:37:52 1827001aaf11: Verifying Checksum 21:37:52 1827001aaf11: Download complete 21:37:53 1fe172e4850f: Pull complete 21:37:53 caf521ccaac6: Pull complete 21:37:54 3ead6fa29328: Pull complete 21:37:54 5c2a1cbceb83: Pull complete 21:37:54 a8d5f1318db7: Pull complete 21:37:54 c427282e49a2: Pull complete 21:37:56 1827001aaf11: Pull complete 21:37:56 0714d37db230: Pull complete 21:37:56 ac28cf19c067: Pull complete 21:37:56 ca983d60f3e2: Pull complete 21:37:56 9f894cec8388: Pull complete 21:37:56 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:37:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:37:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 21:37:57 prd-ubuntu20.04-docker-8c-8g-33535 does not seem to be running inside a container 21:37:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:37:59 $ docker top d9f719e9b284ee70a8ea1661b2d34a1dddc669cd1dd37719ec30ef9ba4f7d213 -eo pid,comm 21:37:59 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). 21:37:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:37:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:37:59 [ssh-agent] Looking for ssh-agent implementation... 21:37:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:37:59 $ docker exec d9f719e9b284ee70a8ea1661b2d34a1dddc669cd1dd37719ec30ef9ba4f7d213 ssh-agent 21:37:59 SSH_AUTH_SOCK=/tmp/ssh-NjfUMxcVxuDH/agent.33 21:37:59 SSH_AGENT_PID=39 21:37:59 Running ssh-add (command line suppressed) 21:37:59 Identity added: /w/workspace/edgexfoundry_device-gpio_jakarta@tmp/private_key_1423548372766435220.key (/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/private_key_1423548372766435220.key) 21:37:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:00 + git tag --points-at f384208dfb8ead966c90d33757fc444e5c339218 [Pipeline] } 21:38:00 $ docker exec --env ******** --env ******** d9f719e9b284ee70a8ea1661b2d34a1dddc669cd1dd37719ec30ef9ba4f7d213 ssh-agent -k 21:38:00 unset SSH_AUTH_SOCK; 21:38:00 unset SSH_AGENT_PID; 21:38:00 echo Agent pid 39 killed; 21:38:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:38:00 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.0' [Pipeline] sshagent 21:38:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:38:00 [ssh-agent] Looking for ssh-agent implementation... 21:38:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:38:00 $ docker exec d9f719e9b284ee70a8ea1661b2d34a1dddc669cd1dd37719ec30ef9ba4f7d213 ssh-agent 21:38:00 SSH_AUTH_SOCK=/tmp/ssh-Zl0VWZsm2Nqq/agent.71 21:38:00 SSH_AGENT_PID=78 21:38:00 Running ssh-add (command line suppressed) 21:38:00 Identity added: /w/workspace/edgexfoundry_device-gpio_jakarta@tmp/private_key_1682878657743329037.key (/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/private_key_1682878657743329037.key) 21:38:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:38:00 + git semver init 21:38:01 2022-04-27 21:38:01,165 [run_init] DEBUG init version:0.0.0 force:False 21:38:01 2022-04-27 21:38:01,165 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_jakarta/.semver 21:38:01 2022-04-27 21:38:01,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_jakarta/.semver 21:38:01 2022-04-27 21:38:01,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_jakarta/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_jakarta, universal_newlines=False, shell=None, istream=None) 21:38:02 2022-04-27 21:38:02,129 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_jakarta/.git/info/exclude 21:38:02 2022-04-27 21:38:02,130 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_jakarta/.semver/jakarta with force:False 21:38:02 2022-04-27 21:38:02,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_jakarta/.semver/jakarta 21:38:02 2022-04-27 21:38:02,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_jakarta/.semver/jakarta 21:38:02 2.1.0 [Pipeline] } 21:38:02 $ docker exec --env ******** --env ******** d9f719e9b284ee70a8ea1661b2d34a1dddc669cd1dd37719ec30ef9ba4f7d213 ssh-agent -k 21:38:02 unset SSH_AUTH_SOCK; 21:38:02 unset SSH_AGENT_PID; 21:38:02 echo Agent pid 78 killed; 21:38:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:38:02 + git semver [Pipeline] } 21:38:02 $ docker stop --time=1 d9f719e9b284ee70a8ea1661b2d34a1dddc669cd1dd37719ec30ef9ba4f7d213 21:38:04 $ docker rm -f d9f719e9b284ee70a8ea1661b2d34a1dddc669cd1dd37719ec30ef9ba4f7d213 [Pipeline] // withDockerContainer [Pipeline] sh 21:38:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:38:04 Stashed 1 file(s) [Pipeline] echo 21:38:04 [edgeXSemver]: initialized semver on version 2.1.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:05 + git checkout f384208dfb8ead966c90d33757fc444e5c339218 21:38:05 HEAD is now at f384208 ci(lts-release): LTS release v2.1.0 @78dcb4f [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:05 provisioning config files... 21:38:05 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config3584783744040517922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:05 ---> docker-login.sh 21:38:05 nexus3.edgexfoundry.org:10001 21:38:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:05 Configure a credential helper to remove this warning. See 21:38:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:05 21:38:05 Login Succeeded 21:38:05 nexus3.edgexfoundry.org:10002 21:38:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:05 Configure a credential helper to remove this warning. See 21:38:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:05 21:38:05 Login Succeeded 21:38:05 nexus3.edgexfoundry.org:10003 21:38:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:06 Configure a credential helper to remove this warning. See 21:38:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:06 21:38:06 Login Succeeded 21:38:06 nexus3.edgexfoundry.org:10004 21:38:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:06 Configure a credential helper to remove this warning. See 21:38:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:06 21:38:06 Login Succeeded 21:38:06 docker.io 21:38:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:06 Configure a credential helper to remove this warning. See 21:38:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:06 21:38:06 Login Succeeded 21:38:06 ---> docker-login.sh ends [Pipeline] } 21:38:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:38:06 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:06 ========================================================= 21:38:06 [edgeXBuildGoApp] Building Code With image [golang:1.17-alpine] 21:38:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:38:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=golang:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:38:07 Sending build context to Docker daemon 26.47MB 21:38:07 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:38:07 Step 2/11 : FROM ${BASE} AS builder 21:38:07 1.17-alpine: Pulling from library/golang 21:38:08 df9b9388f04a: Pulling fs layer 21:38:08 52dc419b0ee2: Pulling fs layer 21:38:08 25bc292e5bac: Pulling fs layer 21:38:08 447a8d7240ef: Pulling fs layer 21:38:08 f1849c0ca460: Pulling fs layer 21:38:08 447a8d7240ef: Waiting 21:38:08 f1849c0ca460: Waiting 21:38:08 25bc292e5bac: Download complete 21:38:08 52dc419b0ee2: Download complete 21:38:08 df9b9388f04a: Verifying Checksum 21:38:08 df9b9388f04a: Download complete 21:38:08 f1849c0ca460: Verifying Checksum 21:38:08 f1849c0ca460: Download complete 21:38:08 df9b9388f04a: Pull complete 21:38:08 52dc419b0ee2: Pull complete 21:38:08 25bc292e5bac: Pull complete 21:38:09 447a8d7240ef: Verifying Checksum 21:38:09 447a8d7240ef: Download complete 21:38:13 447a8d7240ef: Pull complete 21:38:13 f1849c0ca460: Pull complete 21:38:13 Digest: sha256:5c2fcfeb58ad9d4948d94e7b2d0432a9bc38bee0f8dfb41d383f38a18b75c38d 21:38:13 Status: Downloaded newer image for golang:1.17-alpine 21:38:13 ---> 3156fdeb9740 21:38:13 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:38:14 ---> Running in ec6f835dca08 21:38:14 Removing intermediate container ec6f835dca08 21:38:14 ---> b07e363cc5eb 21:38:14 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 21:38:14 ---> Running in 0bbb6b52e797 21:38:14 Removing intermediate container 0bbb6b52e797 21:38:14 ---> 2fd18a3f09ea 21:38:14 Step 5/11 : WORKDIR /device-gpio 21:38:14 ---> Running in 4606a123849b 21:38:15 Removing intermediate container 4606a123849b 21:38:15 ---> 811d43b16e7d 21:38:15 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:38:15 ---> Running in 8a34b94a5eb9 21:38:15 Removing intermediate container 8a34b94a5eb9 21:38:15 ---> db28d294746d 21:38:15 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:38:15 ---> Running in 51ea9b45a42a 21:38:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:38:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:38:17 (1/31) Installing libgcc (10.3.1_git20211027-r0) 21:38:17 (2/31) Installing libstdc++ (10.3.1_git20211027-r0) 21:38:17 (3/31) Installing binutils (2.37-r3) 21:38:17 (4/31) Installing libgomp (10.3.1_git20211027-r0) 21:38:17 (5/31) Installing libatomic (10.3.1_git20211027-r0) 21:38:17 (6/31) Installing libgphobos (10.3.1_git20211027-r0) 21:38:18 (7/31) Installing gmp (6.2.1-r1) 21:38:18 (8/31) Installing isl22 (0.22-r0) 21:38:18 (9/31) Installing mpfr4 (4.1.0-r0) 21:38:18 (10/31) Installing mpc1 (1.2.1-r0) 21:38:18 (11/31) Installing gcc (10.3.1_git20211027-r0) 21:38:19 (12/31) Installing brotli-libs (1.0.9-r5) 21:38:19 (13/31) Installing nghttp2-libs (1.46.0-r0) 21:38:19 (14/31) Installing libcurl (7.80.0-r1) 21:38:19 (15/31) Installing expat (2.4.7-r0) 21:38:19 Still waiting to schedule task 21:38:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:38:20 (16/31) Installing pcre2 (10.39-r0) 21:38:20 (17/31) Installing git (2.34.2-r0) 21:38:20 (18/31) Installing musl-dev (1.2.2-r7) 21:38:22 (19/31) Installing libc-dev (0.7.2-r3) 21:38:22 (20/31) Installing libsodium (1.0.18-r0) 21:38:22 (21/31) Installing pkgconf (1.8.0-r0) 21:38:22 (22/31) Installing libsodium-dev (1.0.18-r0) 21:38:22 (23/31) Installing make (4.3-r0) 21:38:22 (24/31) Installing openssh-keygen (8.8_p1-r1) 21:38:22 (25/31) Installing ncurses-terminfo-base (6.3_p20211120-r0) 21:38:22 (26/31) Installing ncurses-libs (6.3_p20211120-r0) 21:38:22 (27/31) Installing libedit (20210910.3.1-r0) 21:38:23 (28/31) Installing openssh-client-common (8.8_p1-r1) 21:38:23 (29/31) Installing openssh-client-default (8.8_p1-r1) 21:38:23 (30/31) Installing libzmq (4.3.4-r0) 21:38:23 (31/31) Installing zeromq-dev (4.3.4-r0) 21:38:23 Executing busybox-1.34.1-r5.trigger 21:38:23 OK: 146 MiB in 46 packages 21:38:25 Removing intermediate container 51ea9b45a42a 21:38:25 ---> 611e1bccdb82 21:38:25 Step 8/11 : COPY go.mod vendor* ./ 21:38:26 ---> f91126d8fbf3 21:38:26 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:26 ---> Running in a100dac758b4 21:38:53 Removing intermediate container a100dac758b4 21:38:53 ---> 220781efe716 21:38:53 Step 10/11 : COPY . . 21:38:54 ---> 6af38b3278d1 21:38:54 Step 11/11 : RUN ${MAKE} 21:38:54 ---> Running in 48895b319f45 21:38:55 Removing intermediate container 48895b319f45 21:38:55 ---> 0090466cb728 21:38:55 [Warning] One or more build-args [MAKE] were not consumed 21:38:55 Successfully built 0090466cb728 21:38:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:38:55 + docker inspect -f . ci-base-image-x86_64 21:38:55 . [Pipeline] withDockerContainer 21:38:55 prd-ubuntu20.04-docker-8c-8g-33535 does not seem to be running inside a container 21:38:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 21:38:56 $ docker top d3d922fa7ed4f9c6aed30b90942c3b4d1112643c7f392607bcd392f64a6a2fd2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:56 + go version 21:38:56 go version go1.17.9 linux/amd64 [Pipeline] } 21:38:56 $ docker stop --time=1 d3d922fa7ed4f9c6aed30b90942c3b4d1112643c7f392607bcd392f64a6a2fd2 21:38:57 $ docker rm -f d3d922fa7ed4f9c6aed30b90942c3b4d1112643c7f392607bcd392f64a6a2fd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:38:58 + docker inspect -f . ci-base-image-x86_64 21:38:58 . [Pipeline] withDockerContainer 21:38:58 prd-ubuntu20.04-docker-8c-8g-33535 does not seem to be running inside a container 21:38:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 21:38:58 $ docker top f4703b4637f31264315f84d8faca6099bf15ba6ac3de9a6acb08ee0c63ad1961 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:38:59 + make test 21:38:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:38:59 ? github.com/edgexfoundry/device-gpio [no test files] 21:39:06 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:39:06 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:39:06 WARNING: go linter not installed. To install, run\n curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.42.1 21:39:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:39:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:39:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:39:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:39:08 ./bin/test-attribution-txt.sh 21:39:08 make: ./bin/test-attribution-txt.sh: No such file or directory 21:39:08 make: *** [Makefile:46: test] Error 127 [Pipeline] } 21:39:08 $ docker stop --time=1 f4703b4637f31264315f84d8faca6099bf15ba6ac3de9a6acb08ee0c63ad1961 21:39:10 $ docker rm -f f4703b4637f31264315f84d8faca6099bf15ba6ac3de9a6acb08ee0c63ad1961 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [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 21:39:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:10 21:39:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:39:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:11 latest: Pulling from edgex-lftools-log-publisher 21:39:11 5eb5b503b376: Pulling fs layer 21:39:11 5c69ac0246d0: Pulling fs layer 21:39:11 ec43610c2a17: Pulling fs layer 21:39:11 3a2ae6a8a46f: Pulling fs layer 21:39:11 33b1e0a273af: Pulling fs layer 21:39:11 5d3b04190fa2: Pulling fs layer 21:39:11 2f39f015ded8: Pulling fs layer 21:39:11 33b1e0a273af: Waiting 21:39:11 2f39f015ded8: Waiting 21:39:11 5d3b04190fa2: Waiting 21:39:11 3a2ae6a8a46f: Waiting 21:39:11 5c69ac0246d0: Verifying Checksum 21:39:11 5c69ac0246d0: Download complete 21:39:11 3a2ae6a8a46f: Download complete 21:39:11 33b1e0a273af: Download complete 21:39:11 ec43610c2a17: Verifying Checksum 21:39:11 ec43610c2a17: Download complete 21:39:11 5d3b04190fa2: Verifying Checksum 21:39:11 5d3b04190fa2: Download complete 21:39:11 5eb5b503b376: Verifying Checksum 21:39:11 5eb5b503b376: Download complete 21:39:12 2f39f015ded8: Download complete 21:39:12 5eb5b503b376: Pull complete 21:39:12 5c69ac0246d0: Pull complete 21:39:13 ec43610c2a17: Pull complete 21:39:13 3a2ae6a8a46f: Pull complete 21:39:13 33b1e0a273af: Pull complete 21:39:13 5d3b04190fa2: Pull complete 21:39:17 2f39f015ded8: Pull complete 21:39:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:39:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:39:17 prd-ubuntu20.04-docker-8c-8g-33535 does not seem to be running inside a container 21:39:18 $ 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-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 21:39:20 $ docker top 53b9288e007019763a6e07c290d11a371327f9131891f2477c0ed15c7d8cfc90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:20 ---> job-cost.sh 21:39:20 lf-activate-venv: SKIPPING 21:39:20 INFO: No Stack... 21:39:21 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:21 INFO: Archiving Costs [Pipeline] sh 21:39:21 + cat /w/workspace/edgexfoundry_device-gpio_jakarta/archives/cost.csv 21:39:21 + cut -d, -f6 [Pipeline] lock 21:39:21 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-jakarta-2-stack-cost] 21:39:22 Resource [jenkins-edgexfoundry-device-gpio-jakarta-2-stack-cost] did not exist. Created. 21:39:22 Lock acquired on [jenkins-edgexfoundry-device-gpio-jakarta-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:39:22 + echo total: 0.2199999988079071 [Pipeline] stash 21:39:22 Stashed 1 file(s) [Pipeline] } 21:39:22 Lock released on resource [jenkins-edgexfoundry-device-gpio-jakarta-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:39:22 $ docker stop --time=1 53b9288e007019763a6e07c290d11a371327f9131891f2477c0ed15c7d8cfc90 21:39:23 $ docker rm -f 53b9288e007019763a6e07c290d11a371327f9131891f2477c0ed15c7d8cfc90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:39:23 Failed in branch amd64 21:41:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33539 in /w/workspace/edgexfoundry_device-gpio_jakarta [Pipeline] { [Pipeline] ws 21:41:03 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 21:41:04 The recommended git tool is: git 21:41:13 using credential edgex-jenkins-ssh 21:41:13 Cloning the remote Git repository 21:41:13 Cloning repository git@github.com:edgexfoundry/device-gpio.git 21:41:13 > git init /w/workspace/device-gpio/2 # timeout=10 21:41:13 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:41:13 > git --version # timeout=10 21:41:13 > git --version # 'git version 2.25.1' 21:41:13 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:41:16 Avoid second fetch 21:41:16 Checking out Revision f384208dfb8ead966c90d33757fc444e5c339218 (jakarta) 21:41:15 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:41:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:41:16 > git config core.sparsecheckout # timeout=10 21:41:16 > git checkout -f f384208dfb8ead966c90d33757fc444e5c339218 # timeout=10 21:41:21 Commit message: "ci(lts-release): LTS release v2.1.0 @78dcb4f" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:41:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:41:22 % Total % Received % Xferd Average Speed Time Time Time Current 21:41:22 Dload Upload Total Spent Left Speed 21:41:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 21:41:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:41:23 + sudo tee /etc/docker/daemon.new 21:41:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:41:23 { 21:41:23 "registry-mirrors": [ 21:41:23 "https://nexus3.edgexfoundry.org:10001" 21:41:23 ], 21:41:23 "bip": "10.250.0.254/24", 21:41:23 "hosts": [ 21:41:23 "tcp://0.0.0.0:5555", 21:41:23 "unix:///var/run/docker.sock" 21:41:23 ], 21:41:23 "mtu": 1458, 21:41:23 "selinux-enabled": true, 21:41:23 "seccomp-profile": "/etc/docker/seccomp.json" 21:41:23 } [Pipeline] sh 21:41:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:41:24 + sudo service docker restart [Pipeline] sh 21:41:42 + git checkout f384208dfb8ead966c90d33757fc444e5c339218 21:41:43 HEAD is now at f384208 ci(lts-release): LTS release v2.1.0 @78dcb4f [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:43 provisioning config files... 21:41:43 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config8741500611971037055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:43 ---> docker-login.sh 21:41:43 nexus3.edgexfoundry.org:10001 21:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:44 Configure a credential helper to remove this warning. See 21:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:44 21:41:44 Login Succeeded 21:41:44 nexus3.edgexfoundry.org:10002 21:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:44 Configure a credential helper to remove this warning. See 21:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:44 21:41:44 Login Succeeded 21:41:44 nexus3.edgexfoundry.org:10003 21:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:45 Configure a credential helper to remove this warning. See 21:41:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:45 21:41:45 Login Succeeded 21:41:45 nexus3.edgexfoundry.org:10004 21:41:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:46 Configure a credential helper to remove this warning. See 21:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:46 21:41:46 Login Succeeded 21:41:46 docker.io 21:41:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:46 Configure a credential helper to remove this warning. See 21:41:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:46 21:41:46 Login Succeeded 21:41:46 ---> docker-login.sh ends [Pipeline] } 21:41:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:41:47 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:47 ========================================================= 21:41:47 [edgeXBuildGoApp] Building Code With image [golang:1.17-alpine] 21:41:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:41:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=golang:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:41:49 Sending build context to Docker daemon 18.76MB 21:41:49 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:41:49 Step 2/11 : FROM ${BASE} AS builder 21:41:50 1.17-alpine: Pulling from library/golang 21:41:50 9981e73032c8: Pulling fs layer 21:41:50 c7637d0a7b49: Pulling fs layer 21:41:50 bda57b85efde: Pulling fs layer 21:41:50 b49713a5d3bb: Pulling fs layer 21:41:50 d8fb42bb649c: Pulling fs layer 21:41:50 b49713a5d3bb: Waiting 21:41:50 d8fb42bb649c: Waiting 21:41:50 bda57b85efde: Verifying Checksum 21:41:50 bda57b85efde: Download complete 21:41:50 c7637d0a7b49: Verifying Checksum 21:41:50 c7637d0a7b49: Download complete 21:41:50 9981e73032c8: Verifying Checksum 21:41:50 9981e73032c8: Download complete 21:41:50 d8fb42bb649c: Verifying Checksum 21:41:50 d8fb42bb649c: Download complete 21:41:51 9981e73032c8: Pull complete 21:41:51 c7637d0a7b49: Pull complete 21:41:52 bda57b85efde: Pull complete 21:41:53 b49713a5d3bb: Verifying Checksum 21:41:53 b49713a5d3bb: Download complete 21:42:05 b49713a5d3bb: Pull complete 21:42:05 d8fb42bb649c: Pull complete 21:42:05 Digest: sha256:5c2fcfeb58ad9d4948d94e7b2d0432a9bc38bee0f8dfb41d383f38a18b75c38d 21:42:05 Status: Downloaded newer image for golang:1.17-alpine 21:42:05 ---> e2e90ccf33fb 21:42:05 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:42:06 ---> Running in 70aef1455d80 21:42:06 Removing intermediate container 70aef1455d80 21:42:06 ---> 1cd2f39f3400 21:42:06 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 21:42:06 ---> Running in 0cb4819c49d2 21:42:07 Removing intermediate container 0cb4819c49d2 21:42:07 ---> b290fb05e062 21:42:07 Step 5/11 : WORKDIR /device-gpio 21:42:07 ---> Running in a14eb614babd 21:42:08 Removing intermediate container a14eb614babd 21:42:08 ---> f40b6e3b5da9 21:42:08 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:42:08 ---> Running in 4efd89225d72 21:42:10 Removing intermediate container 4efd89225d72 21:42:10 ---> 9bbf0c5be236 21:42:10 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:42:10 ---> Running in 690a9f13a0f9 21:42:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:42:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:42:12 (1/31) Installing libgcc (10.3.1_git20211027-r0) 21:42:12 (2/31) Installing libstdc++ (10.3.1_git20211027-r0) 21:42:13 (3/31) Installing binutils (2.37-r3) 21:42:13 (4/31) Installing libgomp (10.3.1_git20211027-r0) 21:42:13 (5/31) Installing libatomic (10.3.1_git20211027-r0) 21:42:13 (6/31) Installing libgphobos (10.3.1_git20211027-r0) 21:42:14 (7/31) Installing gmp (6.2.1-r1) 21:42:14 (8/31) Installing isl22 (0.22-r0) 21:42:14 (9/31) Installing mpfr4 (4.1.0-r0) 21:42:14 (10/31) Installing mpc1 (1.2.1-r0) 21:42:15 (11/31) Installing gcc (10.3.1_git20211027-r0) 21:42:17 (12/31) Installing brotli-libs (1.0.9-r5) 21:42:17 (13/31) Installing nghttp2-libs (1.46.0-r0) 21:42:17 (14/31) Installing libcurl (7.80.0-r1) 21:42:17 (15/31) Installing expat (2.4.7-r0) 21:42:17 (16/31) Installing pcre2 (10.39-r0) 21:42:17 (17/31) Installing git (2.34.2-r0) 21:42:18 (18/31) Installing musl-dev (1.2.2-r7) 21:42:18 (19/31) Installing libc-dev (0.7.2-r3) 21:42:18 (20/31) Installing libsodium (1.0.18-r0) 21:42:18 (21/31) Installing pkgconf (1.8.0-r0) 21:42:18 (22/31) Installing libsodium-dev (1.0.18-r0) 21:42:19 (23/31) Installing make (4.3-r0) 21:42:19 (24/31) Installing openssh-keygen (8.8_p1-r1) 21:42:19 (25/31) Installing ncurses-terminfo-base (6.3_p20211120-r0) 21:42:19 (26/31) Installing ncurses-libs (6.3_p20211120-r0) 21:42:19 (27/31) Installing libedit (20210910.3.1-r0) 21:42:19 (28/31) Installing openssh-client-common (8.8_p1-r1) 21:42:19 (29/31) Installing openssh-client-default (8.8_p1-r1) 21:42:19 (30/31) Installing libzmq (4.3.4-r0) 21:42:19 (31/31) Installing zeromq-dev (4.3.4-r0) 21:42:19 Executing busybox-1.34.1-r5.trigger 21:42:19 OK: 136 MiB in 46 packages 21:42:25 Removing intermediate container 690a9f13a0f9 21:42:25 ---> 4b0e381991af 21:42:25 Step 8/11 : COPY go.mod vendor* ./ 21:42:28 ---> a0ea9005859c 21:42:28 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:42:28 ---> Running in d982d006a499 21:44:05 Removing intermediate container d982d006a499 21:44:05 ---> 5bfd67769ab2 21:44:05 Step 10/11 : COPY . . 21:44:05 ---> 8f70f2eb4241 21:44:05 Step 11/11 : RUN ${MAKE} 21:44:05 ---> Running in bb9a0d2b36ef 21:44:05 Removing intermediate container bb9a0d2b36ef 21:44:05 ---> b5b55d85077a 21:44:05 [Warning] One or more build-args [MAKE] were not consumed 21:44:05 Successfully built b5b55d85077a 21:44:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:44:05 + docker inspect -f . ci-base-image-arm64 21:44:05 . [Pipeline] withDockerContainer 21:44:06 prd-ubuntu20.04-docker-arm64-4c-16g-33539 does not seem to be running inside a container 21:44:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:44:07 $ docker top 30ffb04c2aa17e225fccf888118777ef90e9ecc63b878b91adc9ac3dedc682be -eo pid,comm [Pipeline] { [Pipeline] sh 21:44:08 + go version 21:44:08 go version go1.17.9 linux/arm64 [Pipeline] } 21:44:08 $ docker stop --time=1 30ffb04c2aa17e225fccf888118777ef90e9ecc63b878b91adc9ac3dedc682be 21:44:10 $ docker rm -f 30ffb04c2aa17e225fccf888118777ef90e9ecc63b878b91adc9ac3dedc682be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:44:11 + docker inspect -f . ci-base-image-arm64 21:44:11 . [Pipeline] withDockerContainer 21:44:11 prd-ubuntu20.04-docker-arm64-4c-16g-33539 does not seem to be running inside a container 21:44:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:44:13 $ docker top 513cca6261e14833b59d952190a164027139d9e83eda27811dd754c7af4516ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:44:13 + make test 21:44:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:44:15 ? github.com/edgexfoundry/device-gpio [no test files] 21:45:12 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:45:12 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:45:12 WARNING: go linter not installed. To install, run\n curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.42.1 21:45:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:45:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:45:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:45:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:45:30 ./bin/test-attribution-txt.sh 21:45:30 make: ./bin/test-attribution-txt.sh: No such file or directory 21:45:30 make: *** [Makefile:46: test] Error 127 [Pipeline] } 21:45:30 $ docker stop --time=1 513cca6261e14833b59d952190a164027139d9e83eda27811dd754c7af4516ad 21:45:32 $ docker rm -f 513cca6261e14833b59d952190a164027139d9e83eda27811dd754c7af4516ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:45:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:45:33 21:45:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:45:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:45:33 arm64: Pulling from edgex-lftools-log-publisher 21:45:33 8998bd30e6a1: Pulling fs layer 21:45:33 04944245beec: Pulling fs layer 21:45:33 699f458cf7ca: Pulling fs layer 21:45:33 765212b225bb: Pulling fs layer 21:45:33 f23df028b6ca: Pulling fs layer 21:45:33 d65c8cfc05b1: Pulling fs layer 21:45:33 2437ff75d9bd: Pulling fs layer 21:45:33 765212b225bb: Waiting 21:45:33 d65c8cfc05b1: Waiting 21:45:33 2437ff75d9bd: Waiting 21:45:33 f23df028b6ca: Waiting 21:45:33 04944245beec: Download complete 21:45:33 765212b225bb: Download complete 21:45:34 f23df028b6ca: Verifying Checksum 21:45:34 f23df028b6ca: Download complete 21:45:34 d65c8cfc05b1: Verifying Checksum 21:45:34 d65c8cfc05b1: Download complete 21:45:34 699f458cf7ca: Verifying Checksum 21:45:34 699f458cf7ca: Download complete 21:45:34 8998bd30e6a1: Verifying Checksum 21:45:34 8998bd30e6a1: Download complete 21:45:37 2437ff75d9bd: Verifying Checksum 21:45:37 2437ff75d9bd: Download complete 21:45:39 8998bd30e6a1: Pull complete 21:45:39 04944245beec: Pull complete 21:45:41 699f458cf7ca: Pull complete 21:45:41 765212b225bb: Pull complete 21:45:42 f23df028b6ca: Pull complete 21:45:42 d65c8cfc05b1: Pull complete 21:45:57 2437ff75d9bd: Pull complete 21:45:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:45:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:45:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:45:57 prd-ubuntu20.04-docker-arm64-4c-16g-33539 does not seem to be running inside a container 21:45:57 $ 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-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:46:00 $ docker top c317ec9260c4b0c250f484822bb04cccd2ad02a14261c6298f6b960dc50a4914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:01 ---> job-cost.sh 21:46:01 lf-activate-venv: SKIPPING 21:46:01 INFO: No Stack... 21:46:01 INFO: Retrieving Pricing Info for: v3-standard-4 21:46:02 INFO: Archiving Costs [Pipeline] sh 21:46:03 + cat /w/workspace/device-gpio/2/archives/cost.csv 21:46:03 + cut -d, -f6 [Pipeline] lock 21:46:03 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-jakarta-2-stack-cost] 21:46:03 Resource [jenkins-edgexfoundry-device-gpio-jakarta-2-stack-cost] did not exist. Created. 21:46:03 Lock acquired on [jenkins-edgexfoundry-device-gpio-jakarta-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:46:04 /w/workspace/device-gpio/2@tmp/durable-384f627e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:46:04 + echo total: 0.10999999940395355 [Pipeline] stash 21:46:04 Warning: overwriting stash ‘stack-cost’ 21:46:05 Stashed 1 file(s) [Pipeline] } 21:46:05 Lock released on resource [jenkins-edgexfoundry-device-gpio-jakarta-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:46:05 $ docker stop --time=1 c317ec9260c4b0c250f484822bb04cccd2ad02a14261c6298f6b960dc50a4914 21:46:07 $ docker rm -f c317ec9260c4b0c250f484822bb04cccd2ad02a14261c6298f6b960dc50a4914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:46:07 Failed in branch arm64 [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 21:46:07 + [ -d /w/workspace/edgexfoundry_device-gpio_jakarta/archives ] 21:46:07 + ls -al /w/workspace/edgexfoundry_device-gpio_jakarta/archives 21:46:07 total 16 21:46:07 drwxr-xr-x 3 root root 4096 Apr 27 21:39 . 21:46:07 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 21:39 .. 21:46:07 drwxr-xr-x 2 root root 4096 Apr 27 21:39 cost 21:46:07 -rw-r--r-- 1 root root 83 Apr 27 21:39 cost.csv 21:46:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_jakarta/archives 21:46:07 + ls -al /w/workspace/edgexfoundry_device-gpio_jakarta/archives 21:46:07 total 16 21:46:07 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 21:39 . 21:46:07 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 21:39 .. 21:46:07 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 21:39 cost 21:46:07 -rw-r--r-- 1 jenkins jenkins 83 Apr 27 21:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:46:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:46:09 ---> package-listing.sh 21:46:09 ++ facter osfamily 21:46:09 ++ tr '[:upper:]' '[:lower:]' 21:46:09 + OS_FAMILY=debian 21:46:09 + workspace=/w/workspace/edgexfoundry_device-gpio_jakarta 21:46:09 + START_PACKAGES=/tmp/packages_start.txt 21:46:09 + END_PACKAGES=/tmp/packages_end.txt 21:46:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:46:09 + PACKAGES=/tmp/packages_start.txt 21:46:09 + '[' /w/workspace/edgexfoundry_device-gpio_jakarta ']' 21:46:09 + PACKAGES=/tmp/packages_end.txt 21:46:09 + case "${OS_FAMILY}" in 21:46:09 + dpkg -l 21:46:09 + grep '^ii' 21:46:09 + '[' -f /tmp/packages_start.txt ']' 21:46:09 + '[' -f /tmp/packages_end.txt ']' 21:46:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:46:09 + '[' /w/workspace/edgexfoundry_device-gpio_jakarta ']' 21:46:09 + mkdir -p /w/workspace/edgexfoundry_device-gpio_jakarta/archives/ 21:46:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_jakarta/archives/ [Pipeline] echo 21:46:09 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-gpio_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:46:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:46:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:46:10 . [Pipeline] withDockerContainer 21:46:10 prd-ubuntu20.04-docker-8c-8g-33535 does not seem to be running inside a container 21:46:10 $ 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-gpio_jakarta/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-gpio_jakarta -v /w/workspace/edgexfoundry_device-gpio_jakarta:/w/workspace/edgexfoundry_device-gpio_jakarta:rw,z -v /w/workspace/edgexfoundry_device-gpio_jakarta@tmp:/w/workspace/edgexfoundry_device-gpio_jakarta@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 21:46:10 $ docker top f2f1e636f37ae982b5b825632f99dffd95af742857b5848ceb3d27f36e42b0c5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:46:11 + touch /tmp/pre-build-complete [Pipeline] sh 21:46:11 + mkdir -p /var/log/sysstat [Pipeline] sh 21:46:11 + ls /var/log/sa-host 21:46:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:46:11 provisioning config files... 21:46:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_jakarta@tmp/config1767125858998346503tmp [Pipeline] { [Pipeline] echo 21:46:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:46:12 ---> create-netrc.sh [Pipeline] } 21:46:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:46:12 ---> python-tools-install.sh [Pipeline] echo 21:46:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:46:12 ---> sudo-logs.sh 21:46:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:46:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:46:12 ---> job-cost.sh 21:46:12 lf-activate-venv: SKIPPING 21:46:12 DEBUG: total: 0.2199999988079071 21:46:12 INFO: Retrieving Stack Cost... 21:46:13 INFO: Retrieving Pricing Info for: v3-standard-8 21:46:13 INFO: Archiving Costs [Pipeline] echo 21:46:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:46:14 ---> logs-deploy.sh 21:46:14 lf-activate-venv: SKIPPING 21:46:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/jakarta/2 21:46:14 INFO: archiving workspace using pattern(s): 21:46:15 Archives upload complete. 21:46:15 INFO: archiving logs to Nexus