Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb rather than c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Obtained Jenkinsfile from 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 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-ssh3925511562958999505.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-ssh5543551571458467060.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-22/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-22/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13354488040364996304.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-ssh15463879161280948082.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-22/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-22/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2873943703851660620.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11874 in /w/workspace/edgexfoundry_device-gpio_PR-22 [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-22 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 Merge succeeded, producing b1216086dc18bf8c317725de9a9c353bcf7587ee Checking out Revision b1216086dc18bf8c317725de9a9c353bcf7587ee (PR-22) > 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/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1216086dc18bf8c317725de9a9c353bcf7587ee # timeout=10 Commit message: "Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T09:21:19.151Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T09:21:19.215Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T09:21:19.233Z] ========================================================= [2022-04-10T09:21:19.233Z] EdgeX Global Pipelines Version Info [2022-04-10T09:21:19.233Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk eb6e00363548b2871d0399bb0389aabc385f7914 # timeout=10 [2022-04-10T09:21:20.023Z] ------------------- [2022-04-10T09:21:20.024Z] stable info: [2022-04-10T09:21:20.024Z] ------------------- [2022-04-10T09:21:20.024Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T09:21:20.024Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T09:21:20.024Z] Message: update stable to v1.0.221 [2022-04-10T09:21:20.600Z] ------------------- [2022-04-10T09:21:20.600Z] experimental info: [2022-04-10T09:21:20.600Z] ------------------- [2022-04-10T09:21:20.600Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T09:21:20.600Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T09:21:20.600Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T09:21:20.728Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-10T09:21:20.741Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-10T09:21:20.752Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T09:21:20.763Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T09:21:20.773Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T09:21:20.783Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T09:21:20.798Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T09:21:20.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-10T09:21:20.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T09:21:20.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T09:21:20.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T09:21:20.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-10T09:21:20.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T09:21:20.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T09:21:20.899Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T09:21:20.910Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T09:21:20.918Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T09:21:20.928Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T09:21:20.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T09:21:20.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T09:21:20.981Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-10T09:21:20.994Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-10T09:21:21.012Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T09:21:21.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T09:21:21.041Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T09:21:21.053Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T09:21:21.065Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-22 [Pipeline] echo [2022-04-10T09:21:21.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-22 [Pipeline] echo [2022-04-10T09:21:21.098Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-22 [Pipeline] echo [2022-04-10T09:21:21.115Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] echo [2022-04-10T09:21:21.127Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b121608 [Pipeline] echo [2022-04-10T09:21:21.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T09:21:21.186Z] provisioning config files... [2022-04-10T09:21:21.200Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config3322534153347765697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:21:21.509Z] ---> docker-login.sh [2022-04-10T09:21:21.509Z] nexus3.edgexfoundry.org:10001 [2022-04-10T09:21:21.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:21.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:21.771Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:21.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:21.771Z] [2022-04-10T09:21:21.771Z] Login Succeeded [2022-04-10T09:21:21.771Z] nexus3.edgexfoundry.org:10002 [2022-04-10T09:21:22.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:22.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:22.032Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:22.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:22.032Z] [2022-04-10T09:21:22.032Z] Login Succeeded [2022-04-10T09:21:22.032Z] nexus3.edgexfoundry.org:10003 [2022-04-10T09:21:22.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:22.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:22.032Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:22.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:22.032Z] [2022-04-10T09:21:22.032Z] Login Succeeded [2022-04-10T09:21:22.032Z] nexus3.edgexfoundry.org:10004 [2022-04-10T09:21:22.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:22.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:22.293Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:22.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:22.293Z] [2022-04-10T09:21:22.293Z] Login Succeeded [2022-04-10T09:21:22.293Z] docker.io [2022-04-10T09:21:22.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:22.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:22.864Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:22.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:22.864Z] [2022-04-10T09:21:22.864Z] Login Succeeded [2022-04-10T09:21:22.864Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T09:21:22.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T09:21:23.248Z] + git rev-list -1 --merges b1216086dc18bf8c317725de9a9c353bcf7587ee~1..b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] echo [2022-04-10T09:21:23.337Z] -----------> git rev-list -1 --merges b1216086dc18bf8c317725de9a9c353bcf7587ee~1..b1216086dc18bf8c317725de9a9c353bcf7587ee b1216086dc18bf8c317725de9a9c353bcf7587ee [2022-04-10T09:21:23.337Z] b1216086dc18bf8c317725de9a9c353bcf7587ee [false] [Pipeline] sh [2022-04-10T09:21:23.659Z] + git log --format=format:%s -1 b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] echo [2022-04-10T09:21:23.677Z] ========================================================= [2022-04-10T09:21:23.677Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T09:21:23.677Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T09:21:24.022Z] + git log --format=format:%s -1 b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] echo [2022-04-10T09:21:24.034Z] [semverPrep] GIT_COMMIT: b1216086dc18bf8c317725de9a9c353bcf7587ee, Commit Message: Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD [Pipeline] echo [2022-04-10T09:21:24.044Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T09:21:24.423Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T09:21:24.423Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T09:21:24.423Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T09:21:24.423Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T09:21:24.423Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T09:21:24.423Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T09:21:24.423Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:21:24.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T09:21:24.767Z] [2022-04-10T09:21:24.767Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:21:25.079Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T09:21:25.079Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T09:21:25.079Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T09:21:25.079Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T09:21:25.080Z] 4c7163046ea9: Pulling fs layer [2022-04-10T09:21:25.080Z] 0c2d73faf560: Pulling fs layer [2022-04-10T09:21:25.080Z] 0c2d73faf560: Waiting [2022-04-10T09:21:25.080Z] 3e5f54012d9b: Download complete [2022-04-10T09:21:25.080Z] a0d0a0d46f8b: Download complete [2022-04-10T09:21:25.080Z] 0c2d73faf560: Verifying Checksum [2022-04-10T09:21:25.080Z] 0c2d73faf560: Download complete [2022-04-10T09:21:25.080Z] 4c7163046ea9: Verifying Checksum [2022-04-10T09:21:25.080Z] 4c7163046ea9: Download complete [2022-04-10T09:21:25.341Z] a0d0a0d46f8b: Pull complete [2022-04-10T09:21:25.341Z] 3e5f54012d9b: Pull complete [2022-04-10T09:21:25.601Z] 4c7163046ea9: Pull complete [2022-04-10T09:21:25.865Z] 0c2d73faf560: Pull complete [2022-04-10T09:21:25.866Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T09:21:25.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T09:21:25.866Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T09:21:25.944Z] prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container [2022-04-10T09:21:25.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T09:21:26.680Z] $ docker top 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T09:21:26.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T09:21:26.789Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T09:21:26.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T09:21:26.923Z] $ docker exec 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c ssh-agent [2022-04-10T09:21:27.054Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMfPPhb/agent.13 [2022-04-10T09:21:27.054Z] SSH_AGENT_PID=19 [2022-04-10T09:21:27.062Z] Running ssh-add (command line suppressed) [2022-04-10T09:21:27.203Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_3273916141255366620.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_3273916141255366620.key) [2022-04-10T09:21:27.215Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T09:21:27.508Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T09:21:27.547Z] $ docker exec --env ******** --env ******** 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c ssh-agent -k [2022-04-10T09:21:27.665Z] unset SSH_AUTH_SOCK; [2022-04-10T09:21:27.666Z] unset SSH_AGENT_PID; [2022-04-10T09:21:27.666Z] echo Agent pid 19 killed; [2022-04-10T09:21:27.670Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T09:21:27.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T09:21:27.702Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T09:21:27.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T09:21:27.851Z] $ docker exec 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c ssh-agent [2022-04-10T09:21:27.978Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjiHlng/agent.52 [2022-04-10T09:21:27.978Z] SSH_AGENT_PID=58 [2022-04-10T09:21:27.984Z] Running ssh-add (command line suppressed) [2022-04-10T09:21:28.120Z] Identity added: /w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_2773968486897665023.key (/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/private_key_2773968486897665023.key) [2022-04-10T09:21:28.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T09:21:28.427Z] + git semver init [2022-04-10T09:21:28.427Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T09:21:28.427Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.git [2022-04-10T09:21:28.427Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_PR-22 [2022-04-10T09:21:28.427Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T09:21:28.427Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T09:21:28.427Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T09:21:28.427Z] # $SEMVER_BRANCH = PR-22 [2022-04-10T09:21:28.427Z] # $SEMVER_TEMP = /tmp/semver-057194475 [2022-04-10T09:21:28.427Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-10T09:21:29.371Z] # '/tmp/semver-057194475' -> '/w/workspace/edgexfoundry_device-gpio_PR-22/.semver' [2022-04-10T09:21:29.371Z] # -> Force: false [2022-04-10T09:21:29.371Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_PR-22/.semver [Pipeline] } [2022-04-10T09:21:29.390Z] $ docker exec --env ******** --env ******** 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c ssh-agent -k [2022-04-10T09:21:29.507Z] unset SSH_AUTH_SOCK; [2022-04-10T09:21:29.508Z] unset SSH_AGENT_PID; [2022-04-10T09:21:29.508Z] echo Agent pid 58 killed; [2022-04-10T09:21:29.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T09:21:29.825Z] + git semver [Pipeline] } [2022-04-10T09:21:29.847Z] $ docker stop --time=1 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c [2022-04-10T09:21:31.248Z] $ docker rm -f 6749c4251da59e4342c4de02aef382e5045c448b18c40b03b6587935341d7b3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T09:21:31.604Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T09:21:31.860Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T09:21:31.863Z] [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-10T09:21:31.998Z] provisioning config files... [2022-04-10T09:21:32.010Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config4359689720344615952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:21:32.078Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11868 in /w/workspace/edgexfoundry_device-gpio_PR-22 [Pipeline] { [Pipeline] ws [2022-04-10T09:21:32.091Z] Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout [2022-04-10T09:21:32.119Z] The recommended git tool is: git [2022-04-10T09:21:32.308Z] ---> docker-login.sh [2022-04-10T09:21:32.308Z] nexus3.edgexfoundry.org:10001 [2022-04-10T09:21:32.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:32.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:32.308Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:32.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:32.308Z] [2022-04-10T09:21:32.308Z] Login Succeeded [2022-04-10T09:21:32.308Z] nexus3.edgexfoundry.org:10002 [2022-04-10T09:21:32.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:32.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:32.569Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:32.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:32.569Z] [2022-04-10T09:21:32.569Z] Login Succeeded [2022-04-10T09:21:32.569Z] nexus3.edgexfoundry.org:10003 [2022-04-10T09:21:32.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:32.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:32.569Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:32.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:32.569Z] [2022-04-10T09:21:32.569Z] Login Succeeded [2022-04-10T09:21:32.569Z] nexus3.edgexfoundry.org:10004 [2022-04-10T09:21:32.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:32.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:32.828Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:32.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:32.828Z] [2022-04-10T09:21:32.828Z] Login Succeeded [2022-04-10T09:21:32.828Z] docker.io [2022-04-10T09:21:32.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:21:33.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:21:33.090Z] Configure a credential helper to remove this warning. See [2022-04-10T09:21:33.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:21:33.090Z] [2022-04-10T09:21:33.090Z] Login Succeeded [2022-04-10T09:21:33.090Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T09:21:33.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T09:21:33.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T09:21:33.181Z] ========================================================= [2022-04-10T09:21:33.181Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T09:21:33.181Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:21:33.493Z] + 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-10T09:21:33.493Z] Sending build context to Docker daemon 11.1MB [2022-04-10T09:21:33.493Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T09:21:33.493Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T09:21:33.493Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T09:21:33.493Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T09:21:33.493Z] 666ba61612fd: Pulling fs layer [2022-04-10T09:21:33.493Z] 8ed8ca486205: Pulling fs layer [2022-04-10T09:21:33.493Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T09:21:33.493Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T09:21:33.493Z] 640e595b4fbd: Pulling fs layer [2022-04-10T09:21:33.493Z] 763cafe07f6e: Pulling fs layer [2022-04-10T09:21:33.493Z] 0c0b528cf693: Pulling fs layer [2022-04-10T09:21:33.493Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T09:21:33.493Z] 763cafe07f6e: Waiting [2022-04-10T09:21:33.493Z] 4fe6c5a15a65: Waiting [2022-04-10T09:21:33.493Z] 22a0e8bec74d: Waiting [2022-04-10T09:21:33.493Z] 0c0b528cf693: Waiting [2022-04-10T09:21:33.493Z] 10935f4eaf8b: Waiting [2022-04-10T09:21:33.493Z] 640e595b4fbd: Waiting [2022-04-10T09:21:33.754Z] 8ed8ca486205: Verifying Checksum [2022-04-10T09:21:33.754Z] 8ed8ca486205: Download complete [2022-04-10T09:21:33.754Z] 666ba61612fd: Download complete [2022-04-10T09:21:33.754Z] 22a0e8bec74d: Verifying Checksum [2022-04-10T09:21:33.754Z] 22a0e8bec74d: Download complete [2022-04-10T09:21:33.754Z] 59bf1c3509f3: Download complete [2022-04-10T09:21:33.754Z] 763cafe07f6e: Verifying Checksum [2022-04-10T09:21:33.754Z] 763cafe07f6e: Download complete [2022-04-10T09:21:33.754Z] 0c0b528cf693: Verifying Checksum [2022-04-10T09:21:33.754Z] 0c0b528cf693: Download complete [2022-04-10T09:21:33.754Z] 59bf1c3509f3: Pull complete [2022-04-10T09:21:34.014Z] 666ba61612fd: Pull complete [2022-04-10T09:21:34.014Z] 8ed8ca486205: Pull complete [2022-04-10T09:21:34.274Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T09:21:34.274Z] 10935f4eaf8b: Download complete [2022-04-10T09:21:34.274Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T09:21:34.274Z] 4fe6c5a15a65: Download complete [2022-04-10T09:21:36.111Z] using credential edgex-jenkins-ssh [2022-04-10T09:21:36.129Z] Cloning the remote Git repository [2022-04-10T09:21:36.189Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-10T09:21:36.257Z] > git init /w/workspace/device-gpio/3 # timeout=10 [2022-04-10T09:21:36.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-10T09:21:36.343Z] > git --version # timeout=10 [2022-04-10T09:21:36.362Z] > git --version # 'git version 2.25.1' [2022-04-10T09:21:36.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T09:21:36.415Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T09:21:37.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-10T09:21:37.568Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T09:21:37.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-10T09:21:37.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-10T09:21:37.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T09:21:37.646Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-10T09:21:38.166Z] Merging remotes/origin/main commit 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb into PR head commit c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 [2022-04-10T09:21:38.405Z] Merge succeeded, producing e46a605c89f0a46d87c7050bf480e91ed777cf50 [2022-04-10T09:21:38.405Z] Checking out Revision e46a605c89f0a46d87c7050bf480e91ed777cf50 (PR-22) [2022-04-10T09:21:38.471Z] 4fe6c5a15a65: Pull complete [2022-04-10T09:21:38.471Z] 22a0e8bec74d: Pull complete [2022-04-10T09:21:38.471Z] 640e595b4fbd: Pull complete [2022-04-10T09:21:38.471Z] 763cafe07f6e: Pull complete [2022-04-10T09:21:38.471Z] 0c0b528cf693: Pull complete [2022-04-10T09:21:38.192Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T09:21:38.210Z] > git checkout -f c625a4628d04d5db75e7e1cdcd2e8ca41966cf48 # timeout=10 [2022-04-10T09:21:38.293Z] > git remote # timeout=10 [2022-04-10T09:21:38.310Z] > git config --get remote.origin.url # timeout=10 [2022-04-10T09:21:38.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T09:21:38.339Z] > git merge 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 [2022-04-10T09:21:38.392Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-10T09:21:38.419Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T09:21:38.430Z] > git checkout -f e46a605c89f0a46d87c7050bf480e91ed777cf50 # timeout=10 [2022-04-10T09:21:40.399Z] 10935f4eaf8b: Pull complete [2022-04-10T09:21:40.661Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T09:21:40.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T09:21:40.661Z] ---> 99d49a6021b9 [2022-04-10T09:21:40.661Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T09:21:42.051Z] ---> Running in 90227c0c8fe9 [2022-04-10T09:21:42.051Z] Removing intermediate container 90227c0c8fe9 [2022-04-10T09:21:42.051Z] ---> 391b5b021bce [2022-04-10T09:21:42.051Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T09:21:42.051Z] ---> Running in 5a34da58dc45 [2022-04-10T09:21:42.051Z] Removing intermediate container 5a34da58dc45 [2022-04-10T09:21:42.051Z] ---> ddaf3e5b590a [2022-04-10T09:21:42.051Z] Step 5/11 : WORKDIR /device-gpio [2022-04-10T09:21:42.051Z] ---> Running in 6afb0f095a25 [2022-04-10T09:21:42.313Z] Removing intermediate container 6afb0f095a25 [2022-04-10T09:21:42.313Z] ---> 2056d526b4e9 [2022-04-10T09:21:42.313Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:21:42.313Z] ---> Running in e2dd89a31251 [2022-04-10T09:21:42.888Z] Removing intermediate container e2dd89a31251 [2022-04-10T09:21:42.888Z] ---> e2c40e1059a2 [2022-04-10T09:21:42.888Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T09:21:42.888Z] ---> Running in 1d6daf831ac9 [2022-04-10T09:21:42.923Z] Commit message: "Merge commit '55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb' into HEAD" [2022-04-10T09:21:42.954Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T09:21:43.463Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T09:21:42.938Z] > git rev-list --no-walk eb6e00363548b2871d0399bb0389aabc385f7914 # timeout=10 [2022-04-10T09:21:43.824Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T09:21:43.824Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T09:21:43.824Z] Dload Upload Total Spent Left Speed [2022-04-10T09:21:43.824Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [2022-04-10T09:21:44.038Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2022-04-10T09:21:44.298Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T09:21:44.403Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T09:21:44.567Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T09:21:44.567Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T09:21:44.567Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T09:21:44.752Z] + sudo tee /etc/docker/daemon.new [2022-04-10T09:21:44.752Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T09:21:44.752Z] { [2022-04-10T09:21:44.752Z] "registry-mirrors": [ [2022-04-10T09:21:44.752Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T09:21:44.752Z] ], [2022-04-10T09:21:44.752Z] "bip": "10.250.0.254/24", [2022-04-10T09:21:44.752Z] "hosts": [ [2022-04-10T09:21:44.752Z] "tcp://0.0.0.0:5555", [2022-04-10T09:21:44.752Z] "unix:///var/run/docker.sock" [2022-04-10T09:21:44.752Z] ], [2022-04-10T09:21:44.752Z] "mtu": 1458, [2022-04-10T09:21:44.752Z] "selinux-enabled": true, [2022-04-10T09:21:44.752Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T09:21:44.752Z] } [Pipeline] sh [2022-04-10T09:21:44.828Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T09:21:44.828Z] OK: 224 MiB in 56 packages [2022-04-10T09:21:45.102Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T09:21:45.400Z] Removing intermediate container 1d6daf831ac9 [2022-04-10T09:21:45.400Z] ---> e9f6aa37ca8c [2022-04-10T09:21:45.400Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T09:21:45.400Z] ---> 7c29358b7a75 [2022-04-10T09:21:45.400Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T09:21:45.400Z] ---> Running in beaa16ecec9f [2022-04-10T09:21:45.517Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T09:22:03.875Z] provisioning config files... [2022-04-10T09:22:03.899Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config1763661363160460971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:22:04.270Z] ---> docker-login.sh [2022-04-10T09:22:04.270Z] nexus3.edgexfoundry.org:10001 [2022-04-10T09:22:04.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:22:05.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:22:05.139Z] Configure a credential helper to remove this warning. See [2022-04-10T09:22:05.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:22:05.139Z] [2022-04-10T09:22:05.139Z] Login Succeeded [2022-04-10T09:22:05.139Z] nexus3.edgexfoundry.org:10002 [2022-04-10T09:22:05.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:22:05.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:22:05.685Z] Configure a credential helper to remove this warning. See [2022-04-10T09:22:05.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:22:05.685Z] [2022-04-10T09:22:05.685Z] Login Succeeded [2022-04-10T09:22:05.685Z] nexus3.edgexfoundry.org:10003 [2022-04-10T09:22:05.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:22:05.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:22:05.959Z] Configure a credential helper to remove this warning. See [2022-04-10T09:22:05.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:22:05.959Z] [2022-04-10T09:22:05.959Z] Login Succeeded [2022-04-10T09:22:05.959Z] nexus3.edgexfoundry.org:10004 [2022-04-10T09:22:06.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:22:06.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:22:06.557Z] Configure a credential helper to remove this warning. See [2022-04-10T09:22:06.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:22:06.557Z] [2022-04-10T09:22:06.557Z] Login Succeeded [2022-04-10T09:22:06.557Z] docker.io [2022-04-10T09:22:06.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T09:22:07.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T09:22:07.421Z] Configure a credential helper to remove this warning. See [2022-04-10T09:22:07.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T09:22:07.421Z] [2022-04-10T09:22:07.421Z] Login Succeeded [2022-04-10T09:22:07.421Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T09:22:07.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T09:22:07.705Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T09:22:07.718Z] ========================================================= [2022-04-10T09:22:07.718Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T09:22:07.718Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:22:08.070Z] + 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-10T09:22:08.347Z] Sending build context to Docker daemon 5.63MB [2022-04-10T09:22:08.347Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T09:22:08.347Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T09:22:08.625Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T09:22:08.625Z] 9b3977197b4f: Pulling fs layer [2022-04-10T09:22:08.625Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T09:22:08.625Z] 94645a83ff95: Pulling fs layer [2022-04-10T09:22:08.625Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T09:22:08.625Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T09:22:08.625Z] f7c0051592d6: Pulling fs layer [2022-04-10T09:22:08.625Z] a227ed2f7395: Pulling fs layer [2022-04-10T09:22:08.625Z] 7b1c46037f91: Pulling fs layer [2022-04-10T09:22:08.625Z] f7c0051592d6: Waiting [2022-04-10T09:22:08.625Z] a227ed2f7395: Waiting [2022-04-10T09:22:08.625Z] 7b1c46037f91: Waiting [2022-04-10T09:22:08.625Z] 3f3a8bcf1eab: Waiting [2022-04-10T09:22:08.625Z] 0c92f367c5e7: Waiting [2022-04-10T09:22:08.625Z] 94645a83ff95: Verifying Checksum [2022-04-10T09:22:08.625Z] 94645a83ff95: Download complete [2022-04-10T09:22:08.625Z] 1a89e8eeedd5: Verifying Checksum [2022-04-10T09:22:08.625Z] 1a89e8eeedd5: Download complete [2022-04-10T09:22:08.625Z] 0c92f367c5e7: Download complete [2022-04-10T09:22:08.625Z] f7c0051592d6: Verifying Checksum [2022-04-10T09:22:08.625Z] f7c0051592d6: Download complete [2022-04-10T09:22:08.625Z] 9b3977197b4f: Download complete [2022-04-10T09:22:08.625Z] a227ed2f7395: Verifying Checksum [2022-04-10T09:22:08.625Z] a227ed2f7395: Download complete [2022-04-10T09:22:09.626Z] 9b3977197b4f: Pull complete [2022-04-10T09:22:09.920Z] 1a89e8eeedd5: Pull complete [2022-04-10T09:22:10.196Z] 94645a83ff95: Pull complete [2022-04-10T09:22:10.806Z] 7b1c46037f91: Verifying Checksum [2022-04-10T09:22:10.806Z] 7b1c46037f91: Download complete [2022-04-10T09:22:11.406Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T09:22:11.406Z] 3f3a8bcf1eab: Download complete [2022-04-10T09:22:11.972Z] Removing intermediate container beaa16ecec9f [2022-04-10T09:22:11.972Z] ---> 29f1c4c9c874 [2022-04-10T09:22:11.972Z] Step 10/11 : COPY . . [2022-04-10T09:22:11.972Z] ---> 89054b4abd2b [2022-04-10T09:22:11.972Z] Step 11/11 : RUN ${MAKE} [2022-04-10T09:22:11.972Z] ---> Running in 2f4fed044aff [2022-04-10T09:22:11.972Z] Removing intermediate container 2f4fed044aff [2022-04-10T09:22:11.972Z] ---> a10651beecf1 [2022-04-10T09:22:11.972Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-10T09:22:11.972Z] Successfully built a10651beecf1 [2022-04-10T09:22:11.972Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:22:12.276Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T09:22:12.276Z] . [Pipeline] withDockerContainer [2022-04-10T09:22:12.352Z] prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container [2022-04-10T09:22:12.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T09:22:12.799Z] $ docker top 2007ab5a91ad6f05acbf43df692d7d62d6fe3242098c9e97991333ce5b11d9ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T09:22:13.149Z] + go version [2022-04-10T09:22:13.149Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T09:22:13.167Z] $ docker stop --time=1 2007ab5a91ad6f05acbf43df692d7d62d6fe3242098c9e97991333ce5b11d9ca [2022-04-10T09:22:14.473Z] $ docker rm -f 2007ab5a91ad6f05acbf43df692d7d62d6fe3242098c9e97991333ce5b11d9ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:22:14.894Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T09:22:14.894Z] . [Pipeline] withDockerContainer [2022-04-10T09:22:14.970Z] prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container [2022-04-10T09:22:15.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T09:22:15.417Z] $ docker top c49080d4f08bbb294f55843ef023a54fc22ee57e73c4f6aa409361532862beba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T09:22:15.785Z] + make test [2022-04-10T09:22:15.785Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T09:22:16.045Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-10T09:22:22.619Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-10T09:22:22.619Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-10T09:22:23.797Z] 3f3a8bcf1eab: Pull complete [2022-04-10T09:22:23.797Z] 0c92f367c5e7: Pull complete [2022-04-10T09:22:23.797Z] f7c0051592d6: Pull complete [2022-04-10T09:22:23.797Z] a227ed2f7395: Pull complete [2022-04-10T09:22:26.944Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T09:22:29.485Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T09:22:29.485Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T09:22:29.485Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T09:22:29.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T09:22:29.777Z] $ docker stop --time=1 c49080d4f08bbb294f55843ef023a54fc22ee57e73c4f6aa409361532862beba [2022-04-10T09:22:30.557Z] 7b1c46037f91: Pull complete [2022-04-10T09:22:30.557Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T09:22:30.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T09:22:30.557Z] ---> f79e39bc4007 [2022-04-10T09:22:30.557Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T09:22:31.456Z] $ docker rm -f c49080d4f08bbb294f55843ef023a54fc22ee57e73c4f6aa409361532862beba [2022-04-10T09:22:31.540Z] ---> Running in 5dadbc662464 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T09:22:31.813Z] Removing intermediate container 5dadbc662464 [2022-04-10T09:22:31.813Z] ---> 196179e94bf1 [2022-04-10T09:22:31.813Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T09:22:31.813Z] ---> Running in 2ef00079d673 [2022-04-10T09:22:31.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T09:22:31.907Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2022-04-10T09:22:32.091Z] Removing intermediate container 2ef00079d673 [2022-04-10T09:22:32.091Z] ---> 187bc1ffc312 [2022-04-10T09:22:32.091Z] Step 5/11 : WORKDIR /device-gpio [Pipeline] sh [2022-04-10T09:22:32.364Z] ---> Running in 4f43601a9590 [2022-04-10T09:22:32.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T09:22:32.638Z] Removing intermediate container 4f43601a9590 [2022-04-10T09:22:32.638Z] ---> 0f92bf0558e6 [2022-04-10T09:22:32.638Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:22:32.638Z] ---> Running in 1058874e4017 [2022-04-10T09:22:32.777Z] + ls -al . [2022-04-10T09:22:32.778Z] total 188 [2022-04-10T09:22:32.778Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 09:22 . [2022-04-10T09:22:32.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 09:21 .. [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 09:21 .dockerignore [2022-04-10T09:22:32.778Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:21 .git [2022-04-10T09:22:32.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 .github [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 09:21 .gitignore [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 09:21 .golangci.yml [2022-04-10T09:22:32.778Z] drwx------ 3 jenkins jenkins 4096 Apr 10 09:21 .semver [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 09:21 Attribution.txt [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 09:21 Dockerfile [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 09:21 GOVERNANCE.md [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 09:21 Jenkinsfile [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 09:21 LICENSE [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 09:21 Makefile [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 09:21 OWNERS.md [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 09:21 README.md [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 09:21 VERSION [2022-04-10T09:22:32.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:21 bin [2022-04-10T09:22:32.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 cmd [2022-04-10T09:22:32.778Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 10 09:22 coverage.out [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 09:21 go.mod [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 09:21 go.sum [2022-04-10T09:22:32.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 internal [2022-04-10T09:22:32.778Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 snap [2022-04-10T09:22:32.778Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 09:21 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:22:33.075Z] + 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=b1216086dc18bf8c317725de9a9c353bcf7587ee --label arch=amd64 --label version=0.0.0 . [2022-04-10T09:22:33.075Z] Sending build context to Docker daemon 11.1MB [2022-04-10T09:22:33.075Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T09:22:33.075Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T09:22:33.075Z] ---> a10651beecf1 [2022-04-10T09:22:33.075Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T09:22:33.075Z] ---> Running in d92c8b863639 [2022-04-10T09:22:33.335Z] Removing intermediate container d92c8b863639 [2022-04-10T09:22:33.335Z] ---> e25d25238e48 [2022-04-10T09:22:33.335Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T09:22:33.335Z] ---> Running in 1d326e12ba97 [2022-04-10T09:22:33.335Z] Removing intermediate container 1d326e12ba97 [2022-04-10T09:22:33.335Z] ---> c54cd0d7682e [2022-04-10T09:22:33.335Z] Step 5/25 : WORKDIR /device-gpio [2022-04-10T09:22:33.335Z] ---> Running in 2e0b691cfcc5 [2022-04-10T09:22:33.595Z] Removing intermediate container 2e0b691cfcc5 [2022-04-10T09:22:33.595Z] ---> 80d60adb09e7 [2022-04-10T09:22:33.595Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:22:33.595Z] ---> Running in 266cd489d7af [2022-04-10T09:22:34.166Z] Removing intermediate container 266cd489d7af [2022-04-10T09:22:34.166Z] ---> 3d80aa7e1acb [2022-04-10T09:22:34.166Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T09:22:34.166Z] ---> Running in 47435b4aec7f [2022-04-10T09:22:34.426Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T09:22:34.624Z] Removing intermediate container 1058874e4017 [2022-04-10T09:22:34.624Z] ---> b4db6ec18d07 [2022-04-10T09:22:34.624Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T09:22:34.624Z] ---> Running in 7ef3d998d685 [2022-04-10T09:22:35.370Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T09:22:35.370Z] OK: 224 MiB in 56 packages [2022-04-10T09:22:35.605Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T09:22:35.942Z] Removing intermediate container 47435b4aec7f [2022-04-10T09:22:35.942Z] ---> e2a3496edfbb [2022-04-10T09:22:35.942Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T09:22:35.942Z] ---> 61224f1869ca [2022-04-10T09:22:35.942Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T09:22:35.942Z] ---> Running in c2ef9e9626ce [2022-04-10T09:22:36.201Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T09:22:36.513Z] Removing intermediate container c2ef9e9626ce [2022-04-10T09:22:36.513Z] ---> 71c982dfdc1a [2022-04-10T09:22:36.513Z] Step 10/25 : COPY . . [2022-04-10T09:22:37.085Z] ---> c58554eb58ec [2022-04-10T09:22:37.085Z] Step 11/25 : RUN ${MAKE} [2022-04-10T09:22:37.085Z] ---> Running in 8374334f73d9 [2022-04-10T09:22:37.183Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T09:22:37.183Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T09:22:37.456Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T09:22:37.456Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T09:22:37.659Z] Removing intermediate container 8374334f73d9 [2022-04-10T09:22:37.659Z] ---> 8d84bda7fdf0 [2022-04-10T09:22:37.659Z] Step 12/25 : FROM alpine:3.15 [2022-04-10T09:22:37.735Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T09:22:37.735Z] OK: 224 MiB in 56 packages [2022-04-10T09:22:37.922Z] 3.15: Pulling from library/alpine [2022-04-10T09:22:38.182Z] df9b9388f04a: Pulling fs layer [2022-04-10T09:22:38.443Z] df9b9388f04a: Verifying Checksum [2022-04-10T09:22:38.443Z] df9b9388f04a: Download complete [2022-04-10T09:22:38.443Z] df9b9388f04a: Pull complete [2022-04-10T09:22:38.443Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-10T09:22:38.443Z] Status: Downloaded newer image for alpine:3.15 [2022-04-10T09:22:38.443Z] ---> 0ac33e5f5afa [2022-04-10T09:22:38.443Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-10T09:22:38.443Z] ---> Running in 476ee1c3a4b0 [2022-04-10T09:22:38.703Z] Removing intermediate container 476ee1c3a4b0 [2022-04-10T09:22:38.703Z] ---> 21af20700159 [2022-04-10T09:22:38.703Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:22:38.703Z] ---> Running in 68fa23478b97 [2022-04-10T09:22:38.718Z] Removing intermediate container 7ef3d998d685 [2022-04-10T09:22:38.719Z] ---> 49a523329a08 [2022-04-10T09:22:38.719Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T09:22:39.272Z] Removing intermediate container 68fa23478b97 [2022-04-10T09:22:39.272Z] ---> 49f2f42f93e9 [2022-04-10T09:22:39.272Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T09:22:39.272Z] ---> Running in 5180789ba3ea [2022-04-10T09:22:39.313Z] ---> 7c1d941d2954 [2022-04-10T09:22:39.313Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T09:22:39.313Z] ---> Running in a32b9264d3c7 [2022-04-10T09:22:39.532Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T09:22:40.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T09:22:40.734Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-10T09:22:40.734Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T09:22:40.734Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-10T09:22:40.995Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T09:22:40.995Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T09:22:40.995Z] Executing busybox-1.34.1-r5.trigger [2022-04-10T09:22:40.995Z] OK: 8 MiB in 19 packages [2022-04-10T09:22:41.565Z] Removing intermediate container 5180789ba3ea [2022-04-10T09:22:41.565Z] ---> 58be41c150cb [2022-04-10T09:22:41.565Z] Step 16/25 : WORKDIR / [2022-04-10T09:22:41.565Z] ---> Running in 74883b324dda [2022-04-10T09:22:41.565Z] Removing intermediate container 74883b324dda [2022-04-10T09:22:41.565Z] ---> 04013c0f3a94 [2022-04-10T09:22:41.565Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-10T09:22:41.825Z] ---> 0a2ce07f81a0 [2022-04-10T09:22:41.825Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-10T09:22:41.825Z] ---> a102683fe5de [2022-04-10T09:22:41.825Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-10T09:22:42.087Z] ---> 4966ba6a600d [2022-04-10T09:22:42.087Z] Step 20/25 : EXPOSE 59910 [2022-04-10T09:22:42.087Z] ---> Running in 902309f2aebd [2022-04-10T09:22:42.087Z] Removing intermediate container 902309f2aebd [2022-04-10T09:22:42.087Z] ---> 2f6b0759cb50 [2022-04-10T09:22:42.087Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-10T09:22:42.087Z] ---> Running in 5c8012ff6112 [2022-04-10T09:22:42.347Z] Removing intermediate container 5c8012ff6112 [2022-04-10T09:22:42.347Z] ---> 350d806302cb [2022-04-10T09:22:42.347Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T09:22:42.347Z] ---> Running in 207506fa828e [2022-04-10T09:22:42.347Z] Removing intermediate container 207506fa828e [2022-04-10T09:22:42.347Z] ---> 0c1507308c03 [2022-04-10T09:22:42.347Z] Step 23/25 : LABEL arch=amd64 [2022-04-10T09:22:42.347Z] ---> Running in 8539a49eab58 [2022-04-10T09:22:42.612Z] Removing intermediate container 8539a49eab58 [2022-04-10T09:22:42.612Z] ---> d2d1f5286d1c [2022-04-10T09:22:42.612Z] Step 24/25 : LABEL git_sha=b1216086dc18bf8c317725de9a9c353bcf7587ee [2022-04-10T09:22:42.612Z] ---> Running in d17bf85a4a90 [2022-04-10T09:22:42.612Z] Removing intermediate container d17bf85a4a90 [2022-04-10T09:22:42.612Z] ---> 14c5bbba3779 [2022-04-10T09:22:42.612Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T09:22:42.612Z] ---> Running in e407e84ea571 [2022-04-10T09:22:42.872Z] Removing intermediate container e407e84ea571 [2022-04-10T09:22:42.872Z] ---> c51be7e421c6 [2022-04-10T09:22:42.872Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-10T09:22:42.872Z] Successfully built c51be7e421c6 [2022-04-10T09:22:42.872Z] 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-10T09:22:43.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T09:22:43.288Z] [2022-04-10T09:22:43.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:22:43.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T09:22:43.594Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T09:22:43.594Z] 5eb5b503b376: Pulling fs layer [2022-04-10T09:22:43.594Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T09:22:43.594Z] ec43610c2a17: Pulling fs layer [2022-04-10T09:22:43.594Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T09:22:43.594Z] 33b1e0a273af: Pulling fs layer [2022-04-10T09:22:43.594Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T09:22:43.594Z] 2f39f015ded8: Pulling fs layer [2022-04-10T09:22:43.594Z] 3a2ae6a8a46f: Waiting [2022-04-10T09:22:43.594Z] 5d3b04190fa2: Waiting [2022-04-10T09:22:43.594Z] 2f39f015ded8: Waiting [2022-04-10T09:22:43.594Z] 5c69ac0246d0: Download complete [2022-04-10T09:22:43.594Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T09:22:43.594Z] 33b1e0a273af: Verifying Checksum [2022-04-10T09:22:43.594Z] 33b1e0a273af: Download complete [2022-04-10T09:22:43.594Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T09:22:43.594Z] 5d3b04190fa2: Download complete [2022-04-10T09:22:43.594Z] ec43610c2a17: Verifying Checksum [2022-04-10T09:22:43.594Z] ec43610c2a17: Download complete [2022-04-10T09:22:43.854Z] 5eb5b503b376: Verifying Checksum [2022-04-10T09:22:43.854Z] 5eb5b503b376: Download complete [2022-04-10T09:22:44.422Z] 2f39f015ded8: Download complete [2022-04-10T09:22:44.990Z] 5eb5b503b376: Pull complete [2022-04-10T09:22:44.990Z] 5c69ac0246d0: Pull complete [2022-04-10T09:22:45.559Z] ec43610c2a17: Pull complete [2022-04-10T09:22:45.559Z] 3a2ae6a8a46f: Pull complete [2022-04-10T09:22:45.559Z] 33b1e0a273af: Pull complete [2022-04-10T09:22:45.819Z] 5d3b04190fa2: Pull complete [2022-04-10T09:22:50.013Z] 2f39f015ded8: Pull complete [2022-04-10T09:22:50.013Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T09:22:50.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T09:22:50.013Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T09:22:50.074Z] prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container [2022-04-10T09:22:50.112Z] $ 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-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@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-10T09:22:51.930Z] $ docker top 32d5ec6c89fb11f3ac0a69dc3f925a093d5a5524c96de02509903ff1834c8229 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:22:52.330Z] ---> job-cost.sh [2022-04-10T09:22:52.330Z] lf-activate-venv: SKIPPING [2022-04-10T09:22:52.330Z] INFO: No Stack... [2022-04-10T09:22:52.901Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T09:22:53.162Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T09:22:53.463Z] + cat /w/workspace/edgexfoundry_device-gpio_PR-22/archives/cost.csv [2022-04-10T09:22:53.463Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T09:22:53.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [2022-04-10T09:22:53.489Z] Resource [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] did not exist. Created. [2022-04-10T09:22:53.489Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T09:22:53.800Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T09:22:53.824Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T09:22:53.830Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T09:22:53.856Z] $ docker stop --time=1 32d5ec6c89fb11f3ac0a69dc3f925a093d5a5524c96de02509903ff1834c8229 [2022-04-10T09:22:55.026Z] $ docker rm -f 32d5ec6c89fb11f3ac0a69dc3f925a093d5a5524c96de02509903ff1834c8229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T09:24:01.123Z] Removing intermediate container a32b9264d3c7 [2022-04-10T09:24:01.123Z] ---> 953951fed998 [2022-04-10T09:24:01.123Z] Step 10/11 : COPY . . [2022-04-10T09:24:01.123Z] ---> 81a41bf4a414 [2022-04-10T09:24:01.123Z] Step 11/11 : RUN ${MAKE} [2022-04-10T09:24:01.123Z] ---> Running in f6a59c4651e8 [2022-04-10T09:24:01.123Z] Removing intermediate container f6a59c4651e8 [2022-04-10T09:24:01.123Z] ---> 8d4606b36790 [2022-04-10T09:24:01.123Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-10T09:24:01.123Z] Successfully built 8d4606b36790 [2022-04-10T09:24:01.123Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:24:01.467Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T09:24:01.467Z] . [Pipeline] withDockerContainer [2022-04-10T09:24:01.681Z] prd-ubuntu20.04-docker-arm64-4c-16g-11868 does not seem to be running inside a container [2022-04-10T09:24:01.770Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-10T09:24:02.993Z] $ docker top e05dd28678eb8f2ab01f194b242d7b6ddf8df24247ea09fb72bc25936dde6bfd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T09:24:03.889Z] + go version [2022-04-10T09:24:03.889Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T09:24:03.919Z] $ docker stop --time=1 e05dd28678eb8f2ab01f194b242d7b6ddf8df24247ea09fb72bc25936dde6bfd [2022-04-10T09:24:05.530Z] $ docker rm -f e05dd28678eb8f2ab01f194b242d7b6ddf8df24247ea09fb72bc25936dde6bfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:24:06.132Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T09:24:06.132Z] . [Pipeline] withDockerContainer [2022-04-10T09:24:06.349Z] prd-ubuntu20.04-docker-arm64-4c-16g-11868 does not seem to be running inside a container [2022-04-10T09:24:06.437Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-10T09:24:07.702Z] $ docker top d1e1a7969e17888494ee1c44d80d8c2199a73b34bec4003fe8e727d08f5aa60b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T09:24:08.619Z] + make test [2022-04-10T09:24:08.620Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T09:24:10.066Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-10T09:25:06.719Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-10T09:25:06.719Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-10T09:25:06.719Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T09:25:06.719Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T09:25:21.853Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T09:25:21.853Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T09:25:21.853Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T09:25:22.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T09:25:22.181Z] $ docker stop --time=1 d1e1a7969e17888494ee1c44d80d8c2199a73b34bec4003fe8e727d08f5aa60b [2022-04-10T09:25:23.963Z] $ docker rm -f d1e1a7969e17888494ee1c44d80d8c2199a73b34bec4003fe8e727d08f5aa60b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T09:25:24.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T09:25:24.895Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T09:25:25.842Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T09:25:26.250Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T09:25:26.599Z] + ls -al . [2022-04-10T09:25:26.599Z] total 184 [2022-04-10T09:25:26.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:25 . [2022-04-10T09:25:26.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 09:21 .. [2022-04-10T09:25:26.599Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 09:21 .dockerignore [2022-04-10T09:25:26.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 09:21 .git [2022-04-10T09:25:26.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 .github [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 09:21 .gitignore [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 09:21 .golangci.yml [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 09:21 Attribution.txt [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 09:21 Dockerfile [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 09:21 GOVERNANCE.md [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 09:21 Jenkinsfile [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 09:21 LICENSE [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 09:21 Makefile [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 09:21 OWNERS.md [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 09:21 README.md [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 09:21 VERSION [2022-04-10T09:25:26.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 09:21 bin [2022-04-10T09:25:26.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 cmd [2022-04-10T09:25:26.600Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 10 09:24 coverage.out [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 09:21 go.mod [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 09:21 go.sum [2022-04-10T09:25:26.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 internal [2022-04-10T09:25:26.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 09:21 snap [2022-04-10T09:25:26.600Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 09:21 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:25:26.945Z] + 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=e46a605c89f0a46d87c7050bf480e91ed777cf50 --label arch=arm64 --label version=0.0.0 . [2022-04-10T09:25:27.225Z] Sending build context to Docker daemon 5.631MB [2022-04-10T09:25:27.225Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T09:25:27.225Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T09:25:27.225Z] ---> 8d4606b36790 [2022-04-10T09:25:27.225Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T09:25:27.498Z] ---> Running in 0daff19197f8 [2022-04-10T09:25:27.780Z] Removing intermediate container 0daff19197f8 [2022-04-10T09:25:27.780Z] ---> cd241e65e8a2 [2022-04-10T09:25:27.780Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T09:25:27.780Z] ---> Running in 25a8fde5cbb2 [2022-04-10T09:25:28.377Z] Removing intermediate container 25a8fde5cbb2 [2022-04-10T09:25:28.377Z] ---> e5b2627653fd [2022-04-10T09:25:28.377Z] Step 5/25 : WORKDIR /device-gpio [2022-04-10T09:25:28.377Z] ---> Running in 19e32e5b1a09 [2022-04-10T09:25:28.649Z] Removing intermediate container 19e32e5b1a09 [2022-04-10T09:25:28.649Z] ---> f370ad97036e [2022-04-10T09:25:28.649Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:25:28.649Z] ---> Running in 5644c0fe7520 [2022-04-10T09:25:30.624Z] Removing intermediate container 5644c0fe7520 [2022-04-10T09:25:30.624Z] ---> f8e51d1036a4 [2022-04-10T09:25:30.624Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T09:25:30.624Z] ---> Running in be6fd4b0ca97 [2022-04-10T09:25:31.604Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T09:25:32.583Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T09:25:33.183Z] OK: 224 MiB in 56 packages [2022-04-10T09:25:34.170Z] Removing intermediate container be6fd4b0ca97 [2022-04-10T09:25:34.170Z] ---> 5bcfd41ab318 [2022-04-10T09:25:34.170Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T09:25:34.770Z] ---> b87c959d04ce [2022-04-10T09:25:34.770Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T09:25:34.770Z] ---> Running in 32cb2b968e71 [2022-04-10T09:25:36.750Z] Removing intermediate container 32cb2b968e71 [2022-04-10T09:25:36.750Z] ---> c4cfb3c6e946 [2022-04-10T09:25:36.750Z] Step 10/25 : COPY . . [2022-04-10T09:25:37.735Z] ---> aa29a6438972 [2022-04-10T09:25:37.735Z] Step 11/25 : RUN ${MAKE} [2022-04-10T09:25:38.020Z] ---> Running in 88c9b23dbbe2 [2022-04-10T09:25:39.463Z] Removing intermediate container 88c9b23dbbe2 [2022-04-10T09:25:39.463Z] ---> c67d6c3569eb [2022-04-10T09:25:39.463Z] Step 12/25 : FROM alpine:3.15 [2022-04-10T09:25:40.058Z] 3.15: Pulling from library/alpine [2022-04-10T09:25:40.331Z] 9981e73032c8: Pulling fs layer [2022-04-10T09:25:40.604Z] 9981e73032c8: Download complete [2022-04-10T09:25:41.199Z] 9981e73032c8: Pull complete [2022-04-10T09:25:41.199Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-10T09:25:41.199Z] Status: Downloaded newer image for alpine:3.15 [2022-04-10T09:25:41.199Z] ---> 3fb3c9af89a9 [2022-04-10T09:25:41.199Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-10T09:25:41.199Z] ---> Running in 76e60211b720 [2022-04-10T09:25:41.476Z] Removing intermediate container 76e60211b720 [2022-04-10T09:25:41.476Z] ---> bf02d84651eb [2022-04-10T09:25:41.476Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T09:25:41.750Z] ---> Running in f753d36c6a1e [2022-04-10T09:25:43.261Z] Removing intermediate container f753d36c6a1e [2022-04-10T09:25:43.261Z] ---> 8df107df38ab [2022-04-10T09:25:43.261Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T09:25:43.261Z] ---> Running in 8bccdc3ca621 [2022-04-10T09:25:44.243Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T09:25:45.227Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T09:25:46.202Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-10T09:25:46.202Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T09:25:46.202Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-10T09:25:46.473Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T09:25:46.473Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T09:25:46.748Z] Executing busybox-1.34.1-r5.trigger [2022-04-10T09:25:46.748Z] OK: 8 MiB in 19 packages [2022-04-10T09:25:47.725Z] Removing intermediate container 8bccdc3ca621 [2022-04-10T09:25:47.725Z] ---> 0daea28052eb [2022-04-10T09:25:47.725Z] Step 16/25 : WORKDIR / [2022-04-10T09:25:47.725Z] ---> Running in 4de974337f57 [2022-04-10T09:25:48.000Z] Removing intermediate container 4de974337f57 [2022-04-10T09:25:48.000Z] ---> c8005dcf65f1 [2022-04-10T09:25:48.000Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-10T09:25:48.593Z] ---> ed44ecf584d6 [2022-04-10T09:25:48.593Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-10T09:25:49.189Z] ---> ff8f6d09d928 [2022-04-10T09:25:49.189Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-10T09:25:49.782Z] ---> f6c7c4b4141a [2022-04-10T09:25:49.782Z] Step 20/25 : EXPOSE 59910 [2022-04-10T09:25:49.782Z] ---> Running in 40a9598102aa [2022-04-10T09:25:50.058Z] Removing intermediate container 40a9598102aa [2022-04-10T09:25:50.058Z] ---> 258407478704 [2022-04-10T09:25:50.058Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-10T09:25:50.058Z] ---> Running in d7a4fe6f00e6 [2022-04-10T09:25:50.329Z] Removing intermediate container d7a4fe6f00e6 [2022-04-10T09:25:50.329Z] ---> a7922617fe6e [2022-04-10T09:25:50.329Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T09:25:50.329Z] ---> Running in a001249a449c [2022-04-10T09:25:50.925Z] Removing intermediate container a001249a449c [2022-04-10T09:25:50.925Z] ---> b4ae106147cb [2022-04-10T09:25:50.925Z] Step 23/25 : LABEL arch=arm64 [2022-04-10T09:25:50.925Z] ---> Running in 66ccfdb1f9e0 [2022-04-10T09:25:51.197Z] Removing intermediate container 66ccfdb1f9e0 [2022-04-10T09:25:51.197Z] ---> d1ba0b37f9d3 [2022-04-10T09:25:51.197Z] Step 24/25 : LABEL git_sha=e46a605c89f0a46d87c7050bf480e91ed777cf50 [2022-04-10T09:25:51.197Z] ---> Running in 7435b5566db4 [2022-04-10T09:25:51.472Z] Removing intermediate container 7435b5566db4 [2022-04-10T09:25:51.472Z] ---> f4e8ce432678 [2022-04-10T09:25:51.472Z] Step 25/25 : LABEL version=0.0.0 [2022-04-10T09:25:51.472Z] ---> Running in df02a38d8e85 [2022-04-10T09:25:51.744Z] Removing intermediate container df02a38d8e85 [2022-04-10T09:25:51.744Z] ---> 0b0159107d01 [2022-04-10T09:25:51.744Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-10T09:25:51.744Z] Successfully built 0b0159107d01 [2022-04-10T09:25:52.016Z] 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-10T09:25:52.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T09:25:52.449Z] [2022-04-10T09:25:52.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:25:52.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T09:25:53.072Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T09:25:53.073Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T09:25:53.073Z] 04944245beec: Pulling fs layer [2022-04-10T09:25:53.073Z] 699f458cf7ca: Pulling fs layer [2022-04-10T09:25:53.073Z] 765212b225bb: Pulling fs layer [2022-04-10T09:25:53.073Z] f23df028b6ca: Pulling fs layer [2022-04-10T09:25:53.073Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T09:25:53.073Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T09:25:53.073Z] 765212b225bb: Waiting [2022-04-10T09:25:53.073Z] f23df028b6ca: Waiting [2022-04-10T09:25:53.073Z] d65c8cfc05b1: Waiting [2022-04-10T09:25:53.073Z] 2437ff75d9bd: Waiting [2022-04-10T09:25:53.073Z] 04944245beec: Verifying Checksum [2022-04-10T09:25:53.073Z] 04944245beec: Download complete [2022-04-10T09:25:53.073Z] 765212b225bb: Verifying Checksum [2022-04-10T09:25:53.073Z] 765212b225bb: Download complete [2022-04-10T09:25:53.073Z] f23df028b6ca: Verifying Checksum [2022-04-10T09:25:53.073Z] f23df028b6ca: Download complete [2022-04-10T09:25:53.073Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T09:25:53.073Z] d65c8cfc05b1: Download complete [2022-04-10T09:25:53.349Z] 699f458cf7ca: Verifying Checksum [2022-04-10T09:25:53.350Z] 699f458cf7ca: Download complete [2022-04-10T09:25:53.623Z] 8998bd30e6a1: Verifying Checksum [2022-04-10T09:25:53.623Z] 8998bd30e6a1: Download complete [2022-04-10T09:25:56.242Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T09:25:56.242Z] 2437ff75d9bd: Download complete [2022-04-10T09:25:57.679Z] 8998bd30e6a1: Pull complete [2022-04-10T09:25:58.276Z] 04944245beec: Pull complete [2022-04-10T09:25:59.718Z] 699f458cf7ca: Pull complete [2022-04-10T09:25:59.992Z] 765212b225bb: Pull complete [2022-04-10T09:26:00.969Z] f23df028b6ca: Pull complete [2022-04-10T09:26:00.969Z] d65c8cfc05b1: Pull complete [2022-04-10T09:26:16.051Z] 2437ff75d9bd: Pull complete [2022-04-10T09:26:16.051Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T09:26:16.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T09:26:16.051Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T09:26:16.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-11868 does not seem to be running inside a container [2022-04-10T09:26:16.378Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T09:26:18.883Z] $ docker top 8920262362ff161ae6045ee70fd47436f376aea02607bdf536e26ead60f24eb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:19.841Z] ---> job-cost.sh [2022-04-10T09:26:19.841Z] lf-activate-venv: SKIPPING [2022-04-10T09:26:19.841Z] INFO: No Stack... [2022-04-10T09:26:20.443Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T09:26:21.447Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T09:26:22.137Z] + cut -d, -f6 [2022-04-10T09:26:22.137Z] + cat /w/workspace/device-gpio/3/archives/cost.csv [Pipeline] lock [2022-04-10T09:26:22.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [2022-04-10T09:26:22.183Z] Resource [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] did not exist. Created. [2022-04-10T09:26:22.183Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T09:26:22.865Z] /w/workspace/device-gpio/3@tmp/durable-a0da80aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T09:26:23.538Z] + echo total: 0.550000011920929 [Pipeline] stash [2022-04-10T09:26:23.563Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T09:26:23.611Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T09:26:23.617Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-22-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T09:26:23.647Z] $ docker stop --time=1 8920262362ff161ae6045ee70fd47436f376aea02607bdf536e26ead60f24eb5 [2022-04-10T09:26:25.167Z] $ docker rm -f 8920262362ff161ae6045ee70fd47436f376aea02607bdf536e26ead60f24eb5 [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-10T09:26:25.570Z] provisioning config files... [2022-04-10T09:26:25.579Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config4220124180615153688tmp [Pipeline] { [Pipeline] sh [2022-04-10T09:26:25.872Z] + set +x [2022-04-10T09:26:25.872Z] + curl -s https://codecov.io/bash+ [2022-04-10T09:26:25.872Z] bash -s -- [2022-04-10T09:26:25.872Z] [2022-04-10T09:26:25.872Z] _____ _ [2022-04-10T09:26:25.872Z] / ____| | | [2022-04-10T09:26:25.872Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T09:26:25.872Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T09:26:25.872Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T09:26:25.872Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T09:26:25.872Z] Bash-1.0.6 [2022-04-10T09:26:25.872Z] [2022-04-10T09:26:25.872Z] [2022-04-10T09:26:25.872Z] ==> git version 2.25.1 found [2022-04-10T09:26:25.872Z] ==> 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-10T09:26:25.872Z] Release-Date: 2020-01-08 [2022-04-10T09:26:25.872Z] 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-10T09:26:25.872Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T09:26:25.872Z] ==> Jenkins CI detected. [2022-04-10T09:26:25.872Z] current dir:  /w/workspace/edgexfoundry_device-gpio_PR-22 [2022-04-10T09:26:25.872Z] project root: . [2022-04-10T09:26:25.872Z] --> token set from env [2022-04-10T09:26:25.872Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T09:26:25.872Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T09:26:25.872Z] ==> Python coveragepy not found [2022-04-10T09:26:25.872Z] ==> Searching for coverage reports in: [2022-04-10T09:26:25.872Z] + . [2022-04-10T09:26:25.872Z] -> Found 1 reports [2022-04-10T09:26:25.872Z] ==> Detecting git/mercurial file structure [2022-04-10T09:26:25.872Z] ==> Reading reports [2022-04-10T09:26:25.872Z] + ./coverage.out bytes=10 [2022-04-10T09:26:25.872Z] ==> Appending adjustments [2022-04-10T09:26:25.872Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T09:26:25.872Z] + Found adjustments [2022-04-10T09:26:25.872Z] ==> Gzipping contents [2022-04-10T09:26:25.872Z] 4.0K /tmp/codecov.gA2SeN.gz [2022-04-10T09:26:25.872Z] ==> Uploading reports [2022-04-10T09:26:25.872Z] url: https://codecov.io [2022-04-10T09:26:25.872Z] query: branch=PR-22&commit=b1216086dc18bf8c317725de9a9c353bcf7587ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= [2022-04-10T09:26:25.872Z] -> Pinging Codecov [2022-04-10T09:26:25.873Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-22&commit=b1216086dc18bf8c317725de9a9c353bcf7587ee&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-22%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=22&job=&cmd_args= [2022-04-10T09:26:26.445Z] -> Uploading to [2022-04-10T09:26:26.445Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b1216086dc18bf8c317725de9a9c353bcf7587ee/b5562369-0f99-4f79-a2cc-d28e5bb88408.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T092626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a84248f8a0c595cb1ac9baf6e4b9a49f5c641552edd8240311dcf3ce8a866327 [2022-04-10T09:26:26.445Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T09:26:26.445Z] Dload Upload Total Spent Left Speed [2022-04-10T09:26:26.445Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 816 0 0 100 816 0 3813 --:--:-- --:--:-- --:--:-- 3813 [2022-04-10T09:26:26.445Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/b1216086dc18bf8c317725de9a9c353bcf7587ee [Pipeline] } [2022-04-10T09:26:26.453Z] 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-10T09:26:27.122Z] + [ -d /w/workspace/edgexfoundry_device-gpio_PR-22/archives ] [2022-04-10T09:26:27.122Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives [2022-04-10T09:26:27.122Z] total 16 [2022-04-10T09:26:27.122Z] drwxr-xr-x 3 root root 4096 Apr 10 09:22 . [2022-04-10T09:26:27.122Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 09:22 .. [2022-04-10T09:26:27.122Z] drwxr-xr-x 2 root root 4096 Apr 10 09:22 cost [2022-04-10T09:26:27.122Z] -rw-r--r-- 1 root root 81 Apr 10 09:22 cost.csv [2022-04-10T09:26:27.122Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-22/archives [2022-04-10T09:26:27.122Z] + ls -al /w/workspace/edgexfoundry_device-gpio_PR-22/archives [2022-04-10T09:26:27.122Z] total 16 [2022-04-10T09:26:27.122Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 09:22 . [2022-04-10T09:26:27.122Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 09:22 .. [2022-04-10T09:26:27.122Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 09:22 cost [2022-04-10T09:26:27.122Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 10 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:27.419Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:28.288Z] ---> package-listing.sh [2022-04-10T09:26:28.289Z] ++ facter osfamily [2022-04-10T09:26:28.289Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T09:26:28.551Z] + OS_FAMILY=debian [2022-04-10T09:26:28.551Z] + workspace=/w/workspace/edgexfoundry_device-gpio_PR-22 [2022-04-10T09:26:28.551Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T09:26:28.551Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T09:26:28.551Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T09:26:28.551Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T09:26:28.551Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' [2022-04-10T09:26:28.551Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T09:26:28.551Z] + case "${OS_FAMILY}" in [2022-04-10T09:26:28.551Z] + dpkg -l [2022-04-10T09:26:28.551Z] + grep '^ii' [2022-04-10T09:26:28.551Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T09:26:28.551Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T09:26:28.551Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T09:26:28.551Z] + '[' /w/workspace/edgexfoundry_device-gpio_PR-22 ']' [2022-04-10T09:26:28.551Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ [2022-04-10T09:26:28.551Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-22/archives/ [Pipeline] echo [2022-04-10T09:26:28.562Z] 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-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-10T09:26:28.937Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T09:26:29.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T09:26:29.262Z] . [Pipeline] withDockerContainer [2022-04-10T09:26:29.325Z] prd-ubuntu20.04-docker-8c-8g-11874 does not seem to be running inside a container [2022-04-10T09:26:29.364Z] $ 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-22/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-22 -v /w/workspace/edgexfoundry_device-gpio_PR-22:/w/workspace/edgexfoundry_device-gpio_PR-22:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-22@tmp:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T09:26:29.571Z] $ docker top d846555cf0a00d61b1ed4c0e68c14b47ce76c4c56fa4e413c6a7f14ee4412876 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T09:26:29.924Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T09:26:30.215Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T09:26:30.504Z] + ls /var/log/sa-host [2022-04-10T09:26:30.504Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T09:26:30.589Z] provisioning config files... [2022-04-10T09:26:30.598Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-22@tmp/config8822953952126713402tmp [Pipeline] { [Pipeline] echo [2022-04-10T09:26:30.613Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:30.899Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T09:26:30.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:31.231Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T09:26:31.242Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:31.528Z] ---> sudo-logs.sh [2022-04-10T09:26:31.528Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T09:26:31.554Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:31.839Z] ---> job-cost.sh [2022-04-10T09:26:31.839Z] lf-activate-venv: SKIPPING [2022-04-10T09:26:31.839Z] DEBUG: total: 0.2199999988079071 [2022-04-10T09:26:31.839Z] INFO: Retrieving Stack Cost... [2022-04-10T09:26:32.099Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T09:26:32.675Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T09:26:32.690Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T09:26:32.974Z] ---> logs-deploy.sh [2022-04-10T09:26:32.974Z] lf-activate-venv: SKIPPING [2022-04-10T09:26:32.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-22/3 [2022-04-10T09:26:32.974Z] INFO: archiving workspace using pattern(s): [2022-04-10T09:26:33.912Z] Archives upload complete. [2022-04-10T09:26:33.912Z] INFO: archiving logs to Nexus