Pull request #25 updated 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 MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at b9afc87bdaf6fb1a5adf70b8290df672557dec94 rather than 849856e397af8c7133fe8d5f0c56bf82761c9132 Obtained Jenkinsfile from b9afc87bdaf6fb1a5adf70b8290df672557dec94 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-ssh11160191342159912466.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-ssh11088143938522591255.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-25/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-25/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8419732985813236331.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-ssh6580084641431136802.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-25/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-25/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3020045722873283703.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21960 in /w/workspace/edgexfoundry_device-gpio_PR-25 [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-25 # 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 b9afc87bdaf6fb1a5adf70b8290df672557dec94 into PR head commit 849856e397af8c7133fe8d5f0c56bf82761c9132 Merge succeeded, producing 849856e397af8c7133fe8d5f0c56bf82761c9132 Checking out Revision 849856e397af8c7133fe8d5f0c56bf82761c9132 (PR-25) > 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/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 849856e397af8c7133fe8d5f0c56bf82761c9132 # 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 b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 849856e397af8c7133fe8d5f0c56bf82761c9132 # timeout=10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" > git rev-list --no-walk 1b281662fcf49cf6563350eacec93d78c09b7a13 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:08:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:08:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:08:18 ========================================================= 09:08:18 EdgeX Global Pipelines Version Info 09:08:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:08:19 ------------------- 09:08:19 stable info: 09:08:19 ------------------- 09:08:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:08:19 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 09:08:19 Message: update stable to v1.0.221 09:08:19 ------------------- 09:08:19 experimental info: 09:08:19 ------------------- 09:08:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:08:19 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 09:08:19 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-25 [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-25 [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-25 [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 849856e [Pipeline] echo 09:08:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:08:20 provisioning config files... 09:08:20 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config4296831221479272305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:08:20 ---> docker-login.sh 09:08:20 nexus3.edgexfoundry.org:10001 09:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:21 Configure a credential helper to remove this warning. See 09:08:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:21 09:08:21 Login Succeeded 09:08:21 nexus3.edgexfoundry.org:10002 09:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:21 Configure a credential helper to remove this warning. See 09:08:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:21 09:08:21 Login Succeeded 09:08:21 nexus3.edgexfoundry.org:10003 09:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:21 Configure a credential helper to remove this warning. See 09:08:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:21 09:08:21 Login Succeeded 09:08:21 nexus3.edgexfoundry.org:10004 09:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:21 Configure a credential helper to remove this warning. See 09:08:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:21 09:08:21 Login Succeeded 09:08:21 docker.io 09:08:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:22 Configure a credential helper to remove this warning. See 09:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:22 09:08:22 Login Succeeded 09:08:22 ---> docker-login.sh ends [Pipeline] } 09:08:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:08:22 + git rev-list -1 --merges 849856e397af8c7133fe8d5f0c56bf82761c9132~1..849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] echo 09:08:22 -----------> git rev-list -1 --merges 849856e397af8c7133fe8d5f0c56bf82761c9132~1..849856e397af8c7133fe8d5f0c56bf82761c9132 849856e397af8c7133fe8d5f0c56bf82761c9132 [false] [Pipeline] sh 09:08:23 + git log --format=format:%s -1 849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] echo 09:08:23 ========================================================= 09:08:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:08:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:08:23 + git log --format=format:%s -1 849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] echo 09:08:23 [semverPrep] GIT_COMMIT: 849856e397af8c7133fe8d5f0c56bf82761c9132, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3 [Pipeline] echo 09:08:23 [semverPrep] This is not a build commit. [Pipeline] sh 09:08:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:08:23 + grep -v github /etc/ssh/ssh_known_hosts 09:08:23 + [ -e /tmp/ssh_known_hosts ] 09:08:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:08:23 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:08:23 sudo tee -a /etc/ssh/ssh_known_hosts 09:08:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:08:24 09:08:24 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:08:24 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:08:39 latest: Pulling from edgex-devops/git-semver 09:08:39 a0d0a0d46f8b: Pulling fs layer 09:08:39 3e5f54012d9b: Pulling fs layer 09:08:39 4c7163046ea9: Pulling fs layer 09:08:39 0c2d73faf560: Pulling fs layer 09:08:39 0c2d73faf560: Waiting 09:08:39 3e5f54012d9b: Verifying Checksum 09:08:39 3e5f54012d9b: Download complete 09:08:39 a0d0a0d46f8b: Download complete 09:08:39 0c2d73faf560: Verifying Checksum 09:08:39 0c2d73faf560: Download complete 09:08:39 4c7163046ea9: Verifying Checksum 09:08:39 4c7163046ea9: Download complete 09:08:39 a0d0a0d46f8b: Pull complete 09:08:39 3e5f54012d9b: Pull complete 09:08:39 4c7163046ea9: Pull complete 09:08:39 0c2d73faf560: Pull complete 09:08:39 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 09:08:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:08:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:08:39 prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container 09:08:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@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:10004/edgex-devops/git-semver:latest cat 09:08:40 $ docker top 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:08:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:40 [ssh-agent] Looking for ssh-agent implementation... 09:08:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:40 $ docker exec 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 ssh-agent 09:08:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfhOEcm/agent.13 09:08:40 SSH_AGENT_PID=19 09:08:40 Running ssh-add (command line suppressed) 09:08:40 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_982843099354061786.key (/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_982843099354061786.key) 09:08:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:40 + git tag --points-at HEAD [Pipeline] } 09:08:40 $ docker exec --env ******** --env ******** 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 ssh-agent -k 09:08:41 unset SSH_AUTH_SOCK; 09:08:41 unset SSH_AGENT_PID; 09:08:41 echo Agent pid 19 killed; 09:08:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:08:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:08:41 [ssh-agent] Looking for ssh-agent implementation... 09:08:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:08:41 $ docker exec 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 ssh-agent 09:08:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkMlDkl/agent.53 09:08:41 SSH_AGENT_PID=59 09:08:41 Running ssh-add (command line suppressed) 09:08:41 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_797541734452315957.key (/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_797541734452315957.key) 09:08:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:08:41 + git semver init 09:08:41 # -> Open(): unable to determine branch for HEAD 09:08:41 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.git 09:08:41 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-25 09:08:41 # $SEMVER_REMOTE_NAME = origin 09:08:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:08:41 # $SEMVER_USER_NAME = edgex-jenkins 09:08:41 # $SEMVER_BRANCH = PR-25 09:08:41 # $SEMVER_TEMP = /tmp/semver-912466422 09:08:41 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 09:08:42 # '/tmp/semver-912466422' -> '/w/workspace/edgexfoundry_device-gpio_PR-25/.semver' 09:08:42 # -> Force: false 09:08:42 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.semver [Pipeline] } 09:08:42 $ docker exec --env ******** --env ******** 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 ssh-agent -k 09:08:42 unset SSH_AUTH_SOCK; 09:08:42 unset SSH_AGENT_PID; 09:08:42 echo Agent pid 59 killed; 09:08:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:08:43 + git semver [Pipeline] } 09:08:43 $ docker stop --time=1 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 09:08:44 $ docker rm -f 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 [Pipeline] // withDockerContainer [Pipeline] sh 09:08:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:08:45 Stashed 1 file(s) [Pipeline] echo 09:08:45 [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:08:45 provisioning config files... 09:08:45 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config4594788056481696903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:08:45 ---> docker-login.sh 09:08:45 nexus3.edgexfoundry.org:10001 09:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:45 Configure a credential helper to remove this warning. See 09:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:45 09:08:45 Login Succeeded 09:08:45 nexus3.edgexfoundry.org:10002 09:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:45 Configure a credential helper to remove this warning. See 09:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:45 09:08:45 Login Succeeded 09:08:45 nexus3.edgexfoundry.org:10003 09:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:45 Configure a credential helper to remove this warning. See 09:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:45 09:08:45 Login Succeeded 09:08:45 nexus3.edgexfoundry.org:10004 09:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:45 Configure a credential helper to remove this warning. See 09:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:45 09:08:45 Login Succeeded 09:08:45 docker.io 09:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:08:46 Configure a credential helper to remove this warning. See 09:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:08:46 09:08:46 Login Succeeded 09:08:46 ---> docker-login.sh ends [Pipeline] } 09:08:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:08:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:08:46 ========================================================= 09:08:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:08:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:08:46 + 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:08:46 Sending build context to Docker daemon 11.14MB 09:08:46 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:08:46 Step 2/11 : FROM ${BASE} AS builder 09:08:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:08:46 59bf1c3509f3: Pulling fs layer 09:08:46 666ba61612fd: Pulling fs layer 09:08:46 8ed8ca486205: Pulling fs layer 09:08:46 4fe6c5a15a65: Pulling fs layer 09:08:46 22a0e8bec74d: Pulling fs layer 09:08:46 ca2b28591e48: Pulling fs layer 09:08:46 a51346096db8: Pulling fs layer 09:08:46 daebc70d1ce1: Pulling fs layer 09:08:46 0e18a0eac166: Pulling fs layer 09:08:46 4fe6c5a15a65: Waiting 09:08:46 22a0e8bec74d: Waiting 09:08:46 ca2b28591e48: Waiting 09:08:46 a51346096db8: Waiting 09:08:46 0e18a0eac166: Waiting 09:08:46 8ed8ca486205: Download complete 09:08:46 666ba61612fd: Download complete 09:08:46 22a0e8bec74d: Verifying Checksum 09:08:46 22a0e8bec74d: Download complete 09:08:46 ca2b28591e48: Verifying Checksum 09:08:46 ca2b28591e48: Download complete 09:08:46 a51346096db8: Verifying Checksum 09:08:46 a51346096db8: Download complete 09:08:46 59bf1c3509f3: Verifying Checksum 09:08:46 59bf1c3509f3: Download complete 09:08:46 daebc70d1ce1: Verifying Checksum 09:08:46 daebc70d1ce1: Download complete 09:08:46 59bf1c3509f3: Pull complete 09:08:47 666ba61612fd: Pull complete 09:08:47 8ed8ca486205: Pull complete 09:08:47 0e18a0eac166: Download complete 09:08:47 4fe6c5a15a65: Verifying Checksum 09:08:47 4fe6c5a15a65: Download complete 09:08:51 4fe6c5a15a65: Pull complete 09:08:51 22a0e8bec74d: Pull complete 09:08:51 ca2b28591e48: Pull complete 09:08:51 a51346096db8: Pull complete 09:08:51 daebc70d1ce1: Pull complete 09:08:53 0e18a0eac166: Pull complete 09:08:53 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:08:53 ---> f018257e8ee9 09:08:53 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:08:58 ---> Running in c25ea078f0c2 09:08:58 Removing intermediate container c25ea078f0c2 09:08:58 ---> 6d70e2981a53 09:08:58 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:08:58 ---> Running in 65c56a39b1b6 09:08:58 Removing intermediate container 65c56a39b1b6 09:08:58 ---> da23ad3d7eb8 09:08:58 Step 5/11 : WORKDIR /device-gpio 09:08:58 ---> Running in fc4f82d8261e 09:08:58 Removing intermediate container fc4f82d8261e 09:08:58 ---> 9b5b47065c9f 09:08:58 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:58 ---> Running in 0c795be99ed5 09:08:58 Removing intermediate container 0c795be99ed5 09:08:58 ---> f516814abe7d 09:08:58 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:08:58 ---> Running in fcf77efc0731 09:08:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:08:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:08:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:09:00 (2/4) Installing libedit (20210910.3.1-r0) 09:09:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:09:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:09:00 Still waiting to schedule task 09:09:00 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:09:00 Executing busybox-1.34.1-r3.trigger 09:09:00 OK: 224 MiB in 56 packages 09:09:00 Removing intermediate container fcf77efc0731 09:09:00 ---> 30cee72ed3ed 09:09:00 Step 8/11 : COPY go.mod vendor* ./ 09:09:00 ---> 8c3e7881f8f2 09:09:00 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:09:00 ---> Running in 3d15cd6d114d 09:09:27 Removing intermediate container 3d15cd6d114d 09:09:27 ---> 5e6040fbc1d9 09:09:27 Step 10/11 : COPY . . 09:09:27 ---> 4026a1a2382f 09:09:27 Step 11/11 : RUN ${MAKE} 09:09:27 ---> Running in d0f6c6ff1696 09:09:27 Removing intermediate container d0f6c6ff1696 09:09:27 ---> 99fb4e0e6bc7 09:09:27 [Warning] One or more build-args [MAKE] were not consumed 09:09:27 Successfully built 99fb4e0e6bc7 09:09:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:09:27 + docker inspect -f . ci-base-image-x86_64 09:09:27 . [Pipeline] withDockerContainer 09:09:27 prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container 09:09:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@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 ******** -e ******** ci-base-image-x86_64 cat 09:09:28 $ docker top f1b2233ef5b7a1c939ae36bdc131029821ef4655a05f9a09f7ad3159e26f5dac -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:28 + go version 09:09:28 go version go1.17.6 linux/amd64 [Pipeline] } 09:09:28 $ docker stop --time=1 f1b2233ef5b7a1c939ae36bdc131029821ef4655a05f9a09f7ad3159e26f5dac 09:09:30 $ docker rm -f f1b2233ef5b7a1c939ae36bdc131029821ef4655a05f9a09f7ad3159e26f5dac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:09:30 + docker inspect -f . ci-base-image-x86_64 09:09:30 . [Pipeline] withDockerContainer 09:09:30 prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container 09:09:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@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 ******** -e ******** ci-base-image-x86_64 cat 09:09:31 $ docker top d55b3fd9d3af748341e652aedc49f4eb3c364dc44426eddfe1eb591c6f9522ff -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:09:31 + make test 09:09:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:09:31 ? github.com/edgexfoundry/device-gpio [no test files] 09:09:38 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:09:38 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:09:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:09:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:09:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:09:46 ./bin/test-attribution-txt.sh [Pipeline] echo 09:09:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:09:46 $ docker stop --time=1 d55b3fd9d3af748341e652aedc49f4eb3c364dc44426eddfe1eb591c6f9522ff 09:09:48 $ docker rm -f d55b3fd9d3af748341e652aedc49f4eb3c364dc44426eddfe1eb591c6f9522ff [Pipeline] // withDockerContainer [Pipeline] sh 09:09:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:09:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:09:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:09:50 + ls -al . 09:09:50 total 188 09:09:50 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:09 . 09:09:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:08 .. 09:09:50 -rw-rw-r-- 1 jenkins jenkins 120 Apr 25 09:08 .dockerignore 09:09:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:08 .git 09:09:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:08 .github 09:09:50 -rw-rw-r-- 1 jenkins jenkins 343 Apr 25 09:08 .gitignore 09:09:50 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 09:08 .golangci.yml 09:09:50 drwx------ 3 jenkins jenkins 4096 Apr 25 09:08 .semver 09:09:50 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 25 09:08 Attribution.txt 09:09:50 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 25 09:08 Dockerfile 09:09:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:08 GOVERNANCE.md 09:09:50 -rw-rw-r-- 1 jenkins jenkins 657 Apr 25 09:08 Jenkinsfile 09:09:50 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 09:08 LICENSE 09:09:50 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 25 09:08 Makefile 09:09:50 -rw-rw-r-- 1 jenkins jenkins 617 Apr 25 09:08 OWNERS.md 09:09:50 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 25 09:08 README.md 09:09:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:08 VERSION 09:09:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:08 bin 09:09:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:08 cmd 09:09:50 -rw-r--r-- 1 jenkins jenkins 10 Apr 25 09:09 coverage.out 09:09:50 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 25 09:08 go.mod 09:09:50 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 25 09:08 go.sum 09:09:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:08 internal 09:09:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:08 snap 09:09:50 -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 09:08 version.go [Pipeline] isUnix [Pipeline] sh 09:09:50 + 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=849856e397af8c7133fe8d5f0c56bf82761c9132 --label arch=amd64 --label version=0.0.0 . 09:09:50 Sending build context to Docker daemon 11.14MB 09:09:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:09:50 Step 2/25 : FROM ${BASE} AS builder 09:09:50 ---> 99fb4e0e6bc7 09:09:50 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:09:50 ---> Running in 09584ee314fc 09:09:51 Removing intermediate container 09584ee314fc 09:09:51 ---> edb31cc6cb60 09:09:51 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:09:51 ---> Running in 798d84d3e211 09:09:51 Removing intermediate container 798d84d3e211 09:09:51 ---> 6bf1e570d997 09:09:51 Step 5/25 : WORKDIR /device-gpio 09:09:51 ---> Running in be407c4eaa60 09:09:51 Removing intermediate container be407c4eaa60 09:09:51 ---> 189dc506e33b 09:09:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:09:52 ---> Running in 6bce7a303faf 09:09:53 Removing intermediate container 6bce7a303faf 09:09:53 ---> 49e1eb4b6fca 09:09:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:09:53 ---> Running in 1c52c921b2c5 09:09:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:09:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:09:55 OK: 224 MiB in 56 packages 09:09:56 Removing intermediate container 1c52c921b2c5 09:09:56 ---> 6d26045a4a06 09:09:56 Step 8/25 : COPY go.mod vendor* ./ 09:09:56 ---> 2a2a1735669d 09:09:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:09:57 ---> Running in b55bf8131603 09:09:57 Removing intermediate container b55bf8131603 09:09:57 ---> 601130377a5a 09:09:57 Step 10/25 : COPY . . 09:09:58 ---> 4d1d85c6cc02 09:09:58 Step 11/25 : RUN ${MAKE} 09:09:58 ---> Running in d3f88ca4c433 09:09:59 Removing intermediate container d3f88ca4c433 09:09:59 ---> e69226d2cc83 09:09:59 Step 12/25 : FROM alpine:3.15 09:10:00 3.15: Pulling from library/alpine 09:10:00 df9b9388f04a: Pulling fs layer 09:10:00 df9b9388f04a: Verifying Checksum 09:10:00 df9b9388f04a: Download complete 09:10:01 df9b9388f04a: Pull complete 09:10:01 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:10:01 Status: Downloaded newer image for alpine:3.15 09:10:01 ---> 0ac33e5f5afa 09:10:01 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:10:01 ---> Running in 1fce7986f6ee 09:10:01 Removing intermediate container 1fce7986f6ee 09:10:01 ---> 8c1c8ac15d65 09:10:01 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:02 ---> Running in f8c1ea7d457d 09:10:04 Removing intermediate container f8c1ea7d457d 09:10:04 ---> 8447d7c5baa0 09:10:04 Step 15/25 : RUN apk add --update --no-cache zeromq 09:10:05 ---> Running in 0ac2dab59fbe 09:10:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:10:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:10:07 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:10:07 (2/5) Installing libsodium (1.0.18-r0) 09:10:07 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:10:07 (4/5) Installing libzmq (4.3.4-r0) 09:10:07 (5/5) Installing zeromq (4.3.4-r0) 09:10:07 Executing busybox-1.34.1-r5.trigger 09:10:07 OK: 8 MiB in 19 packages 09:10:10 Removing intermediate container 0ac2dab59fbe 09:10:10 ---> 9bde998267d9 09:10:10 Step 16/25 : WORKDIR / 09:10:10 ---> Running in 3d54ea1a2533 09:10:10 Removing intermediate container 3d54ea1a2533 09:10:10 ---> 33fcfda4c9ca 09:10:10 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:10:11 ---> a3a9b5de0a19 09:10:11 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:10:12 ---> 7c9a83527bc6 09:10:12 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:10:12 ---> 71c5ec74e270 09:10:12 Step 20/25 : EXPOSE 59910 09:10:12 ---> Running in d8fc98c53f91 09:10:12 Removing intermediate container d8fc98c53f91 09:10:12 ---> 80ef955e369e 09:10:12 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:10:12 ---> Running in 82b6454ff77d 09:10:12 Removing intermediate container 82b6454ff77d 09:10:12 ---> 29c2640a8fe3 09:10:12 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:10:12 ---> Running in 2891a9efc608 09:10:12 Removing intermediate container 2891a9efc608 09:10:12 ---> 8e37853c0c75 09:10:12 Step 23/25 : LABEL arch=amd64 09:10:12 ---> Running in 2d015d491ab5 09:10:12 Removing intermediate container 2d015d491ab5 09:10:12 ---> cd71f7e9c412 09:10:12 Step 24/25 : LABEL git_sha=849856e397af8c7133fe8d5f0c56bf82761c9132 09:10:13 ---> Running in 0e5bebb6289e 09:10:13 Removing intermediate container 0e5bebb6289e 09:10:13 ---> 23001b30c5e2 09:10:13 Step 25/25 : LABEL version=0.0.0 09:10:13 ---> Running in 5a333717edbb 09:10:13 Removing intermediate container 5a333717edbb 09:10:13 ---> 844fe6cd8147 09:10:13 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:10:13 Successfully built 844fe6cd8147 09:10:13 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:10:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:10:14 09:10:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:10:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:10:14 latest: Pulling from edgex-lftools-log-publisher 09:10:14 5eb5b503b376: Pulling fs layer 09:10:14 5c69ac0246d0: Pulling fs layer 09:10:14 ec43610c2a17: Pulling fs layer 09:10:14 3a2ae6a8a46f: Pulling fs layer 09:10:14 33b1e0a273af: Pulling fs layer 09:10:14 5d3b04190fa2: Pulling fs layer 09:10:14 2f39f015ded8: Pulling fs layer 09:10:14 33b1e0a273af: Waiting 09:10:14 5d3b04190fa2: Waiting 09:10:14 2f39f015ded8: Waiting 09:10:14 5c69ac0246d0: Verifying Checksum 09:10:14 5c69ac0246d0: Download complete 09:10:14 3a2ae6a8a46f: Verifying Checksum 09:10:14 3a2ae6a8a46f: Download complete 09:10:14 33b1e0a273af: Verifying Checksum 09:10:14 33b1e0a273af: Download complete 09:10:14 ec43610c2a17: Verifying Checksum 09:10:14 ec43610c2a17: Download complete 09:10:14 5d3b04190fa2: Verifying Checksum 09:10:14 5d3b04190fa2: Download complete 09:10:14 5eb5b503b376: Verifying Checksum 09:10:14 5eb5b503b376: Download complete 09:10:15 2f39f015ded8: Download complete 09:10:16 5eb5b503b376: Pull complete 09:10:16 5c69ac0246d0: Pull complete 09:10:16 ec43610c2a17: Pull complete 09:10:16 3a2ae6a8a46f: Pull complete 09:10:16 33b1e0a273af: Pull complete 09:10:16 5d3b04190fa2: Pull complete 09:10:21 2f39f015ded8: Pull complete 09:10:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:10:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:10:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:10:21 prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container 09:10:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:10:22 $ docker top 7ba680807e8766baabde8bc983c37b2f272e7f1a17617f7105a34798684a3816 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:10:23 ---> job-cost.sh 09:10:23 lf-activate-venv: SKIPPING 09:10:23 INFO: No Stack... 09:10:23 INFO: Retrieving Pricing Info for: v3-standard-8 09:10:24 INFO: Archiving Costs [Pipeline] sh 09:10:24 + cat /w/workspace/edgexfoundry_device-gpio_PR-25/archives/cost.csv 09:10:24 + cut -d, -f6 [Pipeline] lock 09:10:24 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] 09:10:24 Resource [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] did not exist. Created. 09:10:24 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:10:25 + echo total: 0.2199999988079071 [Pipeline] stash 09:10:25 Stashed 1 file(s) [Pipeline] } 09:10:25 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:10:25 $ docker stop --time=1 7ba680807e8766baabde8bc983c37b2f272e7f1a17617f7105a34798684a3816 09:10:26 $ docker rm -f 7ba680807e8766baabde8bc983c37b2f272e7f1a17617f7105a34798684a3816 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:14:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22015 in /w/workspace/edgexfoundry_device-gpio_PR-25 [Pipeline] { [Pipeline] ws 09:14:57 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 09:14:57 The recommended git tool is: git 09:15:03 using credential edgex-jenkins-ssh 09:15:03 Cloning the remote Git repository 09:15:03 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:15:03 > git init /w/workspace/device-gpio/3 # timeout=10 09:15:03 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:15:03 > git --version # timeout=10 09:15:03 > git --version # 'git version 2.25.1' 09:15:03 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:04 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:15:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:15:05 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:15:05 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:15:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:15:05 Merging remotes/origin/main commit b9afc87bdaf6fb1a5adf70b8290df672557dec94 into PR head commit 849856e397af8c7133fe8d5f0c56bf82761c9132 09:15:05 Merge succeeded, producing 849856e397af8c7133fe8d5f0c56bf82761c9132 09:15:05 Checking out Revision 849856e397af8c7133fe8d5f0c56bf82761c9132 (PR-25) 09:15:05 > git config core.sparsecheckout # timeout=10 09:15:05 > git checkout -f 849856e397af8c7133fe8d5f0c56bf82761c9132 # timeout=10 09:15:05 > git remote # timeout=10 09:15:05 > git config --get remote.origin.url # timeout=10 09:15:05 using GIT_SSH to set credentials SSH Credentials for GitHub 09:15:05 > git merge b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 09:15:05 > git rev-parse HEAD^{commit} # timeout=10 09:15:05 > git config core.sparsecheckout # timeout=10 09:15:05 > git checkout -f 849856e397af8c7133fe8d5f0c56bf82761c9132 # timeout=10 09:15:10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:15:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:15:11 % Total % Received % Xferd Average Speed Time Time Time Current 09:15:11 Dload Upload Total Spent Left Speed 09:15:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 09:15:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:15:12 + sudo tee /etc/docker/daemon.new 09:15:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:15:12 { 09:15:12 "registry-mirrors": [ 09:15:12 "https://nexus3.edgexfoundry.org:10001" 09:15:12 ], 09:15:12 "bip": "10.250.0.254/24", 09:15:12 "hosts": [ 09:15:12 "tcp://0.0.0.0:5555", 09:15:12 "unix:///var/run/docker.sock" 09:15:12 ], 09:15:12 "mtu": 1458, 09:15:12 "selinux-enabled": true, 09:15:12 "seccomp-profile": "/etc/docker/seccomp.json" 09:15:12 } [Pipeline] sh 09:15:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:15:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:15:31 provisioning config files... 09:15:31 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config2224041098016551239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:31 ---> docker-login.sh 09:15:31 nexus3.edgexfoundry.org:10001 09:15:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:32 Configure a credential helper to remove this warning. See 09:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:32 09:15:32 Login Succeeded 09:15:32 nexus3.edgexfoundry.org:10002 09:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:33 Configure a credential helper to remove this warning. See 09:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:33 09:15:33 Login Succeeded 09:15:33 nexus3.edgexfoundry.org:10003 09:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:33 Configure a credential helper to remove this warning. See 09:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:33 09:15:33 Login Succeeded 09:15:33 nexus3.edgexfoundry.org:10004 09:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:34 Configure a credential helper to remove this warning. See 09:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:34 09:15:34 Login Succeeded 09:15:34 docker.io 09:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:34 Configure a credential helper to remove this warning. See 09:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:34 09:15:34 Login Succeeded 09:15:34 ---> docker-login.sh ends [Pipeline] } 09:15:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:15:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:15:35 ========================================================= 09:15:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:15:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:15:35 + 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:15:35 Sending build context to Docker daemon 5.662MB 09:15:36 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:15:36 Step 2/11 : FROM ${BASE} AS builder 09:15:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:15:36 9b3977197b4f: Pulling fs layer 09:15:36 1a89e8eeedd5: Pulling fs layer 09:15:36 94645a83ff95: Pulling fs layer 09:15:36 3f3a8bcf1eab: Pulling fs layer 09:15:36 0c92f367c5e7: Pulling fs layer 09:15:36 3096ccb668a1: Pulling fs layer 09:15:36 e8cf19c19ddd: Pulling fs layer 09:15:36 a4caa8a26152: Pulling fs layer 09:15:36 3096ccb668a1: Waiting 09:15:36 3f3a8bcf1eab: Waiting 09:15:36 e8cf19c19ddd: Waiting 09:15:36 0c92f367c5e7: Waiting 09:15:36 a4caa8a26152: Waiting 09:15:36 94645a83ff95: Verifying Checksum 09:15:36 94645a83ff95: Download complete 09:15:36 1a89e8eeedd5: Verifying Checksum 09:15:36 1a89e8eeedd5: Download complete 09:15:36 0c92f367c5e7: Verifying Checksum 09:15:36 0c92f367c5e7: Download complete 09:15:36 3096ccb668a1: Verifying Checksum 09:15:36 3096ccb668a1: Download complete 09:15:36 e8cf19c19ddd: Verifying Checksum 09:15:36 e8cf19c19ddd: Download complete 09:15:36 9b3977197b4f: Download complete 09:15:37 9b3977197b4f: Pull complete 09:15:37 1a89e8eeedd5: Pull complete 09:15:38 94645a83ff95: Pull complete 09:15:38 a4caa8a26152: Verifying Checksum 09:15:38 a4caa8a26152: Download complete 09:15:39 3f3a8bcf1eab: Verifying Checksum 09:15:39 3f3a8bcf1eab: Download complete 09:15:51 3f3a8bcf1eab: Pull complete 09:15:52 0c92f367c5e7: Pull complete 09:15:52 3096ccb668a1: Pull complete 09:15:52 e8cf19c19ddd: Pull complete 09:16:01 a4caa8a26152: Pull complete 09:16:01 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:16:01 ---> 725f1c02e7f9 09:16:01 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:16:01 ---> Running in d8e14dc89961 09:16:02 Removing intermediate container d8e14dc89961 09:16:02 ---> 6d634d945f7f 09:16:02 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:16:02 ---> Running in 8b443f3f0c54 09:16:02 Removing intermediate container 8b443f3f0c54 09:16:02 ---> aa445470d5a6 09:16:02 Step 5/11 : WORKDIR /device-gpio 09:16:03 ---> Running in aaacd6b10e80 09:16:03 Removing intermediate container aaacd6b10e80 09:16:03 ---> b4296fad6dfa 09:16:03 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:16:03 ---> Running in 40eb882936e3 09:16:05 Removing intermediate container 40eb882936e3 09:16:05 ---> e909db2e218a 09:16:05 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:16:05 ---> Running in d9844dd3ff12 09:16:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:16:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:16:08 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:16:08 (2/4) Installing libedit (20210910.3.1-r0) 09:16:08 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:16:08 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:16:08 Executing busybox-1.34.1-r3.trigger 09:16:08 OK: 224 MiB in 56 packages 09:16:09 Removing intermediate container d9844dd3ff12 09:16:09 ---> 8663aca39216 09:16:09 Step 8/11 : COPY go.mod vendor* ./ 09:16:10 ---> 2de18473374f 09:16:10 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:16:10 ---> Running in 635cda74a1b7 09:17:47 Removing intermediate container 635cda74a1b7 09:17:47 ---> ec967cb5cfb0 09:17:47 Step 10/11 : COPY . . 09:17:47 ---> 031892a6ffdd 09:17:47 Step 11/11 : RUN ${MAKE} 09:17:47 ---> Running in 8faed4a0b16f 09:17:47 Removing intermediate container 8faed4a0b16f 09:17:47 ---> e6b52e4cd2b9 09:17:47 [Warning] One or more build-args [MAKE] were not consumed 09:17:47 Successfully built e6b52e4cd2b9 09:17:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:17:47 + docker inspect -f . ci-base-image-arm64 09:17:47 . [Pipeline] withDockerContainer 09:17:47 prd-ubuntu20.04-docker-arm64-4c-16g-22015 does not seem to be running inside a container 09:17:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** -e ******** ci-base-image-arm64 cat 09:17:49 $ docker top 6bfafff30e6aef72a1403de2dbd8d885e9836b71c365c4714c5fc824261a8f40 -eo pid,comm [Pipeline] { [Pipeline] sh 09:17:50 + go version 09:17:50 go version go1.17.6 linux/arm64 [Pipeline] } 09:17:50 $ docker stop --time=1 6bfafff30e6aef72a1403de2dbd8d885e9836b71c365c4714c5fc824261a8f40 09:17:52 $ docker rm -f 6bfafff30e6aef72a1403de2dbd8d885e9836b71c365c4714c5fc824261a8f40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:17:52 + docker inspect -f . ci-base-image-arm64 09:17:52 . [Pipeline] withDockerContainer 09:17:53 prd-ubuntu20.04-docker-arm64-4c-16g-22015 does not seem to be running inside a container 09:17:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** -e ******** ci-base-image-arm64 cat 09:17:54 $ docker top 48d9dfd1da30915f014952922f4220f9d6f8f891dc1c8682efa6fb7942430719 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:17:55 + make test 09:17:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:17:57 ? github.com/edgexfoundry/device-gpio [no test files] 09:18:53 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:18:53 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:18:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:18:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:19:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:19:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:19:16 ./bin/test-attribution-txt.sh [Pipeline] echo 09:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:19:16 $ docker stop --time=1 48d9dfd1da30915f014952922f4220f9d6f8f891dc1c8682efa6fb7942430719 09:19:18 $ docker rm -f 48d9dfd1da30915f014952922f4220f9d6f8f891dc1c8682efa6fb7942430719 [Pipeline] // withDockerContainer [Pipeline] sh 09:19:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:19:19 Warning: overwriting stash ‘coverage-report’ 09:19:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:19:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:19:20 + ls -al . 09:19:20 total 184 09:19:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:19 . 09:19:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:15 .. 09:19:20 -rw-rw-r-- 1 jenkins jenkins 120 Apr 25 09:15 .dockerignore 09:19:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:15 .git 09:19:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 .github 09:19:20 -rw-rw-r-- 1 jenkins jenkins 343 Apr 25 09:15 .gitignore 09:19:20 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 09:15 .golangci.yml 09:19:20 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 25 09:15 Attribution.txt 09:19:20 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 25 09:15 Dockerfile 09:19:20 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:15 GOVERNANCE.md 09:19:20 -rw-rw-r-- 1 jenkins jenkins 657 Apr 25 09:15 Jenkinsfile 09:19:20 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 09:15 LICENSE 09:19:20 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 25 09:15 Makefile 09:19:20 -rw-rw-r-- 1 jenkins jenkins 617 Apr 25 09:15 OWNERS.md 09:19:20 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 25 09:15 README.md 09:19:20 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:08 VERSION 09:19:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:15 bin 09:19:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 cmd 09:19:20 -rw-r--r-- 1 jenkins jenkins 10 Apr 25 09:17 coverage.out 09:19:20 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 25 09:15 go.mod 09:19:20 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 25 09:15 go.sum 09:19:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 internal 09:19:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 snap 09:19:20 -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 09:15 version.go [Pipeline] isUnix [Pipeline] sh 09:19:20 + 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=849856e397af8c7133fe8d5f0c56bf82761c9132 --label arch=arm64 --label version=0.0.0 . 09:19:20 Sending build context to Docker daemon 5.663MB 09:19:21 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:19:21 Step 2/25 : FROM ${BASE} AS builder 09:19:21 ---> e6b52e4cd2b9 09:19:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:19:21 ---> Running in 569978a77477 09:19:21 Removing intermediate container 569978a77477 09:19:21 ---> 9a2f4ad41238 09:19:21 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:19:21 ---> Running in a68fe3458e30 09:19:22 Removing intermediate container a68fe3458e30 09:19:22 ---> 0478625959b3 09:19:22 Step 5/25 : WORKDIR /device-gpio 09:19:22 ---> Running in 126c94212d7a 09:19:22 Removing intermediate container 126c94212d7a 09:19:22 ---> fdd092a806eb 09:19:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:19:22 ---> Running in 8f26b8c47942 09:19:24 Removing intermediate container 8f26b8c47942 09:19:24 ---> 2ab4cbc1169a 09:19:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:19:24 ---> Running in cce7bd9a58da 09:19:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:19:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:19:27 OK: 224 MiB in 56 packages 09:19:28 Removing intermediate container cce7bd9a58da 09:19:28 ---> e0ba5bfa2ea6 09:19:28 Step 8/25 : COPY go.mod vendor* ./ 09:19:28 ---> e4aadb772aa0 09:19:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:19:28 ---> Running in a175788602b3 09:19:30 Removing intermediate container a175788602b3 09:19:30 ---> 7a486d774e64 09:19:30 Step 10/25 : COPY . . 09:19:31 ---> b205e0e686eb 09:19:31 Step 11/25 : RUN ${MAKE} 09:19:31 ---> Running in 8a178cf84f2a 09:19:33 Removing intermediate container 8a178cf84f2a 09:19:33 ---> 261d8243a449 09:19:33 Step 12/25 : FROM alpine:3.15 09:19:33 3.15: Pulling from library/alpine 09:19:34 9981e73032c8: Pulling fs layer 09:19:34 9981e73032c8: Verifying Checksum 09:19:34 9981e73032c8: Download complete 09:19:35 9981e73032c8: Pull complete 09:19:35 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:19:35 Status: Downloaded newer image for alpine:3.15 09:19:35 ---> 3fb3c9af89a9 09:19:35 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:19:35 ---> Running in dd9fdc520160 09:19:35 Removing intermediate container dd9fdc520160 09:19:35 ---> c46c159c4ccd 09:19:35 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:19:35 ---> Running in e3fb1cbc7818 09:19:37 Removing intermediate container e3fb1cbc7818 09:19:37 ---> a81ed0ed39f1 09:19:37 Step 15/25 : RUN apk add --update --no-cache zeromq 09:19:37 ---> Running in 4bb810f98297 09:19:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:19:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:19:39 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:19:39 (2/5) Installing libsodium (1.0.18-r0) 09:19:39 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:19:40 (4/5) Installing libzmq (4.3.4-r0) 09:19:40 (5/5) Installing zeromq (4.3.4-r0) 09:19:40 Executing busybox-1.34.1-r5.trigger 09:19:40 OK: 8 MiB in 19 packages 09:19:41 Removing intermediate container 4bb810f98297 09:19:41 ---> 8ccd03d23081 09:19:41 Step 16/25 : WORKDIR / 09:19:41 ---> Running in e177f4086353 09:19:41 Removing intermediate container e177f4086353 09:19:41 ---> e3dfe697db8b 09:19:41 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:19:42 ---> 16a7c35a23f1 09:19:42 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:19:42 ---> 9bdca423bbfb 09:19:42 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:19:43 ---> 44cbc6b0f5aa 09:19:43 Step 20/25 : EXPOSE 59910 09:19:43 ---> Running in 888790beda8f 09:19:43 Removing intermediate container 888790beda8f 09:19:43 ---> 5f35dc3e1768 09:19:43 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:19:43 ---> Running in c397859537c9 09:19:44 Removing intermediate container c397859537c9 09:19:44 ---> dbb4a8abf9a9 09:19:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:19:44 ---> Running in f4b7fdf14270 09:19:44 Removing intermediate container f4b7fdf14270 09:19:44 ---> bb324e5b7b8f 09:19:44 Step 23/25 : LABEL arch=arm64 09:19:44 ---> Running in 4318847e43c6 09:19:44 Removing intermediate container 4318847e43c6 09:19:44 ---> 94f38856e562 09:19:44 Step 24/25 : LABEL git_sha=849856e397af8c7133fe8d5f0c56bf82761c9132 09:19:44 ---> Running in 5094bc8a99c1 09:19:45 Removing intermediate container 5094bc8a99c1 09:19:45 ---> 897ac0f68de7 09:19:45 Step 25/25 : LABEL version=0.0.0 09:19:45 ---> Running in ff0032be2f2b 09:19:45 Removing intermediate container ff0032be2f2b 09:19:45 ---> fdc84ea16b08 09:19:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:19:45 Successfully built fdc84ea16b08 09:19:45 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:19:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:19:46 09:19:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:19:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:19:46 arm64: Pulling from edgex-lftools-log-publisher 09:19:46 8998bd30e6a1: Pulling fs layer 09:19:46 04944245beec: Pulling fs layer 09:19:46 699f458cf7ca: Pulling fs layer 09:19:46 765212b225bb: Pulling fs layer 09:19:46 f23df028b6ca: Pulling fs layer 09:19:46 d65c8cfc05b1: Pulling fs layer 09:19:46 2437ff75d9bd: Pulling fs layer 09:19:46 765212b225bb: Waiting 09:19:46 f23df028b6ca: Waiting 09:19:46 d65c8cfc05b1: Waiting 09:19:46 2437ff75d9bd: Waiting 09:19:46 04944245beec: Verifying Checksum 09:19:46 04944245beec: Download complete 09:19:46 765212b225bb: Verifying Checksum 09:19:46 765212b225bb: Download complete 09:19:46 f23df028b6ca: Download complete 09:19:46 d65c8cfc05b1: Verifying Checksum 09:19:46 d65c8cfc05b1: Download complete 09:19:46 699f458cf7ca: Verifying Checksum 09:19:46 699f458cf7ca: Download complete 09:19:47 8998bd30e6a1: Download complete 09:19:49 2437ff75d9bd: Verifying Checksum 09:19:49 2437ff75d9bd: Download complete 09:19:51 8998bd30e6a1: Pull complete 09:19:51 04944245beec: Pull complete 09:19:53 699f458cf7ca: Pull complete 09:19:53 765212b225bb: Pull complete 09:19:54 f23df028b6ca: Pull complete 09:19:54 d65c8cfc05b1: Pull complete 09:20:09 2437ff75d9bd: Pull complete 09:20:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:20:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:20:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:20:09 prd-ubuntu20.04-docker-arm64-4c-16g-22015 does not seem to be running inside a container 09:20:09 $ 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/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:20:12 $ docker top 1373b3b7e6c1f156f8f95def1f2bdec5fba04ba5bd39780b3ab261eae9dc7c5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:13 ---> job-cost.sh 09:20:13 lf-activate-venv: SKIPPING 09:20:13 INFO: No Stack... 09:20:14 INFO: Retrieving Pricing Info for: v3-standard-4 09:20:15 INFO: Archiving Costs [Pipeline] sh 09:20:15 + cat /w/workspace/device-gpio/3/archives/cost.csv 09:20:15 + cut -d, -f6 [Pipeline] lock 09:20:15 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] 09:20:15 Resource [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] did not exist. Created. 09:20:15 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:20:16 /w/workspace/device-gpio/3@tmp/durable-bf0a1c33/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:20:17 + echo total: 0.10999999940395355 [Pipeline] stash 09:20:17 Warning: overwriting stash ‘stack-cost’ 09:20:17 Stashed 1 file(s) [Pipeline] } 09:20:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:20:17 $ docker stop --time=1 1373b3b7e6c1f156f8f95def1f2bdec5fba04ba5bd39780b3ab261eae9dc7c5f 09:20:18 $ docker rm -f 1373b3b7e6c1f156f8f95def1f2bdec5fba04ba5bd39780b3ab261eae9dc7c5f [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:20:19 provisioning config files... 09:20:19 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config2699811075132718252tmp [Pipeline] { [Pipeline] sh 09:20:19 + set +x 09:20:19 + bash -s -- 09:20:19 + curl -s https://codecov.io/bash 09:20:19 09:20:19 _____ _ 09:20:19 / ____| | | 09:20:19 | | ___ __| | ___ ___ _____ __ 09:20:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:20:19 | |___| (_) | (_| | __/ (_| (_) \ V / 09:20:19 \_____\___/ \__,_|\___|\___\___/ \_/ 09:20:19 Bash-1.0.6 09:20:19 09:20:19 09:20:19 ==> git version 2.25.1 found 09:20:19 ==> 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:20:19 Release-Date: 2020-01-08 09:20:19 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:20:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:20:19 ==> Jenkins CI detected. 09:20:19 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-25 09:20:19 project root: . 09:20:19 --> token set from env 09:20:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:20:19 ==> Running gcov in . (disable via -X gcov) 09:20:19 ==> Python coveragepy not found 09:20:19 ==> Searching for coverage reports in: 09:20:19 + . 09:20:19 -> Found 1 reports 09:20:19 ==> Detecting git/mercurial file structure 09:20:19 ==> Reading reports 09:20:19 + ./coverage.out bytes=10 09:20:19 ==> Appending adjustments 09:20:19 https://docs.codecov.io/docs/fixing-reports 09:20:19 + Found adjustments 09:20:19 ==> Gzipping contents 09:20:19 4.0K /tmp/codecov.6RmJ6t.gz 09:20:19 ==> Uploading reports 09:20:19 url: https://codecov.io 09:20:19 query: branch=PR-25&commit=849856e397af8c7133fe8d5f0c56bf82761c9132&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-25%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=25&job=&cmd_args= 09:20:19 -> Pinging Codecov 09:20:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-25&commit=849856e397af8c7133fe8d5f0c56bf82761c9132&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-25%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=25&job=&cmd_args= 09:20:20 -> Uploading to 09:20:20 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/849856e397af8c7133fe8d5f0c56bf82761c9132/0e274e3f-1e6f-419f-a635-04c995d9d92c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T092019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=180922f4f36ee0a1359495201e699219717fd1aa499ee0957cc74426d3e3ee98 09:20:20 % Total % Received % Xferd Average Speed Time Time Time Current 09:20:20 Dload Upload Total Spent Left Speed 09:20:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3747 --:--:-- --:--:-- --:--:-- 3747 09:20:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] } 09:20:20 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:20:20 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-25/archives ] 09:20:20 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives 09:20:20 total 16 09:20:20 drwxr-xr-x 3 root root 4096 Apr 25 09:10 . 09:20:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 09:10 .. 09:20:20 drwxr-xr-x 2 root root 4096 Apr 25 09:10 cost 09:20:20 -rw-r--r-- 1 root root 81 Apr 25 09:10 cost.csv 09:20:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-25/archives 09:20:20 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives 09:20:20 total 16 09:20:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 09:10 . 09:20:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 09:10 .. 09:20:20 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 09:10 cost 09:20:20 -rw-r--r-- 1 jenkins jenkins 81 Apr 25 09:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:20:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:20:21 ---> package-listing.sh 09:20:21 ++ facter osfamily 09:20:21 ++ tr '[:upper:]' '[:lower:]' 09:20:22 + OS_FAMILY=debian 09:20:22 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-25 09:20:22 + START_PACKAGES=/tmp/packages_start.txt 09:20:22 + END_PACKAGES=/tmp/packages_end.txt 09:20:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:20:22 + PACKAGES=/tmp/packages_start.txt 09:20:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' 09:20:22 + PACKAGES=/tmp/packages_end.txt 09:20:22 + case "${OS_FAMILY}" in 09:20:22 + grep '^ii' 09:20:22 + dpkg -l 09:20:22 + '[' -f /tmp/packages_start.txt ']' 09:20:22 + '[' -f /tmp/packages_end.txt ']' 09:20:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:20:22 + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' 09:20:22 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-25/archives/ 09:20:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-25/archives/ [Pipeline] echo 09:20:22 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-25/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:20:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:20:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:20:22 . [Pipeline] withDockerContainer 09:20:22 prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container 09:20:22 $ 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-25/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-25 -v /w/workspace/edgexfoundry_device-gpio_PR-25:/w/workspace/edgexfoundry_device-gpio_PR-25:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-25@tmp:/w/workspace/edgexfoundry_device-gpio_PR-25@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:20:23 $ docker top 93587dcc60adff2a375762fcacabe9baf06a20fb4ff3d75868691409b6120fff -eo pid,comm [Pipeline] { [Pipeline] sh 09:20:23 + touch /tmp/pre-build-complete [Pipeline] sh 09:20:23 + mkdir -p /var/log/sysstat [Pipeline] sh 09:20:24 + ls /var/log/sa-host 09:20:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:20:24 provisioning config files... 09:20:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config4498252418311195346tmp [Pipeline] { [Pipeline] echo 09:20:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:20:24 ---> create-netrc.sh [Pipeline] } 09:20:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:20:24 ---> python-tools-install.sh [Pipeline] echo 09:20:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:20:25 ---> sudo-logs.sh 09:20:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:20:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:20:25 ---> job-cost.sh 09:20:25 lf-activate-venv: SKIPPING 09:20:25 DEBUG: total: 0.2199999988079071 09:20:25 INFO: Retrieving Stack Cost... 09:20:25 INFO: Retrieving Pricing Info for: v3-standard-8 09:20:26 INFO: Archiving Costs [Pipeline] echo 09:20:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:20:26 ---> logs-deploy.sh 09:20:26 lf-activate-venv: SKIPPING 09:20:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-25/3 09:20:26 INFO: archiving workspace using pattern(s): 09:20:27 Archives upload complete. 09:20:27 INFO: archiving logs to Nexus