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 [2022-04-26T08:46:48.801Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T08:46:48.864Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T08:46:48.886Z] ========================================================= [2022-04-26T08:46:48.886Z] EdgeX Global Pipelines Version Info [2022-04-26T08:46:48.886Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:46:49.645Z] ------------------- [2022-04-26T08:46:49.645Z] stable info: [2022-04-26T08:46:49.645Z] ------------------- [2022-04-26T08:46:49.645Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T08:46:49.645Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T08:46:49.645Z] Message: update stable to v1.0.221 [2022-04-26T08:46:50.218Z] ------------------- [2022-04-26T08:46:50.218Z] experimental info: [2022-04-26T08:46:50.218Z] ------------------- [2022-04-26T08:46:50.218Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T08:46:50.218Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-26T08:46:50.218Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T08:46:50.341Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-26T08:46:50.352Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-26T08:46:50.370Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T08:46:50.379Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T08:46:50.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T08:46:50.406Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T08:46:50.423Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T08:46:50.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T08:46:50.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T08:46:50.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T08:46:50.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T08:46:50.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-26T08:46:50.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T08:46:50.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T08:46:50.523Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T08:46:50.533Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T08:46:50.545Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T08:46:50.558Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T08:46:50.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T08:46:50.584Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T08:46:50.605Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T08:46:50.619Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T08:46:50.629Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T08:46:50.638Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T08:46:50.647Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T08:46:50.656Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T08:46:50.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-25 [Pipeline] echo [2022-04-26T08:46:50.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-25 [Pipeline] echo [2022-04-26T08:46:50.684Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-25 [Pipeline] echo [2022-04-26T08:46:50.693Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] echo [2022-04-26T08:46:50.702Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55ae9f2 [Pipeline] echo [2022-04-26T08:46:50.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T08:46:50.766Z] provisioning config files... [2022-04-26T08:46:50.781Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config2276255296126352707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:46:51.090Z] ---> docker-login.sh [2022-04-26T08:46:51.090Z] nexus3.edgexfoundry.org:10001 [2022-04-26T08:46:51.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:46:52.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:46:52.745Z] Configure a credential helper to remove this warning. See [2022-04-26T08:46:52.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:46:52.745Z] [2022-04-26T08:46:52.745Z] Login Succeeded [2022-04-26T08:46:52.745Z] nexus3.edgexfoundry.org:10002 [2022-04-26T08:46:52.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:46:52.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:46:52.745Z] Configure a credential helper to remove this warning. See [2022-04-26T08:46:52.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:46:52.745Z] [2022-04-26T08:46:52.745Z] Login Succeeded [2022-04-26T08:46:52.745Z] nexus3.edgexfoundry.org:10003 [2022-04-26T08:46:52.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:46:52.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:46:52.745Z] Configure a credential helper to remove this warning. See [2022-04-26T08:46:52.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:46:52.745Z] [2022-04-26T08:46:52.745Z] Login Succeeded [2022-04-26T08:46:52.745Z] nexus3.edgexfoundry.org:10004 [2022-04-26T08:46:52.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:46:53.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:46:53.006Z] Configure a credential helper to remove this warning. See [2022-04-26T08:46:53.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:46:53.006Z] [2022-04-26T08:46:53.006Z] Login Succeeded [2022-04-26T08:46:53.006Z] docker.io [2022-04-26T08:46:53.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:46:53.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:46:53.269Z] Configure a credential helper to remove this warning. See [2022-04-26T08:46:53.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:46:53.269Z] [2022-04-26T08:46:53.269Z] Login Succeeded [2022-04-26T08:46:53.532Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T08:46:53.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T08:46:53.940Z] + git rev-list -1 --merges 55ae9f22294ead9448b0e986a077af016c88e5ef~1..55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] echo [2022-04-26T08:46:54.049Z] -----------> git rev-list -1 --merges 55ae9f22294ead9448b0e986a077af016c88e5ef~1..55ae9f22294ead9448b0e986a077af016c88e5ef 55ae9f22294ead9448b0e986a077af016c88e5ef [false] [Pipeline] sh [2022-04-26T08:46:54.339Z] + git log --format=format:%s -1 55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] echo [2022-04-26T08:46:54.356Z] ========================================================= [2022-04-26T08:46:54.356Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T08:46:54.356Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T08:46:54.696Z] + git log --format=format:%s -1 55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] echo [2022-04-26T08:46:54.710Z] [semverPrep] GIT_COMMIT: 55ae9f22294ead9448b0e986a077af016c88e5ef, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.5 [Pipeline] echo [2022-04-26T08:46:54.720Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T08:46:55.159Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T08:46:55.159Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T08:46:55.159Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T08:46:55.159Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T08:46:55.159Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T08:46:55.159Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T08:46:55.159Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:46:55.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T08:46:55.592Z] [2022-04-26T08:46:55.592Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:46:55.899Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T08:46:55.899Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T08:46:55.899Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T08:46:55.899Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T08:46:55.899Z] 4c7163046ea9: Pulling fs layer [2022-04-26T08:46:55.899Z] 0c2d73faf560: Pulling fs layer [2022-04-26T08:46:55.899Z] 0c2d73faf560: Waiting [2022-04-26T08:46:55.899Z] 3e5f54012d9b: Download complete [2022-04-26T08:46:55.899Z] a0d0a0d46f8b: Verifying Checksum [2022-04-26T08:46:55.899Z] a0d0a0d46f8b: Download complete [2022-04-26T08:46:55.899Z] 0c2d73faf560: Verifying Checksum [2022-04-26T08:46:55.899Z] 0c2d73faf560: Download complete [2022-04-26T08:46:56.162Z] 4c7163046ea9: Verifying Checksum [2022-04-26T08:46:56.162Z] 4c7163046ea9: Download complete [2022-04-26T08:46:56.162Z] a0d0a0d46f8b: Pull complete [2022-04-26T08:46:56.425Z] 3e5f54012d9b: Pull complete [2022-04-26T08:46:56.687Z] 4c7163046ea9: Pull complete [2022-04-26T08:46:56.687Z] 0c2d73faf560: Pull complete [2022-04-26T08:46:56.687Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T08:46:56.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T08:46:56.687Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T08:46:56.767Z] prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container [2022-04-26T08:46:56.797Z] $ 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 [2022-04-26T08:46:57.465Z] $ docker top ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T08:46:57.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T08:46:57.591Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T08:46:57.721Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T08:46:57.714Z] $ docker exec ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 ssh-agent [2022-04-26T08:46:57.854Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeihhBi/agent.13 [2022-04-26T08:46:57.854Z] SSH_AGENT_PID=19 [2022-04-26T08:46:57.862Z] Running ssh-add (command line suppressed) [2022-04-26T08:46:57.984Z] 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) [2022-04-26T08:46:58.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T08:46:58.303Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T08:46:58.308Z] $ docker exec --env ******** --env ******** ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 ssh-agent -k [2022-04-26T08:46:58.410Z] unset SSH_AUTH_SOCK; [2022-04-26T08:46:58.410Z] unset SSH_AGENT_PID; [2022-04-26T08:46:58.410Z] echo Agent pid 19 killed; [2022-04-26T08:46:58.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T08:46:58.455Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T08:46:58.455Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T08:46:58.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T08:46:58.584Z] $ docker exec ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 ssh-agent [2022-04-26T08:46:58.737Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdMKmcc/agent.52 [2022-04-26T08:46:58.737Z] SSH_AGENT_PID=58 [2022-04-26T08:46:58.743Z] Running ssh-add (command line suppressed) [2022-04-26T08:46:58.873Z] 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) [2022-04-26T08:46:58.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T08:46:59.190Z] + git semver init [2022-04-26T08:46:59.190Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T08:46:59.190Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.git [2022-04-26T08:46:59.190Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-25 [2022-04-26T08:46:59.190Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T08:46:59.190Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T08:46:59.190Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T08:46:59.190Z] # $SEMVER_BRANCH = PR-25 [2022-04-26T08:46:59.190Z] # $SEMVER_TEMP = /tmp/semver-056248043 [2022-04-26T08:46:59.190Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-26T08:47:00.135Z] # '/tmp/semver-056248043' -> '/w/workspace/edgexfoundry_device-gpio_PR-25/.semver' [2022-04-26T08:47:00.135Z] # -> Force: false [2022-04-26T08:47:00.135Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.semver [Pipeline] } [2022-04-26T08:47:00.140Z] $ docker exec --env ******** --env ******** ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 ssh-agent -k [2022-04-26T08:47:00.252Z] unset SSH_AUTH_SOCK; [2022-04-26T08:47:00.253Z] unset SSH_AGENT_PID; [2022-04-26T08:47:00.253Z] echo Agent pid 58 killed; [2022-04-26T08:47:00.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T08:47:00.579Z] + git semver [Pipeline] } [2022-04-26T08:47:00.585Z] $ docker stop --time=1 ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 [2022-04-26T08:47:01.975Z] $ docker rm -f ed7c7d88bee8ea6f3e7d333c312691ed23db1a9e2c54dfbf31e0e1aad07f8a93 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T08:47:02.361Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T08:47:02.611Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T08:47:02.615Z] [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 [2022-04-26T08:47:02.779Z] provisioning config files... [2022-04-26T08:47:02.789Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config3567808098317795569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:47:03.090Z] ---> docker-login.sh [2022-04-26T08:47:03.091Z] nexus3.edgexfoundry.org:10001 [2022-04-26T08:47:03.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:47:03.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:47:03.091Z] Configure a credential helper to remove this warning. See [2022-04-26T08:47:03.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:47:03.091Z] [2022-04-26T08:47:03.091Z] Login Succeeded [2022-04-26T08:47:03.091Z] nexus3.edgexfoundry.org:10002 [2022-04-26T08:47:03.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:47:03.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:47:03.353Z] Configure a credential helper to remove this warning. See [2022-04-26T08:47:03.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:47:03.353Z] [2022-04-26T08:47:03.353Z] Login Succeeded [2022-04-26T08:47:03.353Z] nexus3.edgexfoundry.org:10003 [2022-04-26T08:47:03.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:47:03.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:47:03.353Z] Configure a credential helper to remove this warning. See [2022-04-26T08:47:03.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:47:03.353Z] [2022-04-26T08:47:03.354Z] Login Succeeded [2022-04-26T08:47:03.354Z] nexus3.edgexfoundry.org:10004 [2022-04-26T08:47:03.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:47:03.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:47:03.615Z] Configure a credential helper to remove this warning. See [2022-04-26T08:47:03.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:47:03.615Z] [2022-04-26T08:47:03.615Z] Login Succeeded [2022-04-26T08:47:03.615Z] docker.io [2022-04-26T08:47:03.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:47:03.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:47:03.876Z] Configure a credential helper to remove this warning. See [2022-04-26T08:47:03.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:47:03.876Z] [2022-04-26T08:47:03.876Z] Login Succeeded [2022-04-26T08:47:03.876Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T08:47:03.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T08:47:03.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T08:47:03.979Z] ========================================================= [2022-04-26T08:47:03.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T08:47:03.979Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:47:04.289Z] + 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 . [2022-04-26T08:47:04.289Z] Sending build context to Docker daemon 11.15MB [2022-04-26T08:47:04.289Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T08:47:04.289Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-26T08:47:04.289Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T08:47:04.289Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T08:47:04.289Z] 666ba61612fd: Pulling fs layer [2022-04-26T08:47:04.289Z] 8ed8ca486205: Pulling fs layer [2022-04-26T08:47:04.289Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T08:47:04.289Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T08:47:04.289Z] ca2b28591e48: Pulling fs layer [2022-04-26T08:47:04.289Z] a51346096db8: Pulling fs layer [2022-04-26T08:47:04.289Z] daebc70d1ce1: Pulling fs layer [2022-04-26T08:47:04.289Z] 0e18a0eac166: Pulling fs layer [2022-04-26T08:47:04.289Z] ca2b28591e48: Waiting [2022-04-26T08:47:04.289Z] a51346096db8: Waiting [2022-04-26T08:47:04.289Z] daebc70d1ce1: Waiting [2022-04-26T08:47:04.289Z] 0e18a0eac166: Waiting [2022-04-26T08:47:04.289Z] 4fe6c5a15a65: Waiting [2022-04-26T08:47:04.289Z] 22a0e8bec74d: Waiting [2022-04-26T08:47:04.289Z] 8ed8ca486205: Download complete [2022-04-26T08:47:04.289Z] 666ba61612fd: Verifying Checksum [2022-04-26T08:47:04.289Z] 666ba61612fd: Download complete [2022-04-26T08:47:04.289Z] 22a0e8bec74d: Download complete [2022-04-26T08:47:04.548Z] ca2b28591e48: Verifying Checksum [2022-04-26T08:47:04.548Z] ca2b28591e48: Download complete [2022-04-26T08:47:04.548Z] 59bf1c3509f3: Download complete [2022-04-26T08:47:04.548Z] a51346096db8: Verifying Checksum [2022-04-26T08:47:04.548Z] a51346096db8: Download complete [2022-04-26T08:47:04.548Z] daebc70d1ce1: Verifying Checksum [2022-04-26T08:47:04.548Z] daebc70d1ce1: Download complete [2022-04-26T08:47:04.548Z] 59bf1c3509f3: Pull complete [2022-04-26T08:47:04.808Z] 666ba61612fd: Pull complete [2022-04-26T08:47:04.808Z] 8ed8ca486205: Pull complete [2022-04-26T08:47:05.068Z] 0e18a0eac166: Download complete [2022-04-26T08:47:05.328Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T08:47:05.328Z] 4fe6c5a15a65: Download complete [2022-04-26T08:47:09.527Z] 4fe6c5a15a65: Pull complete [2022-04-26T08:47:09.527Z] 22a0e8bec74d: Pull complete [2022-04-26T08:47:09.527Z] ca2b28591e48: Pull complete [2022-04-26T08:47:09.527Z] a51346096db8: Pull complete [2022-04-26T08:47:09.527Z] daebc70d1ce1: Pull complete [2022-04-26T08:47:11.439Z] 0e18a0eac166: Pull complete [2022-04-26T08:47:11.439Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T08:47:11.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T08:47:11.439Z] ---> f018257e8ee9 [2022-04-26T08:47:11.439Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T08:47:12.825Z] ---> Running in 9411cd9a5971 [2022-04-26T08:47:12.825Z] Removing intermediate container 9411cd9a5971 [2022-04-26T08:47:12.825Z] ---> 01e1982474e7 [2022-04-26T08:47:12.825Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T08:47:13.095Z] ---> Running in a13316306c55 [2022-04-26T08:47:13.095Z] Removing intermediate container a13316306c55 [2022-04-26T08:47:13.095Z] ---> 1978cd68f5a2 [2022-04-26T08:47:13.095Z] Step 5/11 : WORKDIR /device-gpio [2022-04-26T08:47:13.095Z] ---> Running in 8e979cc9459f [2022-04-26T08:47:13.095Z] Removing intermediate container 8e979cc9459f [2022-04-26T08:47:13.095Z] ---> 44f7ec03f84b [2022-04-26T08:47:13.095Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:47:13.357Z] ---> Running in 00e82c6b526d [2022-04-26T08:47:13.929Z] Removing intermediate container 00e82c6b526d [2022-04-26T08:47:13.930Z] ---> 39abdc04e5fe [2022-04-26T08:47:13.930Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T08:47:13.930Z] ---> Running in b5de0b09b088 [2022-04-26T08:47:14.191Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T08:47:15.133Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T08:47:15.395Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T08:47:15.395Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T08:47:15.395Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T08:47:15.656Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T08:47:15.656Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T08:47:15.656Z] OK: 224 MiB in 56 packages [2022-04-26T08:47:16.226Z] Removing intermediate container b5de0b09b088 [2022-04-26T08:47:16.226Z] ---> 9aebef9ae78b [2022-04-26T08:47:16.226Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-26T08:47:16.226Z] ---> 024a2d73be54 [2022-04-26T08:47:16.226Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T08:47:16.487Z] ---> Running in db97e353e8e3 [2022-04-26T08:47:17.733Z] Still waiting to schedule task [2022-04-26T08:47:17.734Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-26T08:47:48.641Z] Removing intermediate container db97e353e8e3 [2022-04-26T08:47:48.641Z] ---> 4c6bc0bc599e [2022-04-26T08:47:48.641Z] Step 10/11 : COPY . . [2022-04-26T08:47:48.641Z] ---> 256d2d50957f [2022-04-26T08:47:48.641Z] Step 11/11 : RUN ${MAKE} [2022-04-26T08:47:48.641Z] ---> Running in b3c4a5f73c80 [2022-04-26T08:47:48.641Z] Removing intermediate container b3c4a5f73c80 [2022-04-26T08:47:48.641Z] ---> d62ca3dc0cae [2022-04-26T08:47:48.641Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-26T08:47:48.641Z] Successfully built d62ca3dc0cae [2022-04-26T08:47:48.641Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:47:49.161Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T08:47:49.161Z] . [Pipeline] withDockerContainer [2022-04-26T08:47:49.225Z] prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container [2022-04-26T08:47:49.268Z] $ 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 [2022-04-26T08:47:49.634Z] $ docker top abc576d36e3c766d874cf7e1ff512b937769563a2c6d21070a166d08ce46a794 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T08:47:49.994Z] + go version [2022-04-26T08:47:49.994Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T08:47:50.015Z] $ docker stop --time=1 abc576d36e3c766d874cf7e1ff512b937769563a2c6d21070a166d08ce46a794 [2022-04-26T08:47:51.327Z] $ docker rm -f abc576d36e3c766d874cf7e1ff512b937769563a2c6d21070a166d08ce46a794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:47:51.751Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T08:47:51.751Z] . [Pipeline] withDockerContainer [2022-04-26T08:47:51.820Z] prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container [2022-04-26T08:47:51.865Z] $ 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 [2022-04-26T08:47:52.447Z] $ docker top 3a014b991af68de6f484f6cdbf4e6de89a3daed07317bb2ec43f8e43553a3d76 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T08:47:52.811Z] + make test [2022-04-26T08:47:52.811Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T08:47:53.072Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-26T08:47:59.691Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-26T08:47:59.691Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-26T08:48:05.024Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T08:48:08.326Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T08:48:08.326Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T08:48:08.326Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T08:48:08.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T08:48:08.618Z] $ docker stop --time=1 3a014b991af68de6f484f6cdbf4e6de89a3daed07317bb2ec43f8e43553a3d76 [2022-04-26T08:48:10.275Z] $ docker rm -f 3a014b991af68de6f484f6cdbf4e6de89a3daed07317bb2ec43f8e43553a3d76 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T08:48:10.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T08:48:10.744Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T08:48:11.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T08:48:12.043Z] + ls -al . [2022-04-26T08:48:12.044Z] total 188 [2022-04-26T08:48:12.044Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 08:48 . [2022-04-26T08:48:12.044Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:46 .. [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 26 08:46 .dockerignore [2022-04-26T08:48:12.044Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:46 .git [2022-04-26T08:48:12.044Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:46 .github [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 26 08:46 .gitignore [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 08:46 .golangci.yml [2022-04-26T08:48:12.044Z] drwx------ 3 jenkins jenkins 4096 Apr 26 08:46 .semver [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 26 08:46 Attribution.txt [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 26 08:46 Dockerfile [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:46 GOVERNANCE.md [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 26 08:46 Jenkinsfile [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 08:46 LICENSE [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 26 08:46 Makefile [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 08:46 OWNERS.md [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 10844 Apr 26 08:46 README.md [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:47 VERSION [2022-04-26T08:48:12.044Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:46 bin [2022-04-26T08:48:12.044Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:46 cmd [2022-04-26T08:48:12.044Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 08:47 coverage.out [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 26 08:46 go.mod [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 26 08:46 go.sum [2022-04-26T08:48:12.044Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:46 internal [2022-04-26T08:48:12.044Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:46 snap [2022-04-26T08:48:12.044Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 08:46 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:48:12.345Z] + 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 . [2022-04-26T08:48:12.345Z] Sending build context to Docker daemon 11.16MB [2022-04-26T08:48:12.345Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T08:48:12.345Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-26T08:48:12.345Z] ---> d62ca3dc0cae [2022-04-26T08:48:12.345Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T08:48:12.606Z] ---> Running in a52a65eb9cf0 [2022-04-26T08:48:12.606Z] Removing intermediate container a52a65eb9cf0 [2022-04-26T08:48:12.606Z] ---> 6deff3bda46b [2022-04-26T08:48:12.606Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T08:48:12.606Z] ---> Running in f47d93cbe5ae [2022-04-26T08:48:12.606Z] Removing intermediate container f47d93cbe5ae [2022-04-26T08:48:12.606Z] ---> 060d55b18006 [2022-04-26T08:48:12.606Z] Step 5/25 : WORKDIR /device-gpio [2022-04-26T08:48:12.865Z] ---> Running in 8a582622e99c [2022-04-26T08:48:12.866Z] Removing intermediate container 8a582622e99c [2022-04-26T08:48:12.866Z] ---> e59b63cfba2f [2022-04-26T08:48:12.866Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:48:12.866Z] ---> Running in bd504b47d15c [2022-04-26T08:48:13.436Z] Removing intermediate container bd504b47d15c [2022-04-26T08:48:13.436Z] ---> f7eebd77b2b0 [2022-04-26T08:48:13.436Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T08:48:13.436Z] ---> Running in ff3125834804 [2022-04-26T08:48:13.695Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T08:48:14.638Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T08:48:14.898Z] OK: 224 MiB in 56 packages [2022-04-26T08:48:15.160Z] Removing intermediate container ff3125834804 [2022-04-26T08:48:15.160Z] ---> ff612f5cb9d0 [2022-04-26T08:48:15.160Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-26T08:48:15.420Z] ---> 66c042ce34ab [2022-04-26T08:48:15.420Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T08:48:15.420Z] ---> Running in 12e2cb45b50d [2022-04-26T08:48:16.366Z] Removing intermediate container 12e2cb45b50d [2022-04-26T08:48:16.366Z] ---> d6e838c93215 [2022-04-26T08:48:16.366Z] Step 10/25 : COPY . . [2022-04-26T08:48:16.627Z] ---> 1fc017230e8f [2022-04-26T08:48:16.627Z] Step 11/25 : RUN ${MAKE} [2022-04-26T08:48:16.627Z] ---> Running in f85265e17623 [2022-04-26T08:48:17.202Z] Removing intermediate container f85265e17623 [2022-04-26T08:48:17.202Z] ---> 471b27bc38b5 [2022-04-26T08:48:17.202Z] Step 12/25 : FROM alpine:3.15 [2022-04-26T08:48:17.772Z] 3.15: Pulling from library/alpine [2022-04-26T08:48:17.772Z] df9b9388f04a: Pulling fs layer [2022-04-26T08:48:18.033Z] df9b9388f04a: Verifying Checksum [2022-04-26T08:48:18.033Z] df9b9388f04a: Download complete [2022-04-26T08:48:18.297Z] df9b9388f04a: Pull complete [2022-04-26T08:48:18.297Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-26T08:48:18.297Z] Status: Downloaded newer image for alpine:3.15 [2022-04-26T08:48:18.297Z] ---> 0ac33e5f5afa [2022-04-26T08:48:18.297Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-26T08:48:18.297Z] ---> Running in c2ae6990573a [2022-04-26T08:48:18.560Z] Removing intermediate container c2ae6990573a [2022-04-26T08:48:18.560Z] ---> 27d7d6879105 [2022-04-26T08:48:18.560Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:48:18.560Z] ---> Running in 2f24f2880ec6 [2022-04-26T08:48:19.132Z] Removing intermediate container 2f24f2880ec6 [2022-04-26T08:48:19.132Z] ---> 68c1d69357eb [2022-04-26T08:48:19.132Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-26T08:48:19.132Z] ---> Running in b70632be14e4 [2022-04-26T08:48:19.393Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T08:48:20.338Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T08:48:20.599Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-26T08:48:20.599Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-26T08:48:20.860Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-26T08:48:20.860Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-26T08:48:20.860Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-26T08:48:21.121Z] Executing busybox-1.34.1-r5.trigger [2022-04-26T08:48:21.121Z] OK: 8 MiB in 19 packages [2022-04-26T08:48:21.382Z] Removing intermediate container b70632be14e4 [2022-04-26T08:48:21.382Z] ---> 7f3384887908 [2022-04-26T08:48:21.382Z] Step 16/25 : WORKDIR / [2022-04-26T08:48:21.382Z] ---> Running in 725c49dbb508 [2022-04-26T08:48:21.642Z] Removing intermediate container 725c49dbb508 [2022-04-26T08:48:21.642Z] ---> 6511c80545e9 [2022-04-26T08:48:21.642Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-26T08:48:21.642Z] ---> 540996d52a2c [2022-04-26T08:48:21.642Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-26T08:48:21.903Z] ---> 43fc5bae8d98 [2022-04-26T08:48:21.903Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-26T08:48:22.165Z] ---> 6b1d48cbef37 [2022-04-26T08:48:22.165Z] Step 20/25 : EXPOSE 59910 [2022-04-26T08:48:22.165Z] ---> Running in c4d182b1a0eb [2022-04-26T08:48:22.426Z] Removing intermediate container c4d182b1a0eb [2022-04-26T08:48:22.426Z] ---> 56659b6a9826 [2022-04-26T08:48:22.426Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-26T08:48:22.426Z] ---> Running in 534e57af37fe [2022-04-26T08:48:22.426Z] Removing intermediate container 534e57af37fe [2022-04-26T08:48:22.426Z] ---> c1d84a995813 [2022-04-26T08:48:22.426Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T08:48:22.426Z] ---> Running in 8a0df41912b1 [2022-04-26T08:48:22.687Z] Removing intermediate container 8a0df41912b1 [2022-04-26T08:48:22.687Z] ---> f21447e6395f [2022-04-26T08:48:22.687Z] Step 23/25 : LABEL arch=amd64 [2022-04-26T08:48:22.687Z] ---> Running in 6fde6e3bc752 [2022-04-26T08:48:22.687Z] Removing intermediate container 6fde6e3bc752 [2022-04-26T08:48:22.687Z] ---> 47cf1782fb56 [2022-04-26T08:48:22.687Z] Step 24/25 : LABEL git_sha=55ae9f22294ead9448b0e986a077af016c88e5ef [2022-04-26T08:48:22.687Z] ---> Running in c856896fb2bc [2022-04-26T08:48:22.946Z] Removing intermediate container c856896fb2bc [2022-04-26T08:48:22.946Z] ---> ef4f955cb1d8 [2022-04-26T08:48:22.946Z] Step 25/25 : LABEL version=0.0.0 [2022-04-26T08:48:22.946Z] ---> Running in 386db6b710b3 [2022-04-26T08:48:22.946Z] Removing intermediate container 386db6b710b3 [2022-04-26T08:48:22.946Z] ---> d282f9cb6b60 [2022-04-26T08:48:22.946Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-26T08:48:22.946Z] Successfully built d282f9cb6b60 [2022-04-26T08:48:22.946Z] 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 [2022-04-26T08:48:23.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T08:48:23.387Z] [2022-04-26T08:48:23.387Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:48:23.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T08:48:23.689Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T08:48:23.689Z] 5eb5b503b376: Pulling fs layer [2022-04-26T08:48:23.689Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T08:48:23.689Z] ec43610c2a17: Pulling fs layer [2022-04-26T08:48:23.689Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T08:48:23.689Z] 33b1e0a273af: Pulling fs layer [2022-04-26T08:48:23.689Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T08:48:23.689Z] 2f39f015ded8: Pulling fs layer [2022-04-26T08:48:23.689Z] 33b1e0a273af: Waiting [2022-04-26T08:48:23.689Z] 3a2ae6a8a46f: Waiting [2022-04-26T08:48:23.689Z] 5d3b04190fa2: Waiting [2022-04-26T08:48:23.689Z] 2f39f015ded8: Waiting [2022-04-26T08:48:23.689Z] 5c69ac0246d0: Download complete [2022-04-26T08:48:23.689Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-26T08:48:23.689Z] 3a2ae6a8a46f: Download complete [2022-04-26T08:48:23.689Z] 33b1e0a273af: Verifying Checksum [2022-04-26T08:48:23.689Z] 33b1e0a273af: Download complete [2022-04-26T08:48:23.689Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T08:48:23.689Z] 5d3b04190fa2: Download complete [2022-04-26T08:48:23.689Z] ec43610c2a17: Verifying Checksum [2022-04-26T08:48:23.689Z] ec43610c2a17: Download complete [2022-04-26T08:48:23.947Z] 5eb5b503b376: Verifying Checksum [2022-04-26T08:48:23.947Z] 5eb5b503b376: Download complete [2022-04-26T08:48:24.515Z] 2f39f015ded8: Download complete [2022-04-26T08:48:25.084Z] 5eb5b503b376: Pull complete [2022-04-26T08:48:25.084Z] 5c69ac0246d0: Pull complete [2022-04-26T08:48:25.651Z] ec43610c2a17: Pull complete [2022-04-26T08:48:25.651Z] 3a2ae6a8a46f: Pull complete [2022-04-26T08:48:25.912Z] 33b1e0a273af: Pull complete [2022-04-26T08:48:25.912Z] 5d3b04190fa2: Pull complete [2022-04-26T08:48:30.105Z] 2f39f015ded8: Pull complete [2022-04-26T08:48:30.105Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T08:48:30.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T08:48:30.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T08:48:30.180Z] prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container [2022-04-26T08:48:30.242Z] $ 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 [2022-04-26T08:48:32.410Z] $ docker top 5e9d2753a2c58a3cc312ab9f9d846b760a13612f4d98f617fa7af048db91e0b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:48:32.830Z] ---> job-cost.sh [2022-04-26T08:48:32.830Z] lf-activate-venv: SKIPPING [2022-04-26T08:48:32.830Z] INFO: No Stack... [2022-04-26T08:48:33.090Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T08:48:33.659Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T08:48:33.954Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-25/archives/cost.csv [2022-04-26T08:48:33.954Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T08:48:33.969Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [2022-04-26T08:48:33.975Z] Resource [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] did not exist. Created. [2022-04-26T08:48:33.975Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T08:48:34.273Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T08:48:34.303Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T08:48:34.308Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T08:48:34.334Z] $ docker stop --time=1 5e9d2753a2c58a3cc312ab9f9d846b760a13612f4d98f617fa7af048db91e0b9 [2022-04-26T08:48:35.489Z] $ docker rm -f 5e9d2753a2c58a3cc312ab9f9d846b760a13612f4d98f617fa7af048db91e0b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T08:49:01.854Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23588 in /w/workspace/edgexfoundry_device-gpio_PR-25 [Pipeline] { [Pipeline] ws [2022-04-26T08:49:01.868Z] Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout [2022-04-26T08:49:02.076Z] The recommended git tool is: git [2022-04-26T08:49:07.364Z] using credential edgex-jenkins-ssh [2022-04-26T08:49:07.406Z] Cloning the remote Git repository [2022-04-26T08:49:07.468Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-26T08:49:07.541Z] > git init /w/workspace/device-gpio/4 # timeout=10 [2022-04-26T08:49:07.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-26T08:49:07.612Z] > git --version # timeout=10 [2022-04-26T08:49:07.642Z] > git --version # 'git version 2.25.1' [2022-04-26T08:49:07.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T08:49:07.771Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T08:49:09.540Z] Merging remotes/origin/main commit b9afc87bdaf6fb1a5adf70b8290df672557dec94 into PR head commit 55ae9f22294ead9448b0e986a077af016c88e5ef [2022-04-26T08:49:09.763Z] Merge succeeded, producing 55ae9f22294ead9448b0e986a077af016c88e5ef [2022-04-26T08:49:09.763Z] Checking out Revision 55ae9f22294ead9448b0e986a077af016c88e5ef (PR-25) [2022-04-26T08:49:08.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-26T08:49:08.925Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T08:49:08.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-26T08:49:08.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-26T08:49:08.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T08:49:09.003Z] > 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 [2022-04-26T08:49:09.567Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T08:49:09.593Z] > git checkout -f 55ae9f22294ead9448b0e986a077af016c88e5ef # timeout=10 [2022-04-26T08:49:09.676Z] > git remote # timeout=10 [2022-04-26T08:49:09.694Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T08:49:09.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T08:49:09.727Z] > git merge b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 [2022-04-26T08:49:09.751Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T08:49:09.774Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T08:49:09.795Z] > git checkout -f 55ae9f22294ead9448b0e986a077af016c88e5ef # timeout=10 [2022-04-26T08:49:13.941Z] 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 [2022-04-26T08:49:14.759Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T08:49:14.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T08:49:14.759Z] Dload Upload Total Spent Left Speed [2022-04-26T08:49:14.759Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 88380 [Pipeline] sh [2022-04-26T08:49:15.289Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T08:49:15.631Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2022-04-26T08:49:15.631Z] tee /etc/docker/daemon.new [2022-04-26T08:49:15.631Z] { [2022-04-26T08:49:15.631Z] "registry-mirrors": [ [2022-04-26T08:49:15.631Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T08:49:15.631Z] ], [2022-04-26T08:49:15.631Z] "bip": "10.250.0.254/24", [2022-04-26T08:49:15.631Z] "hosts": [ [2022-04-26T08:49:15.631Z] "tcp://0.0.0.0:5555", [2022-04-26T08:49:15.631Z] "unix:///var/run/docker.sock" [2022-04-26T08:49:15.631Z] ], [2022-04-26T08:49:15.631Z] "mtu": 1458, [2022-04-26T08:49:15.631Z] "selinux-enabled": true, [2022-04-26T08:49:15.631Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T08:49:15.631Z] } [Pipeline] sh [2022-04-26T08:49:15.985Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T08:49:16.335Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T08:49:34.728Z] provisioning config files... [2022-04-26T08:49:34.752Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config8989958485197225268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:49:35.127Z] ---> docker-login.sh [2022-04-26T08:49:35.127Z] nexus3.edgexfoundry.org:10001 [2022-04-26T08:49:35.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:49:36.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:49:36.010Z] Configure a credential helper to remove this warning. See [2022-04-26T08:49:36.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:49:36.010Z] [2022-04-26T08:49:36.010Z] Login Succeeded [2022-04-26T08:49:36.010Z] nexus3.edgexfoundry.org:10002 [2022-04-26T08:49:36.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:49:36.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:49:36.286Z] Configure a credential helper to remove this warning. See [2022-04-26T08:49:36.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:49:36.286Z] [2022-04-26T08:49:36.286Z] Login Succeeded [2022-04-26T08:49:36.562Z] nexus3.edgexfoundry.org:10003 [2022-04-26T08:49:36.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:49:36.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:49:36.838Z] Configure a credential helper to remove this warning. See [2022-04-26T08:49:36.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:49:36.838Z] [2022-04-26T08:49:36.838Z] Login Succeeded [2022-04-26T08:49:36.838Z] nexus3.edgexfoundry.org:10004 [2022-04-26T08:49:37.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:49:37.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:49:37.447Z] Configure a credential helper to remove this warning. See [2022-04-26T08:49:37.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:49:37.447Z] [2022-04-26T08:49:37.447Z] Login Succeeded [2022-04-26T08:49:37.447Z] docker.io [2022-04-26T08:49:37.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T08:49:38.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T08:49:38.319Z] Configure a credential helper to remove this warning. See [2022-04-26T08:49:38.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T08:49:38.319Z] [2022-04-26T08:49:38.319Z] Login Succeeded [2022-04-26T08:49:38.319Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T08:49:38.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T08:49:38.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T08:49:38.924Z] ========================================================= [2022-04-26T08:49:38.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T08:49:38.924Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:49:39.275Z] + 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 . [2022-04-26T08:49:39.550Z] Sending build context to Docker daemon 5.673MB [2022-04-26T08:49:39.550Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T08:49:39.550Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-26T08:49:39.827Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T08:49:39.828Z] 9b3977197b4f: Pulling fs layer [2022-04-26T08:49:39.828Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T08:49:39.828Z] 94645a83ff95: Pulling fs layer [2022-04-26T08:49:39.828Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T08:49:39.828Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T08:49:39.828Z] 3096ccb668a1: Pulling fs layer [2022-04-26T08:49:39.828Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T08:49:39.828Z] a4caa8a26152: Pulling fs layer [2022-04-26T08:49:39.828Z] 3f3a8bcf1eab: Waiting [2022-04-26T08:49:39.828Z] 0c92f367c5e7: Waiting [2022-04-26T08:49:39.828Z] 3096ccb668a1: Waiting [2022-04-26T08:49:39.828Z] e8cf19c19ddd: Waiting [2022-04-26T08:49:39.828Z] a4caa8a26152: Waiting [2022-04-26T08:49:39.828Z] 94645a83ff95: Verifying Checksum [2022-04-26T08:49:39.828Z] 94645a83ff95: Download complete [2022-04-26T08:49:39.828Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T08:49:39.828Z] 1a89e8eeedd5: Download complete [2022-04-26T08:49:39.828Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T08:49:39.828Z] 0c92f367c5e7: Download complete [2022-04-26T08:49:39.828Z] 3096ccb668a1: Verifying Checksum [2022-04-26T08:49:39.828Z] 3096ccb668a1: Download complete [2022-04-26T08:49:39.828Z] 9b3977197b4f: Download complete [2022-04-26T08:49:39.828Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T08:49:39.828Z] e8cf19c19ddd: Download complete [2022-04-26T08:49:40.822Z] 9b3977197b4f: Pull complete [2022-04-26T08:49:41.101Z] 1a89e8eeedd5: Pull complete [2022-04-26T08:49:41.705Z] 94645a83ff95: Pull complete [2022-04-26T08:49:41.980Z] a4caa8a26152: Verifying Checksum [2022-04-26T08:49:41.980Z] a4caa8a26152: Download complete [2022-04-26T08:49:42.580Z] 3f3a8bcf1eab: Download complete [2022-04-26T08:49:54.990Z] 3f3a8bcf1eab: Pull complete [2022-04-26T08:49:54.990Z] 0c92f367c5e7: Pull complete [2022-04-26T08:49:54.990Z] 3096ccb668a1: Pull complete [2022-04-26T08:49:55.284Z] e8cf19c19ddd: Pull complete [2022-04-26T08:50:02.011Z] a4caa8a26152: Pull complete [2022-04-26T08:50:02.011Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T08:50:02.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T08:50:02.011Z] ---> 725f1c02e7f9 [2022-04-26T08:50:02.011Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T08:50:03.009Z] ---> Running in ba5e21b93c63 [2022-04-26T08:50:03.009Z] Removing intermediate container ba5e21b93c63 [2022-04-26T08:50:03.009Z] ---> 4a466b01fa5d [2022-04-26T08:50:03.009Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T08:50:03.287Z] ---> Running in aa581da85a98 [2022-04-26T08:50:03.561Z] Removing intermediate container aa581da85a98 [2022-04-26T08:50:03.561Z] ---> 7c948f084a13 [2022-04-26T08:50:03.561Z] Step 5/11 : WORKDIR /device-gpio [2022-04-26T08:50:03.561Z] ---> Running in a880798deeef [2022-04-26T08:50:03.839Z] Removing intermediate container a880798deeef [2022-04-26T08:50:03.839Z] ---> c213decf4278 [2022-04-26T08:50:03.839Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:50:03.839Z] ---> Running in 7be534f7c96e [2022-04-26T08:50:07.236Z] Removing intermediate container 7be534f7c96e [2022-04-26T08:50:07.236Z] ---> 34a117c37f59 [2022-04-26T08:50:07.236Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T08:50:07.236Z] ---> Running in 48db3eabc2c9 [2022-04-26T08:50:08.236Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T08:50:08.830Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T08:50:09.813Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T08:50:09.813Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T08:50:09.813Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T08:50:10.091Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T08:50:10.091Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T08:50:10.091Z] OK: 224 MiB in 56 packages [2022-04-26T08:50:11.083Z] Removing intermediate container 48db3eabc2c9 [2022-04-26T08:50:11.083Z] ---> e71ec09b5ba6 [2022-04-26T08:50:11.083Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-26T08:50:11.686Z] ---> 8a0336d09d63 [2022-04-26T08:50:11.686Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T08:50:11.686Z] ---> Running in 5add3472a448 [2022-04-26T08:51:33.507Z] Removing intermediate container 5add3472a448 [2022-04-26T08:51:33.507Z] ---> ac8e24181e56 [2022-04-26T08:51:33.507Z] Step 10/11 : COPY . . [2022-04-26T08:51:33.507Z] ---> 8680c0513028 [2022-04-26T08:51:33.507Z] Step 11/11 : RUN ${MAKE} [2022-04-26T08:51:33.507Z] ---> Running in ca1cd446a0a1 [2022-04-26T08:51:33.507Z] Removing intermediate container ca1cd446a0a1 [2022-04-26T08:51:33.507Z] ---> c54be5401e59 [2022-04-26T08:51:33.507Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-26T08:51:33.507Z] Successfully built c54be5401e59 [2022-04-26T08:51:33.507Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:51:33.860Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T08:51:33.860Z] . [Pipeline] withDockerContainer [2022-04-26T08:51:34.103Z] prd-ubuntu20.04-docker-arm64-4c-16g-23588 does not seem to be running inside a container [2022-04-26T08:51:34.204Z] $ 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 [2022-04-26T08:51:35.467Z] $ docker top a81e30f7cfc98b2180023e96d85ea8eaa74b1451a39de369e5bdc71a6a9940ab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T08:51:36.366Z] + go version [2022-04-26T08:51:36.366Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T08:51:36.397Z] $ docker stop --time=1 a81e30f7cfc98b2180023e96d85ea8eaa74b1451a39de369e5bdc71a6a9940ab [2022-04-26T08:51:38.036Z] $ docker rm -f a81e30f7cfc98b2180023e96d85ea8eaa74b1451a39de369e5bdc71a6a9940ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:51:38.655Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T08:51:38.655Z] . [Pipeline] withDockerContainer [2022-04-26T08:51:38.888Z] prd-ubuntu20.04-docker-arm64-4c-16g-23588 does not seem to be running inside a container [2022-04-26T08:51:38.984Z] $ 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 [2022-04-26T08:51:40.267Z] $ docker top 028230a0032008b21848c9a4954b05fb16f4c72668942203d4f9187bf6ce10c2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T08:51:41.208Z] + make test [2022-04-26T08:51:41.208Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-26T08:51:42.653Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-26T08:52:29.707Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-26T08:52:29.707Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-26T08:52:29.707Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T08:52:29.707Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T08:52:48.034Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T08:52:48.034Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T08:52:48.034Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T08:52:48.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T08:52:48.083Z] $ docker stop --time=1 028230a0032008b21848c9a4954b05fb16f4c72668942203d4f9187bf6ce10c2 [2022-04-26T08:52:49.838Z] $ docker rm -f 028230a0032008b21848c9a4954b05fb16f4c72668942203d4f9187bf6ce10c2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T08:52:50.634Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T08:52:50.663Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T08:52:51.113Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T08:52:51.516Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T08:52:51.851Z] + ls -al . [2022-04-26T08:52:51.851Z] total 184 [2022-04-26T08:52:51.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:52 . [2022-04-26T08:52:51.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 08:49 .. [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 26 08:49 .dockerignore [2022-04-26T08:52:51.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 08:49 .git [2022-04-26T08:52:51.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:49 .github [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 26 08:49 .gitignore [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 08:49 .golangci.yml [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 26 08:49 Attribution.txt [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 26 08:49 Dockerfile [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 08:49 GOVERNANCE.md [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 26 08:49 Jenkinsfile [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 08:49 LICENSE [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 26 08:49 Makefile [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 26 08:49 OWNERS.md [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 10844 Apr 26 08:49 README.md [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 08:47 VERSION [2022-04-26T08:52:51.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 08:49 bin [2022-04-26T08:52:51.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:49 cmd [2022-04-26T08:52:51.851Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 26 08:51 coverage.out [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 26 08:49 go.mod [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 26 08:49 go.sum [2022-04-26T08:52:51.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:49 internal [2022-04-26T08:52:51.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 08:49 snap [2022-04-26T08:52:51.851Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 26 08:49 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:52:52.204Z] + 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 . [2022-04-26T08:52:52.478Z] Sending build context to Docker daemon 5.674MB [2022-04-26T08:52:52.762Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T08:52:52.762Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-26T08:52:52.762Z] ---> c54be5401e59 [2022-04-26T08:52:52.762Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T08:52:52.762Z] ---> Running in e4d4a0cc66f7 [2022-04-26T08:52:53.039Z] Removing intermediate container e4d4a0cc66f7 [2022-04-26T08:52:53.039Z] ---> ec091794be62 [2022-04-26T08:52:53.039Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T08:52:53.039Z] ---> Running in 847b05ff876b [2022-04-26T08:52:53.317Z] Removing intermediate container 847b05ff876b [2022-04-26T08:52:53.317Z] ---> ff47bd0fe5f9 [2022-04-26T08:52:53.317Z] Step 5/25 : WORKDIR /device-gpio [2022-04-26T08:52:53.592Z] ---> Running in ac5cdfb35a4c [2022-04-26T08:52:53.865Z] Removing intermediate container ac5cdfb35a4c [2022-04-26T08:52:53.866Z] ---> 9557e78080a3 [2022-04-26T08:52:53.866Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:52:53.866Z] ---> Running in 4d0480222bdd [2022-04-26T08:52:55.850Z] Removing intermediate container 4d0480222bdd [2022-04-26T08:52:55.850Z] ---> 6d4359a07985 [2022-04-26T08:52:55.850Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T08:52:55.850Z] ---> Running in 58dd427e1983 [2022-04-26T08:52:56.446Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T08:52:57.425Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T08:52:58.409Z] OK: 224 MiB in 56 packages [2022-04-26T08:52:59.013Z] Removing intermediate container 58dd427e1983 [2022-04-26T08:52:59.013Z] ---> f89f77de3e0f [2022-04-26T08:52:59.013Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-26T08:52:59.611Z] ---> 1047f894ee31 [2022-04-26T08:52:59.611Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T08:52:59.887Z] ---> Running in 5e7aab604366 [2022-04-26T08:53:01.878Z] Removing intermediate container 5e7aab604366 [2022-04-26T08:53:01.878Z] ---> 348d1ce09309 [2022-04-26T08:53:01.878Z] Step 10/25 : COPY . . [2022-04-26T08:53:02.862Z] ---> 2fc0d1a9e9cb [2022-04-26T08:53:02.863Z] Step 11/25 : RUN ${MAKE} [2022-04-26T08:53:02.863Z] ---> Running in 881ca0d3b622 [2022-04-26T08:53:04.300Z] Removing intermediate container 881ca0d3b622 [2022-04-26T08:53:04.300Z] ---> 3924f15c7f2b [2022-04-26T08:53:04.300Z] Step 12/25 : FROM alpine:3.15 [2022-04-26T08:53:05.279Z] 3.15: Pulling from library/alpine [2022-04-26T08:53:05.279Z] 9981e73032c8: Pulling fs layer [2022-04-26T08:53:05.555Z] 9981e73032c8: Verifying Checksum [2022-04-26T08:53:05.555Z] 9981e73032c8: Download complete [2022-04-26T08:53:06.152Z] 9981e73032c8: Pull complete [2022-04-26T08:53:06.152Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-26T08:53:06.152Z] Status: Downloaded newer image for alpine:3.15 [2022-04-26T08:53:06.152Z] ---> 3fb3c9af89a9 [2022-04-26T08:53:06.152Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-26T08:53:06.152Z] ---> Running in c4810014665f [2022-04-26T08:53:06.427Z] Removing intermediate container c4810014665f [2022-04-26T08:53:06.427Z] ---> 42361f650051 [2022-04-26T08:53:06.427Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T08:53:06.427Z] ---> Running in f7badfac402b [2022-04-26T08:53:08.403Z] Removing intermediate container f7badfac402b [2022-04-26T08:53:08.403Z] ---> 7c65ed3612d5 [2022-04-26T08:53:08.403Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-26T08:53:08.403Z] ---> Running in 1dd52e09b0ba [2022-04-26T08:53:09.018Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T08:53:09.991Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T08:53:10.979Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-26T08:53:10.979Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-26T08:53:10.979Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-26T08:53:11.251Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-26T08:53:11.251Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-26T08:53:11.251Z] Executing busybox-1.34.1-r5.trigger [2022-04-26T08:53:11.526Z] OK: 8 MiB in 19 packages [2022-04-26T08:53:12.504Z] Removing intermediate container 1dd52e09b0ba [2022-04-26T08:53:12.504Z] ---> 266e285f7db2 [2022-04-26T08:53:12.504Z] Step 16/25 : WORKDIR / [2022-04-26T08:53:12.504Z] ---> Running in 67ba809f01fb [2022-04-26T08:53:12.777Z] Removing intermediate container 67ba809f01fb [2022-04-26T08:53:12.777Z] ---> 77cf96a51b68 [2022-04-26T08:53:12.777Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-26T08:53:13.374Z] ---> 480c3539af9e [2022-04-26T08:53:13.374Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-26T08:53:13.647Z] ---> 7b1ca1f1f26c [2022-04-26T08:53:13.647Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-26T08:53:14.249Z] ---> a62518844010 [2022-04-26T08:53:14.249Z] Step 20/25 : EXPOSE 59910 [2022-04-26T08:53:14.249Z] ---> Running in a5e564f65cc6 [2022-04-26T08:53:14.849Z] Removing intermediate container a5e564f65cc6 [2022-04-26T08:53:14.849Z] ---> b0a8d21af19f [2022-04-26T08:53:14.849Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-26T08:53:14.849Z] ---> Running in 6e225b753459 [2022-04-26T08:53:15.123Z] Removing intermediate container 6e225b753459 [2022-04-26T08:53:15.123Z] ---> 9f664111688d [2022-04-26T08:53:15.123Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T08:53:15.123Z] ---> Running in 15a4e591d5ee [2022-04-26T08:53:15.401Z] Removing intermediate container 15a4e591d5ee [2022-04-26T08:53:15.401Z] ---> de8915af53dd [2022-04-26T08:53:15.401Z] Step 23/25 : LABEL arch=arm64 [2022-04-26T08:53:15.401Z] ---> Running in 0a0b198a4691 [2022-04-26T08:53:15.678Z] Removing intermediate container 0a0b198a4691 [2022-04-26T08:53:15.678Z] ---> e8261f25351e [2022-04-26T08:53:15.678Z] Step 24/25 : LABEL git_sha=55ae9f22294ead9448b0e986a077af016c88e5ef [2022-04-26T08:53:15.953Z] ---> Running in 50feca82770e [2022-04-26T08:53:16.230Z] Removing intermediate container 50feca82770e [2022-04-26T08:53:16.230Z] ---> f6729f458064 [2022-04-26T08:53:16.230Z] Step 25/25 : LABEL version=0.0.0 [2022-04-26T08:53:16.230Z] ---> Running in cd5aacee93dd [2022-04-26T08:53:16.504Z] Removing intermediate container cd5aacee93dd [2022-04-26T08:53:16.504Z] ---> 08293768d6ff [2022-04-26T08:53:16.504Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-26T08:53:16.504Z] Successfully built 08293768d6ff [2022-04-26T08:53:16.504Z] 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 [2022-04-26T08:53:16.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T08:53:16.955Z] [2022-04-26T08:53:16.955Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:53:17.317Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T08:53:17.594Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T08:53:17.594Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T08:53:17.594Z] 04944245beec: Pulling fs layer [2022-04-26T08:53:17.594Z] 699f458cf7ca: Pulling fs layer [2022-04-26T08:53:17.594Z] 765212b225bb: Pulling fs layer [2022-04-26T08:53:17.594Z] f23df028b6ca: Pulling fs layer [2022-04-26T08:53:17.594Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T08:53:17.594Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T08:53:17.594Z] f23df028b6ca: Waiting [2022-04-26T08:53:17.594Z] d65c8cfc05b1: Waiting [2022-04-26T08:53:17.594Z] 2437ff75d9bd: Waiting [2022-04-26T08:53:17.594Z] 765212b225bb: Waiting [2022-04-26T08:53:17.594Z] 04944245beec: Download complete [2022-04-26T08:53:17.594Z] 765212b225bb: Verifying Checksum [2022-04-26T08:53:17.594Z] 765212b225bb: Download complete [2022-04-26T08:53:17.594Z] f23df028b6ca: Verifying Checksum [2022-04-26T08:53:17.594Z] f23df028b6ca: Download complete [2022-04-26T08:53:17.594Z] d65c8cfc05b1: Verifying Checksum [2022-04-26T08:53:17.594Z] d65c8cfc05b1: Download complete [2022-04-26T08:53:17.878Z] 699f458cf7ca: Verifying Checksum [2022-04-26T08:53:17.878Z] 699f458cf7ca: Download complete [2022-04-26T08:53:18.155Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T08:53:18.155Z] 8998bd30e6a1: Download complete [2022-04-26T08:53:20.788Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T08:53:20.788Z] 2437ff75d9bd: Download complete [2022-04-26T08:53:22.777Z] 8998bd30e6a1: Pull complete [2022-04-26T08:53:23.059Z] 04944245beec: Pull complete [2022-04-26T08:53:24.503Z] 699f458cf7ca: Pull complete [2022-04-26T08:53:24.778Z] 765212b225bb: Pull complete [2022-04-26T08:53:25.379Z] f23df028b6ca: Pull complete [2022-04-26T08:53:25.655Z] d65c8cfc05b1: Pull complete [2022-04-26T08:53:40.761Z] 2437ff75d9bd: Pull complete [2022-04-26T08:53:40.761Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T08:53:40.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T08:53:40.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T08:53:40.997Z] prd-ubuntu20.04-docker-arm64-4c-16g-23588 does not seem to be running inside a container [2022-04-26T08:53:41.093Z] $ 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 [2022-04-26T08:53:43.437Z] $ docker top ed018ab35c9f2321e6493fde07201698f80bfc97bc5239e685d5444b171b6287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:53:44.361Z] ---> job-cost.sh [2022-04-26T08:53:44.361Z] lf-activate-venv: SKIPPING [2022-04-26T08:53:44.361Z] INFO: No Stack... [2022-04-26T08:53:45.791Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T08:53:46.382Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T08:53:47.044Z] + cat /w/workspace/device-gpio/4/archives/cost.csv [2022-04-26T08:53:47.044Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T08:53:47.108Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [2022-04-26T08:53:47.114Z] Resource [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] did not exist. Created. [2022-04-26T08:53:47.114Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T08:53:47.785Z] /w/workspace/device-gpio/4@tmp/durable-01223b8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T08:53:48.455Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T08:53:48.476Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T08:53:48.520Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T08:53:48.527Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T08:53:48.553Z] $ docker stop --time=1 ed018ab35c9f2321e6493fde07201698f80bfc97bc5239e685d5444b171b6287 [2022-04-26T08:53:50.013Z] $ 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 [2022-04-26T08:53:50.566Z] provisioning config files... [2022-04-26T08:53:50.576Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config7452632405920799102tmp [Pipeline] { [Pipeline] sh [2022-04-26T08:53:50.873Z] + set +x [2022-04-26T08:53:50.873Z] + curl -s https://codecov.io/bash [2022-04-26T08:53:50.873Z] + bash -s -- [2022-04-26T08:53:50.873Z] [2022-04-26T08:53:50.873Z] _____ _ [2022-04-26T08:53:50.873Z] / ____| | | [2022-04-26T08:53:50.873Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T08:53:50.873Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T08:53:50.873Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T08:53:50.873Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T08:53:50.873Z] Bash-1.0.6 [2022-04-26T08:53:50.873Z] [2022-04-26T08:53:50.873Z] [2022-04-26T08:53:50.873Z] ==> git version 2.25.1 found [2022-04-26T08:53:50.873Z] ==> 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 [2022-04-26T08:53:50.873Z] Release-Date: 2020-01-08 [2022-04-26T08:53:50.873Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-26T08:53:50.873Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T08:53:50.873Z] ==> Jenkins CI detected. [2022-04-26T08:53:50.873Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-25 [2022-04-26T08:53:50.873Z] project root: . [2022-04-26T08:53:50.873Z] --> token set from env [2022-04-26T08:53:50.873Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T08:53:50.873Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T08:53:50.873Z] ==> Python coveragepy not found [2022-04-26T08:53:50.873Z] ==> Searching for coverage reports in: [2022-04-26T08:53:50.873Z] + . [2022-04-26T08:53:50.873Z] -> Found 1 reports [2022-04-26T08:53:50.873Z] ==> Detecting git/mercurial file structure [2022-04-26T08:53:50.873Z] ==> Reading reports [2022-04-26T08:53:50.873Z] + ./coverage.out bytes=10 [2022-04-26T08:53:50.873Z] ==> Appending adjustments [2022-04-26T08:53:50.873Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T08:53:51.133Z] + Found adjustments [2022-04-26T08:53:51.134Z] ==> Gzipping contents [2022-04-26T08:53:51.134Z] 4.0K /tmp/codecov.rkY6aQ.gz [2022-04-26T08:53:51.134Z] ==> Uploading reports [2022-04-26T08:53:51.134Z] url: https://codecov.io [2022-04-26T08:53:51.134Z] 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= [2022-04-26T08:53:51.134Z] -> Pinging Codecov [2022-04-26T08:53:51.134Z] 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= [2022-04-26T08:53:51.393Z] -> Uploading to [2022-04-26T08:53:51.393Z] 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 [2022-04-26T08:53:51.393Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T08:53:51.393Z] Dload Upload Total Spent Left Speed [2022-04-26T08:53:51.654Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3495 --:--:-- --:--:-- --:--:-- 3495 [2022-04-26T08:53:51.654Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/55ae9f22294ead9448b0e986a077af016c88e5ef [Pipeline] } [2022-04-26T08:53:51.661Z] 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 [2022-04-26T08:53:52.433Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-25/archives ] [2022-04-26T08:53:52.434Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives [2022-04-26T08:53:52.434Z] total 16 [2022-04-26T08:53:52.434Z] drwxr-xr-x 3 root root 4096 Apr 26 08:48 . [2022-04-26T08:53:52.434Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 08:48 .. [2022-04-26T08:53:52.434Z] drwxr-xr-x 2 root root 4096 Apr 26 08:48 cost [2022-04-26T08:53:52.434Z] -rw-r--r-- 1 root root 81 Apr 26 08:48 cost.csv [2022-04-26T08:53:52.434Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-25/archives [2022-04-26T08:53:52.434Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives [2022-04-26T08:53:52.434Z] total 16 [2022-04-26T08:53:52.434Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 08:48 . [2022-04-26T08:53:52.434Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 08:48 .. [2022-04-26T08:53:52.434Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 08:48 cost [2022-04-26T08:53:52.434Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 26 08:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:53:52.728Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:53:53.596Z] ---> package-listing.sh [2022-04-26T08:53:53.596Z] ++ facter osfamily [2022-04-26T08:53:53.596Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T08:53:53.858Z] + OS_FAMILY=debian [2022-04-26T08:53:53.858Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-25 [2022-04-26T08:53:53.858Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T08:53:53.858Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T08:53:53.858Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T08:53:53.858Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T08:53:53.858Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' [2022-04-26T08:53:53.858Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T08:53:53.858Z] + case "${OS_FAMILY}" in [2022-04-26T08:53:53.858Z] + dpkg -l [2022-04-26T08:53:53.858Z] + grep '^ii' [2022-04-26T08:53:53.858Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T08:53:53.858Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T08:53:53.858Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T08:53:53.858Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' [2022-04-26T08:53:53.858Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-25/archives/ [2022-04-26T08:53:53.858Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-25/archives/ [Pipeline] echo [2022-04-26T08:53:53.869Z] 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 [2022-04-26T08:53:54.149Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T08:53:54.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T08:53:54.706Z] . [Pipeline] withDockerContainer [2022-04-26T08:53:54.772Z] prd-ubuntu20.04-docker-8c-8g-23587 does not seem to be running inside a container [2022-04-26T08:53:54.831Z] $ 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 [2022-04-26T08:53:55.101Z] $ docker top 7dc82c9cf4c7afa5439024fa822ebf7398664d315ee8f050f7e43166940d14f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T08:53:55.501Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T08:53:55.790Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T08:53:56.081Z] + ls /var/log/sa-host [2022-04-26T08:53:56.081Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T08:53:56.300Z] provisioning config files... [2022-04-26T08:53:56.310Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config4373434691899165071tmp [Pipeline] { [Pipeline] echo [2022-04-26T08:53:56.326Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:53:56.614Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T08:53:56.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:53:56.974Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T08:53:56.986Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:53:57.271Z] ---> sudo-logs.sh [2022-04-26T08:53:57.271Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T08:53:57.297Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:53:57.587Z] ---> job-cost.sh [2022-04-26T08:53:57.588Z] lf-activate-venv: SKIPPING [2022-04-26T08:53:57.588Z] DEBUG: total: 0.2199999988079071 [2022-04-26T08:53:57.588Z] INFO: Retrieving Stack Cost... [2022-04-26T08:53:58.160Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T08:53:58.421Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T08:53:58.437Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T08:53:58.726Z] ---> logs-deploy.sh [2022-04-26T08:53:58.726Z] lf-activate-venv: SKIPPING [2022-04-26T08:53:58.726Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-25/4 [2022-04-26T08:53:58.726Z] INFO: archiving workspace using pattern(s): [2022-04-26T08:53:59.669Z] Archives upload complete. [2022-04-26T08:53:59.669Z] INFO: archiving logs to Nexus