Branch indexing 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 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f+55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb (be61e715cbd23e9f644c48a065cf3a0b4a130bf2) 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-ssh17243619444354686288.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-ssh10526922807314307485.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-24/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/PR-24/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh967122361432449028.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 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-ssh4740355561054047751.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/PR-24/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/PR-24/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6893233025806016847.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11873 in /w/workspace/edgexfoundry_device-gpio_PR-24 [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-24 # 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 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb into PR head commit 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f Merge succeeded, producing f1b39a6ee35ded058d2807cd415535bfab826972 Checking out Revision f1b39a6ee35ded058d2807cd415535bfab826972 (PR-24) > 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/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # 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 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1b39a6ee35ded058d2807cd415535bfab826972 # timeout=10 Commit message: "Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD" > git rev-list --no-walk 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:20:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:20:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:20:51 ========================================================= 09:20:51 EdgeX Global Pipelines Version Info 09:20:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:20:51 ------------------- 09:20:51 stable info: 09:20:51 ------------------- 09:20:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:51 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:20:51 Message: update stable to v1.0.221 09:20:52 ------------------- 09:20:52 experimental info: 09:20:52 ------------------- 09:20:52 Commited By: **** collab-it+edgex@linuxfoundation.org 09:20:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:20:52 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1b39a6 [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:20:53 provisioning config files... 09:20:53 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config6203165572456658665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:53 ---> docker-login.sh 09:20:53 nexus3.edgexfoundry.org:10001 09:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:53 Configure a credential helper to remove this warning. See 09:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:53 09:20:53 Login Succeeded 09:20:53 nexus3.edgexfoundry.org:10002 09:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:53 Configure a credential helper to remove this warning. See 09:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:53 09:20:53 Login Succeeded 09:20:53 nexus3.edgexfoundry.org:10003 09:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:54 Configure a credential helper to remove this warning. See 09:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:54 09:20:54 Login Succeeded 09:20:54 nexus3.edgexfoundry.org:10004 09:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:54 Configure a credential helper to remove this warning. See 09:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:54 09:20:54 Login Succeeded 09:20:54 docker.io 09:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:54 Configure a credential helper to remove this warning. See 09:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:54 09:20:54 Login Succeeded 09:20:54 ---> docker-login.sh ends [Pipeline] } 09:20:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:20:55 + git rev-list -1 --merges f1b39a6ee35ded058d2807cd415535bfab826972~1..f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] echo 09:20:55 -----------> git rev-list -1 --merges f1b39a6ee35ded058d2807cd415535bfab826972~1..f1b39a6ee35ded058d2807cd415535bfab826972 f1b39a6ee35ded058d2807cd415535bfab826972 09:20:55 f1b39a6ee35ded058d2807cd415535bfab826972 [false] [Pipeline] sh 09:20:55 + git log --format=format:%s -1 f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] echo 09:20:55 ========================================================= 09:20:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:20:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:55 + git log --format=format:%s -1 f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] echo 09:20:55 [semverPrep] GIT_COMMIT: f1b39a6ee35ded058d2807cd415535bfab826972, Commit Message: Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD [Pipeline] echo 09:20:55 [semverPrep] This is not a build commit. [Pipeline] sh 09:20:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:20:56 + grep -v github /etc/ssh/ssh_known_hosts 09:20:56 + [ -e /tmp/ssh_known_hosts ] 09:20:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:20:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:20:56 + sudo tee -a /etc/ssh/ssh_known_hosts 09:20:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:20:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:56 09:20:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:20:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:57 latest: Pulling from edgex-devops/git-semver 09:20:57 a0d0a0d46f8b: Pulling fs layer 09:20:57 3e5f54012d9b: Pulling fs layer 09:20:57 4c7163046ea9: Pulling fs layer 09:20:57 0c2d73faf560: Pulling fs layer 09:20:57 0c2d73faf560: Waiting 09:20:57 3e5f54012d9b: Verifying Checksum 09:20:57 3e5f54012d9b: Download complete 09:20:57 a0d0a0d46f8b: Verifying Checksum 09:20:57 a0d0a0d46f8b: Download complete 09:20:57 0c2d73faf560: Verifying Checksum 09:20:57 0c2d73faf560: Download complete 09:20:57 4c7163046ea9: Verifying Checksum 09:20:57 4c7163046ea9: Download complete 09:20:57 a0d0a0d46f8b: Pull complete 09:20:57 3e5f54012d9b: Pull complete 09:20:57 4c7163046ea9: Pull complete 09:20:57 0c2d73faf560: Pull complete 09:20:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:20:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:20:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:20:58 prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container 09:20:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@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:10004/edgex-devops/git-semver:latest cat 09:20:58 $ docker top c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:20:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:58 [ssh-agent] Looking for ssh-agent implementation... 09:20:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:58 $ docker exec c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca ssh-agent 09:20:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBMmBiB/agent.14 09:20:59 SSH_AGENT_PID=20 09:20:59 Running ssh-add (command line suppressed) 09:20:59 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_6106377247593287656.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_6106377247593287656.key) 09:20:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:59 + git tag --points-at HEAD [Pipeline] } 09:20:59 $ docker exec --env ******** --env ******** c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca ssh-agent -k 09:20:59 unset SSH_AUTH_SOCK; 09:20:59 unset SSH_AGENT_PID; 09:20:59 echo Agent pid 20 killed; 09:20:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:20:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:59 [ssh-agent] Looking for ssh-agent implementation... 09:20:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:59 $ docker exec c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca ssh-agent 09:20:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoipFfm/agent.54 09:20:59 SSH_AGENT_PID=60 09:20:59 Running ssh-add (command line suppressed) 09:21:00 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_7780010344482417473.key (/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/private_key_7780010344482417473.key) 09:21:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:00 + git semver init 09:21:00 # -> Open(): unable to determine branch for HEAD 09:21:00 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.git 09:21:00 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-24 09:21:00 # $SEMVER_REMOTE_NAME = origin 09:21:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:21:00 # $SEMVER_USER_NAME = edgex-jenkins 09:21:00 # $SEMVER_BRANCH = PR-24 09:21:00 # $SEMVER_TEMP = /tmp/semver-691423236 09:21:00 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 09:21:01 # '/tmp/semver-691423236' -> '/w/workspace/edgexfoundry_device-gpio_PR-24/.semver' 09:21:01 # -> Force: false 09:21:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-24/.semver [Pipeline] } 09:21:01 $ docker exec --env ******** --env ******** c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca ssh-agent -k 09:21:01 unset SSH_AUTH_SOCK; 09:21:01 unset SSH_AGENT_PID; 09:21:01 echo Agent pid 60 killed; 09:21:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:01 + git semver [Pipeline] } 09:21:01 $ docker stop --time=1 c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca 09:21:03 $ docker rm -f c303438f4ce7b9790c9d993071dc24b4851e99f015acf7f81f6fcc42ef4e4bca [Pipeline] // withDockerContainer [Pipeline] sh 09:21:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:21:03 Stashed 1 file(s) [Pipeline] echo 09:21:03 [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 09:21:03 provisioning config files... 09:21:03 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config3436006081871620035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11867 in /w/workspace/edgexfoundry_device-gpio_PR-24 [Pipeline] { [Pipeline] ws 09:21:04 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 09:21:04 The recommended git tool is: git 09:21:04 ---> docker-login.sh 09:21:04 nexus3.edgexfoundry.org:10001 09:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:04 Configure a credential helper to remove this warning. See 09:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:04 09:21:04 Login Succeeded 09:21:04 nexus3.edgexfoundry.org:10002 09:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:04 Configure a credential helper to remove this warning. See 09:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:04 09:21:04 Login Succeeded 09:21:04 nexus3.edgexfoundry.org:10003 09:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:04 Configure a credential helper to remove this warning. See 09:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:04 09:21:04 Login Succeeded 09:21:04 nexus3.edgexfoundry.org:10004 09:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:04 Configure a credential helper to remove this warning. See 09:21:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:04 09:21:04 Login Succeeded 09:21:04 docker.io 09:21:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:05 Configure a credential helper to remove this warning. See 09:21:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:05 09:21:05 Login Succeeded 09:21:05 ---> docker-login.sh ends [Pipeline] } 09:21:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:05 ========================================================= 09:21:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:21:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:21:05 + 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 . 09:21:05 Sending build context to Docker daemon 11.1MB 09:21:05 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:21:05 Step 2/11 : FROM ${BASE} AS builder 09:21:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:21:05 59bf1c3509f3: Pulling fs layer 09:21:05 666ba61612fd: Pulling fs layer 09:21:05 8ed8ca486205: Pulling fs layer 09:21:05 4fe6c5a15a65: Pulling fs layer 09:21:05 22a0e8bec74d: Pulling fs layer 09:21:05 640e595b4fbd: Pulling fs layer 09:21:05 763cafe07f6e: Pulling fs layer 09:21:05 4fe6c5a15a65: Waiting 09:21:05 0c0b528cf693: Pulling fs layer 09:21:05 22a0e8bec74d: Waiting 09:21:05 10935f4eaf8b: Pulling fs layer 09:21:05 763cafe07f6e: Waiting 09:21:05 640e595b4fbd: Waiting 09:21:05 0c0b528cf693: Waiting 09:21:05 10935f4eaf8b: Waiting 09:21:05 8ed8ca486205: Verifying Checksum 09:21:05 8ed8ca486205: Download complete 09:21:05 666ba61612fd: Verifying Checksum 09:21:05 666ba61612fd: Download complete 09:21:05 22a0e8bec74d: Verifying Checksum 09:21:05 22a0e8bec74d: Download complete 09:21:05 640e595b4fbd: Verifying Checksum 09:21:05 640e595b4fbd: Download complete 09:21:05 763cafe07f6e: Download complete 09:21:05 59bf1c3509f3: Download complete 09:21:05 0c0b528cf693: Verifying Checksum 09:21:05 0c0b528cf693: Download complete 09:21:05 59bf1c3509f3: Pull complete 09:21:05 666ba61612fd: Pull complete 09:21:05 8ed8ca486205: Pull complete 09:21:06 10935f4eaf8b: Verifying Checksum 09:21:06 10935f4eaf8b: Download complete 09:21:06 4fe6c5a15a65: Verifying Checksum 09:21:06 4fe6c5a15a65: Download complete 09:21:08 using credential edgex-jenkins-ssh 09:21:08 Cloning the remote Git repository 09:21:08 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:21:08 > git init /w/workspace/device-gpio/2 # timeout=10 09:21:08 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:21:08 > git --version # timeout=10 09:21:08 > git --version # 'git version 2.25.1' 09:21:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:09 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:21:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:09 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:21:09 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:21:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:21:10 Merging remotes/origin/main commit 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb into PR head commit 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f 09:21:10 Merge succeeded, producing 94adb527053bce16d38bbd2a78118972e9fb1c1f 09:21:10 Checking out Revision 94adb527053bce16d38bbd2a78118972e9fb1c1f (PR-24) 09:21:10 4fe6c5a15a65: Pull complete 09:21:10 22a0e8bec74d: Pull complete 09:21:10 640e595b4fbd: Pull complete 09:21:10 763cafe07f6e: Pull complete 09:21:10 0c0b528cf693: Pull complete 09:21:10 > git config core.sparsecheckout # timeout=10 09:21:10 > git checkout -f 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 09:21:10 > git remote # timeout=10 09:21:10 > git config --get remote.origin.url # timeout=10 09:21:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:10 > git merge 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 09:21:10 > git rev-parse HEAD^{commit} # timeout=10 09:21:10 > git config core.sparsecheckout # timeout=10 09:21:10 > git checkout -f 94adb527053bce16d38bbd2a78118972e9fb1c1f # timeout=10 09:21:12 10935f4eaf8b: Pull complete 09:21:12 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 09:21:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:21:12 ---> 99d49a6021b9 09:21:12 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:21:14 ---> Running in 09cfb7d44948 09:21:14 Removing intermediate container 09cfb7d44948 09:21:14 ---> a78d5c1e79be 09:21:14 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:21:14 ---> Running in 12b10cf2a55f 09:21:14 Removing intermediate container 12b10cf2a55f 09:21:14 ---> 916f9ee91d1a 09:21:14 Step 5/11 : WORKDIR /device-gpio 09:21:14 ---> Running in 3bc2e5afc3a4 09:21:14 Removing intermediate container 3bc2e5afc3a4 09:21:14 ---> 03ab9c524071 09:21:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:21:14 ---> Running in bf9c2962adae 09:21:15 Removing intermediate container bf9c2962adae 09:21:15 ---> c77030a5c176 09:21:15 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:21:15 ---> Running in 8cd8348d628a 09:21:15 Commit message: "Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD" 09:21:15 > git rev-list --no-walk 784cbdb0aaef5f7a73cfa124054e922ab6b6a43f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:21:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:21:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:21:16 % Total % Received % Xferd Average Speed Time Time Time Current 09:21:16 Dload Upload Total Spent Left Speed 09:21:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46261 0 --:--:-- --:--:-- --:--:-- 46081 [Pipeline] sh 09:21:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:21:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:21:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:21:16 (2/4) Installing libedit (20210910.3.1-r0) 09:21:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:21:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:21:17 + sudo tee /etc/docker/daemon.new 09:21:17 { 09:21:17 "registry-mirrors": [ 09:21:17 "https://nexus3.edgexfoundry.org:10001" 09:21:17 ], 09:21:17 "bip": "10.250.0.254/24", 09:21:17 "hosts": [ 09:21:17 "tcp://0.0.0.0:5555", 09:21:17 "unix:///var/run/docker.sock" 09:21:17 ], 09:21:17 "mtu": 1458, 09:21:17 "selinux-enabled": true, 09:21:17 "seccomp-profile": "/etc/docker/seccomp.json" 09:21:17 } [Pipeline] sh 09:21:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:21:17 Executing busybox-1.34.1-r3.trigger 09:21:17 OK: 224 MiB in 56 packages 09:21:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:21:17 Removing intermediate container 8cd8348d628a 09:21:17 ---> 222fda8ad926 09:21:17 Step 8/11 : COPY go.mod vendor* ./ 09:21:17 ---> d15ba79007b5 09:21:17 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:17 ---> Running in 49f1f86a79a5 09:21:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:36 provisioning config files... 09:21:36 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config9032428576731748627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:36 ---> docker-login.sh 09:21:36 nexus3.edgexfoundry.org:10001 09:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:37 Configure a credential helper to remove this warning. See 09:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:37 09:21:37 Login Succeeded 09:21:37 nexus3.edgexfoundry.org:10002 09:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:37 Configure a credential helper to remove this warning. See 09:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:37 09:21:37 Login Succeeded 09:21:37 nexus3.edgexfoundry.org:10003 09:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:38 Configure a credential helper to remove this warning. See 09:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:38 09:21:38 Login Succeeded 09:21:38 nexus3.edgexfoundry.org:10004 09:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:38 Configure a credential helper to remove this warning. See 09:21:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:38 09:21:38 Login Succeeded 09:21:38 docker.io 09:21:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:39 Configure a credential helper to remove this warning. See 09:21:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:39 09:21:39 Login Succeeded 09:21:39 ---> docker-login.sh ends [Pipeline] } 09:21:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:39 ========================================================= 09:21:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:21:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:21:39 + 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 . 09:21:40 Sending build context to Docker daemon 5.629MB 09:21:40 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:21:40 Step 2/11 : FROM ${BASE} AS builder 09:21:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:21:40 9b3977197b4f: Pulling fs layer 09:21:40 1a89e8eeedd5: Pulling fs layer 09:21:40 94645a83ff95: Pulling fs layer 09:21:40 3f3a8bcf1eab: Pulling fs layer 09:21:40 0c92f367c5e7: Pulling fs layer 09:21:40 f7c0051592d6: Pulling fs layer 09:21:40 a227ed2f7395: Pulling fs layer 09:21:40 7b1c46037f91: Pulling fs layer 09:21:40 f7c0051592d6: Waiting 09:21:40 a227ed2f7395: Waiting 09:21:40 7b1c46037f91: Waiting 09:21:40 3f3a8bcf1eab: Waiting 09:21:40 0c92f367c5e7: Waiting 09:21:40 94645a83ff95: Download complete 09:21:40 1a89e8eeedd5: Verifying Checksum 09:21:40 1a89e8eeedd5: Download complete 09:21:40 0c92f367c5e7: Verifying Checksum 09:21:40 0c92f367c5e7: Download complete 09:21:40 f7c0051592d6: Verifying Checksum 09:21:40 f7c0051592d6: Download complete 09:21:40 a227ed2f7395: Verifying Checksum 09:21:40 a227ed2f7395: Download complete 09:21:40 9b3977197b4f: Download complete 09:21:41 9b3977197b4f: Pull complete 09:21:41 1a89e8eeedd5: Pull complete 09:21:42 94645a83ff95: Pull complete 09:21:42 7b1c46037f91: Verifying Checksum 09:21:42 7b1c46037f91: Download complete 09:21:43 3f3a8bcf1eab: Verifying Checksum 09:21:43 3f3a8bcf1eab: Download complete 09:21:55 3f3a8bcf1eab: Pull complete 09:21:55 0c92f367c5e7: Pull complete 09:21:55 f7c0051592d6: Pull complete 09:21:55 a227ed2f7395: Pull complete 09:21:56 Removing intermediate container 49f1f86a79a5 09:21:56 ---> 2e0aabab9805 09:21:56 Step 10/11 : COPY . . 09:21:56 ---> a1e5acf4b108 09:21:56 Step 11/11 : RUN ${MAKE} 09:21:56 ---> Running in d18b947659de 09:21:56 Removing intermediate container d18b947659de 09:21:56 ---> 54f444b2862b 09:21:56 [Warning] One or more build-args [MAKE] were not consumed 09:21:56 Successfully built 54f444b2862b 09:21:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:21:56 + docker inspect -f . ci-base-image-x86_64 09:21:56 . [Pipeline] withDockerContainer 09:21:56 prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container 09:21:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:21:57 $ docker top 272f37b9ffd2c53345e9ba33d933ab1d841f6a7eee3c8a443bd8c36f8302d23b -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:57 + go version 09:21:57 go version go1.17.6 linux/amd64 [Pipeline] } 09:21:57 $ docker stop --time=1 272f37b9ffd2c53345e9ba33d933ab1d841f6a7eee3c8a443bd8c36f8302d23b 09:21:58 $ docker rm -f 272f37b9ffd2c53345e9ba33d933ab1d841f6a7eee3c8a443bd8c36f8302d23b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:21:59 + docker inspect -f . ci-base-image-x86_64 09:21:59 . [Pipeline] withDockerContainer 09:21:59 prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container 09:21:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:21:59 $ docker top 9a8c606e007eafeb6a5ab4a567e7393cc833917ad491b839cc25c25c3301fec9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:22:00 + make test 09:22:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:22:00 ? github.com/edgexfoundry/device-gpio [no test files] 09:22:02 7b1c46037f91: Pull complete 09:22:02 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 09:22:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:22:02 ---> f79e39bc4007 09:22:02 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:22:03 ---> Running in fa6d48e9d968 09:22:03 Removing intermediate container fa6d48e9d968 09:22:03 ---> 31032249a1b1 09:22:03 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:22:03 ---> Running in 2a2235de9607 09:22:03 Removing intermediate container 2a2235de9607 09:22:03 ---> 843f40e718fd 09:22:03 Step 5/11 : WORKDIR /device-gpio 09:22:03 ---> Running in 84b67562af73 09:22:04 Removing intermediate container 84b67562af73 09:22:04 ---> c6addccca3e1 09:22:04 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:04 ---> Running in 9d299e268236 09:22:06 Removing intermediate container 9d299e268236 09:22:06 ---> 930c123de2f9 09:22:06 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:06 ---> Running in 9772f8aeee20 09:22:07 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:22:07 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:22:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:22:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:22:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:22:09 (2/4) Installing libedit (20210910.3.1-r0) 09:22:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:22:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:22:09 Executing busybox-1.34.1-r3.trigger 09:22:09 OK: 224 MiB in 56 packages 09:22:10 Removing intermediate container 9772f8aeee20 09:22:10 ---> b20148e9deeb 09:22:10 Step 8/11 : COPY go.mod vendor* ./ 09:22:10 ---> 7ffba02a737b 09:22:10 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:10 ---> Running in 568fbf246b23 09:22:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:22:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:22:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:22:14 ./bin/test-attribution-txt.sh [Pipeline] echo 09:22:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:22:14 $ docker stop --time=1 9a8c606e007eafeb6a5ab4a567e7393cc833917ad491b839cc25c25c3301fec9 09:22:16 $ docker rm -f 9a8c606e007eafeb6a5ab4a567e7393cc833917ad491b839cc25c25c3301fec9 [Pipeline] // withDockerContainer [Pipeline] sh 09:22:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:22:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:22:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:22:18 + ls -al . 09:22:18 total 188 09:22:18 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 09:22 . 09:22:18 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 09:20 .. 09:22:18 -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 09:20 .dockerignore 09:22:18 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:20 .git 09:22:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:20 .github 09:22:18 -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 09:20 .gitignore 09:22:18 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 09:20 .golangci.yml 09:22:18 drwx------ 3 jenkins jenkins 4096 Apr 10 09:21 .semver 09:22:18 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 09:20 Attribution.txt 09:22:18 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 09:20 Dockerfile 09:22:18 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 09:20 GOVERNANCE.md 09:22:18 -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 09:20 Jenkinsfile 09:22:18 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 09:20 LICENSE 09:22:18 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 09:20 Makefile 09:22:18 -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 09:20 OWNERS.md 09:22:18 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 09:20 README.md 09:22:18 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 09:21 VERSION 09:22:18 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:20 bin 09:22:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:20 cmd 09:22:18 -rw-r--r-- 1 jenkins jenkins 10 Apr 10 09:22 coverage.out 09:22:18 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 09:20 go.mod 09:22:18 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 09:20 go.sum 09:22:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:20 internal 09:22:18 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:20 snap 09:22:18 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 09:20 version.go [Pipeline] isUnix [Pipeline] sh 09:22:18 + 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=f1b39a6ee35ded058d2807cd415535bfab826972 --label arch=amd64 --label version=0.0.0 . 09:22:18 Sending build context to Docker daemon 11.1MB 09:22:18 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:22:18 Step 2/25 : FROM ${BASE} AS builder 09:22:18 ---> 54f444b2862b 09:22:18 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:22:18 ---> Running in b3230b2e4f7b 09:22:18 Removing intermediate container b3230b2e4f7b 09:22:18 ---> 9752216f4f1c 09:22:18 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:22:18 ---> Running in b49e35e57729 09:22:18 Removing intermediate container b49e35e57729 09:22:18 ---> 0bde4e2e01b3 09:22:18 Step 5/25 : WORKDIR /device-gpio 09:22:18 ---> Running in e34162af5018 09:22:18 Removing intermediate container e34162af5018 09:22:18 ---> 0504a233171c 09:22:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:18 ---> Running in 7a234aec9a4e 09:22:19 Removing intermediate container 7a234aec9a4e 09:22:19 ---> dd125daec339 09:22:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:19 ---> Running in 60e887d4ffa5 09:22:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:20 OK: 224 MiB in 56 packages 09:22:21 Removing intermediate container 60e887d4ffa5 09:22:21 ---> 6eb7ad45ecae 09:22:21 Step 8/25 : COPY go.mod vendor* ./ 09:22:21 ---> a3b825cd3b5b 09:22:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:21 ---> Running in 66e3dbda03f7 09:22:21 Removing intermediate container 66e3dbda03f7 09:22:21 ---> ffb19a4e4f52 09:22:21 Step 10/25 : COPY . . 09:22:22 ---> dece149b174b 09:22:22 Step 11/25 : RUN ${MAKE} 09:22:22 ---> Running in 4b01016873f3 09:22:23 Removing intermediate container 4b01016873f3 09:22:23 ---> d8d3ac5cd3e1 09:22:23 Step 12/25 : FROM alpine:3.15 09:22:23 3.15: Pulling from library/alpine 09:22:23 df9b9388f04a: Pulling fs layer 09:22:23 df9b9388f04a: Download complete 09:22:23 df9b9388f04a: Pull complete 09:22:23 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:22:23 Status: Downloaded newer image for alpine:3.15 09:22:23 ---> 0ac33e5f5afa 09:22:23 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:22:24 ---> Running in fc50a0068f83 09:22:24 Removing intermediate container fc50a0068f83 09:22:24 ---> aee1da0f0b98 09:22:24 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:24 ---> Running in 72c7230b9468 09:22:24 Removing intermediate container 72c7230b9468 09:22:24 ---> 9f3e19c9b105 09:22:24 Step 15/25 : RUN apk add --update --no-cache zeromq 09:22:24 ---> Running in 331e38bb9150 09:22:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:26 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:22:26 (2/5) Installing libsodium (1.0.18-r0) 09:22:26 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:22:26 (4/5) Installing libzmq (4.3.4-r0) 09:22:26 (5/5) Installing zeromq (4.3.4-r0) 09:22:26 Executing busybox-1.34.1-r5.trigger 09:22:26 OK: 8 MiB in 19 packages 09:22:27 Removing intermediate container 331e38bb9150 09:22:27 ---> b22db21f40f0 09:22:27 Step 16/25 : WORKDIR / 09:22:27 ---> Running in 41f9fff78326 09:22:27 Removing intermediate container 41f9fff78326 09:22:27 ---> b54f3d0a9c50 09:22:27 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:22:27 ---> be952e6bdf16 09:22:27 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:22:27 ---> c0a4910ce004 09:22:27 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:22:27 ---> e35df14c40e7 09:22:27 Step 20/25 : EXPOSE 59910 09:22:27 ---> Running in d8d23bb29eb5 09:22:27 Removing intermediate container d8d23bb29eb5 09:22:27 ---> 16c350f9b1f3 09:22:27 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:22:27 ---> Running in 24eef72107c5 09:22:28 Removing intermediate container 24eef72107c5 09:22:28 ---> f37c2236f2b0 09:22:28 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:22:28 ---> Running in 92e462ade3dc 09:22:28 Removing intermediate container 92e462ade3dc 09:22:28 ---> de3c693de81f 09:22:28 Step 23/25 : LABEL arch=amd64 09:22:28 ---> Running in 9b791896435e 09:22:28 Removing intermediate container 9b791896435e 09:22:28 ---> 4a073a11d790 09:22:28 Step 24/25 : LABEL git_sha=f1b39a6ee35ded058d2807cd415535bfab826972 09:22:28 ---> Running in e12dd78e0e73 09:22:28 Removing intermediate container e12dd78e0e73 09:22:28 ---> 0da3c4d4970e 09:22:28 Step 25/25 : LABEL version=0.0.0 09:22:28 ---> Running in 07cd274c9dd3 09:22:28 Removing intermediate container 07cd274c9dd3 09:22:28 ---> 8af3f2ab307b 09:22:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:22:28 Successfully built 8af3f2ab307b 09:22:28 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 09:22:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:29 09:22:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:22:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:29 latest: Pulling from edgex-lftools-log-publisher 09:22:29 5eb5b503b376: Pulling fs layer 09:22:29 5c69ac0246d0: Pulling fs layer 09:22:29 ec43610c2a17: Pulling fs layer 09:22:29 3a2ae6a8a46f: Pulling fs layer 09:22:29 33b1e0a273af: Pulling fs layer 09:22:29 5d3b04190fa2: Pulling fs layer 09:22:29 2f39f015ded8: Pulling fs layer 09:22:29 3a2ae6a8a46f: Waiting 09:22:29 33b1e0a273af: Waiting 09:22:29 5d3b04190fa2: Waiting 09:22:29 2f39f015ded8: Waiting 09:22:29 5c69ac0246d0: Verifying Checksum 09:22:29 5c69ac0246d0: Download complete 09:22:29 3a2ae6a8a46f: Verifying Checksum 09:22:29 3a2ae6a8a46f: Download complete 09:22:29 33b1e0a273af: Verifying Checksum 09:22:29 33b1e0a273af: Download complete 09:22:29 ec43610c2a17: Verifying Checksum 09:22:29 ec43610c2a17: Download complete 09:22:29 5d3b04190fa2: Verifying Checksum 09:22:29 5d3b04190fa2: Download complete 09:22:29 5eb5b503b376: Verifying Checksum 09:22:29 5eb5b503b376: Download complete 09:22:30 2f39f015ded8: Download complete 09:22:30 5eb5b503b376: Pull complete 09:22:31 5c69ac0246d0: Pull complete 09:22:31 ec43610c2a17: Pull complete 09:22:31 3a2ae6a8a46f: Pull complete 09:22:31 33b1e0a273af: Pull complete 09:22:31 5d3b04190fa2: Pull complete 09:22:35 2f39f015ded8: Pull complete 09:22:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:22:36 prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container 09:22:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:22:37 $ docker top b78e8ef7ec340347bedf9653240240f35e72316d1e2c4b8f2551ebe3d3621669 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:38 ---> job-cost.sh 09:22:38 lf-activate-venv: SKIPPING 09:22:38 INFO: No Stack... 09:22:39 INFO: Retrieving Pricing Info for: v3-standard-8 09:22:39 INFO: Archiving Costs [Pipeline] sh 09:22:39 + cat /w/workspace/edgexfoundry_device-gpio_PR-24/archives/cost.csv 09:22:39 + cut -d, -f6 [Pipeline] lock 09:22:39 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] 09:22:39 Resource [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] did not exist. Created. 09:22:39 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:39 + echo total: 0.2199999988079071 [Pipeline] stash 09:22:39 Stashed 1 file(s) [Pipeline] } 09:22:39 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:22:39 $ docker stop --time=1 b78e8ef7ec340347bedf9653240240f35e72316d1e2c4b8f2551ebe3d3621669 09:22:41 $ docker rm -f b78e8ef7ec340347bedf9653240240f35e72316d1e2c4b8f2551ebe3d3621669 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:23:32 Removing intermediate container 568fbf246b23 09:23:32 ---> 2899bbc01aa5 09:23:32 Step 10/11 : COPY . . 09:23:32 ---> 8c59bb3d72b6 09:23:32 Step 11/11 : RUN ${MAKE} 09:23:32 ---> Running in 76a17d028b73 09:23:33 Removing intermediate container 76a17d028b73 09:23:33 ---> c64a2b40bdce 09:23:33 [Warning] One or more build-args [MAKE] were not consumed 09:23:33 Successfully built c64a2b40bdce 09:23:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:23:33 + docker inspect -f . ci-base-image-arm64 09:23:33 . [Pipeline] withDockerContainer 09:23:33 prd-ubuntu20.04-docker-arm64-4c-16g-11867 does not seem to be running inside a container 09:23:33 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:23:35 $ docker top 73208caef5f757f014d41bf896606578c6efe9e6de2ae822eaf3af002b558a90 -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:36 + go version 09:23:36 go version go1.17.6 linux/arm64 [Pipeline] } 09:23:36 $ docker stop --time=1 73208caef5f757f014d41bf896606578c6efe9e6de2ae822eaf3af002b558a90 09:23:37 $ docker rm -f 73208caef5f757f014d41bf896606578c6efe9e6de2ae822eaf3af002b558a90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:23:38 + docker inspect -f . ci-base-image-arm64 09:23:38 . [Pipeline] withDockerContainer 09:23:38 prd-ubuntu20.04-docker-arm64-4c-16g-11867 does not seem to be running inside a container 09:23:38 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:23:40 $ docker top 37c0e6d57778bf4674fae0297b51214f18202da9a2897e63bbf5f14a08f9f30f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:23:41 + make test 09:23:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:23:42 ? github.com/edgexfoundry/device-gpio [no test files] 09:24:39 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:24:39 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:24:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:24:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:24:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:24:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:24:51 ./bin/test-attribution-txt.sh [Pipeline] echo 09:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:24:53 $ docker stop --time=1 37c0e6d57778bf4674fae0297b51214f18202da9a2897e63bbf5f14a08f9f30f 09:24:54 $ docker rm -f 37c0e6d57778bf4674fae0297b51214f18202da9a2897e63bbf5f14a08f9f30f [Pipeline] // withDockerContainer [Pipeline] sh 09:24:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:24:55 Warning: overwriting stash ‘coverage-report’ 09:24:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:24:57 + ls -al . 09:24:57 total 184 09:24:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:24 . 09:24:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 09:21 .. 09:24:57 -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 09:21 .dockerignore 09:24:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:21 .git 09:24:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:21 .github 09:24:57 -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 09:21 .gitignore 09:24:57 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 09:21 .golangci.yml 09:24:57 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 09:21 Attribution.txt 09:24:57 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 09:21 Dockerfile 09:24:57 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 09:21 GOVERNANCE.md 09:24:57 -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 09:21 Jenkinsfile 09:24:57 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 09:21 LICENSE 09:24:57 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 09:21 Makefile 09:24:57 -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 09:21 OWNERS.md 09:24:57 -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 09:21 README.md 09:24:57 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 09:21 VERSION 09:24:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:21 bin 09:24:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 cmd 09:24:57 -rw-r--r-- 1 jenkins jenkins 10 Apr 10 09:23 coverage.out 09:24:57 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 09:21 go.mod 09:24:57 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 09:21 go.sum 09:24:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 internal 09:24:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 snap 09:24:57 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 09:21 version.go [Pipeline] isUnix [Pipeline] sh 09:24:57 + 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=94adb527053bce16d38bbd2a78118972e9fb1c1f --label arch=arm64 --label version=0.0.0 . 09:24:57 Sending build context to Docker daemon 5.63MB 09:24:57 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:24:57 Step 2/25 : FROM ${BASE} AS builder 09:24:57 ---> c64a2b40bdce 09:24:57 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:24:57 ---> Running in a35e29e90109 09:24:58 Removing intermediate container a35e29e90109 09:24:58 ---> 3824aec58f33 09:24:58 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:24:58 ---> Running in 92da7e4885e1 09:24:58 Removing intermediate container 92da7e4885e1 09:24:58 ---> a642312bdc9c 09:24:58 Step 5/25 : WORKDIR /device-gpio 09:24:58 ---> Running in 121d1ecafa04 09:24:59 Removing intermediate container 121d1ecafa04 09:24:59 ---> d43c4591173c 09:24:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:59 ---> Running in caa5df87a50f 09:25:01 Removing intermediate container caa5df87a50f 09:25:01 ---> cbd26574faae 09:25:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:01 ---> Running in 75617e780c04 09:25:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:25:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:25:03 OK: 224 MiB in 56 packages 09:25:04 Removing intermediate container 75617e780c04 09:25:04 ---> a2bd3a0ff2e9 09:25:04 Step 8/25 : COPY go.mod vendor* ./ 09:25:04 ---> bd568d882e17 09:25:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:04 ---> Running in 79001a1bfffb 09:25:06 Removing intermediate container 79001a1bfffb 09:25:06 ---> 36e5bce2c277 09:25:06 Step 10/25 : COPY . . 09:25:07 ---> d853566fc1ac 09:25:07 Step 11/25 : RUN ${MAKE} 09:25:07 ---> Running in 6b3bdf034358 09:25:09 Removing intermediate container 6b3bdf034358 09:25:09 ---> 212dab8ebe80 09:25:09 Step 12/25 : FROM alpine:3.15 09:25:09 3.15: Pulling from library/alpine 09:25:10 9981e73032c8: Pulling fs layer 09:25:10 9981e73032c8: Verifying Checksum 09:25:10 9981e73032c8: Download complete 09:25:10 9981e73032c8: Pull complete 09:25:10 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:25:10 Status: Downloaded newer image for alpine:3.15 09:25:10 ---> 3fb3c9af89a9 09:25:10 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:25:10 ---> Running in 051a3a104556 09:25:11 Removing intermediate container 051a3a104556 09:25:11 ---> 626d2b053091 09:25:11 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:11 ---> Running in 2baa86d7abd0 09:25:12 Removing intermediate container 2baa86d7abd0 09:25:12 ---> c093c5e32478 09:25:12 Step 15/25 : RUN apk add --update --no-cache zeromq 09:25:12 ---> Running in ff0903c23643 09:25:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:25:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:25:15 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:25:15 (2/5) Installing libsodium (1.0.18-r0) 09:25:15 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:25:15 (4/5) Installing libzmq (4.3.4-r0) 09:25:15 (5/5) Installing zeromq (4.3.4-r0) 09:25:15 Executing busybox-1.34.1-r5.trigger 09:25:15 OK: 8 MiB in 19 packages 09:25:16 Removing intermediate container ff0903c23643 09:25:16 ---> 30829da4d64e 09:25:16 Step 16/25 : WORKDIR / 09:25:16 ---> Running in d8e8ee6f8675 09:25:17 Removing intermediate container d8e8ee6f8675 09:25:17 ---> 53e72b401d5d 09:25:17 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:25:17 ---> 870c6a2f5d6e 09:25:17 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:25:18 ---> 2dca3d9560ff 09:25:18 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:25:18 ---> c4b775ab0c52 09:25:18 Step 20/25 : EXPOSE 59910 09:25:18 ---> Running in 3fc4f5cf0309 09:25:19 Removing intermediate container 3fc4f5cf0309 09:25:19 ---> 398dfc5abf61 09:25:19 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:25:19 ---> Running in 32647895dc72 09:25:19 Removing intermediate container 32647895dc72 09:25:19 ---> 519fcbcb548c 09:25:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:25:19 ---> Running in f84c9167b80c 09:25:20 Removing intermediate container f84c9167b80c 09:25:20 ---> d01320d31c82 09:25:20 Step 23/25 : LABEL arch=arm64 09:25:20 ---> Running in 71e7b52b637d 09:25:20 Removing intermediate container 71e7b52b637d 09:25:20 ---> 8a89e177aed3 09:25:20 Step 24/25 : LABEL git_sha=94adb527053bce16d38bbd2a78118972e9fb1c1f 09:25:20 ---> Running in 2eb945ec68dd 09:25:20 Removing intermediate container 2eb945ec68dd 09:25:20 ---> f7c3b0f46806 09:25:20 Step 25/25 : LABEL version=0.0.0 09:25:20 ---> Running in a8c371faf516 09:25:20 Removing intermediate container a8c371faf516 09:25:20 ---> e7d7a16e04ab 09:25:20 [Warning] One or more build-args [MAKE ARCH] were not consumed 09:25:21 Successfully built e7d7a16e04ab 09:25:21 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 09:25:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:25:21 09:25:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:25:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:25:22 arm64: Pulling from edgex-lftools-log-publisher 09:25:22 8998bd30e6a1: Pulling fs layer 09:25:22 04944245beec: Pulling fs layer 09:25:22 699f458cf7ca: Pulling fs layer 09:25:22 765212b225bb: Pulling fs layer 09:25:22 f23df028b6ca: Pulling fs layer 09:25:22 d65c8cfc05b1: Pulling fs layer 09:25:22 2437ff75d9bd: Pulling fs layer 09:25:22 f23df028b6ca: Waiting 09:25:22 d65c8cfc05b1: Waiting 09:25:22 2437ff75d9bd: Waiting 09:25:22 765212b225bb: Waiting 09:25:22 04944245beec: Verifying Checksum 09:25:22 04944245beec: Download complete 09:25:22 765212b225bb: Verifying Checksum 09:25:22 765212b225bb: Download complete 09:25:22 f23df028b6ca: Verifying Checksum 09:25:22 f23df028b6ca: Download complete 09:25:22 d65c8cfc05b1: Verifying Checksum 09:25:22 d65c8cfc05b1: Download complete 09:25:22 699f458cf7ca: Verifying Checksum 09:25:22 699f458cf7ca: Download complete 09:25:22 8998bd30e6a1: Verifying Checksum 09:25:22 8998bd30e6a1: Download complete 09:25:25 2437ff75d9bd: Download complete 09:25:27 8998bd30e6a1: Pull complete 09:25:27 04944245beec: Pull complete 09:25:29 699f458cf7ca: Pull complete 09:25:29 765212b225bb: Pull complete 09:25:30 f23df028b6ca: Pull complete 09:25:30 d65c8cfc05b1: Pull complete 09:25:45 2437ff75d9bd: Pull complete 09:25:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:25:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:25:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:25:46 prd-ubuntu20.04-docker-arm64-4c-16g-11867 does not seem to be running inside a container 09:25:46 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:25:49 $ docker top 20d8e50ccaa2502ac4df4336bd7e76fce780942d801054509bb2e7f19d66c21f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:50 ---> job-cost.sh 09:25:50 lf-activate-venv: SKIPPING 09:25:50 INFO: No Stack... 09:25:50 INFO: Retrieving Pricing Info for: v3-standard-4 09:25:51 INFO: Archiving Costs [Pipeline] sh 09:25:52 + cut -d, -f6 09:25:52 + cat /w/workspace/device-gpio/2/archives/cost.csv [Pipeline] lock 09:25:52 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] 09:25:52 Resource [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] did not exist. Created. 09:25:52 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:25:53 /w/workspace/device-gpio/2@tmp/durable-7b387756/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:25:53 + echo total: 0.550000011920929 [Pipeline] stash 09:25:53 Warning: overwriting stash ‘stack-cost’ 09:25:53 Stashed 1 file(s) [Pipeline] } 09:25:53 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-24-2-stack-cost] [Pipeline] // lock [Pipeline] } 09:25:53 $ docker stop --time=1 20d8e50ccaa2502ac4df4336bd7e76fce780942d801054509bb2e7f19d66c21f 09:25:55 $ docker rm -f 20d8e50ccaa2502ac4df4336bd7e76fce780942d801054509bb2e7f19d66c21f [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 09:25:55 provisioning config files... 09:25:55 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config1853784195745447400tmp [Pipeline] { [Pipeline] sh 09:25:56 + set +x 09:25:56 + curl -s https://codecov.io/bash 09:25:56 + bash -s -- 09:25:56 09:25:56 _____ _ 09:25:56 / ____| | | 09:25:56 | | ___ __| | ___ ___ _____ __ 09:25:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:25:56 | |___| (_) | (_| | __/ (_| (_) \ V / 09:25:56 \_____\___/ \__,_|\___|\___\___/ \_/ 09:25:56 Bash-1.0.6 09:25:56 09:25:56 09:25:56 ==> git version 2.25.1 found 09:25:56 ==> 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 09:25:56 Release-Date: 2020-01-08 09:25:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:25:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:25:56 ==> Jenkins CI detected. 09:25:56 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-24 09:25:56 project root: . 09:25:56 --> token set from env 09:25:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:25:56 ==> Running gcov in . (disable via -X gcov) 09:25:56 ==> Python coveragepy not found 09:25:56 ==> Searching for coverage reports in: 09:25:56 + . 09:25:56 -> Found 1 reports 09:25:56 ==> Detecting git/mercurial file structure 09:25:56 ==> Reading reports 09:25:56 + ./coverage.out bytes=10 09:25:56 ==> Appending adjustments 09:25:56 https://docs.codecov.io/docs/fixing-reports 09:25:56 + Found adjustments 09:25:56 ==> Gzipping contents 09:25:56 4.0K /tmp/codecov.Qdc4HL.gz 09:25:56 ==> Uploading reports 09:25:56 url: https://codecov.io 09:25:56 query: branch=PR-24&commit=f1b39a6ee35ded058d2807cd415535bfab826972&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= 09:25:56 -> Pinging Codecov 09:25:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-24&commit=f1b39a6ee35ded058d2807cd415535bfab826972&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-24%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=24&job=&cmd_args= 09:25:56 -> Uploading to 09:25:56 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/f1b39a6ee35ded058d2807cd415535bfab826972/ea5d3583-b07d-43cd-a6c3-cbd5ac885b75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T092556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=26b0a798ee1f8531093b7beb4ee9c63114bc7d18ff1f9977947ad2ee81e5b2fa 09:25:56 % Total % Received % Xferd Average Speed Time Time Time Current 09:25:56 Dload Upload Total Spent Left Speed 09:25:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 813 0 0 100 813 0 4004 --:--:-- --:--:-- --:--:-- 3985 100 813 0 0 100 813 0 3401 --:--:-- --:--:-- --:--:-- 3401 09:25:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/f1b39a6ee35ded058d2807cd415535bfab826972 [Pipeline] } 09:25:56 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 09:25:57 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-24/archives ] 09:25:57 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives 09:25:57 total 16 09:25:57 drwxr-xr-x 3 root root 4096 Apr 10 09:22 . 09:25:57 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 09:22 .. 09:25:57 drwxr-xr-x 2 root root 4096 Apr 10 09:22 cost 09:25:57 -rw-r--r-- 1 root root 81 Apr 10 09:22 cost.csv 09:25:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-24/archives 09:25:57 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-24/archives 09:25:57 total 16 09:25:57 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 09:22 . 09:25:57 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 09:22 .. 09:25:57 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 09:22 cost 09:25:57 -rw-r--r-- 1 jenkins jenkins 81 Apr 10 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:25:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:25:58 ---> package-listing.sh 09:25:58 ++ facter osfamily 09:25:58 ++ tr '[:upper:]' '[:lower:]' 09:25:58 + OS_FAMILY=debian 09:25:58 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-24 09:25:58 + START_PACKAGES=/tmp/packages_start.txt 09:25:58 + END_PACKAGES=/tmp/packages_end.txt 09:25:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:25:58 + PACKAGES=/tmp/packages_start.txt 09:25:58 + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' 09:25:58 + PACKAGES=/tmp/packages_end.txt 09:25:58 + case "${OS_FAMILY}" in 09:25:58 + dpkg -l 09:25:58 + grep '^ii' 09:25:58 + '[' -f /tmp/packages_start.txt ']' 09:25:58 + '[' -f /tmp/packages_end.txt ']' 09:25:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:25:58 + '[' /w/workspace/edgexfoundry_device-gpio_PR-24 ']' 09:25:58 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ 09:25:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-24/archives/ [Pipeline] echo 09:25:58 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-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:25:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:25:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:59 . [Pipeline] withDockerContainer 09:25:59 prd-ubuntu20.04-docker-8c-8g-11873 does not seem to be running inside a container 09:25:59 $ 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-24/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-24 -v /w/workspace/edgexfoundry_device-gpio_PR-24:/w/workspace/edgexfoundry_device-gpio_PR-24:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-24@tmp:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:26:00 $ docker top e6e70439f227b26b2a9d31f010af08eabce90e8ed07583102e4abf0da1c2c273 -eo pid,comm [Pipeline] { [Pipeline] sh 09:26:00 + touch /tmp/pre-build-complete [Pipeline] sh 09:26:00 + mkdir -p /var/log/sysstat [Pipeline] sh 09:26:01 + ls /var/log/sa-host 09:26:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:26:01 provisioning config files... 09:26:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-24@tmp/config2732638097375482487tmp [Pipeline] { [Pipeline] echo 09:26:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:26:01 ---> create-netrc.sh [Pipeline] } 09:26:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:26:02 ---> python-tools-install.sh [Pipeline] echo 09:26:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:26:02 ---> sudo-logs.sh 09:26:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:26:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:26:02 ---> job-cost.sh 09:26:02 lf-activate-venv: SKIPPING 09:26:02 DEBUG: total: 0.2199999988079071 09:26:02 INFO: Retrieving Stack Cost... 09:26:03 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:03 INFO: Archiving Costs [Pipeline] echo 09:26:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:26:03 ---> logs-deploy.sh 09:26:03 lf-activate-venv: SKIPPING 09:26:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-24/2 09:26:03 INFO: archiving workspace using pattern(s): 09:26:04 Archives upload complete. 09:26:04 INFO: archiving logs to Nexus