Pull request #23 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-gpio Obtained Jenkinsfile from 99940ec3c3f3609afe9068d6345fbf220a685764+156d9434ec3cf788140140116a7d431d8c0fe3ea (4873996b47dbce560e58b178fe747527151b6d5e) 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-ssh13462222065380218333.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10956641807923015701.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-23/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-23/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7364707731010004450.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-23/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3845026592223630140.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh8949967242137893397.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-23/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-23/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16389605297051898124.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11535 in /w/workspace/edgexfoundry_device-gpio_PR-23 [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_PR-23 # 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 Merging remotes/origin/main commit 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit 99940ec3c3f3609afe9068d6345fbf220a685764 Merge succeeded, producing 99940ec3c3f3609afe9068d6345fbf220a685764 Checking out Revision 99940ec3c3f3609afe9068d6345fbf220a685764 (PR-23) > 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 remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99940ec3c3f3609afe9068d6345fbf220a685764 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99940ec3c3f3609afe9068d6345fbf220a685764 # timeout=10 Commit message: "feat: enable security hardening" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:12:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:12:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:12:40 ========================================================= 00:12:40 EdgeX Global Pipelines Version Info 00:12:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:12:41 ------------------- 00:12:41 stable info: 00:12:41 ------------------- 00:12:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:12:41 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:12:41 Message: update stable to v1.0.221 00:12:41 ------------------- 00:12:41 experimental info: 00:12:41 ------------------- 00:12:41 Commited By: **** collab-it+edgex@linuxfoundation.org 00:12:41 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:12:41 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:12:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-23 [Pipeline] echo 00:12:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-23 [Pipeline] echo 00:12:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-23 [Pipeline] echo 00:12:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99940ec3c3f3609afe9068d6345fbf220a685764 [Pipeline] echo 00:12:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99940ec [Pipeline] echo 00:12:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:43 provisioning config files... 00:12:43 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-23@tmp/config139870670649515949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:43 ---> docker-login.sh 00:12:43 nexus3.edgexfoundry.org:10001 00:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:44 Configure a credential helper to remove this warning. See 00:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:44 00:12:44 Login Succeeded 00:12:44 nexus3.edgexfoundry.org:10002 00:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:44 Configure a credential helper to remove this warning. See 00:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:44 00:12:44 Login Succeeded 00:12:44 nexus3.edgexfoundry.org:10003 00:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:44 Configure a credential helper to remove this warning. See 00:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:44 00:12:44 Login Succeeded 00:12:44 nexus3.edgexfoundry.org:10004 00:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:44 Configure a credential helper to remove this warning. See 00:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:44 00:12:44 Login Succeeded 00:12:44 docker.io 00:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:45 Configure a credential helper to remove this warning. See 00:12:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:45 00:12:45 Login Succeeded 00:12:45 ---> docker-login.sh ends [Pipeline] } 00:12:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:12:45 + git rev-list -1 --merges 99940ec3c3f3609afe9068d6345fbf220a685764~1..99940ec3c3f3609afe9068d6345fbf220a685764 [Pipeline] echo 00:12:45 -----------> git rev-list -1 --merges 99940ec3c3f3609afe9068d6345fbf220a685764~1..99940ec3c3f3609afe9068d6345fbf220a685764 99940ec3c3f3609afe9068d6345fbf220a685764 [false] [Pipeline] sh 00:12:46 + git log --format=format:%s -1 99940ec3c3f3609afe9068d6345fbf220a685764 [Pipeline] echo 00:12:46 ========================================================= 00:12:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:12:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:46 + git log --format=format:%s -1 99940ec3c3f3609afe9068d6345fbf220a685764 [Pipeline] echo 00:12:46 [semverPrep] GIT_COMMIT: 99940ec3c3f3609afe9068d6345fbf220a685764, Commit Message: feat: enable security hardening [Pipeline] echo 00:12:46 [semverPrep] This is not a build commit. [Pipeline] sh 00:12:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:47 + grep -v github /etc/ssh/ssh_known_hosts 00:12:47 + [ -e /tmp/ssh_known_hosts ] 00:12:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:12:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:12:47 + sudo tee -a /etc/ssh/ssh_known_hosts 00:12:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:12:47 00:12:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:12:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:12:47 latest: Pulling from edgex-devops/git-semver 00:12:47 a0d0a0d46f8b: Pulling fs layer 00:12:47 3e5f54012d9b: Pulling fs layer 00:12:47 4c7163046ea9: Pulling fs layer 00:12:47 0c2d73faf560: Pulling fs layer 00:12:47 0c2d73faf560: Waiting 00:12:47 3e5f54012d9b: Verifying Checksum 00:12:47 3e5f54012d9b: Download complete 00:12:47 a0d0a0d46f8b: Verifying Checksum 00:12:47 a0d0a0d46f8b: Download complete 00:12:47 0c2d73faf560: Verifying Checksum 00:12:47 0c2d73faf560: Download complete 00:12:47 4c7163046ea9: Verifying Checksum 00:12:47 4c7163046ea9: Download complete 00:12:48 a0d0a0d46f8b: Pull complete 00:12:48 3e5f54012d9b: Pull complete 00:12:48 4c7163046ea9: Pull complete 00:12:48 0c2d73faf560: Pull complete 00:12:48 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:12:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:12:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:12:48 prd-ubuntu20.04-docker-8c-8g-11535 does not seem to be running inside a container 00:12:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-23 -v /w/workspace/edgexfoundry_device-gpio_PR-23:/w/workspace/edgexfoundry_device-gpio_PR-23:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-23@tmp:/w/workspace/edgexfoundry_device-gpio_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:12:49 $ docker top 2407e08ae491a2ac5a9f43ccf1e3131e68e0e08d4f20db4cf64d3330a2f40e3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:49 [ssh-agent] Looking for ssh-agent implementation... 00:12:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:50 $ docker exec 2407e08ae491a2ac5a9f43ccf1e3131e68e0e08d4f20db4cf64d3330a2f40e3e ssh-agent 00:12:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEfHkli/agent.14 00:12:50 SSH_AGENT_PID=21 00:12:50 Running ssh-add (command line suppressed) 00:12:50 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-23@tmp/private_key_7586246393411866780.key (/w/workspace/edgexfoundry_device-gpio_PR-23@tmp/private_key_7586246393411866780.key) 00:12:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:50 + git tag --points-at HEAD [Pipeline] } 00:12:50 $ docker exec --env ******** --env ******** 2407e08ae491a2ac5a9f43ccf1e3131e68e0e08d4f20db4cf64d3330a2f40e3e ssh-agent -k 00:12:50 unset SSH_AUTH_SOCK; 00:12:50 unset SSH_AGENT_PID; 00:12:50 echo Agent pid 21 killed; 00:12:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:12:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:50 [ssh-agent] Looking for ssh-agent implementation... 00:12:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:51 $ docker exec 2407e08ae491a2ac5a9f43ccf1e3131e68e0e08d4f20db4cf64d3330a2f40e3e ssh-agent 00:12:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXknnoiP/agent.55 00:12:51 SSH_AGENT_PID=62 00:12:51 Running ssh-add (command line suppressed) 00:12:51 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-23@tmp/private_key_3527335633545356053.key (/w/workspace/edgexfoundry_device-gpio_PR-23@tmp/private_key_3527335633545356053.key) 00:12:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:51 + git semver init 00:12:51 # -> Open(): unable to determine branch for HEAD 00:12:51 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-23/.git 00:12:51 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-23 00:12:51 # $SEMVER_REMOTE_NAME = origin 00:12:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:12:51 # $SEMVER_USER_NAME = edgex-jenkins 00:12:51 # $SEMVER_BRANCH = PR-23 00:12:51 # $SEMVER_TEMP = /tmp/semver-420140060 00:12:51 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 00:12:52 # '/tmp/semver-420140060' -> '/w/workspace/edgexfoundry_device-gpio_PR-23/.semver' 00:12:52 # -> Force: false 00:12:52 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-23/.semver [Pipeline] } 00:12:52 $ docker exec --env ******** --env ******** 2407e08ae491a2ac5a9f43ccf1e3131e68e0e08d4f20db4cf64d3330a2f40e3e ssh-agent -k 00:12:52 unset SSH_AUTH_SOCK; 00:12:52 unset SSH_AGENT_PID; 00:12:52 echo Agent pid 62 killed; 00:12:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:53 + git semver [Pipeline] } 00:12:53 $ docker stop --time=1 2407e08ae491a2ac5a9f43ccf1e3131e68e0e08d4f20db4cf64d3330a2f40e3e 00:12:54 $ docker rm -f 2407e08ae491a2ac5a9f43ccf1e3131e68e0e08d4f20db4cf64d3330a2f40e3e [Pipeline] // withDockerContainer [Pipeline] sh 00:12:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:12:55 Stashed 1 file(s) [Pipeline] echo 00:12:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:56 provisioning config files... 00:12:56 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-23@tmp/config8419971857130604089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:56 ---> docker-login.sh 00:12:56 nexus3.edgexfoundry.org:10001 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:56 Configure a credential helper to remove this warning. See 00:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:56 00:12:56 Login Succeeded 00:12:56 nexus3.edgexfoundry.org:10002 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:56 Configure a credential helper to remove this warning. See 00:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:56 00:12:56 Login Succeeded 00:12:56 nexus3.edgexfoundry.org:10003 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:56 Configure a credential helper to remove this warning. See 00:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:56 00:12:56 Login Succeeded 00:12:56 nexus3.edgexfoundry.org:10004 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:56 Configure a credential helper to remove this warning. See 00:12:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:56 00:12:56 Login Succeeded 00:12:56 docker.io 00:12:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:57 Configure a credential helper to remove this warning. See 00:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:57 00:12:57 Login Succeeded 00:12:57 ---> docker-login.sh ends [Pipeline] } 00:12:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:12:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:57 ========================================================= 00:12:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:12:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:12:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 00:12:57 Sending build context to Docker daemon 11.09MB 00:12:57 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:12:57 Step 2/11 : FROM ${BASE} AS builder 00:12:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:12:57 59bf1c3509f3: Pulling fs layer 00:12:57 666ba61612fd: Pulling fs layer 00:12:57 8ed8ca486205: Pulling fs layer 00:12:57 4fe6c5a15a65: Pulling fs layer 00:12:57 22a0e8bec74d: Pulling fs layer 00:12:57 4fe6c5a15a65: Waiting 00:12:57 640e595b4fbd: Pulling fs layer 00:12:57 763cafe07f6e: Pulling fs layer 00:12:57 0c0b528cf693: Pulling fs layer 00:12:57 640e595b4fbd: Waiting 00:12:57 763cafe07f6e: Waiting 00:12:57 22a0e8bec74d: Waiting 00:12:57 10935f4eaf8b: Pulling fs layer 00:12:57 0c0b528cf693: Waiting 00:12:57 10935f4eaf8b: Waiting 00:12:58 8ed8ca486205: Download complete 00:12:58 666ba61612fd: Verifying Checksum 00:12:58 666ba61612fd: Download complete 00:12:58 22a0e8bec74d: Verifying Checksum 00:12:58 22a0e8bec74d: Download complete 00:12:58 640e595b4fbd: Verifying Checksum 00:12:58 640e595b4fbd: Download complete 00:12:58 59bf1c3509f3: Verifying Checksum 00:12:58 59bf1c3509f3: Download complete 00:12:58 763cafe07f6e: Download complete 00:12:58 0c0b528cf693: Verifying Checksum 00:12:58 0c0b528cf693: Download complete 00:12:58 59bf1c3509f3: Pull complete 00:12:58 666ba61612fd: Pull complete 00:12:58 8ed8ca486205: Pull complete 00:12:58 10935f4eaf8b: Verifying Checksum 00:12:58 10935f4eaf8b: Download complete 00:12:58 4fe6c5a15a65: Verifying Checksum 00:12:58 4fe6c5a15a65: Download complete 00:13:03 4fe6c5a15a65: Pull complete 00:13:03 22a0e8bec74d: Pull complete 00:13:03 640e595b4fbd: Pull complete 00:13:03 763cafe07f6e: Pull complete 00:13:03 0c0b528cf693: Pull complete 00:13:06 10935f4eaf8b: Pull complete 00:13:06 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 00:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:13:06 ---> 99d49a6021b9 00:13:06 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:13:07 ---> Running in 6723e4b771ef 00:13:07 Removing intermediate container 6723e4b771ef 00:13:07 ---> 0c27c85d6eaf 00:13:07 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:13:07 ---> Running in d954ba8558c1 00:13:08 Removing intermediate container d954ba8558c1 00:13:08 ---> f9a897b79d8d 00:13:08 Step 5/11 : WORKDIR /device-gpio 00:13:08 ---> Running in 68c6d764afb6 00:13:08 Removing intermediate container 68c6d764afb6 00:13:08 ---> 66c179384dbd 00:13:08 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:13:08 ---> Running in 3ce83d4ae44e 00:13:09 Removing intermediate container 3ce83d4ae44e 00:13:09 ---> be4d24fc94de 00:13:09 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:13:09 ---> Running in c8ea64773b1d 00:13:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:13:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:13:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:13:10 (2/4) Installing libedit (20210910.3.1-r0) 00:13:10 Still waiting to schedule task 00:13:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-11534’ is offline 00:13:10 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:13:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:13:11 Executing busybox-1.34.1-r3.trigger 00:13:11 OK: 224 MiB in 56 packages 00:13:11 Removing intermediate container c8ea64773b1d 00:13:11 ---> ef59fc0ce098 00:13:11 Step 8/11 : COPY go.mod vendor* ./ 00:13:11 ---> 6a73e199825a 00:13:11 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:11 ---> Running in 4511e0cf4247 00:13:38 Removing intermediate container 4511e0cf4247 00:13:38 ---> 07c23af018ec 00:13:38 Step 10/11 : COPY . . 00:13:38 ---> 16b236cb1802 00:13:38 Step 11/11 : RUN ${MAKE} 00:13:38 ---> Running in d22d202c815c 00:13:39 Removing intermediate container d22d202c815c 00:13:39 ---> a41db8854034 00:13:39 [Warning] One or more build-args [MAKE] were not consumed 00:13:39 Successfully built a41db8854034 00:13:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:13:40 + docker inspect -f . ci-base-image-x86_64 00:13:40 . [Pipeline] withDockerContainer 00:13:40 prd-ubuntu20.04-docker-8c-8g-11535 does not seem to be running inside a container 00:13:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-23 -v /w/workspace/edgexfoundry_device-gpio_PR-23:/w/workspace/edgexfoundry_device-gpio_PR-23:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-23@tmp:/w/workspace/edgexfoundry_device-gpio_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:13:40 $ docker top 86e7f917d863d1d8520a3a066d469f8073dc15370124d0079d050124c97c13f6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:40 + go version 00:13:40 go version go1.17.6 linux/amd64 [Pipeline] } 00:13:40 $ docker stop --time=1 86e7f917d863d1d8520a3a066d469f8073dc15370124d0079d050124c97c13f6 00:13:42 $ docker rm -f 86e7f917d863d1d8520a3a066d469f8073dc15370124d0079d050124c97c13f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:13:42 + docker inspect -f . ci-base-image-x86_64 00:13:42 . [Pipeline] withDockerContainer 00:13:43 prd-ubuntu20.04-docker-8c-8g-11535 does not seem to be running inside a container 00:13:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-23 -v /w/workspace/edgexfoundry_device-gpio_PR-23:/w/workspace/edgexfoundry_device-gpio_PR-23:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-23@tmp:/w/workspace/edgexfoundry_device-gpio_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:13:43 $ docker top 70240a322c167be75e1b76fd46621b5093ae7e38726fff5009483a489b68f0cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:13:44 + make test 00:13:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:13:44 ? github.com/edgexfoundry/device-gpio [no test files] 00:13:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:13:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:13:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:13:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:13:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:13:59 ./bin/test-attribution-txt.sh [Pipeline] echo 00:13:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:13:59 $ docker stop --time=1 70240a322c167be75e1b76fd46621b5093ae7e38726fff5009483a489b68f0cc 00:14:01 $ docker rm -f 70240a322c167be75e1b76fd46621b5093ae7e38726fff5009483a489b68f0cc [Pipeline] // withDockerContainer [Pipeline] sh 00:14:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:14:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:14:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:14:03 + ls -al . 00:14:03 total 188 00:14:03 drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 00:13 . 00:14:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 00:12 .. 00:14:03 -rw-rw-r-- 1 jenkins jenkins 120 Apr 8 00:12 .dockerignore 00:14:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 00:12 .git 00:14:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 00:12 .github 00:14:03 -rw-rw-r-- 1 jenkins jenkins 343 Apr 8 00:12 .gitignore 00:14:03 -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 00:12 .golangci.yml 00:14:03 drwx------ 3 jenkins jenkins 4096 Apr 8 00:12 .semver 00:14:03 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 8 00:12 Attribution.txt 00:14:03 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 8 00:12 Dockerfile 00:14:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 00:12 GOVERNANCE.md 00:14:03 -rw-rw-r-- 1 jenkins jenkins 657 Apr 8 00:12 Jenkinsfile 00:14:03 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 00:12 LICENSE 00:14:03 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 8 00:12 Makefile 00:14:03 -rw-rw-r-- 1 jenkins jenkins 617 Apr 8 00:12 OWNERS.md 00:14:03 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 8 00:12 README.md 00:14:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 00:12 VERSION 00:14:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 00:12 bin 00:14:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 00:12 cmd 00:14:03 -rw-r--r-- 1 jenkins jenkins 10 Apr 8 00:13 coverage.out 00:14:03 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 8 00:12 go.mod 00:14:03 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 8 00:12 go.sum 00:14:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 00:12 internal 00:14:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 00:12 snap 00:14:03 -rw-rw-r-- 1 jenkins jenkins 209 Apr 8 00:12 version.go [Pipeline] isUnix [Pipeline] sh 00:14:03 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=99940ec3c3f3609afe9068d6345fbf220a685764 --label arch=amd64 --label version=0.0.0 . 00:14:03 Sending build context to Docker daemon 11.09MB 00:14:03 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:14:03 Step 2/25 : FROM ${BASE} AS builder 00:14:03 ---> a41db8854034 00:14:03 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:14:03 ---> Running in a0a70a46078f 00:14:03 Removing intermediate container a0a70a46078f 00:14:03 ---> 30efa2853337 00:14:03 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:14:03 ---> Running in c0856948d297 00:14:04 Removing intermediate container c0856948d297 00:14:04 ---> 78ca29df618f 00:14:04 Step 5/25 : WORKDIR /device-gpio 00:14:04 ---> Running in af4ff64f1183 00:14:04 Removing intermediate container af4ff64f1183 00:14:04 ---> 4e53326ef2eb 00:14:04 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:14:04 ---> Running in 35a073421cfc 00:14:05 Removing intermediate container 35a073421cfc 00:14:05 ---> c4e226fdea77 00:14:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:14:05 ---> Running in 45526f983c4a 00:14:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:14:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:14:06 OK: 224 MiB in 56 packages 00:14:06 Removing intermediate container 45526f983c4a 00:14:06 ---> 0bdc82532433 00:14:06 Step 8/25 : COPY go.mod vendor* ./ 00:14:07 ---> 42fdc4f21eee 00:14:07 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:14:07 ---> Running in 6b82e7bba4d9 00:14:07 Removing intermediate container 6b82e7bba4d9 00:14:07 ---> 92564de51995 00:14:07 Step 10/25 : COPY . . 00:14:08 ---> b114817a1e63 00:14:08 Step 11/25 : RUN ${MAKE} 00:14:08 ---> Running in 48e94009b5d1 00:14:08 Removing intermediate container 48e94009b5d1 00:14:08 ---> 0d7877c984af 00:14:08 Step 12/25 : FROM alpine:3.15 00:14:09 3.15: Pulling from library/alpine 00:14:09 df9b9388f04a: Pulling fs layer 00:14:09 df9b9388f04a: Verifying Checksum 00:14:09 df9b9388f04a: Download complete 00:14:09 df9b9388f04a: Pull complete 00:14:09 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:14:09 Status: Downloaded newer image for alpine:3.15 00:14:09 ---> 0ac33e5f5afa 00:14:09 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:14:09 ---> Running in 7c527d9aee31 00:14:09 Removing intermediate container 7c527d9aee31 00:14:09 ---> 2906222da29d 00:14:09 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:14:10 ---> Running in a9e58039ea50 00:14:10 Removing intermediate container a9e58039ea50 00:14:10 ---> 30531bd10d04 00:14:10 Step 15/25 : RUN apk add --update --no-cache zeromq 00:14:10 ---> Running in 6ee8ea033031 00:14:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:14:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:14:12 (1/5) Installing libgcc (10.3.1_git20211027-r0) 00:14:12 (2/5) Installing libsodium (1.0.18-r0) 00:14:12 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 00:14:12 (4/5) Installing libzmq (4.3.4-r0) 00:14:12 (5/5) Installing zeromq (4.3.4-r0) 00:14:12 Executing busybox-1.34.1-r5.trigger 00:14:12 OK: 8 MiB in 19 packages 00:14:12 Removing intermediate container 6ee8ea033031 00:14:12 ---> ed8149c81a77 00:14:12 Step 16/25 : WORKDIR / 00:14:12 ---> Running in 2899479a80df 00:14:13 Removing intermediate container 2899479a80df 00:14:13 ---> 589585c5146f 00:14:13 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:14:13 ---> b7f464d2f05c 00:14:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:14:13 ---> fa3e0038c298 00:14:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:14:13 ---> 7d0937b1d605 00:14:13 Step 20/25 : EXPOSE 59910 00:14:13 ---> Running in b01824fa716d 00:14:13 Removing intermediate container b01824fa716d 00:14:13 ---> a40d836fa312 00:14:13 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:14:13 ---> Running in 224ba9982e41 00:14:13 Removing intermediate container 224ba9982e41 00:14:13 ---> cf7f721ec097 00:14:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:14:13 ---> Running in 0e974596ce41 00:14:13 Removing intermediate container 0e974596ce41 00:14:13 ---> e511758bb5de 00:14:13 Step 23/25 : LABEL arch=amd64 00:14:14 ---> Running in bffd58134aac 00:14:14 Removing intermediate container bffd58134aac 00:14:14 ---> 74e40b8dce68 00:14:14 Step 24/25 : LABEL git_sha=99940ec3c3f3609afe9068d6345fbf220a685764 00:14:14 ---> Running in 08306a1d312a 00:14:14 Removing intermediate container 08306a1d312a 00:14:14 ---> 858563aa5aa6 00:14:14 Step 25/25 : LABEL version=0.0.0 00:14:14 ---> Running in a5153393d177 00:14:14 Removing intermediate container a5153393d177 00:14:14 ---> f752973cd4f2 00:14:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 00:14:14 Successfully built f752973cd4f2 00:14:14 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:15 00:14:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:14:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:15 latest: Pulling from edgex-lftools-log-publisher 00:14:15 5eb5b503b376: Pulling fs layer 00:14:15 5c69ac0246d0: Pulling fs layer 00:14:15 ec43610c2a17: Pulling fs layer 00:14:15 3a2ae6a8a46f: Pulling fs layer 00:14:15 33b1e0a273af: Pulling fs layer 00:14:15 5d3b04190fa2: Pulling fs layer 00:14:15 2f39f015ded8: Pulling fs layer 00:14:15 33b1e0a273af: Waiting 00:14:15 5d3b04190fa2: Waiting 00:14:15 2f39f015ded8: Waiting 00:14:15 3a2ae6a8a46f: Waiting 00:14:15 5c69ac0246d0: Download complete 00:14:15 3a2ae6a8a46f: Verifying Checksum 00:14:15 3a2ae6a8a46f: Download complete 00:14:15 33b1e0a273af: Verifying Checksum 00:14:15 33b1e0a273af: Download complete 00:14:15 5d3b04190fa2: Verifying Checksum 00:14:15 5d3b04190fa2: Download complete 00:14:15 ec43610c2a17: Verifying Checksum 00:14:15 ec43610c2a17: Download complete 00:14:15 5eb5b503b376: Verifying Checksum 00:14:15 5eb5b503b376: Download complete 00:14:16 2f39f015ded8: Download complete 00:14:17 5eb5b503b376: Pull complete 00:14:17 5c69ac0246d0: Pull complete 00:14:17 ec43610c2a17: Pull complete 00:14:17 3a2ae6a8a46f: Pull complete 00:14:18 33b1e0a273af: Pull complete 00:14:18 5d3b04190fa2: Pull complete 00:14:23 2f39f015ded8: Pull complete 00:14:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:14:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:14:23 prd-ubuntu20.04-docker-8c-8g-11535 does not seem to be running inside a container 00:14:23 $ 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_PR-23 -v /w/workspace/edgexfoundry_device-gpio_PR-23:/w/workspace/edgexfoundry_device-gpio_PR-23:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-23@tmp:/w/workspace/edgexfoundry_device-gpio_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:14:26 $ docker top a87824d2c0b13b52c96866045479c49fc2e2a9f471bbacfb6afeb2e7399f9a71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:26 ---> job-cost.sh 00:14:26 lf-activate-venv: SKIPPING 00:14:26 INFO: No Stack... 00:14:26 INFO: Retrieving Pricing Info for: v3-standard-8 00:14:27 INFO: Archiving Costs [Pipeline] sh 00:14:27 + cat /w/workspace/edgexfoundry_device-gpio_PR-23/archives/cost.csv 00:14:27 + cut -d, -f6 [Pipeline] lock 00:14:27 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-23-1-stack-cost] 00:14:27 Resource [jenkins-edgexfoundry-device-gpio-PR-23-1-stack-cost] did not exist. Created. 00:14:27 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-23-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:14:28 + echo total: 0.2199999988079071 [Pipeline] stash 00:14:28 Stashed 1 file(s) [Pipeline] } 00:14:28 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-23-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:14:28 $ docker stop --time=1 a87824d2c0b13b52c96866045479c49fc2e2a9f471bbacfb6afeb2e7399f9a71 00:14:29 $ docker rm -f a87824d2c0b13b52c96866045479c49fc2e2a9f471bbacfb6afeb2e7399f9a71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:15:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11536 in /w/workspace/edgexfoundry_device-gpio_PR-23 [Pipeline] { [Pipeline] ws 00:15:14 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 00:15:14 The recommended git tool is: git 00:15:22 using credential edgex-jenkins-ssh 00:15:22 Cloning the remote Git repository 00:15:22 Cloning repository git@github.com:edgexfoundry/device-gpio.git 00:15:22 > git init /w/workspace/device-gpio/1 # timeout=10 00:15:22 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:15:22 > git --version # timeout=10 00:15:22 > git --version # 'git version 2.25.1' 00:15:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:24 Merging remotes/origin/main commit 156d9434ec3cf788140140116a7d431d8c0fe3ea into PR head commit 99940ec3c3f3609afe9068d6345fbf220a685764 00:15:24 Merge succeeded, producing 99940ec3c3f3609afe9068d6345fbf220a685764 00:15:24 Checking out Revision 99940ec3c3f3609afe9068d6345fbf220a685764 (PR-23) 00:15:24 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:15:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:15:24 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 00:15:24 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 00:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:15:24 > git config core.sparsecheckout # timeout=10 00:15:24 > git checkout -f 99940ec3c3f3609afe9068d6345fbf220a685764 # timeout=10 00:15:24 > git remote # timeout=10 00:15:24 > git config --get remote.origin.url # timeout=10 00:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 00:15:24 > git merge 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 00:15:24 > git rev-parse HEAD^{commit} # timeout=10 00:15:25 > git config core.sparsecheckout # timeout=10 00:15:25 > git checkout -f 99940ec3c3f3609afe9068d6345fbf220a685764 # timeout=10 00:15:29 Commit message: "feat: enable security hardening" 00:15:29 > git --version # timeout=10 00:15:29 > git --version # 'git version 2.25.1' 00:15:29 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:15:30 % Total % Received % Xferd Average Speed Time Time Time Current 00:15:30 Dload Upload Total Spent Left Speed 00:15:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 00:15:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:15:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:15:31 + sudo tee /etc/docker/daemon.new 00:15:31 { 00:15:31 "registry-mirrors": [ 00:15:31 "https://nexus3.edgexfoundry.org:10001" 00:15:31 ], 00:15:31 "bip": "10.250.0.254/24", 00:15:31 "hosts": [ 00:15:31 "tcp://0.0.0.0:5555", 00:15:31 "unix:///var/run/docker.sock" 00:15:31 ], 00:15:31 "mtu": 1458, 00:15:31 "selinux-enabled": true, 00:15:31 "seccomp-profile": "/etc/docker/seccomp.json" 00:15:31 } [Pipeline] sh 00:15:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:15:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:50 provisioning config files... 00:15:50 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config8569329559147690354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:51 ---> docker-login.sh 00:15:51 nexus3.edgexfoundry.org:10001 00:15:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:52 Configure a credential helper to remove this warning. See 00:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:52 00:15:52 Login Succeeded 00:15:52 nexus3.edgexfoundry.org:10002 00:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:52 Configure a credential helper to remove this warning. See 00:15:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:52 00:15:52 Login Succeeded 00:15:52 nexus3.edgexfoundry.org:10003 00:15:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:53 Configure a credential helper to remove this warning. See 00:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:53 00:15:53 Login Succeeded 00:15:53 nexus3.edgexfoundry.org:10004 00:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:53 Configure a credential helper to remove this warning. See 00:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:53 00:15:53 Login Succeeded 00:15:53 docker.io 00:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:54 Configure a credential helper to remove this warning. See 00:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:54 00:15:54 Login Succeeded 00:15:54 ---> docker-login.sh ends [Pipeline] } 00:15:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:15:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:54 ========================================================= 00:15:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:15:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:15:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 00:15:55 Sending build context to Docker daemon 5.617MB 00:15:55 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 00:15:55 Step 2/11 : FROM ${BASE} AS builder 00:15:55 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:15:55 9b3977197b4f: Pulling fs layer 00:15:55 1a89e8eeedd5: Pulling fs layer 00:15:55 94645a83ff95: Pulling fs layer 00:15:55 3f3a8bcf1eab: Pulling fs layer 00:15:55 0c92f367c5e7: Pulling fs layer 00:15:55 f7c0051592d6: Pulling fs layer 00:15:55 a227ed2f7395: Pulling fs layer 00:15:55 7b1c46037f91: Pulling fs layer 00:15:55 f7c0051592d6: Waiting 00:15:55 a227ed2f7395: Waiting 00:15:55 3f3a8bcf1eab: Waiting 00:15:55 7b1c46037f91: Waiting 00:15:55 0c92f367c5e7: Waiting 00:15:55 94645a83ff95: Download complete 00:15:55 1a89e8eeedd5: Verifying Checksum 00:15:55 1a89e8eeedd5: Download complete 00:15:56 0c92f367c5e7: Verifying Checksum 00:15:56 0c92f367c5e7: Download complete 00:15:56 f7c0051592d6: Verifying Checksum 00:15:56 f7c0051592d6: Download complete 00:15:56 a227ed2f7395: Verifying Checksum 00:15:56 a227ed2f7395: Download complete 00:15:56 9b3977197b4f: Verifying Checksum 00:15:56 9b3977197b4f: Download complete 00:15:56 9b3977197b4f: Pull complete 00:15:57 1a89e8eeedd5: Pull complete 00:15:57 94645a83ff95: Pull complete 00:15:58 7b1c46037f91: Verifying Checksum 00:15:58 7b1c46037f91: Download complete 00:15:58 3f3a8bcf1eab: Verifying Checksum 00:15:58 3f3a8bcf1eab: Download complete 00:16:11 3f3a8bcf1eab: Pull complete 00:16:11 0c92f367c5e7: Pull complete 00:16:11 f7c0051592d6: Pull complete 00:16:11 a227ed2f7395: Pull complete 00:16:18 7b1c46037f91: Pull complete 00:16:18 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 00:16:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:16:18 ---> f79e39bc4007 00:16:18 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:16:18 ---> Running in 2ab12fe3812a 00:16:18 Removing intermediate container 2ab12fe3812a 00:16:18 ---> 4d32b6db6fc3 00:16:18 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:16:18 ---> Running in 0a162f044604 00:16:19 Removing intermediate container 0a162f044604 00:16:19 ---> 50f64af1cf15 00:16:19 Step 5/11 : WORKDIR /device-gpio 00:16:19 ---> Running in ddb6ad2d9d4d 00:16:19 Removing intermediate container ddb6ad2d9d4d 00:16:19 ---> 2c2003544737 00:16:19 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:16:19 ---> Running in 68dc6246a485 00:16:21 Removing intermediate container 68dc6246a485 00:16:21 ---> 03d41e8acaf5 00:16:21 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:21 ---> Running in 782fb2269fb6 00:16:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:16:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:16:24 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:16:24 (2/4) Installing libedit (20210910.3.1-r0) 00:16:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:16:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:16:24 Executing busybox-1.34.1-r3.trigger 00:16:24 OK: 224 MiB in 56 packages 00:16:25 Removing intermediate container 782fb2269fb6 00:16:25 ---> 6dd075079b99 00:16:25 Step 8/11 : COPY go.mod vendor* ./ 00:16:26 ---> 16b3271051a9 00:16:26 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:26 ---> Running in 3a9f446e42c2 00:17:48 Removing intermediate container 3a9f446e42c2 00:17:48 ---> cc3f06f89e2a 00:17:48 Step 10/11 : COPY . . 00:17:48 ---> 98912f01f0e1 00:17:48 Step 11/11 : RUN ${MAKE} 00:17:48 ---> Running in 747baadf9240 00:17:48 Removing intermediate container 747baadf9240 00:17:48 ---> f0067a0c958c 00:17:48 [Warning] One or more build-args [MAKE] were not consumed 00:17:48 Successfully built f0067a0c958c 00:17:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:17:49 + docker inspect -f . ci-base-image-arm64 00:17:49 . [Pipeline] withDockerContainer 00:17:49 prd-ubuntu20.04-docker-arm64-4c-16g-11536 does not seem to be running inside a container 00:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:17:51 $ docker top bf0f01b85bcec702fc792ffffce98fa5a2954418de854681a04fdb47ddee5758 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:52 + go version 00:17:52 go version go1.17.6 linux/arm64 [Pipeline] } 00:17:52 $ docker stop --time=1 bf0f01b85bcec702fc792ffffce98fa5a2954418de854681a04fdb47ddee5758 00:17:53 $ docker rm -f bf0f01b85bcec702fc792ffffce98fa5a2954418de854681a04fdb47ddee5758 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:54 + docker inspect -f . ci-base-image-arm64 00:17:54 . [Pipeline] withDockerContainer 00:17:54 prd-ubuntu20.04-docker-arm64-4c-16g-11536 does not seem to be running inside a container 00:17:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:17:56 $ docker top 40d0c67eafe8481ae7c1905e8e4d0dbfc7348a02b9bfca875018ef2d008e2813 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:17:57 + make test 00:17:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:17:58 ? github.com/edgexfoundry/device-gpio [no test files] 00:18:55 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 00:18:55 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 00:18:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:18:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:19:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:19:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:19:10 ./bin/test-attribution-txt.sh [Pipeline] echo 00:19:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:19:11 $ docker stop --time=1 40d0c67eafe8481ae7c1905e8e4d0dbfc7348a02b9bfca875018ef2d008e2813 00:19:13 $ docker rm -f 40d0c67eafe8481ae7c1905e8e4d0dbfc7348a02b9bfca875018ef2d008e2813 [Pipeline] // withDockerContainer [Pipeline] sh 00:19:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:19:14 Warning: overwriting stash ‘coverage-report’ 00:19:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:19:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:19:15 + ls -al . 00:19:15 total 184 00:19:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 00:19 . 00:19:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 00:15 .. 00:19:15 -rw-rw-r-- 1 jenkins jenkins 120 Apr 8 00:15 .dockerignore 00:19:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 00:15 .git 00:19:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 00:15 .github 00:19:15 -rw-rw-r-- 1 jenkins jenkins 343 Apr 8 00:15 .gitignore 00:19:15 -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 00:15 .golangci.yml 00:19:15 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 8 00:15 Attribution.txt 00:19:15 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 8 00:15 Dockerfile 00:19:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 00:15 GOVERNANCE.md 00:19:15 -rw-rw-r-- 1 jenkins jenkins 657 Apr 8 00:15 Jenkinsfile 00:19:15 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 00:15 LICENSE 00:19:15 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 8 00:15 Makefile 00:19:15 -rw-rw-r-- 1 jenkins jenkins 617 Apr 8 00:15 OWNERS.md 00:19:15 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 8 00:15 README.md 00:19:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 00:12 VERSION 00:19:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 00:15 bin 00:19:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 00:15 cmd 00:19:15 -rw-r--r-- 1 jenkins jenkins 10 Apr 8 00:17 coverage.out 00:19:15 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 8 00:15 go.mod 00:19:15 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 8 00:15 go.sum 00:19:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 00:15 internal 00:19:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 00:15 snap 00:19:15 -rw-rw-r-- 1 jenkins jenkins 209 Apr 8 00:15 version.go [Pipeline] isUnix [Pipeline] sh 00:19:16 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=99940ec3c3f3609afe9068d6345fbf220a685764 --label arch=arm64 --label version=0.0.0 . 00:19:16 Sending build context to Docker daemon 5.618MB 00:19:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:19:16 Step 2/25 : FROM ${BASE} AS builder 00:19:16 ---> f0067a0c958c 00:19:16 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:19:16 ---> Running in 880b9891b5b4 00:19:17 Removing intermediate container 880b9891b5b4 00:19:17 ---> 6e06114318ec 00:19:17 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:19:17 ---> Running in 01b6c4d66355 00:19:17 Removing intermediate container 01b6c4d66355 00:19:17 ---> d6c5150f3231 00:19:17 Step 5/25 : WORKDIR /device-gpio 00:19:17 ---> Running in 8cce3728405f 00:19:17 Removing intermediate container 8cce3728405f 00:19:17 ---> 13a3a0e9df06 00:19:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:19:17 ---> Running in 74a61b761aca 00:19:19 Removing intermediate container 74a61b761aca 00:19:19 ---> 962b5fd9bafd 00:19:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:19:19 ---> Running in d3a55fd1d2ad 00:19:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:19:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:19:22 OK: 224 MiB in 56 packages 00:19:22 Removing intermediate container d3a55fd1d2ad 00:19:22 ---> b2ebfd28de61 00:19:22 Step 8/25 : COPY go.mod vendor* ./ 00:19:23 ---> 08221968c613 00:19:23 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:23 ---> Running in fb1dcb8f65d5 00:19:25 Removing intermediate container fb1dcb8f65d5 00:19:25 ---> 15b3f9c45de7 00:19:25 Step 10/25 : COPY . . 00:19:26 ---> 09385da27f3b 00:19:26 Step 11/25 : RUN ${MAKE} 00:19:26 ---> Running in 4bb27f7d0c6e 00:19:28 Removing intermediate container 4bb27f7d0c6e 00:19:28 ---> fdf53b57a213 00:19:28 Step 12/25 : FROM alpine:3.15 00:19:28 3.15: Pulling from library/alpine 00:19:28 9981e73032c8: Pulling fs layer 00:19:29 9981e73032c8: Verifying Checksum 00:19:29 9981e73032c8: Download complete 00:19:29 9981e73032c8: Pull complete 00:19:29 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 00:19:29 Status: Downloaded newer image for alpine:3.15 00:19:29 ---> 3fb3c9af89a9 00:19:29 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 00:19:29 ---> Running in 02b8ae7d1fa1 00:19:29 Removing intermediate container 02b8ae7d1fa1 00:19:29 ---> a507ba26e054 00:19:29 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:19:29 ---> Running in 1d33d753729f 00:19:31 Removing intermediate container 1d33d753729f 00:19:31 ---> fd369677ce02 00:19:31 Step 15/25 : RUN apk add --update --no-cache zeromq 00:19:31 ---> Running in 0d8d4b394717 00:19:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:19:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:19:34 (1/5) Installing libgcc (10.3.1_git20211027-r0) 00:19:34 (2/5) Installing libsodium (1.0.18-r0) 00:19:34 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 00:19:35 (4/5) Installing libzmq (4.3.4-r0) 00:19:35 (5/5) Installing zeromq (4.3.4-r0) 00:19:35 Executing busybox-1.34.1-r5.trigger 00:19:35 OK: 8 MiB in 19 packages 00:19:35 Removing intermediate container 0d8d4b394717 00:19:35 ---> a39a064dadc7 00:19:35 Step 16/25 : WORKDIR / 00:19:36 ---> Running in 59e2c7706a1a 00:19:36 Removing intermediate container 59e2c7706a1a 00:19:36 ---> 52ca68fb98b9 00:19:36 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 00:19:37 ---> 8b5351c70b94 00:19:37 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 00:19:37 ---> 5c61da8b819c 00:19:37 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 00:19:37 ---> 10a0b7cfc607 00:19:37 Step 20/25 : EXPOSE 59910 00:19:37 ---> Running in 610faed123f3 00:19:38 Removing intermediate container 610faed123f3 00:19:38 ---> 55490667929c 00:19:38 Step 21/25 : ENTRYPOINT ["/device-gpio"] 00:19:38 ---> Running in f07a7bd2d4e9 00:19:38 Removing intermediate container f07a7bd2d4e9 00:19:38 ---> 84837c4b66de 00:19:38 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:19:38 ---> Running in 36893cce0176 00:19:39 Removing intermediate container 36893cce0176 00:19:39 ---> ebe0806a5a10 00:19:39 Step 23/25 : LABEL arch=arm64 00:19:39 ---> Running in ec3e207cb3d5 00:19:39 Removing intermediate container ec3e207cb3d5 00:19:39 ---> 7b163dbd5ef1 00:19:39 Step 24/25 : LABEL git_sha=99940ec3c3f3609afe9068d6345fbf220a685764 00:19:39 ---> Running in d8ffdfac5dad 00:19:39 Removing intermediate container d8ffdfac5dad 00:19:39 ---> e359afe31f03 00:19:39 Step 25/25 : LABEL version=0.0.0 00:19:39 ---> Running in d7f642117e55 00:19:40 Removing intermediate container d7f642117e55 00:19:40 ---> 4f623b7a007a 00:19:40 [Warning] One or more build-args [MAKE ARCH] were not consumed 00:19:40 Successfully built 4f623b7a007a 00:19:40 Successfully tagged device-gpio-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 00:19:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:41 00:19:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:19:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:41 arm64: Pulling from edgex-lftools-log-publisher 00:19:41 8998bd30e6a1: Pulling fs layer 00:19:41 04944245beec: Pulling fs layer 00:19:41 699f458cf7ca: Pulling fs layer 00:19:41 765212b225bb: Pulling fs layer 00:19:41 f23df028b6ca: Pulling fs layer 00:19:41 d65c8cfc05b1: Pulling fs layer 00:19:41 2437ff75d9bd: Pulling fs layer 00:19:41 f23df028b6ca: Waiting 00:19:41 d65c8cfc05b1: Waiting 00:19:41 2437ff75d9bd: Waiting 00:19:41 765212b225bb: Waiting 00:19:41 04944245beec: Download complete 00:19:41 765212b225bb: Verifying Checksum 00:19:41 765212b225bb: Download complete 00:19:41 f23df028b6ca: Verifying Checksum 00:19:41 f23df028b6ca: Download complete 00:19:41 d65c8cfc05b1: Verifying Checksum 00:19:41 d65c8cfc05b1: Download complete 00:19:41 699f458cf7ca: Verifying Checksum 00:19:41 699f458cf7ca: Download complete 00:19:42 8998bd30e6a1: Download complete 00:19:44 2437ff75d9bd: Verifying Checksum 00:19:44 2437ff75d9bd: Download complete 00:19:46 8998bd30e6a1: Pull complete 00:19:46 04944245beec: Pull complete 00:19:48 699f458cf7ca: Pull complete 00:19:48 765212b225bb: Pull complete 00:19:49 f23df028b6ca: Pull complete 00:19:49 d65c8cfc05b1: Pull complete 00:20:04 2437ff75d9bd: Pull complete 00:20:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:20:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:20:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:20:04 prd-ubuntu20.04-docker-arm64-4c-16g-11536 does not seem to be running inside a container 00:20:04 $ 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/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:20:07 $ docker top 4b18732a034de19fbb834fa5cd27c392677f66b1f86f168897311a7f4c7297e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:20:08 ---> job-cost.sh 00:20:08 lf-activate-venv: SKIPPING 00:20:08 INFO: No Stack... 00:20:09 INFO: Retrieving Pricing Info for: v3-standard-4 00:20:09 INFO: Archiving Costs [Pipeline] sh 00:20:10 + cat /w/workspace/device-gpio/1/archives/cost.csv 00:20:10 + cut -d, -f6 [Pipeline] lock 00:20:10 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-23-1-stack-cost] 00:20:10 Resource [jenkins-edgexfoundry-device-gpio-PR-23-1-stack-cost] did not exist. Created. 00:20:10 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-23-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:20:11 /w/workspace/device-gpio/1@tmp/durable-86fdd4a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:20:11 + echo total: 0.10999999940395355 [Pipeline] stash 00:20:11 Warning: overwriting stash ‘stack-cost’ 00:20:11 Stashed 1 file(s) [Pipeline] } 00:20:12 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-23-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:20:12 $ docker stop --time=1 4b18732a034de19fbb834fa5cd27c392677f66b1f86f168897311a7f4c7297e4 00:20:13 $ docker rm -f 4b18732a034de19fbb834fa5cd27c392677f66b1f86f168897311a7f4c7297e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:20:14 provisioning config files... 00:20:14 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-23@tmp/config5152554633711787500tmp [Pipeline] { [Pipeline] sh 00:20:15 + set +x 00:20:15 + curl -s https://codecov.io/bash 00:20:15 + bash -s -- 00:20:15 00:20:15 _____ _ 00:20:15 / ____| | | 00:20:15 | | ___ __| | ___ ___ _____ __ 00:20:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:20:15 | |___| (_) | (_| | __/ (_| (_) \ V / 00:20:15 \_____\___/ \__,_|\___|\___\___/ \_/ 00:20:15 Bash-1.0.6 00:20:15 00:20:15 00:20:15 ==> git version 2.25.1 found 00:20:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:20:15 Release-Date: 2020-01-08 00:20:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:20:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:20:15 ==> Jenkins CI detected. 00:20:15 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-23 00:20:15 project root: . 00:20:15 --> token set from env 00:20:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:20:15 ==> Running gcov in . (disable via -X gcov) 00:20:15 ==> Python coveragepy not found 00:20:15 ==> Searching for coverage reports in: 00:20:15 + . 00:20:15 -> Found 1 reports 00:20:15 ==> Detecting git/mercurial file structure 00:20:15 ==> Reading reports 00:20:15 + ./coverage.out bytes=10 00:20:15 ==> Appending adjustments 00:20:15 https://docs.codecov.io/docs/fixing-reports 00:20:15 + Found adjustments 00:20:15 ==> Gzipping contents 00:20:15 4.0K /tmp/codecov.vakTyu.gz 00:20:15 ==> Uploading reports 00:20:15 url: https://codecov.io 00:20:15 query: branch=PR-23&commit=99940ec3c3f3609afe9068d6345fbf220a685764&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-23%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=23&job=&cmd_args= 00:20:15 -> Pinging Codecov 00:20:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-23&commit=99940ec3c3f3609afe9068d6345fbf220a685764&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-23%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=23&job=&cmd_args= 00:20:15 -> Uploading to 00:20:15 https://storage.googleapis.com/codecov/v4/raw/2022-04-08/3EC07B1A8CA8AF9BCAA0BB9F0134797F/99940ec3c3f3609afe9068d6345fbf220a685764/946aaec8-c42c-4090-9135-a6388e664e81.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220408T002015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7562fdb228ae8d6b645e4f6d4bbc0d4c394df8137df12e34f3b9bc9c2f41c70 00:20:15 % Total % Received % Xferd Average Speed Time Time Time Current 00:20:15 Dload Upload Total Spent Left Speed 00:20:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 816 0 0 100 816 0 3033 --:--:-- --:--:-- --:--:-- 3033 00:20:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/99940ec3c3f3609afe9068d6345fbf220a685764 [Pipeline] } 00:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:20:17 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-23/archives ] 00:20:17 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-23/archives 00:20:17 total 16 00:20:17 drwxr-xr-x 3 root root 4096 Apr 8 00:14 . 00:20:17 drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 00:14 .. 00:20:17 drwxr-xr-x 2 root root 4096 Apr 8 00:14 cost 00:20:17 -rw-r--r-- 1 root root 81 Apr 8 00:14 cost.csv 00:20:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-23/archives 00:20:17 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-23/archives 00:20:17 total 16 00:20:17 drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 00:14 . 00:20:17 drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 00:14 .. 00:20:17 drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 00:14 cost 00:20:17 -rw-r--r-- 1 jenkins jenkins 81 Apr 8 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:20:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:20:18 ---> package-listing.sh 00:20:18 ++ facter osfamily 00:20:18 ++ tr '[:upper:]' '[:lower:]' 00:20:19 + OS_FAMILY=debian 00:20:19 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-23 00:20:19 + START_PACKAGES=/tmp/packages_start.txt 00:20:19 + END_PACKAGES=/tmp/packages_end.txt 00:20:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:20:19 + PACKAGES=/tmp/packages_start.txt 00:20:19 + '[' /w/workspace/edgexfoundry_device-gpio_PR-23 ']' 00:20:19 + PACKAGES=/tmp/packages_end.txt 00:20:19 + case "${OS_FAMILY}" in 00:20:19 + dpkg -l 00:20:19 + grep '^ii' 00:20:19 + '[' -f /tmp/packages_start.txt ']' 00:20:19 + '[' -f /tmp/packages_end.txt ']' 00:20:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:20:19 + '[' /w/workspace/edgexfoundry_device-gpio_PR-23 ']' 00:20:19 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-23/archives/ 00:20:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-23/archives/ [Pipeline] echo 00:20:19 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_PR-23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:20:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:20:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:20:20 . [Pipeline] withDockerContainer 00:20:20 prd-ubuntu20.04-docker-8c-8g-11535 does not seem to be running inside a container 00:20:20 $ 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_PR-23/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_PR-23 -v /w/workspace/edgexfoundry_device-gpio_PR-23:/w/workspace/edgexfoundry_device-gpio_PR-23:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-23@tmp:/w/workspace/edgexfoundry_device-gpio_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:20:20 $ docker top 4022ae18679989a9c01f1e4c6236d07deca80e1db4f0f99ade3eaaabe5aead69 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:21 + touch /tmp/pre-build-complete [Pipeline] sh 00:20:21 + mkdir -p /var/log/sysstat [Pipeline] sh 00:20:21 + ls /var/log/sa-host 00:20:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:20:21 provisioning config files... 00:20:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-23@tmp/config8186335811069346243tmp [Pipeline] { [Pipeline] echo 00:20:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:20:22 ---> create-netrc.sh [Pipeline] } 00:20:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:20:22 ---> python-tools-install.sh [Pipeline] echo 00:20:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:20:23 ---> sudo-logs.sh 00:20:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:20:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:20:23 ---> job-cost.sh 00:20:23 lf-activate-venv: SKIPPING 00:20:23 DEBUG: total: 0.2199999988079071 00:20:23 INFO: Retrieving Stack Cost... 00:20:24 INFO: Retrieving Pricing Info for: v3-standard-8 00:20:24 INFO: Archiving Costs [Pipeline] echo 00:20:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:20:24 ---> logs-deploy.sh 00:20:24 lf-activate-venv: SKIPPING 00:20:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-23/1 00:20:24 INFO: archiving workspace using pattern(s): 00:20:25 Archives upload complete. 00:20:25 INFO: archiving logs to Nexus