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 55ae9f22294ead9448b0e986a077af016c88e5ef 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-ssh970158340570800505.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-ssh7530443490426090673.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-ssh1843990866810068088.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-ssh6077497424393560733.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-ssh18191735520022007605.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 Running on prd-ubuntu20.04-docker-8c-8g-23587 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 55ae9f22294ead9448b0e986a077af016c88e5ef Merge succeeded, producing 55ae9f22294ead9448b0e986a077af016c88e5ef Checking out Revision 55ae9f22294ead9448b0e986a077af016c88e5ef (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 55ae9f22294ead9448b0e986a077af016c88e5ef # 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 55ae9f22294ead9448b0e986a077af016c88e5ef # timeout=10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5" > git rev-list --no-walk 849856e397af8c7133fe8d5f0c56bf82761c9132 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:46:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:46:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:46:48 ========================================================= 08:46:48 EdgeX Global Pipelines Version Info 08:46:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:46:49 ------------------- 08:46:49 stable info: 08:46:49 ------------------- 08:46:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:46:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:46:49 Message: update stable to v1.0.221 08:46:50 ------------------- 08:46:50 experimental info: 08:46:50 ------------------- 08:46:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:46:50 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 08:46:50 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-25 [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-25 [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-25 [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55ae9f2 [Pipeline] echo 08:46:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:50 provisioning config files... 08:46:50 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config2276255296126352707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:51 ---> docker-login.sh 08:46:51 nexus3.edgexfoundry.org:10001 08:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:52 Configure a credential helper to remove this warning. See 08:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:52 08:46:52 Login Succeeded 08:46:52 nexus3.edgexfoundry.org:10002 08:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:52 Configure a credential helper to remove this warning. See 08:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:52 08:46:52 Login Succeeded 08:46:52 nexus3.edgexfoundry.org:10003 08:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:52 Configure a credential helper to remove this warning. See 08:46:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:52 08:46:52 Login Succeeded 08:46:52 nexus3.edgexfoundry.org:10004 08:46:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:53 Configure a credential helper to remove this warning. See 08:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:53 08:46:53 Login Succeeded 08:46:53 docker.io 08:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:53 Configure a credential helper to remove this warning. See 08:46:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:53 08:46:53 Login Succeeded 08:46:53 ---> docker-login.sh ends [Pipeline] } 08:46:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:46:53 + git rev-list -1 --merges 55ae9f22294ead9448b0e986a077af016c88e5ef~1..55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] echo 08:46:54 -----------> git rev-list -1 --merges 55ae9f22294ead9448b0e986a077af016c88e5ef~1..55ae9f22294ead9448b0e986a077af016c88e5ef 55ae9f22294ead9448b0e986a077af016c88e5ef [false] [Pipeline] sh 08:46:54 + git log --format=format:%s -1 55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] echo 08:46:54 ========================================================= 08:46:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:46:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:46:54 + git log --format=format:%s -1 55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] echo 08:46:54 [semverPrep] GIT_COMMIT: 55ae9f22294ead9448b0e986a077af016c88e5ef, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5 [Pipeline] echo 08:46:54 [semverPrep] This is not a build commit. [Pipeline] sh 08:46:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:46:55 + grep -v github /etc/ssh/ssh_known_hosts 08:46:55 + [ -e /tmp/ssh_known_hosts ] 08:46:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:46:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:46:55 + sudo tee -a /etc/ssh/ssh_known_hosts 08:46:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:46:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:46:55 08:46:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:46:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:46:55 latest: Pulling from edgex-devops/git-semver 08:46:55 a0d0a0d46f8b: Pulling fs layer 08:46:55 3e5f54012d9b: Pulling fs layer 08:46:55 4c7163046ea9: Pulling fs layer 08:46:55 0c2d73faf560: Pulling fs layer 08:46:55 0c2d73faf560: Waiting 08:46:55 3e5f54012d9b: Download complete 08:46:55 a0d0a0d46f8b: Verifying Checksum 08:46:55 a0d0a0d46f8b: Download complete 08:46:55 0c2d73faf560: Verifying Checksum 08:46:55 0c2d73faf560: Download complete 08:46:56 4c7163046ea9: Verifying Checksum 08:46:56 4c7163046ea9: Download complete 08:46:56 a0d0a0d46f8b: Pull complete 08:46:56 3e5f54012d9b: Pull complete 08:46:56 4c7163046ea9: Pull complete 08:46:56 0c2d73faf560: Pull complete 08:46:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:46:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:46:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:46:56 prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container 08:46:56 $ 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 08:46:57 $ docker top ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:46:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:46:57 [ssh-agent] Looking for ssh-agent implementation... 08:46:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:46:57 $ docker exec ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 ssh-agent 08:46:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeihhBi/agent.13 08:46:57 SSH_AGENT_PID=19 08:46:57 Running ssh-add (command line suppressed) 08:46:57 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_1385124371407423135.key (/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_1385124371407423135.key) 08:46:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:46:58 + git tag --points-at HEAD [Pipeline] } 08:46:58 $ docker exec --env ******** --env ******** ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 ssh-agent -k 08:46:58 unset SSH_AUTH_SOCK; 08:46:58 unset SSH_AGENT_PID; 08:46:58 echo Agent pid 19 killed; 08:46:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:46:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:46:58 [ssh-agent] Looking for ssh-agent implementation... 08:46:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:46:58 $ docker exec ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 ssh-agent 08:46:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdMKmcc/agent.52 08:46:58 SSH_AGENT_PID=58 08:46:58 Running ssh-add (command line suppressed) 08:46:58 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_3051958454841519286.key (/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_3051958454841519286.key) 08:46:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:46:59 + git semver init 08:46:59 # -> Open(): unable to determine branch for HEAD 08:46:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.git 08:46:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-25 08:46:59 # $SEMVER_REMOTE_NAME = origin 08:46:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:46:59 # $SEMVER_USER_NAME = edgex-jenkins 08:46:59 # $SEMVER_BRANCH = PR-25 08:46:59 # $SEMVER_TEMP = /tmp/semver-056248043 08:46:59 # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP 08:47:00 # '/tmp/semver-056248043' -> '/w/workspace/edgexfoundry_device-gpio_PR-25/.semver' 08:47:00 # -> Force: false 08:47:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.semver [Pipeline] } 08:47:00 $ docker exec --env ******** --env ******** ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 ssh-agent -k 08:47:00 unset SSH_AUTH_SOCK; 08:47:00 unset SSH_AGENT_PID; 08:47:00 echo Agent pid 58 killed; 08:47:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:47:00 + git semver [Pipeline] } 08:47:00 $ docker stop --time=1 ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 08:47:01 $ docker rm -f ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 [Pipeline] // withDockerContainer [Pipeline] sh 08:47:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:47:02 Stashed 1 file(s) [Pipeline] echo 08:47:02 [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 08:47:02 provisioning config files... 08:47:02 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config3567808098317795569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:47:03 ---> docker-login.sh 08:47:03 nexus3.edgexfoundry.org:10001 08:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:03 Configure a credential helper to remove this warning. See 08:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:03 08:47:03 Login Succeeded 08:47:03 nexus3.edgexfoundry.org:10002 08:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:03 Configure a credential helper to remove this warning. See 08:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:03 08:47:03 Login Succeeded 08:47:03 nexus3.edgexfoundry.org:10003 08:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:03 Configure a credential helper to remove this warning. See 08:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:03 08:47:03 Login Succeeded 08:47:03 nexus3.edgexfoundry.org:10004 08:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:03 Configure a credential helper to remove this warning. See 08:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:03 08:47:03 Login Succeeded 08:47:03 docker.io 08:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:47:03 Configure a credential helper to remove this warning. See 08:47:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:47:03 08:47:03 Login Succeeded 08:47:03 ---> docker-login.sh ends [Pipeline] } 08:47:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:47:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:47:03 ========================================================= 08:47:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:47:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:47:04 + 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 . 08:47:04 Sending build context to Docker daemon 11.15MB 08:47:04 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 08:47:04 Step 2/11 : FROM ${BASE} AS builder 08:47:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:47:04 59bf1c3509f3: Pulling fs layer 08:47:04 666ba61612fd: Pulling fs layer 08:47:04 8ed8ca486205: Pulling fs layer 08:47:04 4fe6c5a15a65: Pulling fs layer 08:47:04 22a0e8bec74d: Pulling fs layer 08:47:04 ca2b28591e48: Pulling fs layer 08:47:04 a51346096db8: Pulling fs layer 08:47:04 daebc70d1ce1: Pulling fs layer 08:47:04 0e18a0eac166: Pulling fs layer 08:47:04 ca2b28591e48: Waiting 08:47:04 a51346096db8: Waiting 08:47:04 daebc70d1ce1: Waiting 08:47:04 0e18a0eac166: Waiting 08:47:04 4fe6c5a15a65: Waiting 08:47:04 22a0e8bec74d: Waiting 08:47:04 8ed8ca486205: Download complete 08:47:04 666ba61612fd: Verifying Checksum 08:47:04 666ba61612fd: Download complete 08:47:04 22a0e8bec74d: Download complete 08:47:04 ca2b28591e48: Verifying Checksum 08:47:04 ca2b28591e48: Download complete 08:47:04 59bf1c3509f3: Download complete 08:47:04 a51346096db8: Verifying Checksum 08:47:04 a51346096db8: Download complete 08:47:04 daebc70d1ce1: Verifying Checksum 08:47:04 daebc70d1ce1: Download complete 08:47:04 59bf1c3509f3: Pull complete 08:47:04 666ba61612fd: Pull complete 08:47:04 8ed8ca486205: Pull complete 08:47:05 0e18a0eac166: Download complete 08:47:05 4fe6c5a15a65: Verifying Checksum 08:47:05 4fe6c5a15a65: Download complete 08:47:09 4fe6c5a15a65: Pull complete 08:47:09 22a0e8bec74d: Pull complete 08:47:09 ca2b28591e48: Pull complete 08:47:09 a51346096db8: Pull complete 08:47:09 daebc70d1ce1: Pull complete 08:47:11 0e18a0eac166: Pull complete 08:47:11 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 08:47:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:47:11 ---> f018257e8ee9 08:47:11 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:47:12 ---> Running in 9411cd9a5971 08:47:12 Removing intermediate container 9411cd9a5971 08:47:12 ---> 01e1982474e7 08:47:12 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 08:47:13 ---> Running in a13316306c55 08:47:13 Removing intermediate container a13316306c55 08:47:13 ---> 1978cd68f5a2 08:47:13 Step 5/11 : WORKDIR /device-gpio 08:47:13 ---> Running in 8e979cc9459f 08:47:13 Removing intermediate container 8e979cc9459f 08:47:13 ---> 44f7ec03f84b 08:47:13 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:13 ---> Running in 00e82c6b526d 08:47:13 Removing intermediate container 00e82c6b526d 08:47:13 ---> 39abdc04e5fe 08:47:13 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:47:13 ---> Running in b5de0b09b088 08:47:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:47:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:47:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:47:15 (2/4) Installing libedit (20210910.3.1-r0) 08:47:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:47:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:47:15 Executing busybox-1.34.1-r3.trigger 08:47:15 OK: 224 MiB in 56 packages 08:47:16 Removing intermediate container b5de0b09b088 08:47:16 ---> 9aebef9ae78b 08:47:16 Step 8/11 : COPY go.mod vendor* ./ 08:47:16 ---> 024a2d73be54 08:47:16 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:47:16 ---> Running in db97e353e8e3 08:47:17 Still waiting to schedule task 08:47:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:47:48 Removing intermediate container db97e353e8e3 08:47:48 ---> 4c6bc0bc599e 08:47:48 Step 10/11 : COPY . . 08:47:48 ---> 256d2d50957f 08:47:48 Step 11/11 : RUN ${MAKE} 08:47:48 ---> Running in b3c4a5f73c80 08:47:48 Removing intermediate container b3c4a5f73c80 08:47:48 ---> d62ca3dc0cae 08:47:48 [Warning] One or more build-args [MAKE] were not consumed 08:47:48 Successfully built d62ca3dc0cae 08:47:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:47:49 + docker inspect -f . ci-base-image-x86_64 08:47:49 . [Pipeline] withDockerContainer 08:47:49 prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container 08:47:49 $ 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 08:47:49 $ docker top abc576d36e3c766d874cf7e1ff512b937769563a2c6d21070a166d08ce46a794 -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:49 + go version 08:47:49 go version go1.17.6 linux/amd64 [Pipeline] } 08:47:50 $ docker stop --time=1 abc576d36e3c766d874cf7e1ff512b937769563a2c6d21070a166d08ce46a794 08:47:51 $ docker rm -f abc576d36e3c766d874cf7e1ff512b937769563a2c6d21070a166d08ce46a794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:47:51 + docker inspect -f . ci-base-image-x86_64 08:47:51 . [Pipeline] withDockerContainer 08:47:51 prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container 08:47:51 $ 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 08:47:52 $ docker top 3a014b991af68de6f484f6cdbf4e6de89a3daed07317bb2ec43f8e43553a3d76 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:47:52 + make test 08:47:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:47:53 ? github.com/edgexfoundry/device-gpio [no test files] 08:47:59 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 08:47:59 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 08:48:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:48:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:48:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:48:08 ./bin/test-attribution-txt.sh [Pipeline] echo 08:48:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:48:08 $ docker stop --time=1 3a014b991af68de6f484f6cdbf4e6de89a3daed07317bb2ec43f8e43553a3d76 08:48:10 $ docker rm -f 3a014b991af68de6f484f6cdbf4e6de89a3daed07317bb2ec43f8e43553a3d76 [Pipeline] // withDockerContainer [Pipeline] sh 08:48:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:48:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:48:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:48:12 + ls -al . 08:48:12 total 188 08:48:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:48 . 08:48:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:46 .. 08:48:12 -rw-rw-r-- 1 jenkins jenkins 120 Apr 26 08:46 .dockerignore 08:48:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:46 .git 08:48:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:46 .github 08:48:12 -rw-rw-r-- 1 jenkins jenkins 343 Apr 26 08:46 .gitignore 08:48:12 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 08:46 .golangci.yml 08:48:12 drwx------ 3 jenkins jenkins 4096 Apr 26 08:46 .semver 08:48:12 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 26 08:46 Attribution.txt 08:48:12 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 26 08:46 Dockerfile 08:48:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:46 GOVERNANCE.md 08:48:12 -rw-rw-r-- 1 jenkins jenkins 657 Apr 26 08:46 Jenkinsfile 08:48:12 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 08:46 LICENSE 08:48:12 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 26 08:46 Makefile 08:48:12 -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 08:46 OWNERS.md 08:48:12 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 26 08:46 README.md 08:48:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:47 VERSION 08:48:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:46 bin 08:48:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:46 cmd 08:48:12 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 08:47 coverage.out 08:48:12 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 26 08:46 go.mod 08:48:12 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 26 08:46 go.sum 08:48:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:46 internal 08:48:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:46 snap 08:48:12 -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 08:46 version.go [Pipeline] isUnix [Pipeline] sh 08:48:12 + 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=55ae9f22294ead9448b0e986a077af016c88e5ef --label arch=amd64 --label version=0.0.0 . 08:48:12 Sending build context to Docker daemon 11.16MB 08:48:12 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:48:12 Step 2/25 : FROM ${BASE} AS builder 08:48:12 ---> d62ca3dc0cae 08:48:12 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:48:12 ---> Running in a52a65eb9cf0 08:48:12 Removing intermediate container a52a65eb9cf0 08:48:12 ---> 6deff3bda46b 08:48:12 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:48:12 ---> Running in f47d93cbe5ae 08:48:12 Removing intermediate container f47d93cbe5ae 08:48:12 ---> 060d55b18006 08:48:12 Step 5/25 : WORKDIR /device-gpio 08:48:12 ---> Running in 8a582622e99c 08:48:12 Removing intermediate container 8a582622e99c 08:48:12 ---> e59b63cfba2f 08:48:12 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:48:12 ---> Running in bd504b47d15c 08:48:13 Removing intermediate container bd504b47d15c 08:48:13 ---> f7eebd77b2b0 08:48:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:48:13 ---> Running in ff3125834804 08:48:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:48:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:48:14 OK: 224 MiB in 56 packages 08:48:15 Removing intermediate container ff3125834804 08:48:15 ---> ff612f5cb9d0 08:48:15 Step 8/25 : COPY go.mod vendor* ./ 08:48:15 ---> 66c042ce34ab 08:48:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:48:15 ---> Running in 12e2cb45b50d 08:48:16 Removing intermediate container 12e2cb45b50d 08:48:16 ---> d6e838c93215 08:48:16 Step 10/25 : COPY . . 08:48:16 ---> 1fc017230e8f 08:48:16 Step 11/25 : RUN ${MAKE} 08:48:16 ---> Running in f85265e17623 08:48:17 Removing intermediate container f85265e17623 08:48:17 ---> 471b27bc38b5 08:48:17 Step 12/25 : FROM alpine:3.15 08:48:17 3.15: Pulling from library/alpine 08:48:17 df9b9388f04a: Pulling fs layer 08:48:18 df9b9388f04a: Verifying Checksum 08:48:18 df9b9388f04a: Download complete 08:48:18 df9b9388f04a: Pull complete 08:48:18 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:48:18 Status: Downloaded newer image for alpine:3.15 08:48:18 ---> 0ac33e5f5afa 08:48:18 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:48:18 ---> Running in c2ae6990573a 08:48:18 Removing intermediate container c2ae6990573a 08:48:18 ---> 27d7d6879105 08:48:18 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:48:18 ---> Running in 2f24f2880ec6 08:48:19 Removing intermediate container 2f24f2880ec6 08:48:19 ---> 68c1d69357eb 08:48:19 Step 15/25 : RUN apk add --update --no-cache zeromq 08:48:19 ---> Running in b70632be14e4 08:48:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:48:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:48:20 (1/5) Installing libgcc (10.3.1_git20211027-r0) 08:48:20 (2/5) Installing libsodium (1.0.18-r0) 08:48:20 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 08:48:20 (4/5) Installing libzmq (4.3.4-r0) 08:48:20 (5/5) Installing zeromq (4.3.4-r0) 08:48:21 Executing busybox-1.34.1-r5.trigger 08:48:21 OK: 8 MiB in 19 packages 08:48:21 Removing intermediate container b70632be14e4 08:48:21 ---> 7f3384887908 08:48:21 Step 16/25 : WORKDIR / 08:48:21 ---> Running in 725c49dbb508 08:48:21 Removing intermediate container 725c49dbb508 08:48:21 ---> 6511c80545e9 08:48:21 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 08:48:21 ---> 540996d52a2c 08:48:21 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 08:48:21 ---> 43fc5bae8d98 08:48:21 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 08:48:22 ---> 6b1d48cbef37 08:48:22 Step 20/25 : EXPOSE 59910 08:48:22 ---> Running in c4d182b1a0eb 08:48:22 Removing intermediate container c4d182b1a0eb 08:48:22 ---> 56659b6a9826 08:48:22 Step 21/25 : ENTRYPOINT ["/device-gpio"] 08:48:22 ---> Running in 534e57af37fe 08:48:22 Removing intermediate container 534e57af37fe 08:48:22 ---> c1d84a995813 08:48:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:48:22 ---> Running in 8a0df41912b1 08:48:22 Removing intermediate container 8a0df41912b1 08:48:22 ---> f21447e6395f 08:48:22 Step 23/25 : LABEL arch=amd64 08:48:22 ---> Running in 6fde6e3bc752 08:48:22 Removing intermediate container 6fde6e3bc752 08:48:22 ---> 47cf1782fb56 08:48:22 Step 24/25 : LABEL git_sha=55ae9f22294ead9448b0e986a077af016c88e5ef 08:48:22 ---> Running in c856896fb2bc 08:48:22 Removing intermediate container c856896fb2bc 08:48:22 ---> ef4f955cb1d8 08:48:22 Step 25/25 : LABEL version=0.0.0 08:48:22 ---> Running in 386db6b710b3 08:48:22 Removing intermediate container 386db6b710b3 08:48:22 ---> d282f9cb6b60 08:48:22 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:48:22 Successfully built d282f9cb6b60 08:48:22 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 08:48:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:48:23 08:48:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:48:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:48:23 latest: Pulling from edgex-lftools-log-publisher 08:48:23 5eb5b503b376: Pulling fs layer 08:48:23 5c69ac0246d0: Pulling fs layer 08:48:23 ec43610c2a17: Pulling fs layer 08:48:23 3a2ae6a8a46f: Pulling fs layer 08:48:23 33b1e0a273af: Pulling fs layer 08:48:23 5d3b04190fa2: Pulling fs layer 08:48:23 2f39f015ded8: Pulling fs layer 08:48:23 33b1e0a273af: Waiting 08:48:23 3a2ae6a8a46f: Waiting 08:48:23 5d3b04190fa2: Waiting 08:48:23 2f39f015ded8: Waiting 08:48:23 5c69ac0246d0: Download complete 08:48:23 3a2ae6a8a46f: Verifying Checksum 08:48:23 3a2ae6a8a46f: Download complete 08:48:23 33b1e0a273af: Verifying Checksum 08:48:23 33b1e0a273af: Download complete 08:48:23 5d3b04190fa2: Verifying Checksum 08:48:23 5d3b04190fa2: Download complete 08:48:23 ec43610c2a17: Verifying Checksum 08:48:23 ec43610c2a17: Download complete 08:48:23 5eb5b503b376: Verifying Checksum 08:48:23 5eb5b503b376: Download complete 08:48:24 2f39f015ded8: Download complete 08:48:25 5eb5b503b376: Pull complete 08:48:25 5c69ac0246d0: Pull complete 08:48:25 ec43610c2a17: Pull complete 08:48:25 3a2ae6a8a46f: Pull complete 08:48:25 33b1e0a273af: Pull complete 08:48:25 5d3b04190fa2: Pull complete 08:48:30 2f39f015ded8: Pull complete 08:48:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:48:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:48:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:48:30 prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container 08:48:30 $ 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 08:48:32 $ docker top 5e9d2753a2c58a3cc312ab9f9d846b760a13612f4d98f617fa7af048db91e0b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:32 ---> job-cost.sh 08:48:32 lf-activate-venv: SKIPPING 08:48:32 INFO: No Stack... 08:48:33 INFO: Retrieving Pricing Info for: v3-standard-8 08:48:33 INFO: Archiving Costs [Pipeline] sh 08:48:33 + cat /w/workspace/edgexfoundry_device-gpio_PR-25/archives/cost.csv 08:48:33 + cut -d, -f6 [Pipeline] lock 08:48:33 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] 08:48:33 Resource [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] did not exist. Created. 08:48:33 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:48:34 + echo total: 0.2199999988079071 [Pipeline] stash 08:48:34 Stashed 1 file(s) [Pipeline] } 08:48:34 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:48:34 $ docker stop --time=1 5e9d2753a2c58a3cc312ab9f9d846b760a13612f4d98f617fa7af048db91e0b9 08:48:35 $ docker rm -f 5e9d2753a2c58a3cc312ab9f9d846b760a13612f4d98f617fa7af048db91e0b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:49:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23588 in /w/workspace/edgexfoundry_device-gpio_PR-25 [Pipeline] { [Pipeline] ws 08:49:01 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 08:49:02 The recommended git tool is: git 08:49:07 using credential edgex-jenkins-ssh 08:49:07 Cloning the remote Git repository 08:49:07 Cloning repository git@github.com:edgexfoundry/device-gpio.git 08:49:07 > git init /w/workspace/device-gpio/4 # timeout=10 08:49:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 08:49:07 > git --version # timeout=10 08:49:07 > git --version # 'git version 2.25.1' 08:49:07 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:09 Merging remotes/origin/main commit b9afc87bdaf6fb1a5adf70b8290df672557dec94 into PR head commit 55ae9f22294ead9448b0e986a077af016c88e5ef 08:49:09 Merge succeeded, producing 55ae9f22294ead9448b0e986a077af016c88e5ef 08:49:09 Checking out Revision 55ae9f22294ead9448b0e986a077af016c88e5ef (PR-25) 08:49:08 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 08:49:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:49:08 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 08:49:08 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 08:49:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:09 > 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 08:49:09 > git config core.sparsecheckout # timeout=10 08:49:09 > git checkout -f 55ae9f22294ead9448b0e986a077af016c88e5ef # timeout=10 08:49:09 > git remote # timeout=10 08:49:09 > git config --get remote.origin.url # timeout=10 08:49:09 using GIT_SSH to set credentials SSH Credentials for GitHub 08:49:09 > git merge b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 08:49:09 > git rev-parse HEAD^{commit} # timeout=10 08:49:09 > git config core.sparsecheckout # timeout=10 08:49:09 > git checkout -f 55ae9f22294ead9448b0e986a077af016c88e5ef # timeout=10 08:49:13 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:49:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:49:14 % Total % Received % Xferd Average Speed Time Time Time Current 08:49:14 Dload Upload Total Spent Left Speed 08:49:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 88380 [Pipeline] sh 08:49:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:49:15 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 08:49:15 tee /etc/docker/daemon.new 08:49:15 { 08:49:15 "registry-mirrors": [ 08:49:15 "https://nexus3.edgexfoundry.org:10001" 08:49:15 ], 08:49:15 "bip": "10.250.0.254/24", 08:49:15 "hosts": [ 08:49:15 "tcp://0.0.0.0:5555", 08:49:15 "unix:///var/run/docker.sock" 08:49:15 ], 08:49:15 "mtu": 1458, 08:49:15 "selinux-enabled": true, 08:49:15 "seccomp-profile": "/etc/docker/seccomp.json" 08:49:15 } [Pipeline] sh 08:49:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:49:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:49:34 provisioning config files... 08:49:34 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config8989958485197225268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:49:35 ---> docker-login.sh 08:49:35 nexus3.edgexfoundry.org:10001 08:49:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:36 Configure a credential helper to remove this warning. See 08:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:36 08:49:36 Login Succeeded 08:49:36 nexus3.edgexfoundry.org:10002 08:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:36 Configure a credential helper to remove this warning. See 08:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:36 08:49:36 Login Succeeded 08:49:36 nexus3.edgexfoundry.org:10003 08:49:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:36 Configure a credential helper to remove this warning. See 08:49:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:36 08:49:36 Login Succeeded 08:49:36 nexus3.edgexfoundry.org:10004 08:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:37 Configure a credential helper to remove this warning. See 08:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:37 08:49:37 Login Succeeded 08:49:37 docker.io 08:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:49:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:49:38 Configure a credential helper to remove this warning. See 08:49:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:49:38 08:49:38 Login Succeeded 08:49:38 ---> docker-login.sh ends [Pipeline] } 08:49:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:49:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:49:38 ========================================================= 08:49:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:49:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:49: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 . 08:49:39 Sending build context to Docker daemon 5.673MB 08:49:39 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 08:49:39 Step 2/11 : FROM ${BASE} AS builder 08:49:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:49:39 9b3977197b4f: Pulling fs layer 08:49:39 1a89e8eeedd5: Pulling fs layer 08:49:39 94645a83ff95: Pulling fs layer 08:49:39 3f3a8bcf1eab: Pulling fs layer 08:49:39 0c92f367c5e7: Pulling fs layer 08:49:39 3096ccb668a1: Pulling fs layer 08:49:39 e8cf19c19ddd: Pulling fs layer 08:49:39 a4caa8a26152: Pulling fs layer 08:49:39 3f3a8bcf1eab: Waiting 08:49:39 0c92f367c5e7: Waiting 08:49:39 3096ccb668a1: Waiting 08:49:39 e8cf19c19ddd: Waiting 08:49:39 a4caa8a26152: Waiting 08:49:39 94645a83ff95: Verifying Checksum 08:49:39 94645a83ff95: Download complete 08:49:39 1a89e8eeedd5: Verifying Checksum 08:49:39 1a89e8eeedd5: Download complete 08:49:39 0c92f367c5e7: Verifying Checksum 08:49:39 0c92f367c5e7: Download complete 08:49:39 3096ccb668a1: Verifying Checksum 08:49:39 3096ccb668a1: Download complete 08:49:39 9b3977197b4f: Download complete 08:49:39 e8cf19c19ddd: Verifying Checksum 08:49:39 e8cf19c19ddd: Download complete 08:49:40 9b3977197b4f: Pull complete 08:49:41 1a89e8eeedd5: Pull complete 08:49:41 94645a83ff95: Pull complete 08:49:41 a4caa8a26152: Verifying Checksum 08:49:41 a4caa8a26152: Download complete 08:49:42 3f3a8bcf1eab: Download complete 08:49:54 3f3a8bcf1eab: Pull complete 08:49:54 0c92f367c5e7: Pull complete 08:49:54 3096ccb668a1: Pull complete 08:49:55 e8cf19c19ddd: Pull complete 08:50:02 a4caa8a26152: Pull complete 08:50:02 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 08:50:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:50:02 ---> 725f1c02e7f9 08:50:02 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:50:03 ---> Running in ba5e21b93c63 08:50:03 Removing intermediate container ba5e21b93c63 08:50:03 ---> 4a466b01fa5d 08:50:03 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 08:50:03 ---> Running in aa581da85a98 08:50:03 Removing intermediate container aa581da85a98 08:50:03 ---> 7c948f084a13 08:50:03 Step 5/11 : WORKDIR /device-gpio 08:50:03 ---> Running in a880798deeef 08:50:03 Removing intermediate container a880798deeef 08:50:03 ---> c213decf4278 08:50:03 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:50:03 ---> Running in 7be534f7c96e 08:50:07 Removing intermediate container 7be534f7c96e 08:50:07 ---> 34a117c37f59 08:50:07 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:50:07 ---> Running in 48db3eabc2c9 08:50:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:50:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:50:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:50:09 (2/4) Installing libedit (20210910.3.1-r0) 08:50:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:50:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:50:10 Executing busybox-1.34.1-r3.trigger 08:50:10 OK: 224 MiB in 56 packages 08:50:11 Removing intermediate container 48db3eabc2c9 08:50:11 ---> e71ec09b5ba6 08:50:11 Step 8/11 : COPY go.mod vendor* ./ 08:50:11 ---> 8a0336d09d63 08:50:11 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:50:11 ---> Running in 5add3472a448 08:51:33 Removing intermediate container 5add3472a448 08:51:33 ---> ac8e24181e56 08:51:33 Step 10/11 : COPY . . 08:51:33 ---> 8680c0513028 08:51:33 Step 11/11 : RUN ${MAKE} 08:51:33 ---> Running in ca1cd446a0a1 08:51:33 Removing intermediate container ca1cd446a0a1 08:51:33 ---> c54be5401e59 08:51:33 [Warning] One or more build-args [MAKE] were not consumed 08:51:33 Successfully built c54be5401e59 08:51:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:51:33 + docker inspect -f . ci-base-image-arm64 08:51:33 . [Pipeline] withDockerContainer 08:51:34 prd-ubuntu20.04-docker-arm64-4c-16g-23588 does not seem to be running inside a container 08:51:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 08:51:35 $ docker top a81e30f7cfc98b2180023e96d85ea8eaa74b1451a39de369e5bdc71a6a9940ab -eo pid,comm [Pipeline] { [Pipeline] sh 08:51:36 + go version 08:51:36 go version go1.17.6 linux/arm64 [Pipeline] } 08:51:36 $ docker stop --time=1 a81e30f7cfc98b2180023e96d85ea8eaa74b1451a39de369e5bdc71a6a9940ab 08:51:38 $ docker rm -f a81e30f7cfc98b2180023e96d85ea8eaa74b1451a39de369e5bdc71a6a9940ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:51:38 + docker inspect -f . ci-base-image-arm64 08:51:38 . [Pipeline] withDockerContainer 08:51:38 prd-ubuntu20.04-docker-arm64-4c-16g-23588 does not seem to be running inside a container 08:51:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 08:51:40 $ docker top 028230a0032008b21848c9a4954b05fb16f4c72668942203d4f9187bf6ce10c2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:51:41 + make test 08:51:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:51:42 ? github.com/edgexfoundry/device-gpio [no test files] 08:52:29 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 08:52:29 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 08:52:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:52:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:52:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:52:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:52:48 ./bin/test-attribution-txt.sh [Pipeline] echo 08:52:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:52:48 $ docker stop --time=1 028230a0032008b21848c9a4954b05fb16f4c72668942203d4f9187bf6ce10c2 08:52:49 $ docker rm -f 028230a0032008b21848c9a4954b05fb16f4c72668942203d4f9187bf6ce10c2 [Pipeline] // withDockerContainer [Pipeline] sh 08:52:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:52:50 Warning: overwriting stash ‘coverage-report’ 08:52:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:52:51 + ls -al . 08:52:51 total 184 08:52:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:52 . 08:52:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:49 .. 08:52:51 -rw-rw-r-- 1 jenkins jenkins 120 Apr 26 08:49 .dockerignore 08:52:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:49 .git 08:52:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:49 .github 08:52:51 -rw-rw-r-- 1 jenkins jenkins 343 Apr 26 08:49 .gitignore 08:52:51 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 08:49 .golangci.yml 08:52:51 -rw-rw-r-- 1 jenkins jenkins 7772 Apr 26 08:49 Attribution.txt 08:52:51 -rw-rw-r-- 1 jenkins jenkins 1846 Apr 26 08:49 Dockerfile 08:52:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:49 GOVERNANCE.md 08:52:51 -rw-rw-r-- 1 jenkins jenkins 657 Apr 26 08:49 Jenkinsfile 08:52:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 08:49 LICENSE 08:52:51 -rw-rw-r-- 1 jenkins jenkins 1876 Apr 26 08:49 Makefile 08:52:51 -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 08:49 OWNERS.md 08:52:51 -rw-rw-r-- 1 jenkins jenkins 10844 Apr 26 08:49 README.md 08:52:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:47 VERSION 08:52:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:49 bin 08:52:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:49 cmd 08:52:51 -rw-r--r-- 1 jenkins jenkins 10 Apr 26 08:51 coverage.out 08:52:51 -rw-rw-r-- 1 jenkins jenkins 2794 Apr 26 08:49 go.mod 08:52:51 -rw-rw-r-- 1 jenkins jenkins 70652 Apr 26 08:49 go.sum 08:52:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:49 internal 08:52:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:49 snap 08:52:51 -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 08:49 version.go [Pipeline] isUnix [Pipeline] sh 08:52:52 + 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=55ae9f22294ead9448b0e986a077af016c88e5ef --label arch=arm64 --label version=0.0.0 . 08:52:52 Sending build context to Docker daemon 5.674MB 08:52:52 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:52:52 Step 2/25 : FROM ${BASE} AS builder 08:52:52 ---> c54be5401e59 08:52:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:52:52 ---> Running in e4d4a0cc66f7 08:52:53 Removing intermediate container e4d4a0cc66f7 08:52:53 ---> ec091794be62 08:52:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:52:53 ---> Running in 847b05ff876b 08:52:53 Removing intermediate container 847b05ff876b 08:52:53 ---> ff47bd0fe5f9 08:52:53 Step 5/25 : WORKDIR /device-gpio 08:52:53 ---> Running in ac5cdfb35a4c 08:52:53 Removing intermediate container ac5cdfb35a4c 08:52:53 ---> 9557e78080a3 08:52:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:53 ---> Running in 4d0480222bdd 08:52:55 Removing intermediate container 4d0480222bdd 08:52:55 ---> 6d4359a07985 08:52:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:52:55 ---> Running in 58dd427e1983 08:52:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:52:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:52:58 OK: 224 MiB in 56 packages 08:52:59 Removing intermediate container 58dd427e1983 08:52:59 ---> f89f77de3e0f 08:52:59 Step 8/25 : COPY go.mod vendor* ./ 08:52:59 ---> 1047f894ee31 08:52:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:52:59 ---> Running in 5e7aab604366 08:53:01 Removing intermediate container 5e7aab604366 08:53:01 ---> 348d1ce09309 08:53:01 Step 10/25 : COPY . . 08:53:02 ---> 2fc0d1a9e9cb 08:53:02 Step 11/25 : RUN ${MAKE} 08:53:02 ---> Running in 881ca0d3b622 08:53:04 Removing intermediate container 881ca0d3b622 08:53:04 ---> 3924f15c7f2b 08:53:04 Step 12/25 : FROM alpine:3.15 08:53:05 3.15: Pulling from library/alpine 08:53:05 9981e73032c8: Pulling fs layer 08:53:05 9981e73032c8: Verifying Checksum 08:53:05 9981e73032c8: Download complete 08:53:06 9981e73032c8: Pull complete 08:53:06 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:53:06 Status: Downloaded newer image for alpine:3.15 08:53:06 ---> 3fb3c9af89a9 08:53:06 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 08:53:06 ---> Running in c4810014665f 08:53:06 Removing intermediate container c4810014665f 08:53:06 ---> 42361f650051 08:53:06 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:53:06 ---> Running in f7badfac402b 08:53:08 Removing intermediate container f7badfac402b 08:53:08 ---> 7c65ed3612d5 08:53:08 Step 15/25 : RUN apk add --update --no-cache zeromq 08:53:08 ---> Running in 1dd52e09b0ba 08:53:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:53:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:53:10 (1/5) Installing libgcc (10.3.1_git20211027-r0) 08:53:10 (2/5) Installing libsodium (1.0.18-r0) 08:53:10 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 08:53:11 (4/5) Installing libzmq (4.3.4-r0) 08:53:11 (5/5) Installing zeromq (4.3.4-r0) 08:53:11 Executing busybox-1.34.1-r5.trigger 08:53:11 OK: 8 MiB in 19 packages 08:53:12 Removing intermediate container 1dd52e09b0ba 08:53:12 ---> 266e285f7db2 08:53:12 Step 16/25 : WORKDIR / 08:53:12 ---> Running in 67ba809f01fb 08:53:12 Removing intermediate container 67ba809f01fb 08:53:12 ---> 77cf96a51b68 08:53:12 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 08:53:13 ---> 480c3539af9e 08:53:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 08:53:13 ---> 7b1ca1f1f26c 08:53:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 08:53:14 ---> a62518844010 08:53:14 Step 20/25 : EXPOSE 59910 08:53:14 ---> Running in a5e564f65cc6 08:53:14 Removing intermediate container a5e564f65cc6 08:53:14 ---> b0a8d21af19f 08:53:14 Step 21/25 : ENTRYPOINT ["/device-gpio"] 08:53:14 ---> Running in 6e225b753459 08:53:15 Removing intermediate container 6e225b753459 08:53:15 ---> 9f664111688d 08:53:15 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:53:15 ---> Running in 15a4e591d5ee 08:53:15 Removing intermediate container 15a4e591d5ee 08:53:15 ---> de8915af53dd 08:53:15 Step 23/25 : LABEL arch=arm64 08:53:15 ---> Running in 0a0b198a4691 08:53:15 Removing intermediate container 0a0b198a4691 08:53:15 ---> e8261f25351e 08:53:15 Step 24/25 : LABEL git_sha=55ae9f22294ead9448b0e986a077af016c88e5ef 08:53:15 ---> Running in 50feca82770e 08:53:16 Removing intermediate container 50feca82770e 08:53:16 ---> f6729f458064 08:53:16 Step 25/25 : LABEL version=0.0.0 08:53:16 ---> Running in cd5aacee93dd 08:53:16 Removing intermediate container cd5aacee93dd 08:53:16 ---> 08293768d6ff 08:53:16 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:53:16 Successfully built 08293768d6ff 08:53:16 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 08:53:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:53:16 08:53:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:53:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:53:17 arm64: Pulling from edgex-lftools-log-publisher 08:53:17 8998bd30e6a1: Pulling fs layer 08:53:17 04944245beec: Pulling fs layer 08:53:17 699f458cf7ca: Pulling fs layer 08:53:17 765212b225bb: Pulling fs layer 08:53:17 f23df028b6ca: Pulling fs layer 08:53:17 d65c8cfc05b1: Pulling fs layer 08:53:17 2437ff75d9bd: Pulling fs layer 08:53:17 f23df028b6ca: Waiting 08:53:17 d65c8cfc05b1: Waiting 08:53:17 2437ff75d9bd: Waiting 08:53:17 765212b225bb: Waiting 08:53:17 04944245beec: Download complete 08:53:17 765212b225bb: Verifying Checksum 08:53:17 765212b225bb: Download complete 08:53:17 f23df028b6ca: Verifying Checksum 08:53:17 f23df028b6ca: Download complete 08:53:17 d65c8cfc05b1: Verifying Checksum 08:53:17 d65c8cfc05b1: Download complete 08:53:17 699f458cf7ca: Verifying Checksum 08:53:17 699f458cf7ca: Download complete 08:53:18 8998bd30e6a1: Verifying Checksum 08:53:18 8998bd30e6a1: Download complete 08:53:20 2437ff75d9bd: Verifying Checksum 08:53:20 2437ff75d9bd: Download complete 08:53:22 8998bd30e6a1: Pull complete 08:53:23 04944245beec: Pull complete 08:53:24 699f458cf7ca: Pull complete 08:53:24 765212b225bb: Pull complete 08:53:25 f23df028b6ca: Pull complete 08:53:25 d65c8cfc05b1: Pull complete 08:53:40 2437ff75d9bd: Pull complete 08:53:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:53:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:53:40 prd-ubuntu20.04-docker-arm64-4c-16g-23588 does not seem to be running inside a container 08:53:41 $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 08:53:43 $ docker top ed018ab35c9f2321e6493fde07201698f80bfc97bc5239e685d5444b171b6287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:53:44 ---> job-cost.sh 08:53:44 lf-activate-venv: SKIPPING 08:53:44 INFO: No Stack... 08:53:45 INFO: Retrieving Pricing Info for: v3-standard-4 08:53:46 INFO: Archiving Costs [Pipeline] sh 08:53:47 + cat /w/workspace/device-gpio/4/archives/cost.csv 08:53:47 + cut -d, -f6 [Pipeline] lock 08:53:47 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] 08:53:47 Resource [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] did not exist. Created. 08:53:47 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:53:47 /w/workspace/device-gpio/4@tmp/durable-01223b8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:53:48 + echo total: 0.10999999940395355 [Pipeline] stash 08:53:48 Warning: overwriting stash ‘stack-cost’ 08:53:48 Stashed 1 file(s) [Pipeline] } 08:53:48 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:53:48 $ docker stop --time=1 ed018ab35c9f2321e6493fde07201698f80bfc97bc5239e685d5444b171b6287 08:53:50 $ docker rm -f ed018ab35c9f2321e6493fde07201698f80bfc97bc5239e685d5444b171b6287 [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 08:53:50 provisioning config files... 08:53:50 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config7452632405920799102tmp [Pipeline] { [Pipeline] sh 08:53:50 + set +x 08:53:50 + curl -s https://codecov.io/bash 08:53:50 + bash -s -- 08:53:50 08:53:50 _____ _ 08:53:50 / ____| | | 08:53:50 | | ___ __| | ___ ___ _____ __ 08:53:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:53:50 | |___| (_) | (_| | __/ (_| (_) \ V / 08:53:50 \_____\___/ \__,_|\___|\___\___/ \_/ 08:53:50 Bash-1.0.6 08:53:50 08:53:50 08:53:50 ==> git version 2.25.1 found 08:53:50 ==> 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 08:53:50 Release-Date: 2020-01-08 08:53:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:53:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:53:50 ==> Jenkins CI detected. 08:53:50 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-25 08:53:50 project root: . 08:53:50 --> token set from env 08:53:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:53:50 ==> Running gcov in . (disable via -X gcov) 08:53:50 ==> Python coveragepy not found 08:53:50 ==> Searching for coverage reports in: 08:53:50 + . 08:53:50 -> Found 1 reports 08:53:50 ==> Detecting git/mercurial file structure 08:53:50 ==> Reading reports 08:53:50 + ./coverage.out bytes=10 08:53:50 ==> Appending adjustments 08:53:50 https://docs.codecov.io/docs/fixing-reports 08:53:51 + Found adjustments 08:53:51 ==> Gzipping contents 08:53:51 4.0K /tmp/codecov.rkY6aQ.gz 08:53:51 ==> Uploading reports 08:53:51 url: https://codecov.io 08:53:51 query: branch=PR-25&commit=55ae9f22294ead9448b0e986a077af016c88e5ef&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-25%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=25&job=&cmd_args= 08:53:51 -> Pinging Codecov 08:53:51 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=55ae9f22294ead9448b0e986a077af016c88e5ef&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-25%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=25&job=&cmd_args= 08:53:51 -> Uploading to 08:53:51 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/3EC07B1A8CA8AF9BCAA0BB9F0134797F/55ae9f22294ead9448b0e986a077af016c88e5ef/794e5f93-a7f4-4cb3-812b-98ae3bfc046e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T085351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b97d58aaa7e457b7fa114d91f0089661c555c14d2bdae519251402bd2d646996 08:53:51 % Total % Received % Xferd Average Speed Time Time Time Current 08:53:51 Dload Upload Total Spent Left Speed 08:53:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3495 --:--:-- --:--:-- --:--:-- 3495 08:53:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] } 08:53:51 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 08:53:52 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-25/archives ] 08:53:52 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives 08:53:52 total 16 08:53:52 drwxr-xr-x 3 root root 4096 Apr 26 08:48 . 08:53:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 08:48 .. 08:53:52 drwxr-xr-x 2 root root 4096 Apr 26 08:48 cost 08:53:52 -rw-r--r-- 1 root root 81 Apr 26 08:48 cost.csv 08:53:52 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-25/archives 08:53:52 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives 08:53:52 total 16 08:53:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 08:48 . 08:53:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 08:48 .. 08:53:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 08:48 cost 08:53:52 -rw-r--r-- 1 jenkins jenkins 81 Apr 26 08:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:53:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:53:53 ---> package-listing.sh 08:53:53 ++ facter osfamily 08:53:53 ++ tr '[:upper:]' '[:lower:]' 08:53:53 + OS_FAMILY=debian 08:53:53 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-25 08:53:53 + START_PACKAGES=/tmp/packages_start.txt 08:53:53 + END_PACKAGES=/tmp/packages_end.txt 08:53:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:53:53 + PACKAGES=/tmp/packages_start.txt 08:53:53 + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' 08:53:53 + PACKAGES=/tmp/packages_end.txt 08:53:53 + case "${OS_FAMILY}" in 08:53:53 + dpkg -l 08:53:53 + grep '^ii' 08:53:53 + '[' -f /tmp/packages_start.txt ']' 08:53:53 + '[' -f /tmp/packages_end.txt ']' 08:53:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:53:53 + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' 08:53:53 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-25/archives/ 08:53:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-25/archives/ [Pipeline] echo 08:53:53 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 08:53:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:53:54 . [Pipeline] withDockerContainer 08:53:54 prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container 08:53:54 $ 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 08:53:55 $ docker top 7dc82c9cf4c7afa5439024fa822ebf7398664d315ee8f050f7e43166940d14f7 -eo pid,comm [Pipeline] { [Pipeline] sh 08:53:55 + touch /tmp/pre-build-complete [Pipeline] sh 08:53:55 + mkdir -p /var/log/sysstat [Pipeline] sh 08:53:56 + ls /var/log/sa-host 08:53:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:53:56 provisioning config files... 08:53:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config4373434691899165071tmp [Pipeline] { [Pipeline] echo 08:53:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:53:56 ---> create-netrc.sh [Pipeline] } 08:53:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:53:56 ---> python-tools-install.sh [Pipeline] echo 08:53:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:53:57 ---> sudo-logs.sh 08:53:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:53:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:53:57 ---> job-cost.sh 08:53:57 lf-activate-venv: SKIPPING 08:53:57 DEBUG: total: 0.2199999988079071 08:53:57 INFO: Retrieving Stack Cost... 08:53:58 INFO: Retrieving Pricing Info for: v3-standard-8 08:53:58 INFO: Archiving Costs [Pipeline] echo 08:53:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:53:58 ---> logs-deploy.sh 08:53:58 lf-activate-venv: SKIPPING 08:53:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-25/4 08:53:58 INFO: archiving workspace using pattern(s): 08:53:59 Archives upload complete. 08:53:59 INFO: archiving logs to Nexus