Pull request #25 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at b9afc87bdaf6fb1a5adf70b8290df672557dec94 rather than 849856e397af8c7133fe8d5f0c56bf82761c9132 Obtained Jenkinsfile from b9afc87bdaf6fb1a5adf70b8290df672557dec94 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11160191342159912466.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11088143938522591255.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-25/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-25/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8419732985813236331.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6580084641431136802.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-25/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-25/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3020045722873283703.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21960 in /w/workspace/edgexfoundry_device-gpio_PR-25 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-25 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b9afc87bdaf6fb1a5adf70b8290df672557dec94 into PR head commit 849856e397af8c7133fe8d5f0c56bf82761c9132 Merge succeeded, producing 849856e397af8c7133fe8d5f0c56bf82761c9132 Checking out Revision 849856e397af8c7133fe8d5f0c56bf82761c9132 (PR-25) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 849856e397af8c7133fe8d5f0c56bf82761c9132 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 849856e397af8c7133fe8d5f0c56bf82761c9132 # timeout=10 Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" > git rev-list --no-walk 1b281662fcf49cf6563350eacec93d78c09b7a13 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-25T09:08:18.474Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T09:08:18.541Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T09:08:18.557Z] ========================================================= [2022-04-25T09:08:18.557Z] EdgeX Global Pipelines Version Info [2022-04-25T09:08:18.557Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:19.323Z] ------------------- [2022-04-25T09:08:19.323Z] stable info: [2022-04-25T09:08:19.323Z] ------------------- [2022-04-25T09:08:19.323Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T09:08:19.323Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T09:08:19.323Z] Message: update stable to v1.0.221 [2022-04-25T09:08:19.913Z] ------------------- [2022-04-25T09:08:19.913Z] experimental info: [2022-04-25T09:08:19.913Z] ------------------- [2022-04-25T09:08:19.914Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T09:08:19.914Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T09:08:19.914Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T09:08:20.074Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-25T09:08:20.087Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-25T09:08:20.099Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T09:08:20.111Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T09:08:20.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T09:08:20.137Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T09:08:20.150Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T09:08:20.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T09:08:20.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T09:08:20.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T09:08:20.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T09:08:20.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-25T09:08:20.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T09:08:20.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T09:08:20.262Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T09:08:20.275Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T09:08:20.286Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T09:08:20.297Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T09:08:20.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T09:08:20.327Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T09:08:20.340Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T09:08:20.352Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T09:08:20.364Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T09:08:20.377Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T09:08:20.397Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T09:08:20.413Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T09:08:20.423Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-25 [Pipeline] echo [2022-04-25T09:08:20.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-25 [Pipeline] echo [2022-04-25T09:08:20.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-25 [Pipeline] echo [2022-04-25T09:08:20.460Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] echo [2022-04-25T09:08:20.471Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 849856e [Pipeline] echo [2022-04-25T09:08:20.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T09:08:20.532Z] provisioning config files... [2022-04-25T09:08:20.542Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config4296831221479272305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:20.840Z] ---> docker-login.sh [2022-04-25T09:08:20.840Z] nexus3.edgexfoundry.org:10001 [2022-04-25T09:08:21.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:21.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:21.101Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:21.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:21.101Z] [2022-04-25T09:08:21.101Z] Login Succeeded [2022-04-25T09:08:21.101Z] nexus3.edgexfoundry.org:10002 [2022-04-25T09:08:21.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:21.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:21.364Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:21.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:21.364Z] [2022-04-25T09:08:21.364Z] Login Succeeded [2022-04-25T09:08:21.364Z] nexus3.edgexfoundry.org:10003 [2022-04-25T09:08:21.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:21.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:21.638Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:21.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:21.638Z] [2022-04-25T09:08:21.638Z] Login Succeeded [2022-04-25T09:08:21.638Z] nexus3.edgexfoundry.org:10004 [2022-04-25T09:08:21.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:21.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:21.638Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:21.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:21.638Z] [2022-04-25T09:08:21.638Z] Login Succeeded [2022-04-25T09:08:21.638Z] docker.io [2022-04-25T09:08:21.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:22.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:22.212Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:22.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:22.212Z] [2022-04-25T09:08:22.212Z] Login Succeeded [2022-04-25T09:08:22.212Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T09:08:22.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-25T09:08:22.597Z] + git rev-list -1 --merges 849856e397af8c7133fe8d5f0c56bf82761c9132~1..849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] echo [2022-04-25T09:08:22.740Z] -----------> git rev-list -1 --merges 849856e397af8c7133fe8d5f0c56bf82761c9132~1..849856e397af8c7133fe8d5f0c56bf82761c9132 849856e397af8c7133fe8d5f0c56bf82761c9132 [false] [Pipeline] sh [2022-04-25T09:08:23.028Z] + git log --format=format:%s -1 849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] echo [2022-04-25T09:08:23.046Z] ========================================================= [2022-04-25T09:08:23.046Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T09:08:23.046Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T09:08:23.378Z] + git log --format=format:%s -1 849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] echo [2022-04-25T09:08:23.395Z] [semverPrep] GIT_COMMIT: 849856e397af8c7133fe8d5f0c56bf82761c9132, Commit Message: feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3 [Pipeline] echo [2022-04-25T09:08:23.405Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T09:08:23.792Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T09:08:23.792Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T09:08:23.792Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T09:08:23.792Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T09:08:23.792Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T09:08:23.792Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T09:08:23.792Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:08:24.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T09:08:24.139Z] [2022-04-25T09:08:24.139Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:08:24.454Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T09:08:39.387Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T09:08:39.387Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T09:08:39.387Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T09:08:39.387Z] 4c7163046ea9: Pulling fs layer [2022-04-25T09:08:39.387Z] 0c2d73faf560: Pulling fs layer [2022-04-25T09:08:39.387Z] 0c2d73faf560: Waiting [2022-04-25T09:08:39.387Z] 3e5f54012d9b: Verifying Checksum [2022-04-25T09:08:39.387Z] 3e5f54012d9b: Download complete [2022-04-25T09:08:39.387Z] a0d0a0d46f8b: Download complete [2022-04-25T09:08:39.387Z] 0c2d73faf560: Verifying Checksum [2022-04-25T09:08:39.387Z] 0c2d73faf560: Download complete [2022-04-25T09:08:39.387Z] 4c7163046ea9: Verifying Checksum [2022-04-25T09:08:39.387Z] 4c7163046ea9: Download complete [2022-04-25T09:08:39.387Z] a0d0a0d46f8b: Pull complete [2022-04-25T09:08:39.387Z] 3e5f54012d9b: Pull complete [2022-04-25T09:08:39.387Z] 4c7163046ea9: Pull complete [2022-04-25T09:08:39.387Z] 0c2d73faf560: Pull complete [2022-04-25T09:08:39.387Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T09:08:39.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T09:08:39.387Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T09:08:39.457Z] prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container [2022-04-25T09:08:39.499Z] $ 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-25T09:08:40.087Z] $ docker top 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T09:08:40.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T09:08:40.195Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T09:08:40.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T09:08:40.346Z] $ docker exec 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 ssh-agent [2022-04-25T09:08:40.489Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfhOEcm/agent.13 [2022-04-25T09:08:40.489Z] SSH_AGENT_PID=19 [2022-04-25T09:08:40.501Z] Running ssh-add (command line suppressed) [2022-04-25T09:08:40.613Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_982843099354061786.key (/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_982843099354061786.key) [2022-04-25T09:08:40.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T09:08:40.914Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T09:08:40.935Z] $ docker exec --env ******** --env ******** 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 ssh-agent -k [2022-04-25T09:08:41.063Z] unset SSH_AUTH_SOCK; [2022-04-25T09:08:41.063Z] unset SSH_AGENT_PID; [2022-04-25T09:08:41.063Z] echo Agent pid 19 killed; [2022-04-25T09:08:41.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T09:08:41.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T09:08:41.092Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T09:08:41.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T09:08:41.230Z] $ docker exec 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 ssh-agent [2022-04-25T09:08:41.348Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkMlDkl/agent.53 [2022-04-25T09:08:41.348Z] SSH_AGENT_PID=59 [2022-04-25T09:08:41.354Z] Running ssh-add (command line suppressed) [2022-04-25T09:08:41.481Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_797541734452315957.key (/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/private_key_797541734452315957.key) [2022-04-25T09:08:41.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T09:08:41.783Z] + git semver init [2022-04-25T09:08:41.783Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T09:08:41.783Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.git [2022-04-25T09:08:41.783Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-25 [2022-04-25T09:08:41.783Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T09:08:41.783Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T09:08:41.783Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T09:08:41.783Z] # $SEMVER_BRANCH = PR-25 [2022-04-25T09:08:41.783Z] # $SEMVER_TEMP = /tmp/semver-912466422 [2022-04-25T09:08:41.783Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-25T09:08:42.724Z] # '/tmp/semver-912466422' -> '/w/workspace/edgexfoundry_device-gpio_PR-25/.semver' [2022-04-25T09:08:42.724Z] # -> Force: false [2022-04-25T09:08:42.724Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-25/.semver [Pipeline] } [2022-04-25T09:08:42.740Z] $ docker exec --env ******** --env ******** 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 ssh-agent -k [2022-04-25T09:08:42.844Z] unset SSH_AUTH_SOCK; [2022-04-25T09:08:42.845Z] unset SSH_AGENT_PID; [2022-04-25T09:08:42.845Z] echo Agent pid 59 killed; [2022-04-25T09:08:42.846Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T09:08:43.150Z] + git semver [Pipeline] } [2022-04-25T09:08:43.171Z] $ docker stop --time=1 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 [2022-04-25T09:08:44.495Z] $ docker rm -f 119526d7046c3c5d9c71e3cca133c19d802b082e086027f3ced89b3674a25244 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T09:08:44.832Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T09:08:45.059Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T09:08:45.063Z] [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-25T09:08:45.209Z] provisioning config files... [2022-04-25T09:08:45.221Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config4594788056481696903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:45.518Z] ---> docker-login.sh [2022-04-25T09:08:45.518Z] nexus3.edgexfoundry.org:10001 [2022-04-25T09:08:45.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:45.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:45.518Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:45.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:45.519Z] [2022-04-25T09:08:45.519Z] Login Succeeded [2022-04-25T09:08:45.519Z] nexus3.edgexfoundry.org:10002 [2022-04-25T09:08:45.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:45.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:45.519Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:45.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:45.519Z] [2022-04-25T09:08:45.519Z] Login Succeeded [2022-04-25T09:08:45.519Z] nexus3.edgexfoundry.org:10003 [2022-04-25T09:08:45.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:45.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:45.777Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:45.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:45.777Z] [2022-04-25T09:08:45.777Z] Login Succeeded [2022-04-25T09:08:45.777Z] nexus3.edgexfoundry.org:10004 [2022-04-25T09:08:45.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:45.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:45.777Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:45.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:45.777Z] [2022-04-25T09:08:45.777Z] Login Succeeded [2022-04-25T09:08:45.777Z] docker.io [2022-04-25T09:08:46.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:46.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:46.294Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:46.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:46.294Z] [2022-04-25T09:08:46.294Z] Login Succeeded [2022-04-25T09:08:46.294Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T09:08:46.300Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T09:08:46.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T09:08:46.382Z] ========================================================= [2022-04-25T09:08:46.382Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T09:08:46.382Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:08:46.685Z] + 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-25T09:08:46.685Z] Sending build context to Docker daemon 11.14MB [2022-04-25T09:08:46.685Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:08:46.685Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-25T09:08:46.685Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T09:08:46.685Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T09:08:46.685Z] 666ba61612fd: Pulling fs layer [2022-04-25T09:08:46.685Z] 8ed8ca486205: Pulling fs layer [2022-04-25T09:08:46.685Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T09:08:46.685Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T09:08:46.685Z] ca2b28591e48: Pulling fs layer [2022-04-25T09:08:46.685Z] a51346096db8: Pulling fs layer [2022-04-25T09:08:46.685Z] daebc70d1ce1: Pulling fs layer [2022-04-25T09:08:46.685Z] 0e18a0eac166: Pulling fs layer [2022-04-25T09:08:46.685Z] 4fe6c5a15a65: Waiting [2022-04-25T09:08:46.685Z] 22a0e8bec74d: Waiting [2022-04-25T09:08:46.685Z] ca2b28591e48: Waiting [2022-04-25T09:08:46.685Z] a51346096db8: Waiting [2022-04-25T09:08:46.685Z] 0e18a0eac166: Waiting [2022-04-25T09:08:46.685Z] 8ed8ca486205: Download complete [2022-04-25T09:08:46.685Z] 666ba61612fd: Download complete [2022-04-25T09:08:46.946Z] 22a0e8bec74d: Verifying Checksum [2022-04-25T09:08:46.946Z] 22a0e8bec74d: Download complete [2022-04-25T09:08:46.946Z] ca2b28591e48: Verifying Checksum [2022-04-25T09:08:46.946Z] ca2b28591e48: Download complete [2022-04-25T09:08:46.946Z] a51346096db8: Verifying Checksum [2022-04-25T09:08:46.946Z] a51346096db8: Download complete [2022-04-25T09:08:46.946Z] 59bf1c3509f3: Verifying Checksum [2022-04-25T09:08:46.946Z] 59bf1c3509f3: Download complete [2022-04-25T09:08:46.946Z] daebc70d1ce1: Verifying Checksum [2022-04-25T09:08:46.946Z] daebc70d1ce1: Download complete [2022-04-25T09:08:46.946Z] 59bf1c3509f3: Pull complete [2022-04-25T09:08:47.205Z] 666ba61612fd: Pull complete [2022-04-25T09:08:47.205Z] 8ed8ca486205: Pull complete [2022-04-25T09:08:47.465Z] 0e18a0eac166: Download complete [2022-04-25T09:08:47.728Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T09:08:47.728Z] 4fe6c5a15a65: Download complete [2022-04-25T09:08:51.015Z] 4fe6c5a15a65: Pull complete [2022-04-25T09:08:51.015Z] 22a0e8bec74d: Pull complete [2022-04-25T09:08:51.274Z] ca2b28591e48: Pull complete [2022-04-25T09:08:51.274Z] a51346096db8: Pull complete [2022-04-25T09:08:51.274Z] daebc70d1ce1: Pull complete [2022-04-25T09:08:53.806Z] 0e18a0eac166: Pull complete [2022-04-25T09:08:53.806Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T09:08:53.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T09:08:53.806Z] ---> f018257e8ee9 [2022-04-25T09:08:53.806Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T09:08:58.003Z] ---> Running in c25ea078f0c2 [2022-04-25T09:08:58.003Z] Removing intermediate container c25ea078f0c2 [2022-04-25T09:08:58.003Z] ---> 6d70e2981a53 [2022-04-25T09:08:58.003Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:08:58.003Z] ---> Running in 65c56a39b1b6 [2022-04-25T09:08:58.003Z] Removing intermediate container 65c56a39b1b6 [2022-04-25T09:08:58.003Z] ---> da23ad3d7eb8 [2022-04-25T09:08:58.003Z] Step 5/11 : WORKDIR /device-gpio [2022-04-25T09:08:58.003Z] ---> Running in fc4f82d8261e [2022-04-25T09:08:58.003Z] Removing intermediate container fc4f82d8261e [2022-04-25T09:08:58.003Z] ---> 9b5b47065c9f [2022-04-25T09:08:58.003Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:08:58.003Z] ---> Running in 0c795be99ed5 [2022-04-25T09:08:58.574Z] Removing intermediate container 0c795be99ed5 [2022-04-25T09:08:58.574Z] ---> f516814abe7d [2022-04-25T09:08:58.574Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:08:58.574Z] ---> Running in fcf77efc0731 [2022-04-25T09:08:58.835Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T09:08:59.778Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T09:08:59.778Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T09:09:00.040Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T09:09:00.040Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T09:09:00.040Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T09:09:00.161Z] Still waiting to schedule task [2022-04-25T09:09:00.162Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-25T09:09:00.301Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T09:09:00.301Z] OK: 224 MiB in 56 packages [2022-04-25T09:09:00.562Z] Removing intermediate container fcf77efc0731 [2022-04-25T09:09:00.562Z] ---> 30cee72ed3ed [2022-04-25T09:09:00.562Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-25T09:09:00.821Z] ---> 8c3e7881f8f2 [2022-04-25T09:09:00.821Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:09:00.821Z] ---> Running in 3d15cd6d114d [2022-04-25T09:09:27.425Z] Removing intermediate container 3d15cd6d114d [2022-04-25T09:09:27.425Z] ---> 5e6040fbc1d9 [2022-04-25T09:09:27.425Z] Step 10/11 : COPY . . [2022-04-25T09:09:27.425Z] ---> 4026a1a2382f [2022-04-25T09:09:27.425Z] Step 11/11 : RUN ${MAKE} [2022-04-25T09:09:27.425Z] ---> Running in d0f6c6ff1696 [2022-04-25T09:09:27.425Z] Removing intermediate container d0f6c6ff1696 [2022-04-25T09:09:27.425Z] ---> 99fb4e0e6bc7 [2022-04-25T09:09:27.425Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-25T09:09:27.425Z] Successfully built 99fb4e0e6bc7 [2022-04-25T09:09:27.425Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:09:27.726Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T09:09:27.726Z] . [Pipeline] withDockerContainer [2022-04-25T09:09:27.804Z] prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container [2022-04-25T09:09:27.848Z] $ 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-25T09:09:28.390Z] $ docker top f1b2233ef5b7a1c939ae36bdc131029821ef4655a05f9a09f7ad3159e26f5dac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T09:09:28.755Z] + go version [2022-04-25T09:09:28.755Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T09:09:28.774Z] $ docker stop --time=1 f1b2233ef5b7a1c939ae36bdc131029821ef4655a05f9a09f7ad3159e26f5dac [2022-04-25T09:09:30.087Z] $ docker rm -f f1b2233ef5b7a1c939ae36bdc131029821ef4655a05f9a09f7ad3159e26f5dac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:09:30.494Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T09:09:30.494Z] . [Pipeline] withDockerContainer [2022-04-25T09:09:30.561Z] prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container [2022-04-25T09:09:30.605Z] $ 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-25T09:09:31.044Z] $ docker top d55b3fd9d3af748341e652aedc49f4eb3c364dc44426eddfe1eb591c6f9522ff -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T09:09:31.464Z] + make test [2022-04-25T09:09:31.464Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T09:09:31.787Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-25T09:09:38.393Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-25T09:09:38.393Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-25T09:09:43.678Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T09:09:46.252Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T09:09:46.252Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T09:09:46.252Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T09:09:46.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T09:09:46.550Z] $ docker stop --time=1 d55b3fd9d3af748341e652aedc49f4eb3c364dc44426eddfe1eb591c6f9522ff [2022-04-25T09:09:48.957Z] $ docker rm -f d55b3fd9d3af748341e652aedc49f4eb3c364dc44426eddfe1eb591c6f9522ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T09:09:49.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T09:09:49.427Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-25T09:09:50.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T09:09:50.290Z] + ls -al . [2022-04-25T09:09:50.290Z] total 188 [2022-04-25T09:09:50.290Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:09 . [2022-04-25T09:09:50.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:08 .. [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 25 09:08 .dockerignore [2022-04-25T09:09:50.290Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:08 .git [2022-04-25T09:09:50.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:08 .github [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 25 09:08 .gitignore [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 09:08 .golangci.yml [2022-04-25T09:09:50.290Z] drwx------ 3 jenkins jenkins 4096 Apr 25 09:08 .semver [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 25 09:08 Attribution.txt [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 25 09:08 Dockerfile [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:08 GOVERNANCE.md [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 25 09:08 Jenkinsfile [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 09:08 LICENSE [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 25 09:08 Makefile [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 25 09:08 OWNERS.md [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 10844 Apr 25 09:08 README.md [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:08 VERSION [2022-04-25T09:09:50.290Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:08 bin [2022-04-25T09:09:50.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:08 cmd [2022-04-25T09:09:50.290Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 25 09:09 coverage.out [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 25 09:08 go.mod [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 25 09:08 go.sum [2022-04-25T09:09:50.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:08 internal [2022-04-25T09:09:50.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:08 snap [2022-04-25T09:09:50.290Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 09:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:09:50.589Z] + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=849856e397af8c7133fe8d5f0c56bf82761c9132 --label arch=amd64 --label version=0.0.0 . [2022-04-25T09:09:50.589Z] Sending build context to Docker daemon 11.14MB [2022-04-25T09:09:50.589Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:09:50.589Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-25T09:09:50.589Z] ---> 99fb4e0e6bc7 [2022-04-25T09:09:50.590Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T09:09:50.855Z] ---> Running in 09584ee314fc [2022-04-25T09:09:51.116Z] Removing intermediate container 09584ee314fc [2022-04-25T09:09:51.116Z] ---> edb31cc6cb60 [2022-04-25T09:09:51.116Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:09:51.378Z] ---> Running in 798d84d3e211 [2022-04-25T09:09:51.638Z] Removing intermediate container 798d84d3e211 [2022-04-25T09:09:51.638Z] ---> 6bf1e570d997 [2022-04-25T09:09:51.638Z] Step 5/25 : WORKDIR /device-gpio [2022-04-25T09:09:51.638Z] ---> Running in be407c4eaa60 [2022-04-25T09:09:51.904Z] Removing intermediate container be407c4eaa60 [2022-04-25T09:09:51.904Z] ---> 189dc506e33b [2022-04-25T09:09:51.904Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:09:52.165Z] ---> Running in 6bce7a303faf [2022-04-25T09:09:53.553Z] Removing intermediate container 6bce7a303faf [2022-04-25T09:09:53.553Z] ---> 49e1eb4b6fca [2022-04-25T09:09:53.553Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:09:53.553Z] ---> Running in 1c52c921b2c5 [2022-04-25T09:09:54.124Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T09:09:54.694Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T09:09:55.263Z] OK: 224 MiB in 56 packages [2022-04-25T09:09:56.204Z] Removing intermediate container 1c52c921b2c5 [2022-04-25T09:09:56.204Z] ---> 6d26045a4a06 [2022-04-25T09:09:56.204Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-25T09:09:56.775Z] ---> 2a2a1735669d [2022-04-25T09:09:56.775Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:09:57.036Z] ---> Running in b55bf8131603 [2022-04-25T09:09:57.974Z] Removing intermediate container b55bf8131603 [2022-04-25T09:09:57.975Z] ---> 601130377a5a [2022-04-25T09:09:57.975Z] Step 10/25 : COPY . . [2022-04-25T09:09:58.916Z] ---> 4d1d85c6cc02 [2022-04-25T09:09:58.916Z] Step 11/25 : RUN ${MAKE} [2022-04-25T09:09:58.916Z] ---> Running in d3f88ca4c433 [2022-04-25T09:09:59.858Z] Removing intermediate container d3f88ca4c433 [2022-04-25T09:09:59.858Z] ---> e69226d2cc83 [2022-04-25T09:09:59.858Z] Step 12/25 : FROM alpine:3.15 [2022-04-25T09:10:00.430Z] 3.15: Pulling from library/alpine [2022-04-25T09:10:00.430Z] df9b9388f04a: Pulling fs layer [2022-04-25T09:10:00.690Z] df9b9388f04a: Verifying Checksum [2022-04-25T09:10:00.690Z] df9b9388f04a: Download complete [2022-04-25T09:10:01.012Z] df9b9388f04a: Pull complete [2022-04-25T09:10:01.012Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-25T09:10:01.012Z] Status: Downloaded newer image for alpine:3.15 [2022-04-25T09:10:01.012Z] ---> 0ac33e5f5afa [2022-04-25T09:10:01.012Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-25T09:10:01.598Z] ---> Running in 1fce7986f6ee [2022-04-25T09:10:01.858Z] Removing intermediate container 1fce7986f6ee [2022-04-25T09:10:01.858Z] ---> 8c1c8ac15d65 [2022-04-25T09:10:01.858Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:10:02.439Z] ---> Running in f8c1ea7d457d [2022-04-25T09:10:04.987Z] Removing intermediate container f8c1ea7d457d [2022-04-25T09:10:04.987Z] ---> 8447d7c5baa0 [2022-04-25T09:10:04.987Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-25T09:10:05.560Z] ---> Running in 0ac2dab59fbe [2022-04-25T09:10:06.132Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T09:10:07.078Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T09:10:07.079Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-25T09:10:07.339Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-25T09:10:07.339Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-25T09:10:07.339Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-25T09:10:07.600Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-25T09:10:07.600Z] Executing busybox-1.34.1-r5.trigger [2022-04-25T09:10:07.600Z] OK: 8 MiB in 19 packages [2022-04-25T09:10:10.143Z] Removing intermediate container 0ac2dab59fbe [2022-04-25T09:10:10.143Z] ---> 9bde998267d9 [2022-04-25T09:10:10.143Z] Step 16/25 : WORKDIR / [2022-04-25T09:10:10.143Z] ---> Running in 3d54ea1a2533 [2022-04-25T09:10:10.403Z] Removing intermediate container 3d54ea1a2533 [2022-04-25T09:10:10.403Z] ---> 33fcfda4c9ca [2022-04-25T09:10:10.403Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-25T09:10:11.373Z] ---> a3a9b5de0a19 [2022-04-25T09:10:11.373Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-25T09:10:12.040Z] ---> 7c9a83527bc6 [2022-04-25T09:10:12.040Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-25T09:10:12.302Z] ---> 71c5ec74e270 [2022-04-25T09:10:12.302Z] Step 20/25 : EXPOSE 59910 [2022-04-25T09:10:12.302Z] ---> Running in d8fc98c53f91 [2022-04-25T09:10:12.302Z] Removing intermediate container d8fc98c53f91 [2022-04-25T09:10:12.302Z] ---> 80ef955e369e [2022-04-25T09:10:12.302Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-25T09:10:12.562Z] ---> Running in 82b6454ff77d [2022-04-25T09:10:12.562Z] Removing intermediate container 82b6454ff77d [2022-04-25T09:10:12.562Z] ---> 29c2640a8fe3 [2022-04-25T09:10:12.562Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-25T09:10:12.562Z] ---> Running in 2891a9efc608 [2022-04-25T09:10:12.562Z] Removing intermediate container 2891a9efc608 [2022-04-25T09:10:12.562Z] ---> 8e37853c0c75 [2022-04-25T09:10:12.562Z] Step 23/25 : LABEL arch=amd64 [2022-04-25T09:10:12.824Z] ---> Running in 2d015d491ab5 [2022-04-25T09:10:12.824Z] Removing intermediate container 2d015d491ab5 [2022-04-25T09:10:12.824Z] ---> cd71f7e9c412 [2022-04-25T09:10:12.824Z] Step 24/25 : LABEL git_sha=849856e397af8c7133fe8d5f0c56bf82761c9132 [2022-04-25T09:10:13.085Z] ---> Running in 0e5bebb6289e [2022-04-25T09:10:13.085Z] Removing intermediate container 0e5bebb6289e [2022-04-25T09:10:13.085Z] ---> 23001b30c5e2 [2022-04-25T09:10:13.085Z] Step 25/25 : LABEL version=0.0.0 [2022-04-25T09:10:13.346Z] ---> Running in 5a333717edbb [2022-04-25T09:10:13.346Z] Removing intermediate container 5a333717edbb [2022-04-25T09:10:13.346Z] ---> 844fe6cd8147 [2022-04-25T09:10:13.346Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-25T09:10:13.346Z] Successfully built 844fe6cd8147 [2022-04-25T09:10:13.606Z] 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-25T09:10:14.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:10:14.040Z] [2022-04-25T09:10:14.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:10:14.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:10:14.348Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T09:10:14.348Z] 5eb5b503b376: Pulling fs layer [2022-04-25T09:10:14.348Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T09:10:14.348Z] ec43610c2a17: Pulling fs layer [2022-04-25T09:10:14.348Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T09:10:14.348Z] 33b1e0a273af: Pulling fs layer [2022-04-25T09:10:14.348Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T09:10:14.348Z] 2f39f015ded8: Pulling fs layer [2022-04-25T09:10:14.348Z] 33b1e0a273af: Waiting [2022-04-25T09:10:14.348Z] 5d3b04190fa2: Waiting [2022-04-25T09:10:14.348Z] 2f39f015ded8: Waiting [2022-04-25T09:10:14.348Z] 5c69ac0246d0: Verifying Checksum [2022-04-25T09:10:14.348Z] 5c69ac0246d0: Download complete [2022-04-25T09:10:14.609Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-25T09:10:14.609Z] 3a2ae6a8a46f: Download complete [2022-04-25T09:10:14.609Z] 33b1e0a273af: Verifying Checksum [2022-04-25T09:10:14.609Z] 33b1e0a273af: Download complete [2022-04-25T09:10:14.609Z] ec43610c2a17: Verifying Checksum [2022-04-25T09:10:14.609Z] ec43610c2a17: Download complete [2022-04-25T09:10:14.609Z] 5d3b04190fa2: Verifying Checksum [2022-04-25T09:10:14.609Z] 5d3b04190fa2: Download complete [2022-04-25T09:10:14.609Z] 5eb5b503b376: Verifying Checksum [2022-04-25T09:10:14.609Z] 5eb5b503b376: Download complete [2022-04-25T09:10:15.549Z] 2f39f015ded8: Download complete [2022-04-25T09:10:16.118Z] 5eb5b503b376: Pull complete [2022-04-25T09:10:16.118Z] 5c69ac0246d0: Pull complete [2022-04-25T09:10:16.690Z] ec43610c2a17: Pull complete [2022-04-25T09:10:16.690Z] 3a2ae6a8a46f: Pull complete [2022-04-25T09:10:16.952Z] 33b1e0a273af: Pull complete [2022-04-25T09:10:16.952Z] 5d3b04190fa2: Pull complete [2022-04-25T09:10:21.140Z] 2f39f015ded8: Pull complete [2022-04-25T09:10:21.140Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T09:10:21.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:10:21.140Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T09:10:21.204Z] prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container [2022-04-25T09:10:21.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-25T09:10:22.912Z] $ docker top 7ba680807e8766baabde8bc983c37b2f272e7f1a17617f7105a34798684a3816 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:10:23.289Z] ---> job-cost.sh [2022-04-25T09:10:23.289Z] lf-activate-venv: SKIPPING [2022-04-25T09:10:23.289Z] INFO: No Stack... [2022-04-25T09:10:23.859Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T09:10:24.428Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T09:10:24.718Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-25/archives/cost.csv [2022-04-25T09:10:24.718Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T09:10:24.736Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [2022-04-25T09:10:24.741Z] Resource [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] did not exist. Created. [2022-04-25T09:10:24.742Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T09:10:25.073Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-25T09:10:25.140Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T09:10:25.147Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T09:10:25.168Z] $ docker stop --time=1 7ba680807e8766baabde8bc983c37b2f272e7f1a17617f7105a34798684a3816 [2022-04-25T09:10:26.374Z] $ docker rm -f 7ba680807e8766baabde8bc983c37b2f272e7f1a17617f7105a34798684a3816 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T09:14:57.040Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22015 in /w/workspace/edgexfoundry_device-gpio_PR-25 [Pipeline] { [Pipeline] ws [2022-04-25T09:14:57.053Z] Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout [2022-04-25T09:14:57.439Z] The recommended git tool is: git [2022-04-25T09:15:03.378Z] using credential edgex-jenkins-ssh [2022-04-25T09:15:03.397Z] Cloning the remote Git repository [2022-04-25T09:15:03.463Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-25T09:15:03.550Z] > git init /w/workspace/device-gpio/3 # timeout=10 [2022-04-25T09:15:03.646Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-25T09:15:03.647Z] > git --version # timeout=10 [2022-04-25T09:15:03.672Z] > git --version # 'git version 2.25.1' [2022-04-25T09:15:03.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T09:15:03.749Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T09:15:04.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-25T09:15:04.940Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T09:15:05.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-25T09:15:05.079Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-25T09:15:05.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T09:15:05.118Z] > 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-25T09:15:05.694Z] Merging remotes/origin/main commit b9afc87bdaf6fb1a5adf70b8290df672557dec94 into PR head commit 849856e397af8c7133fe8d5f0c56bf82761c9132 [2022-04-25T09:15:05.954Z] Merge succeeded, producing 849856e397af8c7133fe8d5f0c56bf82761c9132 [2022-04-25T09:15:05.954Z] Checking out Revision 849856e397af8c7133fe8d5f0c56bf82761c9132 (PR-25) [2022-04-25T09:15:05.728Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T09:15:05.750Z] > git checkout -f 849856e397af8c7133fe8d5f0c56bf82761c9132 # timeout=10 [2022-04-25T09:15:05.845Z] > git remote # timeout=10 [2022-04-25T09:15:05.866Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T09:15:05.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T09:15:05.905Z] > git merge b9afc87bdaf6fb1a5adf70b8290df672557dec94 # timeout=10 [2022-04-25T09:15:05.939Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T09:15:05.968Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T09:15:05.981Z] > git checkout -f 849856e397af8c7133fe8d5f0c56bf82761c9132 # timeout=10 [2022-04-25T09:15:10.209Z] Commit message: "feat(snap): bump edgex-snap-hooks to v2.2.0-beta.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T09:15:11.155Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T09:15:11.155Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T09:15:11.155Z] Dload Upload Total Spent Left Speed [2022-04-25T09:15:11.155Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-04-25T09:15:11.735Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T09:15:12.086Z] + sudo tee /etc/docker/daemon.new [2022-04-25T09:15:12.086Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-25T09:15:12.086Z] { [2022-04-25T09:15:12.086Z] "registry-mirrors": [ [2022-04-25T09:15:12.086Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T09:15:12.086Z] ], [2022-04-25T09:15:12.086Z] "bip": "10.250.0.254/24", [2022-04-25T09:15:12.086Z] "hosts": [ [2022-04-25T09:15:12.086Z] "tcp://0.0.0.0:5555", [2022-04-25T09:15:12.086Z] "unix:///var/run/docker.sock" [2022-04-25T09:15:12.086Z] ], [2022-04-25T09:15:12.086Z] "mtu": 1458, [2022-04-25T09:15:12.086Z] "selinux-enabled": true, [2022-04-25T09:15:12.086Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T09:15:12.086Z] } [Pipeline] sh [2022-04-25T09:15:12.447Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T09:15:12.806Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T09:15:31.164Z] provisioning config files... [2022-04-25T09:15:31.191Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config2224041098016551239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:15:31.643Z] ---> docker-login.sh [2022-04-25T09:15:31.643Z] nexus3.edgexfoundry.org:10001 [2022-04-25T09:15:32.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:32.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:32.529Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:32.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:32.529Z] [2022-04-25T09:15:32.529Z] Login Succeeded [2022-04-25T09:15:32.529Z] nexus3.edgexfoundry.org:10002 [2022-04-25T09:15:33.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:33.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:33.129Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:33.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:33.129Z] [2022-04-25T09:15:33.129Z] Login Succeeded [2022-04-25T09:15:33.129Z] nexus3.edgexfoundry.org:10003 [2022-04-25T09:15:33.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:33.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:33.404Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:33.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:33.404Z] [2022-04-25T09:15:33.404Z] Login Succeeded [2022-04-25T09:15:33.404Z] nexus3.edgexfoundry.org:10004 [2022-04-25T09:15:34.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:34.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:34.005Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:34.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:34.005Z] [2022-04-25T09:15:34.005Z] Login Succeeded [2022-04-25T09:15:34.005Z] docker.io [2022-04-25T09:15:34.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:34.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:34.869Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:34.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:34.869Z] [2022-04-25T09:15:34.869Z] Login Succeeded [2022-04-25T09:15:34.869Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T09:15:34.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T09:15:35.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T09:15:35.329Z] ========================================================= [2022-04-25T09:15:35.329Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T09:15:35.329Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:15:35.689Z] + 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-25T09:15:35.968Z] Sending build context to Docker daemon 5.662MB [2022-04-25T09:15:36.250Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:15:36.250Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-25T09:15:36.250Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T09:15:36.250Z] 9b3977197b4f: Pulling fs layer [2022-04-25T09:15:36.250Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T09:15:36.250Z] 94645a83ff95: Pulling fs layer [2022-04-25T09:15:36.250Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T09:15:36.250Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T09:15:36.250Z] 3096ccb668a1: Pulling fs layer [2022-04-25T09:15:36.250Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T09:15:36.250Z] a4caa8a26152: Pulling fs layer [2022-04-25T09:15:36.250Z] 3096ccb668a1: Waiting [2022-04-25T09:15:36.250Z] 3f3a8bcf1eab: Waiting [2022-04-25T09:15:36.250Z] e8cf19c19ddd: Waiting [2022-04-25T09:15:36.250Z] 0c92f367c5e7: Waiting [2022-04-25T09:15:36.250Z] a4caa8a26152: Waiting [2022-04-25T09:15:36.250Z] 94645a83ff95: Verifying Checksum [2022-04-25T09:15:36.250Z] 94645a83ff95: Download complete [2022-04-25T09:15:36.250Z] 1a89e8eeedd5: Verifying Checksum [2022-04-25T09:15:36.250Z] 1a89e8eeedd5: Download complete [2022-04-25T09:15:36.250Z] 0c92f367c5e7: Verifying Checksum [2022-04-25T09:15:36.250Z] 0c92f367c5e7: Download complete [2022-04-25T09:15:36.530Z] 3096ccb668a1: Verifying Checksum [2022-04-25T09:15:36.530Z] 3096ccb668a1: Download complete [2022-04-25T09:15:36.530Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T09:15:36.530Z] e8cf19c19ddd: Download complete [2022-04-25T09:15:36.530Z] 9b3977197b4f: Download complete [2022-04-25T09:15:37.140Z] 9b3977197b4f: Pull complete [2022-04-25T09:15:37.752Z] 1a89e8eeedd5: Pull complete [2022-04-25T09:15:38.035Z] 94645a83ff95: Pull complete [2022-04-25T09:15:38.646Z] a4caa8a26152: Verifying Checksum [2022-04-25T09:15:38.646Z] a4caa8a26152: Download complete [2022-04-25T09:15:39.247Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-25T09:15:39.247Z] 3f3a8bcf1eab: Download complete [2022-04-25T09:15:51.792Z] 3f3a8bcf1eab: Pull complete [2022-04-25T09:15:52.068Z] 0c92f367c5e7: Pull complete [2022-04-25T09:15:52.674Z] 3096ccb668a1: Pull complete [2022-04-25T09:15:52.674Z] e8cf19c19ddd: Pull complete [2022-04-25T09:16:01.022Z] a4caa8a26152: Pull complete [2022-04-25T09:16:01.022Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T09:16:01.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T09:16:01.023Z] ---> 725f1c02e7f9 [2022-04-25T09:16:01.023Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T09:16:01.023Z] ---> Running in d8e14dc89961 [2022-04-25T09:16:02.466Z] Removing intermediate container d8e14dc89961 [2022-04-25T09:16:02.466Z] ---> 6d634d945f7f [2022-04-25T09:16:02.466Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:16:02.466Z] ---> Running in 8b443f3f0c54 [2022-04-25T09:16:02.741Z] Removing intermediate container 8b443f3f0c54 [2022-04-25T09:16:02.741Z] ---> aa445470d5a6 [2022-04-25T09:16:02.741Z] Step 5/11 : WORKDIR /device-gpio [2022-04-25T09:16:03.018Z] ---> Running in aaacd6b10e80 [2022-04-25T09:16:03.300Z] Removing intermediate container aaacd6b10e80 [2022-04-25T09:16:03.300Z] ---> b4296fad6dfa [2022-04-25T09:16:03.300Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:16:03.300Z] ---> Running in 40eb882936e3 [2022-04-25T09:16:05.304Z] Removing intermediate container 40eb882936e3 [2022-04-25T09:16:05.304Z] ---> e909db2e218a [2022-04-25T09:16:05.304Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:16:05.304Z] ---> Running in d9844dd3ff12 [2022-04-25T09:16:06.752Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T09:16:07.351Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T09:16:08.333Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T09:16:08.333Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T09:16:08.333Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T09:16:08.608Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T09:16:08.881Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T09:16:08.881Z] OK: 224 MiB in 56 packages [2022-04-25T09:16:09.863Z] Removing intermediate container d9844dd3ff12 [2022-04-25T09:16:09.863Z] ---> 8663aca39216 [2022-04-25T09:16:09.863Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-25T09:16:10.145Z] ---> 2de18473374f [2022-04-25T09:16:10.145Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:16:10.437Z] ---> Running in 635cda74a1b7 [2022-04-25T09:17:47.298Z] Removing intermediate container 635cda74a1b7 [2022-04-25T09:17:47.298Z] ---> ec967cb5cfb0 [2022-04-25T09:17:47.298Z] Step 10/11 : COPY . . [2022-04-25T09:17:47.298Z] ---> 031892a6ffdd [2022-04-25T09:17:47.298Z] Step 11/11 : RUN ${MAKE} [2022-04-25T09:17:47.298Z] ---> Running in 8faed4a0b16f [2022-04-25T09:17:47.298Z] Removing intermediate container 8faed4a0b16f [2022-04-25T09:17:47.298Z] ---> e6b52e4cd2b9 [2022-04-25T09:17:47.298Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-25T09:17:47.298Z] Successfully built e6b52e4cd2b9 [2022-04-25T09:17:47.298Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:17:47.671Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T09:17:47.671Z] . [Pipeline] withDockerContainer [2022-04-25T09:17:47.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-22015 does not seem to be running inside a container [2022-04-25T09:17:48.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T09:17:49.511Z] $ docker top 6bfafff30e6aef72a1403de2dbd8d885e9836b71c365c4714c5fc824261a8f40 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T09:17:50.481Z] + go version [2022-04-25T09:17:50.481Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T09:17:50.518Z] $ docker stop --time=1 6bfafff30e6aef72a1403de2dbd8d885e9836b71c365c4714c5fc824261a8f40 [2022-04-25T09:17:52.213Z] $ docker rm -f 6bfafff30e6aef72a1403de2dbd8d885e9836b71c365c4714c5fc824261a8f40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:17:52.858Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T09:17:52.858Z] . [Pipeline] withDockerContainer [2022-04-25T09:17:53.141Z] prd-ubuntu20.04-docker-arm64-4c-16g-22015 does not seem to be running inside a container [2022-04-25T09:17:53.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T09:17:54.844Z] $ docker top 48d9dfd1da30915f014952922f4220f9d6f8f891dc1c8682efa6fb7942430719 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T09:17:55.822Z] + make test [2022-04-25T09:17:55.822Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T09:17:57.280Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-25T09:18:53.938Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-25T09:18:53.938Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-25T09:18:53.938Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-25T09:18:53.938Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T09:19:16.255Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T09:19:16.255Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T09:19:16.255Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T09:19:16.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T09:19:16.304Z] $ docker stop --time=1 48d9dfd1da30915f014952922f4220f9d6f8f891dc1c8682efa6fb7942430719 [2022-04-25T09:19:18.138Z] $ docker rm -f 48d9dfd1da30915f014952922f4220f9d6f8f891dc1c8682efa6fb7942430719 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T09:19:18.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T09:19:19.025Z] Warning: overwriting stash ‘coverage-report’ [2022-04-25T09:19:19.518Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T09:19:19.947Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T09:19:20.296Z] + ls -al . [2022-04-25T09:19:20.296Z] total 184 [2022-04-25T09:19:20.296Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:19 . [2022-04-25T09:19:20.296Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:15 .. [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 25 09:15 .dockerignore [2022-04-25T09:19:20.296Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:15 .git [2022-04-25T09:19:20.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 .github [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 25 09:15 .gitignore [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 09:15 .golangci.yml [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 25 09:15 Attribution.txt [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 25 09:15 Dockerfile [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:15 GOVERNANCE.md [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 25 09:15 Jenkinsfile [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 09:15 LICENSE [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 25 09:15 Makefile [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 25 09:15 OWNERS.md [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 10844 Apr 25 09:15 README.md [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:08 VERSION [2022-04-25T09:19:20.296Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:15 bin [2022-04-25T09:19:20.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 cmd [2022-04-25T09:19:20.296Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 25 09:17 coverage.out [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 25 09:15 go.mod [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 25 09:15 go.sum [2022-04-25T09:19:20.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 internal [2022-04-25T09:19:20.296Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 snap [2022-04-25T09:19:20.296Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 09:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:19:20.653Z] + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=849856e397af8c7133fe8d5f0c56bf82761c9132 --label arch=arm64 --label version=0.0.0 . [2022-04-25T09:19:20.937Z] Sending build context to Docker daemon 5.663MB [2022-04-25T09:19:21.212Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:19:21.212Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-25T09:19:21.212Z] ---> e6b52e4cd2b9 [2022-04-25T09:19:21.212Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T09:19:21.212Z] ---> Running in 569978a77477 [2022-04-25T09:19:21.494Z] Removing intermediate container 569978a77477 [2022-04-25T09:19:21.494Z] ---> 9a2f4ad41238 [2022-04-25T09:19:21.494Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:19:21.769Z] ---> Running in a68fe3458e30 [2022-04-25T09:19:22.042Z] Removing intermediate container a68fe3458e30 [2022-04-25T09:19:22.042Z] ---> 0478625959b3 [2022-04-25T09:19:22.042Z] Step 5/25 : WORKDIR /device-gpio [2022-04-25T09:19:22.042Z] ---> Running in 126c94212d7a [2022-04-25T09:19:22.317Z] Removing intermediate container 126c94212d7a [2022-04-25T09:19:22.317Z] ---> fdd092a806eb [2022-04-25T09:19:22.317Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:19:22.592Z] ---> Running in 8f26b8c47942 [2022-04-25T09:19:24.577Z] Removing intermediate container 8f26b8c47942 [2022-04-25T09:19:24.577Z] ---> 2ab4cbc1169a [2022-04-25T09:19:24.577Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:19:24.577Z] ---> Running in cce7bd9a58da [2022-04-25T09:19:25.560Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T09:19:26.544Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T09:19:27.143Z] OK: 224 MiB in 56 packages [2022-04-25T09:19:28.130Z] Removing intermediate container cce7bd9a58da [2022-04-25T09:19:28.130Z] ---> e0ba5bfa2ea6 [2022-04-25T09:19:28.130Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-25T09:19:28.725Z] ---> e4aadb772aa0 [2022-04-25T09:19:28.725Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:19:28.725Z] ---> Running in a175788602b3 [2022-04-25T09:19:30.697Z] Removing intermediate container a175788602b3 [2022-04-25T09:19:30.697Z] ---> 7a486d774e64 [2022-04-25T09:19:30.697Z] Step 10/25 : COPY . . [2022-04-25T09:19:31.687Z] ---> b205e0e686eb [2022-04-25T09:19:31.687Z] Step 11/25 : RUN ${MAKE} [2022-04-25T09:19:31.687Z] ---> Running in 8a178cf84f2a [2022-04-25T09:19:33.665Z] Removing intermediate container 8a178cf84f2a [2022-04-25T09:19:33.665Z] ---> 261d8243a449 [2022-04-25T09:19:33.665Z] Step 12/25 : FROM alpine:3.15 [2022-04-25T09:19:33.938Z] 3.15: Pulling from library/alpine [2022-04-25T09:19:34.209Z] 9981e73032c8: Pulling fs layer [2022-04-25T09:19:34.481Z] 9981e73032c8: Verifying Checksum [2022-04-25T09:19:34.481Z] 9981e73032c8: Download complete [2022-04-25T09:19:35.078Z] 9981e73032c8: Pull complete [2022-04-25T09:19:35.078Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-25T09:19:35.078Z] Status: Downloaded newer image for alpine:3.15 [2022-04-25T09:19:35.078Z] ---> 3fb3c9af89a9 [2022-04-25T09:19:35.078Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-25T09:19:35.078Z] ---> Running in dd9fdc520160 [2022-04-25T09:19:35.348Z] Removing intermediate container dd9fdc520160 [2022-04-25T09:19:35.348Z] ---> c46c159c4ccd [2022-04-25T09:19:35.348Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:19:35.622Z] ---> Running in e3fb1cbc7818 [2022-04-25T09:19:37.052Z] Removing intermediate container e3fb1cbc7818 [2022-04-25T09:19:37.052Z] ---> a81ed0ed39f1 [2022-04-25T09:19:37.052Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-25T09:19:37.052Z] ---> Running in 4bb810f98297 [2022-04-25T09:19:38.026Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T09:19:39.000Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T09:19:39.985Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-25T09:19:39.985Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-25T09:19:39.985Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-25T09:19:40.257Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-25T09:19:40.257Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-25T09:19:40.257Z] Executing busybox-1.34.1-r5.trigger [2022-04-25T09:19:40.533Z] OK: 8 MiB in 19 packages [2022-04-25T09:19:41.133Z] Removing intermediate container 4bb810f98297 [2022-04-25T09:19:41.133Z] ---> 8ccd03d23081 [2022-04-25T09:19:41.133Z] Step 16/25 : WORKDIR / [2022-04-25T09:19:41.406Z] ---> Running in e177f4086353 [2022-04-25T09:19:41.683Z] Removing intermediate container e177f4086353 [2022-04-25T09:19:41.683Z] ---> e3dfe697db8b [2022-04-25T09:19:41.683Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-25T09:19:42.278Z] ---> 16a7c35a23f1 [2022-04-25T09:19:42.278Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-25T09:19:42.874Z] ---> 9bdca423bbfb [2022-04-25T09:19:42.874Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-25T09:19:43.468Z] ---> 44cbc6b0f5aa [2022-04-25T09:19:43.468Z] Step 20/25 : EXPOSE 59910 [2022-04-25T09:19:43.468Z] ---> Running in 888790beda8f [2022-04-25T09:19:43.741Z] Removing intermediate container 888790beda8f [2022-04-25T09:19:43.741Z] ---> 5f35dc3e1768 [2022-04-25T09:19:43.741Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-25T09:19:43.741Z] ---> Running in c397859537c9 [2022-04-25T09:19:44.013Z] Removing intermediate container c397859537c9 [2022-04-25T09:19:44.013Z] ---> dbb4a8abf9a9 [2022-04-25T09:19:44.013Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-25T09:19:44.013Z] ---> Running in f4b7fdf14270 [2022-04-25T09:19:44.285Z] Removing intermediate container f4b7fdf14270 [2022-04-25T09:19:44.285Z] ---> bb324e5b7b8f [2022-04-25T09:19:44.285Z] Step 23/25 : LABEL arch=arm64 [2022-04-25T09:19:44.555Z] ---> Running in 4318847e43c6 [2022-04-25T09:19:44.826Z] Removing intermediate container 4318847e43c6 [2022-04-25T09:19:44.826Z] ---> 94f38856e562 [2022-04-25T09:19:44.826Z] Step 24/25 : LABEL git_sha=849856e397af8c7133fe8d5f0c56bf82761c9132 [2022-04-25T09:19:44.826Z] ---> Running in 5094bc8a99c1 [2022-04-25T09:19:45.097Z] Removing intermediate container 5094bc8a99c1 [2022-04-25T09:19:45.097Z] ---> 897ac0f68de7 [2022-04-25T09:19:45.097Z] Step 25/25 : LABEL version=0.0.0 [2022-04-25T09:19:45.371Z] ---> Running in ff0032be2f2b [2022-04-25T09:19:45.640Z] Removing intermediate container ff0032be2f2b [2022-04-25T09:19:45.641Z] ---> fdc84ea16b08 [2022-04-25T09:19:45.641Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-25T09:19:45.641Z] Successfully built fdc84ea16b08 [2022-04-25T09:19:45.641Z] 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-25T09:19:46.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T09:19:46.075Z] [2022-04-25T09:19:46.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:19:46.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T09:19:46.688Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T09:19:46.688Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T09:19:46.688Z] 04944245beec: Pulling fs layer [2022-04-25T09:19:46.688Z] 699f458cf7ca: Pulling fs layer [2022-04-25T09:19:46.688Z] 765212b225bb: Pulling fs layer [2022-04-25T09:19:46.688Z] f23df028b6ca: Pulling fs layer [2022-04-25T09:19:46.688Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T09:19:46.688Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T09:19:46.688Z] 765212b225bb: Waiting [2022-04-25T09:19:46.688Z] f23df028b6ca: Waiting [2022-04-25T09:19:46.688Z] d65c8cfc05b1: Waiting [2022-04-25T09:19:46.688Z] 2437ff75d9bd: Waiting [2022-04-25T09:19:46.688Z] 04944245beec: Verifying Checksum [2022-04-25T09:19:46.688Z] 04944245beec: Download complete [2022-04-25T09:19:46.688Z] 765212b225bb: Verifying Checksum [2022-04-25T09:19:46.688Z] 765212b225bb: Download complete [2022-04-25T09:19:46.688Z] f23df028b6ca: Download complete [2022-04-25T09:19:46.966Z] d65c8cfc05b1: Verifying Checksum [2022-04-25T09:19:46.966Z] d65c8cfc05b1: Download complete [2022-04-25T09:19:46.966Z] 699f458cf7ca: Verifying Checksum [2022-04-25T09:19:46.966Z] 699f458cf7ca: Download complete [2022-04-25T09:19:47.238Z] 8998bd30e6a1: Download complete [2022-04-25T09:19:49.861Z] 2437ff75d9bd: Verifying Checksum [2022-04-25T09:19:49.861Z] 2437ff75d9bd: Download complete [2022-04-25T09:19:51.296Z] 8998bd30e6a1: Pull complete [2022-04-25T09:19:51.890Z] 04944245beec: Pull complete [2022-04-25T09:19:53.323Z] 699f458cf7ca: Pull complete [2022-04-25T09:19:53.323Z] 765212b225bb: Pull complete [2022-04-25T09:19:54.299Z] f23df028b6ca: Pull complete [2022-04-25T09:19:54.299Z] d65c8cfc05b1: Pull complete [2022-04-25T09:20:09.364Z] 2437ff75d9bd: Pull complete [2022-04-25T09:20:09.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T09:20:09.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T09:20:09.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T09:20:09.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-22015 does not seem to be running inside a container [2022-04-25T09:20:09.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-25T09:20:12.557Z] $ docker top 1373b3b7e6c1f156f8f95def1f2bdec5fba04ba5bd39780b3ab261eae9dc7c5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:20:13.531Z] ---> job-cost.sh [2022-04-25T09:20:13.811Z] lf-activate-venv: SKIPPING [2022-04-25T09:20:13.811Z] INFO: No Stack... [2022-04-25T09:20:14.092Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T09:20:15.095Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T09:20:15.765Z] + cat /w/workspace/device-gpio/3/archives/cost.csv [2022-04-25T09:20:15.765Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T09:20:15.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [2022-04-25T09:20:15.808Z] Resource [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] did not exist. Created. [2022-04-25T09:20:15.808Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T09:20:16.492Z] /w/workspace/device-gpio/3@tmp/durable-bf0a1c33/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T09:20:17.177Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T09:20:17.208Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T09:20:17.261Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T09:20:17.267Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-25-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T09:20:17.292Z] $ docker stop --time=1 1373b3b7e6c1f156f8f95def1f2bdec5fba04ba5bd39780b3ab261eae9dc7c5f [2022-04-25T09:20:18.781Z] $ docker rm -f 1373b3b7e6c1f156f8f95def1f2bdec5fba04ba5bd39780b3ab261eae9dc7c5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-25T09:20:19.203Z] provisioning config files... [2022-04-25T09:20:19.210Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config2699811075132718252tmp [Pipeline] { [Pipeline] sh [2022-04-25T09:20:19.506Z] + set +x [2022-04-25T09:20:19.506Z] + bash -s -- [2022-04-25T09:20:19.506Z] + curl -s https://codecov.io/bash [2022-04-25T09:20:19.506Z] [2022-04-25T09:20:19.506Z] _____ _ [2022-04-25T09:20:19.506Z] / ____| | | [2022-04-25T09:20:19.506Z] | | ___ __| | ___ ___ _____ __ [2022-04-25T09:20:19.506Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-25T09:20:19.506Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-25T09:20:19.506Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-25T09:20:19.506Z] Bash-1.0.6 [2022-04-25T09:20:19.506Z] [2022-04-25T09:20:19.506Z] [2022-04-25T09:20:19.506Z] ==> git version 2.25.1 found [2022-04-25T09:20:19.506Z] ==> 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-25T09:20:19.506Z] Release-Date: 2020-01-08 [2022-04-25T09:20:19.506Z] 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-25T09:20:19.506Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-25T09:20:19.506Z] ==> Jenkins CI detected. [2022-04-25T09:20:19.506Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-25 [2022-04-25T09:20:19.506Z] project root: . [2022-04-25T09:20:19.506Z] --> token set from env [2022-04-25T09:20:19.506Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-25T09:20:19.506Z] ==> Running gcov in . (disable via -X gcov) [2022-04-25T09:20:19.506Z] ==> Python coveragepy not found [2022-04-25T09:20:19.506Z] ==> Searching for coverage reports in: [2022-04-25T09:20:19.506Z] + . [2022-04-25T09:20:19.506Z] -> Found 1 reports [2022-04-25T09:20:19.506Z] ==> Detecting git/mercurial file structure [2022-04-25T09:20:19.506Z] ==> Reading reports [2022-04-25T09:20:19.506Z] + ./coverage.out bytes=10 [2022-04-25T09:20:19.506Z] ==> Appending adjustments [2022-04-25T09:20:19.506Z] https://docs.codecov.io/docs/fixing-reports [2022-04-25T09:20:19.506Z] + Found adjustments [2022-04-25T09:20:19.506Z] ==> Gzipping contents [2022-04-25T09:20:19.506Z] 4.0K /tmp/codecov.6RmJ6t.gz [2022-04-25T09:20:19.506Z] ==> Uploading reports [2022-04-25T09:20:19.506Z] url: https://codecov.io [2022-04-25T09:20:19.506Z] query: branch=PR-25&commit=849856e397af8c7133fe8d5f0c56bf82761c9132&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-25%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=25&job=&cmd_args= [2022-04-25T09:20:19.506Z] -> Pinging Codecov [2022-04-25T09:20:19.506Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-25&commit=849856e397af8c7133fe8d5f0c56bf82761c9132&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-25%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=25&job=&cmd_args= [2022-04-25T09:20:20.075Z] -> Uploading to [2022-04-25T09:20:20.075Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/849856e397af8c7133fe8d5f0c56bf82761c9132/0e274e3f-1e6f-419f-a635-04c995d9d92c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T092019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=180922f4f36ee0a1359495201e699219717fd1aa499ee0957cc74426d3e3ee98 [2022-04-25T09:20:20.075Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T09:20:20.075Z] Dload Upload Total Spent Left Speed [2022-04-25T09:20:20.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3747 --:--:-- --:--:-- --:--:-- 3747 [2022-04-25T09:20:20.075Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/849856e397af8c7133fe8d5f0c56bf82761c9132 [Pipeline] } [2022-04-25T09:20:20.082Z] 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-25T09:20:20.786Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-25/archives ] [2022-04-25T09:20:20.786Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives [2022-04-25T09:20:20.786Z] total 16 [2022-04-25T09:20:20.786Z] drwxr-xr-x 3 root root 4096 Apr 25 09:10 . [2022-04-25T09:20:20.786Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 09:10 .. [2022-04-25T09:20:20.786Z] drwxr-xr-x 2 root root 4096 Apr 25 09:10 cost [2022-04-25T09:20:20.786Z] -rw-r--r-- 1 root root 81 Apr 25 09:10 cost.csv [2022-04-25T09:20:20.786Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-25/archives [2022-04-25T09:20:20.786Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-25/archives [2022-04-25T09:20:20.786Z] total 16 [2022-04-25T09:20:20.786Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 09:10 . [2022-04-25T09:20:20.786Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 09:10 .. [2022-04-25T09:20:20.786Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 09:10 cost [2022-04-25T09:20:20.786Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 25 09:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:20:21.077Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:20:21.941Z] ---> package-listing.sh [2022-04-25T09:20:21.941Z] ++ facter osfamily [2022-04-25T09:20:21.941Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T09:20:22.201Z] + OS_FAMILY=debian [2022-04-25T09:20:22.201Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-25 [2022-04-25T09:20:22.201Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T09:20:22.201Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T09:20:22.201Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T09:20:22.201Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T09:20:22.201Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' [2022-04-25T09:20:22.201Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T09:20:22.201Z] + case "${OS_FAMILY}" in [2022-04-25T09:20:22.201Z] + grep '^ii' [2022-04-25T09:20:22.201Z] + dpkg -l [2022-04-25T09:20:22.201Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T09:20:22.201Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T09:20:22.201Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T09:20:22.201Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-25 ']' [2022-04-25T09:20:22.201Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-25/archives/ [2022-04-25T09:20:22.201Z] + 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-25T09:20:22.215Z] 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-25T09:20:22.495Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:20:22.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:20:22.792Z] . [Pipeline] withDockerContainer [2022-04-25T09:20:22.857Z] prd-ubuntu20.04-docker-8c-8g-21960 does not seem to be running inside a container [2022-04-25T09:20:22.892Z] $ 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-25T09:20:23.111Z] $ docker top 93587dcc60adff2a375762fcacabe9baf06a20fb4ff3d75868691409b6120fff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T09:20:23.473Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T09:20:23.765Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T09:20:24.052Z] + ls /var/log/sa-host [2022-04-25T09:20:24.052Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T09:20:24.138Z] provisioning config files... [2022-04-25T09:20:24.148Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-25@tmp/config4498252418311195346tmp [Pipeline] { [Pipeline] echo [2022-04-25T09:20:24.164Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:20:24.456Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T09:20:24.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:20:24.799Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T09:20:24.809Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:20:25.097Z] ---> sudo-logs.sh [2022-04-25T09:20:25.097Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T09:20:25.124Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:20:25.411Z] ---> job-cost.sh [2022-04-25T09:20:25.411Z] lf-activate-venv: SKIPPING [2022-04-25T09:20:25.411Z] DEBUG: total: 0.2199999988079071 [2022-04-25T09:20:25.411Z] INFO: Retrieving Stack Cost... [2022-04-25T09:20:25.981Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T09:20:26.551Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T09:20:26.562Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:20:26.845Z] ---> logs-deploy.sh [2022-04-25T09:20:26.845Z] lf-activate-venv: SKIPPING [2022-04-25T09:20:26.845Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-25/3 [2022-04-25T09:20:26.845Z] INFO: archiving workspace using pattern(s): [2022-04-25T09:20:27.797Z] Archives upload complete. [2022-04-25T09:20:27.797Z] INFO: archiving logs to Nexus