Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token 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-ssh1798266498122887722.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-ssh10960278937365636723.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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4002856781194617364.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-ssh869282036289126347.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9439759512976040563.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11760 in /w/workspace/edgexfoundry_device-gpio_main [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_main # 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 Avoid second fetch Checking out Revision 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 Commit message: "Merge pull request #23 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk 156d9434ec3cf788140140116a7d431d8c0fe3ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T05:06:19.194Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T05:06:19.253Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T05:06:19.273Z] ========================================================= [2022-04-10T05:06:19.273Z] EdgeX Global Pipelines Version Info [2022-04-10T05:06:19.273Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:06:20.015Z] ------------------- [2022-04-10T05:06:20.015Z] stable info: [2022-04-10T05:06:20.015Z] ------------------- [2022-04-10T05:06:20.015Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T05:06:20.015Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:06:20.015Z] Message: update stable to v1.0.221 [2022-04-10T05:06:20.597Z] ------------------- [2022-04-10T05:06:20.597Z] experimental info: [2022-04-10T05:06:20.597Z] ------------------- [2022-04-10T05:06:20.597Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T05:06:20.597Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:06:20.597Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T05:06:20.751Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-04-10T05:06:20.761Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-04-10T05:06:20.774Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T05:06:20.788Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T05:06:20.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T05:06:20.824Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T05:06:20.837Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T05:06:20.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-10T05:06:20.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T05:06:20.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T05:06:20.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T05:06:20.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-04-10T05:06:20.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T05:06:20.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T05:06:20.936Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:06:20.946Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:06:20.956Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:06:20.966Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:06:20.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T05:06:20.993Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T05:06:21.005Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-10T05:06:21.015Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-10T05:06:21.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T05:06:21.035Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T05:06:21.045Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T05:06:21.054Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T05:06:21.064Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-10T05:06:21.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-10T05:06:21.084Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-10T05:06:21.102Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] echo [2022-04-10T05:06:21.115Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55120c6 [Pipeline] echo [2022-04-10T05:06:21.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:06:21.177Z] provisioning config files... [2022-04-10T05:06:21.190Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5154051564200870460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:06:21.502Z] ---> docker-login.sh [2022-04-10T05:06:21.502Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:06:21.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:21.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:21.764Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:21.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:21.764Z] [2022-04-10T05:06:21.764Z] Login Succeeded [2022-04-10T05:06:21.764Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:06:21.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:22.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:22.025Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:22.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:22.025Z] [2022-04-10T05:06:22.025Z] Login Succeeded [2022-04-10T05:06:22.025Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:06:22.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:22.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:22.025Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:22.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:22.025Z] [2022-04-10T05:06:22.025Z] Login Succeeded [2022-04-10T05:06:22.025Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:06:22.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:22.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:22.286Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:22.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:22.286Z] [2022-04-10T05:06:22.286Z] Login Succeeded [2022-04-10T05:06:22.286Z] docker.io [2022-04-10T05:06:22.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:22.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:22.546Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:22.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:22.546Z] [2022-04-10T05:06:22.546Z] Login Succeeded [2022-04-10T05:06:22.546Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:06:22.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T05:06:22.942Z] + git rev-list -1 --merges 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb~1..55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] echo [2022-04-10T05:06:23.072Z] -----------> git rev-list -1 --merges 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb~1..55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [2022-04-10T05:06:23.072Z] 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [false] [Pipeline] sh [2022-04-10T05:06:23.366Z] + git log --format=format:%s -1 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] echo [2022-04-10T05:06:23.384Z] ========================================================= [2022-04-10T05:06:23.384Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T05:06:23.384Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:06:23.723Z] + git log --format=format:%s -1 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] echo [2022-04-10T05:06:23.735Z] [semverPrep] GIT_COMMIT: 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb, Commit Message: Merge pull request #23 from jpwhitemn/enable-security-hardening [Pipeline] echo [2022-04-10T05:06:23.745Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T05:06:24.128Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:06:24.128Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T05:06:24.128Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T05:06:24.128Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T05:06:24.128Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T05:06:24.128Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T05:06:24.128Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:24.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:06:24.480Z] [2022-04-10T05:06:24.480Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:24.784Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:06:24.784Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T05:06:24.784Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T05:06:24.784Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T05:06:24.784Z] 4c7163046ea9: Pulling fs layer [2022-04-10T05:06:24.784Z] 0c2d73faf560: Pulling fs layer [2022-04-10T05:06:24.784Z] 0c2d73faf560: Waiting [2022-04-10T05:06:24.784Z] 3e5f54012d9b: Verifying Checksum [2022-04-10T05:06:24.784Z] 3e5f54012d9b: Download complete [2022-04-10T05:06:24.784Z] a0d0a0d46f8b: Verifying Checksum [2022-04-10T05:06:24.784Z] a0d0a0d46f8b: Download complete [2022-04-10T05:06:25.047Z] 0c2d73faf560: Verifying Checksum [2022-04-10T05:06:25.047Z] 0c2d73faf560: Download complete [2022-04-10T05:06:25.047Z] 4c7163046ea9: Download complete [2022-04-10T05:06:25.047Z] a0d0a0d46f8b: Pull complete [2022-04-10T05:06:25.047Z] 3e5f54012d9b: Pull complete [2022-04-10T05:06:25.630Z] 4c7163046ea9: Pull complete [2022-04-10T05:06:25.630Z] 0c2d73faf560: Pull complete [2022-04-10T05:06:25.630Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T05:06:25.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:06:25.630Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T05:06:25.705Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:06:25.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:06:26.496Z] $ docker top 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:06:26.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:06:26.618Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:06:26.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:06:26.756Z] $ docker exec 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc ssh-agent [2022-04-10T05:06:26.880Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEajMNP/agent.13 [2022-04-10T05:06:26.880Z] SSH_AGENT_PID=19 [2022-04-10T05:06:26.889Z] Running ssh-add (command line suppressed) [2022-04-10T05:06:27.015Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1271599700694639112.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1271599700694639112.key) [2022-04-10T05:06:27.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:06:27.331Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T05:06:27.356Z] $ docker exec --env ******** --env ******** 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc ssh-agent -k [2022-04-10T05:06:27.471Z] unset SSH_AUTH_SOCK; [2022-04-10T05:06:27.472Z] unset SSH_AGENT_PID; [2022-04-10T05:06:27.472Z] echo Agent pid 19 killed; [2022-04-10T05:06:27.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T05:06:27.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:06:27.511Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:06:27.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:06:27.654Z] $ docker exec 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc ssh-agent [2022-04-10T05:06:27.778Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOLPCeO/agent.52 [2022-04-10T05:06:27.778Z] SSH_AGENT_PID=58 [2022-04-10T05:06:27.785Z] Running ssh-add (command line suppressed) [2022-04-10T05:06:27.914Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_375335661364985615.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_375335661364985615.key) [2022-04-10T05:06:27.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:06:28.220Z] + git semver init [2022-04-10T05:06:28.220Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:06:28.220Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-10T05:06:28.221Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-10T05:06:28.221Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:06:28.221Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:06:28.221Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:06:28.221Z] # $SEMVER_BRANCH = main [2022-04-10T05:06:28.221Z] # $SEMVER_TEMP = /tmp/semver-529886017 [2022-04-10T05:06:28.221Z] # git clone --branch semver git@github.com:edgexfoundry/device-gpio.git $SEMVER_TEMP [2022-04-10T05:06:29.165Z] # '/tmp/semver-529886017' -> '/w/workspace/edgexfoundry_device-gpio_main/.semver' [2022-04-10T05:06:29.165Z] # -> Force: false [2022-04-10T05:06:29.165Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-04-10T05:06:29.179Z] $ docker exec --env ******** --env ******** 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc ssh-agent -k [2022-04-10T05:06:29.289Z] unset SSH_AUTH_SOCK; [2022-04-10T05:06:29.290Z] unset SSH_AGENT_PID; [2022-04-10T05:06:29.290Z] echo Agent pid 58 killed; [2022-04-10T05:06:29.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:06:29.606Z] + git semver [Pipeline] } [2022-04-10T05:06:29.625Z] $ docker stop --time=1 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc [2022-04-10T05:06:31.033Z] $ docker rm -f 77d288ad644254cb92fb75efa8c805da0142a73209beea04b0792ba5a67537fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:06:31.396Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T05:06:31.670Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T05:06:31.675Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.4 [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-10T05:06:31.811Z] provisioning config files... [2022-04-10T05:06:31.821Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8230007544822169602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:06:32.129Z] ---> docker-login.sh [2022-04-10T05:06:32.129Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:06:32.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:32.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:32.129Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:32.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:32.129Z] [2022-04-10T05:06:32.129Z] Login Succeeded [2022-04-10T05:06:32.129Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:06:32.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:32.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:32.391Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:32.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:32.391Z] [2022-04-10T05:06:32.391Z] Login Succeeded [2022-04-10T05:06:32.391Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:06:32.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:32.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:32.391Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:32.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:32.391Z] [2022-04-10T05:06:32.391Z] Login Succeeded [2022-04-10T05:06:32.391Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:06:32.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:32.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:32.653Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:32.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:32.653Z] [2022-04-10T05:06:32.653Z] Login Succeeded [2022-04-10T05:06:32.653Z] docker.io [2022-04-10T05:06:32.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:06:32.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:06:32.915Z] Configure a credential helper to remove this warning. See [2022-04-10T05:06:32.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:06:32.915Z] [2022-04-10T05:06:32.915Z] Login Succeeded [2022-04-10T05:06:32.915Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:06:32.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:06:32.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:06:33.004Z] ========================================================= [2022-04-10T05:06:33.004Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T05:06:33.004Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:06:33.311Z] + 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-10T05:06:33.311Z] Sending build context to Docker daemon 11.07MB [2022-04-10T05:06:33.311Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:06:33.311Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T05:06:33.311Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T05:06:33.311Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T05:06:33.311Z] 666ba61612fd: Pulling fs layer [2022-04-10T05:06:33.311Z] 8ed8ca486205: Pulling fs layer [2022-04-10T05:06:33.311Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T05:06:33.311Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T05:06:33.311Z] 640e595b4fbd: Pulling fs layer [2022-04-10T05:06:33.311Z] 763cafe07f6e: Pulling fs layer [2022-04-10T05:06:33.311Z] 0c0b528cf693: Pulling fs layer [2022-04-10T05:06:33.311Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T05:06:33.311Z] 4fe6c5a15a65: Waiting [2022-04-10T05:06:33.311Z] 22a0e8bec74d: Waiting [2022-04-10T05:06:33.311Z] 0c0b528cf693: Waiting [2022-04-10T05:06:33.311Z] 763cafe07f6e: Waiting [2022-04-10T05:06:33.572Z] 8ed8ca486205: Verifying Checksum [2022-04-10T05:06:33.572Z] 8ed8ca486205: Download complete [2022-04-10T05:06:33.572Z] 666ba61612fd: Verifying Checksum [2022-04-10T05:06:33.572Z] 22a0e8bec74d: Verifying Checksum [2022-04-10T05:06:33.572Z] 22a0e8bec74d: Download complete [2022-04-10T05:06:33.572Z] 640e595b4fbd: Verifying Checksum [2022-04-10T05:06:33.572Z] 640e595b4fbd: Download complete [2022-04-10T05:06:33.572Z] 59bf1c3509f3: Verifying Checksum [2022-04-10T05:06:33.572Z] 59bf1c3509f3: Download complete [2022-04-10T05:06:33.572Z] 763cafe07f6e: Download complete [2022-04-10T05:06:33.572Z] 0c0b528cf693: Verifying Checksum [2022-04-10T05:06:33.572Z] 0c0b528cf693: Download complete [2022-04-10T05:06:33.572Z] 59bf1c3509f3: Pull complete [2022-04-10T05:06:33.836Z] 666ba61612fd: Pull complete [2022-04-10T05:06:33.836Z] 8ed8ca486205: Pull complete [2022-04-10T05:06:34.100Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T05:06:34.100Z] 10935f4eaf8b: Download complete [2022-04-10T05:06:34.361Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T05:06:34.361Z] 4fe6c5a15a65: Download complete [2022-04-10T05:06:38.563Z] 4fe6c5a15a65: Pull complete [2022-04-10T05:06:38.563Z] 22a0e8bec74d: Pull complete [2022-04-10T05:06:38.563Z] 640e595b4fbd: Pull complete [2022-04-10T05:06:38.563Z] 763cafe07f6e: Pull complete [2022-04-10T05:06:38.824Z] 0c0b528cf693: Pull complete [2022-04-10T05:06:41.378Z] 10935f4eaf8b: Pull complete [2022-04-10T05:06:41.378Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T05:06:41.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T05:06:41.378Z] ---> 99d49a6021b9 [2022-04-10T05:06:41.378Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:06:42.325Z] ---> Running in dfad68bdd7b2 [2022-04-10T05:06:42.590Z] Removing intermediate container dfad68bdd7b2 [2022-04-10T05:06:42.590Z] ---> 3cd1159fd321 [2022-04-10T05:06:42.590Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:06:42.590Z] ---> Running in 7981d4d69a79 [2022-04-10T05:06:42.590Z] Removing intermediate container 7981d4d69a79 [2022-04-10T05:06:42.590Z] ---> a07074bad1a8 [2022-04-10T05:06:42.590Z] Step 5/11 : WORKDIR /device-gpio [2022-04-10T05:06:42.851Z] ---> Running in 16b60e035824 [2022-04-10T05:06:42.851Z] Removing intermediate container 16b60e035824 [2022-04-10T05:06:42.851Z] ---> 0c243095ec29 [2022-04-10T05:06:42.851Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:06:42.851Z] ---> Running in 4bf0acfb7360 [2022-04-10T05:06:43.424Z] Removing intermediate container 4bf0acfb7360 [2022-04-10T05:06:43.424Z] ---> 3f15a4e80f86 [2022-04-10T05:06:43.424Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:06:43.424Z] ---> Running in 42b306852671 [2022-04-10T05:06:43.996Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:06:44.578Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:06:45.151Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:06:45.151Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T05:06:45.151Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:06:45.151Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:06:45.411Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:06:45.411Z] OK: 224 MiB in 56 packages [2022-04-10T05:06:45.675Z] Removing intermediate container 42b306852671 [2022-04-10T05:06:45.675Z] ---> def3b27bfcaf [2022-04-10T05:06:45.675Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T05:06:45.937Z] ---> 3d563b47e11e [2022-04-10T05:06:45.937Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:06:45.937Z] ---> Running in 2c650c485733 [2022-04-10T05:06:46.781Z] Still waiting to schedule task [2022-04-10T05:06:46.782Z] ‘prd-centos7-builder-2c-1g-11755’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-10T05:06:46.782Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-11762’ is offline [2022-04-10T05:07:12.529Z] Removing intermediate container 2c650c485733 [2022-04-10T05:07:12.529Z] ---> 6b548c096892 [2022-04-10T05:07:12.529Z] Step 10/11 : COPY . . [2022-04-10T05:07:12.529Z] ---> 4663cc949ba8 [2022-04-10T05:07:12.529Z] Step 11/11 : RUN ${MAKE} [2022-04-10T05:07:12.529Z] ---> Running in f894ab65ed00 [2022-04-10T05:07:12.529Z] Removing intermediate container f894ab65ed00 [2022-04-10T05:07:12.529Z] ---> 5421c1827962 [2022-04-10T05:07:12.529Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-10T05:07:12.529Z] Successfully built 5421c1827962 [2022-04-10T05:07:12.529Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:12.836Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:07:12.836Z] . [Pipeline] withDockerContainer [2022-04-10T05:07:12.910Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:07:12.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2022-04-10T05:07:13.363Z] $ docker top 668cc94131074bb953bdd6d2287aac9ba274f6fb297787bc2fc175b146e891cc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:07:13.723Z] + go version [2022-04-10T05:07:13.723Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T05:07:13.737Z] $ docker stop --time=1 668cc94131074bb953bdd6d2287aac9ba274f6fb297787bc2fc175b146e891cc [2022-04-10T05:07:15.058Z] $ docker rm -f 668cc94131074bb953bdd6d2287aac9ba274f6fb297787bc2fc175b146e891cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:15.485Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:07:15.485Z] . [Pipeline] withDockerContainer [2022-04-10T05:07:15.569Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:07:15.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat [2022-04-10T05:07:16.013Z] $ docker top c64046ee8a511586023bf44aa82b99aa47733ccc60ed27dca9e76d889b09497f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:07:16.388Z] + make test [2022-04-10T05:07:16.388Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T05:07:16.652Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-10T05:07:23.436Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-10T05:07:23.436Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-10T05:07:30.030Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:07:32.576Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:07:32.576Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:07:32.576Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:07:32.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:07:32.610Z] $ docker stop --time=1 c64046ee8a511586023bf44aa82b99aa47733ccc60ed27dca9e76d889b09497f [2022-04-10T05:07:34.365Z] $ docker rm -f c64046ee8a511586023bf44aa82b99aa47733ccc60ed27dca9e76d889b09497f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:07:34.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:07:34.834Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T05:07:35.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:07:35.715Z] + ls -al . [2022-04-10T05:07:35.716Z] total 188 [2022-04-10T05:07:35.716Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:07 . [2022-04-10T05:07:35.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:06 .. [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 05:06 .dockerignore [2022-04-10T05:07:35.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:06 .git [2022-04-10T05:07:35.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:06 .github [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 05:06 .gitignore [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:06 .golangci.yml [2022-04-10T05:07:35.716Z] drwx------ 3 jenkins jenkins 4096 Apr 10 05:06 .semver [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 05:06 Attribution.txt [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 05:06 Dockerfile [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:06 GOVERNANCE.md [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 05:06 Jenkinsfile [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:06 LICENSE [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 05:06 Makefile [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 05:06 OWNERS.md [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 05:06 README.md [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 10 05:06 VERSION [2022-04-10T05:07:35.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:06 bin [2022-04-10T05:07:35.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:06 cmd [2022-04-10T05:07:35.716Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 10 05:07 coverage.out [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 05:06 go.mod [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 05:06 go.sum [2022-04-10T05:07:35.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:06 internal [2022-04-10T05:07:35.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:06 snap [2022-04-10T05:07:35.716Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 05:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:36.033Z] + 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=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb --label arch=amd64 --label version=2.0.0-dev.4 . [2022-04-10T05:07:36.033Z] Sending build context to Docker daemon 11.07MB [2022-04-10T05:07:36.033Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:07:36.033Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T05:07:36.033Z] ---> 5421c1827962 [2022-04-10T05:07:36.033Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:07:36.294Z] ---> Running in 357807293d36 [2022-04-10T05:07:36.294Z] Removing intermediate container 357807293d36 [2022-04-10T05:07:36.294Z] ---> 23e736796db1 [2022-04-10T05:07:36.294Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:07:36.294Z] ---> Running in 9b90775f7313 [2022-04-10T05:07:36.294Z] Removing intermediate container 9b90775f7313 [2022-04-10T05:07:36.294Z] ---> 0b48bc29bfab [2022-04-10T05:07:36.294Z] Step 5/25 : WORKDIR /device-gpio [2022-04-10T05:07:36.555Z] ---> Running in d8b46b8b1185 [2022-04-10T05:07:36.555Z] Removing intermediate container d8b46b8b1185 [2022-04-10T05:07:36.555Z] ---> 5e3005844cec [2022-04-10T05:07:36.555Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:07:36.555Z] ---> Running in bc7227e8b77c [2022-04-10T05:07:37.127Z] Removing intermediate container bc7227e8b77c [2022-04-10T05:07:37.127Z] ---> 8eb0ce3fda40 [2022-04-10T05:07:37.127Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:07:37.393Z] ---> Running in 85632f5b9de8 [2022-04-10T05:07:37.655Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:07:38.224Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:07:38.802Z] OK: 224 MiB in 56 packages [2022-04-10T05:07:39.064Z] Removing intermediate container 85632f5b9de8 [2022-04-10T05:07:39.064Z] ---> 9a0c83f8620e [2022-04-10T05:07:39.064Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T05:07:39.323Z] ---> f93923362829 [2022-04-10T05:07:39.323Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:07:39.323Z] ---> Running in 4dd8e6cb7741 [2022-04-10T05:07:39.894Z] Removing intermediate container 4dd8e6cb7741 [2022-04-10T05:07:39.894Z] ---> 113fec82c78c [2022-04-10T05:07:39.894Z] Step 10/25 : COPY . . [2022-04-10T05:07:40.467Z] ---> c99235f1a25e [2022-04-10T05:07:40.467Z] Step 11/25 : RUN ${MAKE} [2022-04-10T05:07:40.467Z] ---> Running in 91b6ca89896e [2022-04-10T05:07:41.039Z] Removing intermediate container 91b6ca89896e [2022-04-10T05:07:41.039Z] ---> dc27e0203adc [2022-04-10T05:07:41.039Z] Step 12/25 : FROM alpine:3.15 [2022-04-10T05:07:41.610Z] 3.15: Pulling from library/alpine [2022-04-10T05:07:41.610Z] df9b9388f04a: Pulling fs layer [2022-04-10T05:07:41.869Z] df9b9388f04a: Verifying Checksum [2022-04-10T05:07:41.869Z] df9b9388f04a: Download complete [2022-04-10T05:07:42.128Z] df9b9388f04a: Pull complete [2022-04-10T05:07:42.128Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-10T05:07:42.128Z] Status: Downloaded newer image for alpine:3.15 [2022-04-10T05:07:42.128Z] ---> 0ac33e5f5afa [2022-04-10T05:07:42.128Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-10T05:07:42.128Z] ---> Running in 3656b7f7db39 [2022-04-10T05:07:42.128Z] Removing intermediate container 3656b7f7db39 [2022-04-10T05:07:42.128Z] ---> 27d59de105e4 [2022-04-10T05:07:42.128Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:07:42.389Z] ---> Running in 33ec5d789f7c [2022-04-10T05:07:42.964Z] Removing intermediate container 33ec5d789f7c [2022-04-10T05:07:42.964Z] ---> aae9bb125ba2 [2022-04-10T05:07:42.964Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T05:07:42.964Z] ---> Running in 87613067f1ce [2022-04-10T05:07:43.237Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:07:44.181Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:07:44.442Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-10T05:07:44.442Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T05:07:44.442Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-10T05:07:44.703Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T05:07:44.703Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T05:07:44.703Z] Executing busybox-1.34.1-r5.trigger [2022-04-10T05:07:44.703Z] OK: 8 MiB in 19 packages [2022-04-10T05:07:45.276Z] Removing intermediate container 87613067f1ce [2022-04-10T05:07:45.276Z] ---> cec698f4f0b9 [2022-04-10T05:07:45.276Z] Step 16/25 : WORKDIR / [2022-04-10T05:07:45.276Z] ---> Running in 598cc901f8fe [2022-04-10T05:07:45.276Z] Removing intermediate container 598cc901f8fe [2022-04-10T05:07:45.276Z] ---> 73b7ead0df33 [2022-04-10T05:07:45.276Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-10T05:07:45.537Z] ---> 0bc720efa34c [2022-04-10T05:07:45.537Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-10T05:07:45.537Z] ---> 9b104d287da5 [2022-04-10T05:07:45.537Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-10T05:07:45.798Z] ---> d57a769c9237 [2022-04-10T05:07:45.798Z] Step 20/25 : EXPOSE 59910 [2022-04-10T05:07:45.798Z] ---> Running in bef586335aa0 [2022-04-10T05:07:45.798Z] Removing intermediate container bef586335aa0 [2022-04-10T05:07:45.798Z] ---> 8582b31c6f4b [2022-04-10T05:07:45.798Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-10T05:07:46.059Z] ---> Running in 0478b4688a81 [2022-04-10T05:07:46.059Z] Removing intermediate container 0478b4688a81 [2022-04-10T05:07:46.059Z] ---> 783042c6d989 [2022-04-10T05:07:46.059Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T05:07:46.059Z] ---> Running in a0bae5e98968 [2022-04-10T05:07:46.059Z] Removing intermediate container a0bae5e98968 [2022-04-10T05:07:46.059Z] ---> 9e3a94ad4715 [2022-04-10T05:07:46.059Z] Step 23/25 : LABEL arch=amd64 [2022-04-10T05:07:46.318Z] ---> Running in 05a89cbabe67 [2022-04-10T05:07:46.318Z] Removing intermediate container 05a89cbabe67 [2022-04-10T05:07:46.318Z] ---> 0ab0ab8a50a1 [2022-04-10T05:07:46.318Z] Step 24/25 : LABEL git_sha=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [2022-04-10T05:07:46.318Z] ---> Running in af94b3084efb [2022-04-10T05:07:46.318Z] Removing intermediate container af94b3084efb [2022-04-10T05:07:46.318Z] ---> 35cae5ae16bd [2022-04-10T05:07:46.318Z] Step 25/25 : LABEL version=2.0.0-dev.4 [2022-04-10T05:07:46.578Z] ---> Running in cc5d7bfc8aa8 [2022-04-10T05:07:46.578Z] Removing intermediate container cc5d7bfc8aa8 [2022-04-10T05:07:46.578Z] ---> 67e9961d409d [2022-04-10T05:07:46.578Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-04-10T05:07:46.578Z] Successfully built 67e9961d409d [2022-04-10T05:07:46.578Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:07:46.678Z] provisioning config files... [2022-04-10T05:07:46.687Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9185365952243613201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:07:46.997Z] ---> docker-login.sh [2022-04-10T05:07:46.997Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:07:46.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:46.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:46.997Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:46.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:46.997Z] [2022-04-10T05:07:46.997Z] Login Succeeded [2022-04-10T05:07:46.997Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:07:47.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:47.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:47.257Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:47.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:47.257Z] [2022-04-10T05:07:47.257Z] Login Succeeded [2022-04-10T05:07:47.257Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:07:47.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:47.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:47.257Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:47.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:47.257Z] [2022-04-10T05:07:47.257Z] Login Succeeded [2022-04-10T05:07:47.257Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:07:47.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:47.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:47.517Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:47.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:47.517Z] [2022-04-10T05:07:47.517Z] Login Succeeded [2022-04-10T05:07:47.517Z] docker.io [2022-04-10T05:07:47.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:07:47.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:07:47.778Z] Configure a credential helper to remove this warning. See [2022-04-10T05:07:47.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:07:47.778Z] [2022-04-10T05:07:47.778Z] Login Succeeded [2022-04-10T05:07:48.039Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:07:48.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:07:48.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:07:48.103Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-04-10T05:07:48.103Z] 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [2022-04-10T05:07:48.103Z] latest [2022-04-10T05:07:48.103Z] 2.0.0-dev.4 [2022-04-10T05:07:48.103Z] 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [2022-04-10T05:07:48.103Z] main [2022-04-10T05:07:48.103Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:48.433Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:48.733Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [2022-04-10T05:07:48.733Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-10T05:07:48.733Z] bdeb27e925e7: Preparing [2022-04-10T05:07:48.733Z] 1e592df4fb48: Preparing [2022-04-10T05:07:48.733Z] e503731dedd4: Preparing [2022-04-10T05:07:48.733Z] 6b02ff69fd91: Preparing [2022-04-10T05:07:48.733Z] 651e4741c446: Preparing [2022-04-10T05:07:48.733Z] 4fc242d58285: Preparing [2022-04-10T05:07:48.733Z] 1e592df4fb48: Pushed [2022-04-10T05:07:48.733Z] bdeb27e925e7: Pushed [2022-04-10T05:07:48.733Z] 651e4741c446: Pushed [2022-04-10T05:07:48.733Z] e503731dedd4: Pushed [2022-04-10T05:07:48.733Z] 4fc242d58285: Layer already exists [2022-04-10T05:07:48.993Z] 6b02ff69fd91: Pushed [2022-04-10T05:07:49.256Z] 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:49.557Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:49.849Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-04-10T05:07:49.849Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-10T05:07:49.849Z] bdeb27e925e7: Preparing [2022-04-10T05:07:49.849Z] 1e592df4fb48: Preparing [2022-04-10T05:07:49.849Z] e503731dedd4: Preparing [2022-04-10T05:07:49.849Z] 6b02ff69fd91: Preparing [2022-04-10T05:07:49.849Z] 651e4741c446: Preparing [2022-04-10T05:07:49.849Z] 4fc242d58285: Preparing [2022-04-10T05:07:49.849Z] 4fc242d58285: Waiting [2022-04-10T05:07:49.849Z] bdeb27e925e7: Layer already exists [2022-04-10T05:07:49.850Z] 6b02ff69fd91: Layer already exists [2022-04-10T05:07:49.850Z] 1e592df4fb48: Layer already exists [2022-04-10T05:07:49.850Z] e503731dedd4: Layer already exists [2022-04-10T05:07:49.850Z] 651e4741c446: Layer already exists [2022-04-10T05:07:49.850Z] 4fc242d58285: Layer already exists [2022-04-10T05:07:49.850Z] latest: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:50.150Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:50.443Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.4 [2022-04-10T05:07:50.443Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-10T05:07:50.443Z] bdeb27e925e7: Preparing [2022-04-10T05:07:50.443Z] 1e592df4fb48: Preparing [2022-04-10T05:07:50.443Z] e503731dedd4: Preparing [2022-04-10T05:07:50.443Z] 6b02ff69fd91: Preparing [2022-04-10T05:07:50.443Z] 651e4741c446: Preparing [2022-04-10T05:07:50.443Z] 4fc242d58285: Preparing [2022-04-10T05:07:50.443Z] 4fc242d58285: Waiting [2022-04-10T05:07:50.443Z] 651e4741c446: Layer already exists [2022-04-10T05:07:50.443Z] 6b02ff69fd91: Layer already exists [2022-04-10T05:07:50.443Z] bdeb27e925e7: Layer already exists [2022-04-10T05:07:50.443Z] 1e592df4fb48: Layer already exists [2022-04-10T05:07:50.443Z] e503731dedd4: Layer already exists [2022-04-10T05:07:50.443Z] 4fc242d58285: Layer already exists [2022-04-10T05:07:50.443Z] 2.0.0-dev.4: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:50.742Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:51.037Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [2022-04-10T05:07:51.037Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-10T05:07:51.037Z] bdeb27e925e7: Preparing [2022-04-10T05:07:51.037Z] 1e592df4fb48: Preparing [2022-04-10T05:07:51.037Z] e503731dedd4: Preparing [2022-04-10T05:07:51.037Z] 6b02ff69fd91: Preparing [2022-04-10T05:07:51.037Z] 651e4741c446: Preparing [2022-04-10T05:07:51.037Z] 4fc242d58285: Preparing [2022-04-10T05:07:51.037Z] 4fc242d58285: Waiting [2022-04-10T05:07:51.037Z] 6b02ff69fd91: Layer already exists [2022-04-10T05:07:51.037Z] 1e592df4fb48: Layer already exists [2022-04-10T05:07:51.037Z] 651e4741c446: Layer already exists [2022-04-10T05:07:51.037Z] bdeb27e925e7: Layer already exists [2022-04-10T05:07:51.037Z] e503731dedd4: Layer already exists [2022-04-10T05:07:51.037Z] 4fc242d58285: Layer already exists [2022-04-10T05:07:51.037Z] 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:51.336Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:51.634Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-04-10T05:07:51.634Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-04-10T05:07:51.634Z] bdeb27e925e7: Preparing [2022-04-10T05:07:51.634Z] 1e592df4fb48: Preparing [2022-04-10T05:07:51.634Z] e503731dedd4: Preparing [2022-04-10T05:07:51.634Z] 6b02ff69fd91: Preparing [2022-04-10T05:07:51.634Z] 651e4741c446: Preparing [2022-04-10T05:07:51.634Z] 4fc242d58285: Preparing [2022-04-10T05:07:51.634Z] 4fc242d58285: Waiting [2022-04-10T05:07:51.634Z] e503731dedd4: Layer already exists [2022-04-10T05:07:51.634Z] bdeb27e925e7: Layer already exists [2022-04-10T05:07:51.634Z] 651e4741c446: Layer already exists [2022-04-10T05:07:51.634Z] 1e592df4fb48: Layer already exists [2022-04-10T05:07:51.634Z] 6b02ff69fd91: Layer already exists [2022-04-10T05:07:51.634Z] 4fc242d58285: Layer already exists [2022-04-10T05:07:51.635Z] main: digest: sha256:f69c4f0719120ff500977abe571dabd1bc5ebaf7480efafb0c70ffdfaffa3dde size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:07:51.673Z] ===================================================== [Pipeline] echo [2022-04-10T05:07:51.681Z] taggedImages: [2022-04-10T05:07:51.681Z] - nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [2022-04-10T05:07:51.681Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-04-10T05:07:51.681Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.0.0-dev.4 [2022-04-10T05:07:51.681Z] - nexus3.edgexfoundry.org:10004/device-gpio:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [2022-04-10T05:07:51.681Z] - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [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-10T05:07:52.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:07:52.051Z] [2022-04-10T05:07:52.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:52.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:07:52.356Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T05:07:52.356Z] 5eb5b503b376: Pulling fs layer [2022-04-10T05:07:52.356Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T05:07:52.356Z] ec43610c2a17: Pulling fs layer [2022-04-10T05:07:52.356Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T05:07:52.356Z] 33b1e0a273af: Pulling fs layer [2022-04-10T05:07:52.356Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T05:07:52.356Z] 2f39f015ded8: Pulling fs layer [2022-04-10T05:07:52.356Z] 3a2ae6a8a46f: Waiting [2022-04-10T05:07:52.356Z] 2f39f015ded8: Waiting [2022-04-10T05:07:52.356Z] 5d3b04190fa2: Waiting [2022-04-10T05:07:52.356Z] 33b1e0a273af: Waiting [2022-04-10T05:07:52.356Z] 5c69ac0246d0: Verifying Checksum [2022-04-10T05:07:52.356Z] 5c69ac0246d0: Download complete [2022-04-10T05:07:52.356Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T05:07:52.356Z] 3a2ae6a8a46f: Download complete [2022-04-10T05:07:52.356Z] ec43610c2a17: Verifying Checksum [2022-04-10T05:07:52.356Z] ec43610c2a17: Download complete [2022-04-10T05:07:52.356Z] 33b1e0a273af: Verifying Checksum [2022-04-10T05:07:52.356Z] 33b1e0a273af: Download complete [2022-04-10T05:07:52.356Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T05:07:52.356Z] 5d3b04190fa2: Download complete [2022-04-10T05:07:52.616Z] 5eb5b503b376: Verifying Checksum [2022-04-10T05:07:52.616Z] 5eb5b503b376: Download complete [2022-04-10T05:07:53.186Z] 2f39f015ded8: Download complete [2022-04-10T05:07:54.129Z] 5eb5b503b376: Pull complete [2022-04-10T05:07:54.129Z] 5c69ac0246d0: Pull complete [2022-04-10T05:07:54.700Z] ec43610c2a17: Pull complete [2022-04-10T05:07:54.700Z] 3a2ae6a8a46f: Pull complete [2022-04-10T05:07:54.960Z] 33b1e0a273af: Pull complete [2022-04-10T05:07:54.960Z] 5d3b04190fa2: Pull complete [2022-04-10T05:08:00.243Z] 2f39f015ded8: Pull complete [2022-04-10T05:08:00.243Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T05:08:00.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:08:00.243Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T05:08:00.314Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:08:00.399Z] $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:08:02.486Z] $ docker top 47fd73e9fc4b6df51624d39b80fffd29795800935fbbbb4985c0727ba7fc5b9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:08:02.909Z] ---> job-cost.sh [2022-04-10T05:08:02.909Z] lf-activate-venv: SKIPPING [2022-04-10T05:08:02.909Z] INFO: No Stack... [2022-04-10T05:08:03.169Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:08:03.740Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:08:04.033Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-04-10T05:08:04.033Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:08:04.052Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [2022-04-10T05:08:04.063Z] Resource [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] did not exist. Created. [2022-04-10T05:08:04.063Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:08:04.376Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T05:08:04.409Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:08:04.419Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:08:04.442Z] $ docker stop --time=1 47fd73e9fc4b6df51624d39b80fffd29795800935fbbbb4985c0727ba7fc5b9e [2022-04-10T05:08:05.655Z] $ docker rm -f 47fd73e9fc4b6df51624d39b80fffd29795800935fbbbb4985c0727ba7fc5b9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T05:15:02.524Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11864 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-04-10T05:15:02.535Z] Running in /w/workspace/device-gpio/15 [Pipeline] { [Pipeline] checkout [2022-04-10T05:15:03.026Z] The recommended git tool is: git [2022-04-10T05:15:11.598Z] using credential edgex-jenkins-ssh [2022-04-10T05:15:11.624Z] Cloning the remote Git repository [2022-04-10T05:15:11.722Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-04-10T05:15:11.826Z] > git init /w/workspace/device-gpio/15 # timeout=10 [2022-04-10T05:15:11.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-04-10T05:15:11.951Z] > git --version # timeout=10 [2022-04-10T05:15:12.069Z] > git --version # 'git version 2.25.1' [2022-04-10T05:15:12.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T05:15:12.183Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:15:13.600Z] Avoid second fetch [2022-04-10T05:15:13.601Z] Checking out Revision 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb (main) [2022-04-10T05:15:13.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-04-10T05:15:13.578Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:15:13.631Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T05:15:13.651Z] > git checkout -f 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb # timeout=10 [2022-04-10T05:15:18.209Z] Commit message: "Merge pull request #23 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:15:19.093Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T05:15:19.093Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:15:19.093Z] Dload Upload Total Spent Left Speed [2022-04-10T05:15:19.093Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44690 0 --:--:-- --:--:-- --:--:-- 44690 [Pipeline] sh [2022-04-10T05:15:19.676Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T05:15:20.039Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T05:15:20.039Z] + sudo tee /etc/docker/daemon.new [2022-04-10T05:15:20.039Z] { [2022-04-10T05:15:20.039Z] "registry-mirrors": [ [2022-04-10T05:15:20.039Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T05:15:20.039Z] ], [2022-04-10T05:15:20.039Z] "bip": "10.250.0.254/24", [2022-04-10T05:15:20.039Z] "hosts": [ [2022-04-10T05:15:20.039Z] "tcp://0.0.0.0:5555", [2022-04-10T05:15:20.039Z] "unix:///var/run/docker.sock" [2022-04-10T05:15:20.039Z] ], [2022-04-10T05:15:20.039Z] "mtu": 1458, [2022-04-10T05:15:20.039Z] "selinux-enabled": true, [2022-04-10T05:15:20.039Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T05:15:20.039Z] } [Pipeline] sh [2022-04-10T05:15:20.414Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T05:15:20.764Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:15:39.132Z] provisioning config files... [2022-04-10T05:15:39.160Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/15@tmp/config5500762546037403150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:15:39.541Z] ---> docker-login.sh [2022-04-10T05:15:39.541Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:15:40.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:40.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:40.434Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:40.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:40.434Z] [2022-04-10T05:15:40.434Z] Login Succeeded [2022-04-10T05:15:40.434Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:15:41.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:41.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:41.040Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:41.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:41.040Z] [2022-04-10T05:15:41.040Z] Login Succeeded [2022-04-10T05:15:41.040Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:15:41.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:41.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:41.659Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:41.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:41.659Z] [2022-04-10T05:15:41.659Z] Login Succeeded [2022-04-10T05:15:41.659Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:15:42.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:42.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:42.008Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:42.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:42.008Z] [2022-04-10T05:15:42.008Z] Login Succeeded [2022-04-10T05:15:42.286Z] docker.io [2022-04-10T05:15:42.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:15:43.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:15:43.162Z] Configure a credential helper to remove this warning. See [2022-04-10T05:15:43.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:15:43.162Z] [2022-04-10T05:15:43.162Z] Login Succeeded [2022-04-10T05:15:43.162Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:15:43.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:15:43.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:15:43.698Z] ========================================================= [2022-04-10T05:15:43.698Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T05:15:43.698Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:15:44.050Z] + 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-10T05:15:44.323Z] Sending build context to Docker daemon 5.61MB [2022-04-10T05:15:44.323Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:15:44.323Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-10T05:15:44.603Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T05:15:44.603Z] 9b3977197b4f: Pulling fs layer [2022-04-10T05:15:44.603Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T05:15:44.603Z] 94645a83ff95: Pulling fs layer [2022-04-10T05:15:44.603Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T05:15:44.603Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T05:15:44.603Z] f7c0051592d6: Pulling fs layer [2022-04-10T05:15:44.603Z] a227ed2f7395: Pulling fs layer [2022-04-10T05:15:44.603Z] 7b1c46037f91: Pulling fs layer [2022-04-10T05:15:44.603Z] f7c0051592d6: Waiting [2022-04-10T05:15:44.603Z] a227ed2f7395: Waiting [2022-04-10T05:15:44.603Z] 7b1c46037f91: Waiting [2022-04-10T05:15:44.603Z] 3f3a8bcf1eab: Waiting [2022-04-10T05:15:44.603Z] 0c92f367c5e7: Waiting [2022-04-10T05:15:44.603Z] 94645a83ff95: Verifying Checksum [2022-04-10T05:15:44.603Z] 94645a83ff95: Download complete [2022-04-10T05:15:44.603Z] 1a89e8eeedd5: Verifying Checksum [2022-04-10T05:15:44.603Z] 1a89e8eeedd5: Download complete [2022-04-10T05:15:44.603Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T05:15:44.603Z] 0c92f367c5e7: Download complete [2022-04-10T05:15:44.603Z] f7c0051592d6: Verifying Checksum [2022-04-10T05:15:44.603Z] f7c0051592d6: Download complete [2022-04-10T05:15:44.603Z] 9b3977197b4f: Verifying Checksum [2022-04-10T05:15:44.603Z] 9b3977197b4f: Download complete [2022-04-10T05:15:44.603Z] a227ed2f7395: Verifying Checksum [2022-04-10T05:15:44.603Z] a227ed2f7395: Download complete [2022-04-10T05:15:45.666Z] 9b3977197b4f: Pull complete [2022-04-10T05:15:46.282Z] 1a89e8eeedd5: Pull complete [2022-04-10T05:15:46.282Z] 94645a83ff95: Pull complete [2022-04-10T05:15:46.965Z] 7b1c46037f91: Verifying Checksum [2022-04-10T05:15:46.965Z] 7b1c46037f91: Download complete [2022-04-10T05:15:47.579Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T05:15:47.579Z] 3f3a8bcf1eab: Download complete [2022-04-10T05:15:59.985Z] 3f3a8bcf1eab: Pull complete [2022-04-10T05:15:59.985Z] 0c92f367c5e7: Pull complete [2022-04-10T05:16:00.262Z] f7c0051592d6: Pull complete [2022-04-10T05:16:00.536Z] a227ed2f7395: Pull complete [2022-04-10T05:16:07.255Z] 7b1c46037f91: Pull complete [2022-04-10T05:16:07.255Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T05:16:07.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T05:16:07.255Z] ---> f79e39bc4007 [2022-04-10T05:16:07.255Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:16:08.238Z] ---> Running in 4b51d085c6b3 [2022-04-10T05:16:08.514Z] Removing intermediate container 4b51d085c6b3 [2022-04-10T05:16:08.514Z] ---> a368e9c0d538 [2022-04-10T05:16:08.514Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:16:08.515Z] ---> Running in 84d099d6faab [2022-04-10T05:16:08.803Z] Removing intermediate container 84d099d6faab [2022-04-10T05:16:08.803Z] ---> 57992b7f4861 [2022-04-10T05:16:08.803Z] Step 5/11 : WORKDIR /device-gpio [2022-04-10T05:16:09.080Z] ---> Running in 63df006669a1 [2022-04-10T05:16:09.361Z] Removing intermediate container 63df006669a1 [2022-04-10T05:16:09.362Z] ---> c9abe70c69a2 [2022-04-10T05:16:09.362Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:16:09.362Z] ---> Running in 3b55d9fd9338 [2022-04-10T05:16:11.358Z] Removing intermediate container 3b55d9fd9338 [2022-04-10T05:16:11.358Z] ---> f0e130e56372 [2022-04-10T05:16:11.358Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:16:11.358Z] ---> Running in d6a60ec84aff [2022-04-10T05:16:14.006Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:16:14.999Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:16:15.983Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:16:15.983Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T05:16:16.257Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:16:16.257Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:16:16.535Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:16:16.535Z] OK: 224 MiB in 56 packages [2022-04-10T05:16:17.541Z] Removing intermediate container d6a60ec84aff [2022-04-10T05:16:17.541Z] ---> 8222d9eb4661 [2022-04-10T05:16:17.541Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-10T05:16:18.155Z] ---> c9ac9281f65e [2022-04-10T05:16:18.155Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:16:18.155Z] ---> Running in cebf81bda427 [2022-04-10T05:17:39.988Z] Removing intermediate container cebf81bda427 [2022-04-10T05:17:39.988Z] ---> 6866926643d8 [2022-04-10T05:17:39.988Z] Step 10/11 : COPY . . [2022-04-10T05:17:40.971Z] ---> 5d0e2c1e13d2 [2022-04-10T05:17:40.971Z] Step 11/11 : RUN ${MAKE} [2022-04-10T05:17:40.971Z] ---> Running in a4a4e5db5da2 [2022-04-10T05:17:42.984Z] Removing intermediate container a4a4e5db5da2 [2022-04-10T05:17:42.984Z] ---> 6c6b97c25d1e [2022-04-10T05:17:42.984Z] [Warning] One or more build-args [MAKE] were not consumed [2022-04-10T05:17:42.984Z] Successfully built 6c6b97c25d1e [2022-04-10T05:17:42.984Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:17:43.350Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:17:43.350Z] . [Pipeline] withDockerContainer [2022-04-10T05:17:43.624Z] prd-ubuntu20.04-docker-arm64-4c-16g-11864 does not seem to be running inside a container [2022-04-10T05:17:43.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/15 -v /w/workspace/device-gpio/15:/w/workspace/device-gpio/15:rw,z -v /w/workspace/device-gpio/15@tmp:/w/workspace/device-gpio/15@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 ******** ci-base-image-arm64 cat [2022-04-10T05:17:45.132Z] $ docker top dc6bb4ba5c00bc64a8d494bec114ba13dd7ec855487890fb2f63e0dca56cdda7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:17:46.095Z] + go version [2022-04-10T05:17:46.095Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T05:17:46.128Z] $ docker stop --time=1 dc6bb4ba5c00bc64a8d494bec114ba13dd7ec855487890fb2f63e0dca56cdda7 [2022-04-10T05:17:47.805Z] $ docker rm -f dc6bb4ba5c00bc64a8d494bec114ba13dd7ec855487890fb2f63e0dca56cdda7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:17:48.472Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:17:48.472Z] . [Pipeline] withDockerContainer [2022-04-10T05:17:48.735Z] prd-ubuntu20.04-docker-arm64-4c-16g-11864 does not seem to be running inside a container [2022-04-10T05:17:48.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/15 -v /w/workspace/device-gpio/15:/w/workspace/device-gpio/15:rw,z -v /w/workspace/device-gpio/15@tmp:/w/workspace/device-gpio/15@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 ******** ci-base-image-arm64 cat [2022-04-10T05:17:50.219Z] $ docker top 7407d26687a6a819190bdfbf340da14feb690eb8aab6ab3b95fc71281f0660dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:17:51.169Z] + make test [2022-04-10T05:17:51.169Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-10T05:17:52.617Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-04-10T05:18:49.320Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-04-10T05:18:49.320Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-04-10T05:18:49.320Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T05:18:49.320Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:19:07.660Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:19:07.660Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:19:07.660Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:19:09.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:19:09.137Z] $ docker stop --time=1 7407d26687a6a819190bdfbf340da14feb690eb8aab6ab3b95fc71281f0660dc [2022-04-10T05:19:10.988Z] $ docker rm -f 7407d26687a6a819190bdfbf340da14feb690eb8aab6ab3b95fc71281f0660dc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:19:11.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:19:11.914Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T05:19:12.470Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:19:12.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:19:13.219Z] + ls -al . [2022-04-10T05:19:13.219Z] total 184 [2022-04-10T05:19:13.219Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:19 . [2022-04-10T05:19:13.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:15 .. [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 10 05:15 .dockerignore [2022-04-10T05:19:13.219Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:15 .git [2022-04-10T05:19:13.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 .github [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 10 05:15 .gitignore [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:15 .golangci.yml [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 7772 Apr 10 05:15 Attribution.txt [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 1846 Apr 10 05:15 Dockerfile [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:15 GOVERNANCE.md [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 10 05:15 Jenkinsfile [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:15 LICENSE [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 1876 Apr 10 05:15 Makefile [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 10 05:15 OWNERS.md [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 9578 Apr 10 05:15 README.md [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 10 05:06 VERSION [2022-04-10T05:19:13.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:15 bin [2022-04-10T05:19:13.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 cmd [2022-04-10T05:19:13.219Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 10 05:17 coverage.out [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 2794 Apr 10 05:15 go.mod [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 70652 Apr 10 05:15 go.sum [2022-04-10T05:19:13.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 internal [2022-04-10T05:19:13.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:15 snap [2022-04-10T05:19:13.219Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 05:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:13.572Z] + 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=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb --label arch=arm64 --label version=2.0.0-dev.4 . [2022-04-10T05:19:13.848Z] Sending build context to Docker daemon 5.611MB [2022-04-10T05:19:14.132Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:19:14.132Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-10T05:19:14.132Z] ---> 6c6b97c25d1e [2022-04-10T05:19:14.132Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:19:14.132Z] ---> Running in eb80371fa7fb [2022-04-10T05:19:14.411Z] Removing intermediate container eb80371fa7fb [2022-04-10T05:19:14.411Z] ---> e15e5a307e5c [2022-04-10T05:19:14.411Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:19:14.685Z] ---> Running in 6fed214968f8 [2022-04-10T05:19:14.958Z] Removing intermediate container 6fed214968f8 [2022-04-10T05:19:14.958Z] ---> 11a96914b906 [2022-04-10T05:19:14.958Z] Step 5/25 : WORKDIR /device-gpio [2022-04-10T05:19:14.958Z] ---> Running in 4148600c23c0 [2022-04-10T05:19:15.557Z] Removing intermediate container 4148600c23c0 [2022-04-10T05:19:15.557Z] ---> 5facb1bb4237 [2022-04-10T05:19:15.557Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:19:15.557Z] ---> Running in b20884db968c [2022-04-10T05:19:17.565Z] Removing intermediate container b20884db968c [2022-04-10T05:19:17.565Z] ---> 4c590581e002 [2022-04-10T05:19:17.565Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:19:17.565Z] ---> Running in 4dc723f89205 [2022-04-10T05:19:18.548Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:19:19.150Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:19:20.140Z] OK: 224 MiB in 56 packages [2022-04-10T05:19:21.128Z] Removing intermediate container 4dc723f89205 [2022-04-10T05:19:21.128Z] ---> 9f6e9b7d9c00 [2022-04-10T05:19:21.128Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-10T05:19:21.727Z] ---> 9efffefc0e38 [2022-04-10T05:19:21.727Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:19:21.727Z] ---> Running in 32ba4e8ea05a [2022-04-10T05:19:24.351Z] Removing intermediate container 32ba4e8ea05a [2022-04-10T05:19:24.351Z] ---> 00944c3b4e6a [2022-04-10T05:19:24.351Z] Step 10/25 : COPY . . [2022-04-10T05:19:24.957Z] ---> b957bb20e0e6 [2022-04-10T05:19:24.957Z] Step 11/25 : RUN ${MAKE} [2022-04-10T05:19:24.957Z] ---> Running in bc63b5a27b89 [2022-04-10T05:19:26.396Z] Removing intermediate container bc63b5a27b89 [2022-04-10T05:19:26.396Z] ---> 4a03d541a7e6 [2022-04-10T05:19:26.396Z] Step 12/25 : FROM alpine:3.15 [2022-04-10T05:19:27.376Z] 3.15: Pulling from library/alpine [2022-04-10T05:19:27.376Z] 9981e73032c8: Pulling fs layer [2022-04-10T05:19:27.652Z] 9981e73032c8: Verifying Checksum [2022-04-10T05:19:27.652Z] 9981e73032c8: Download complete [2022-04-10T05:19:28.267Z] 9981e73032c8: Pull complete [2022-04-10T05:19:28.267Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-04-10T05:19:28.267Z] Status: Downloaded newer image for alpine:3.15 [2022-04-10T05:19:28.267Z] ---> 3fb3c9af89a9 [2022-04-10T05:19:28.267Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-04-10T05:19:28.267Z] ---> Running in eeaa0e5260e9 [2022-04-10T05:19:28.877Z] Removing intermediate container eeaa0e5260e9 [2022-04-10T05:19:28.877Z] ---> 26d10ac8b20d [2022-04-10T05:19:28.877Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:19:28.877Z] ---> Running in 01705b2cfb64 [2022-04-10T05:19:30.867Z] Removing intermediate container 01705b2cfb64 [2022-04-10T05:19:30.867Z] ---> bf4aae4aa652 [2022-04-10T05:19:30.867Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-10T05:19:30.867Z] ---> Running in 6fe9d68556d5 [2022-04-10T05:19:31.851Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:19:32.451Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:19:33.434Z] (1/5) Installing libgcc (10.3.1_git20211027-r0) [2022-04-10T05:19:33.708Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-10T05:19:33.708Z] (3/5) Installing libstdc++ (10.3.1_git20211027-r0) [2022-04-10T05:19:33.708Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-10T05:19:33.982Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-10T05:19:33.982Z] Executing busybox-1.34.1-r5.trigger [2022-04-10T05:19:33.982Z] OK: 8 MiB in 19 packages [2022-04-10T05:19:34.972Z] Removing intermediate container 6fe9d68556d5 [2022-04-10T05:19:34.972Z] ---> f3d7c0db2a2b [2022-04-10T05:19:34.972Z] Step 16/25 : WORKDIR / [2022-04-10T05:19:34.972Z] ---> Running in fddf4cbfff05 [2022-04-10T05:19:35.572Z] Removing intermediate container fddf4cbfff05 [2022-04-10T05:19:35.572Z] ---> 7430600e81c8 [2022-04-10T05:19:35.572Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2022-04-10T05:19:36.170Z] ---> cbd751783cba [2022-04-10T05:19:36.170Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2022-04-10T05:19:36.773Z] ---> b4dee7060f0b [2022-04-10T05:19:36.773Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2022-04-10T05:19:37.049Z] ---> b037a8e4b9e4 [2022-04-10T05:19:37.049Z] Step 20/25 : EXPOSE 59910 [2022-04-10T05:19:37.333Z] ---> Running in 15b57f79f4e3 [2022-04-10T05:19:37.608Z] Removing intermediate container 15b57f79f4e3 [2022-04-10T05:19:37.608Z] ---> 17836a7ef1b9 [2022-04-10T05:19:37.608Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2022-04-10T05:19:37.608Z] ---> Running in afd7bc2b5206 [2022-04-10T05:19:37.883Z] Removing intermediate container afd7bc2b5206 [2022-04-10T05:19:37.883Z] ---> d258adcbdc56 [2022-04-10T05:19:37.883Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T05:19:38.161Z] ---> Running in 7ff1d0079deb [2022-04-10T05:19:38.438Z] Removing intermediate container 7ff1d0079deb [2022-04-10T05:19:38.438Z] ---> 3d376862e2d6 [2022-04-10T05:19:38.438Z] Step 23/25 : LABEL arch=arm64 [2022-04-10T05:19:38.438Z] ---> Running in 903571e5bc65 [2022-04-10T05:19:38.712Z] Removing intermediate container 903571e5bc65 [2022-04-10T05:19:38.712Z] ---> adbcce441b69 [2022-04-10T05:19:38.712Z] Step 24/25 : LABEL git_sha=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [2022-04-10T05:19:38.992Z] ---> Running in b4f040a8da09 [2022-04-10T05:19:39.267Z] Removing intermediate container b4f040a8da09 [2022-04-10T05:19:39.267Z] ---> c51ec71ba12f [2022-04-10T05:19:39.267Z] Step 25/25 : LABEL version=2.0.0-dev.4 [2022-04-10T05:19:39.267Z] ---> Running in 22c5d552661f [2022-04-10T05:19:39.866Z] Removing intermediate container 22c5d552661f [2022-04-10T05:19:39.866Z] ---> a82eefddfcfd [2022-04-10T05:19:39.866Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-04-10T05:19:39.866Z] Successfully built a82eefddfcfd [2022-04-10T05:19:39.866Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:19:39.978Z] provisioning config files... [2022-04-10T05:19:39.999Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/15@tmp/config8881900330171691771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:19:40.368Z] ---> docker-login.sh [2022-04-10T05:19:40.368Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:19:40.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:19:40.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:19:40.642Z] Configure a credential helper to remove this warning. See [2022-04-10T05:19:40.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:19:40.642Z] [2022-04-10T05:19:40.642Z] Login Succeeded [2022-04-10T05:19:40.917Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:19:41.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:19:41.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:19:41.192Z] Configure a credential helper to remove this warning. See [2022-04-10T05:19:41.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:19:41.192Z] [2022-04-10T05:19:41.192Z] Login Succeeded [2022-04-10T05:19:41.483Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:19:41.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:19:41.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:19:41.757Z] Configure a credential helper to remove this warning. See [2022-04-10T05:19:41.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:19:41.757Z] [2022-04-10T05:19:41.757Z] Login Succeeded [2022-04-10T05:19:41.757Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:19:42.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:19:42.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:19:42.359Z] Configure a credential helper to remove this warning. See [2022-04-10T05:19:42.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:19:42.359Z] [2022-04-10T05:19:42.359Z] Login Succeeded [2022-04-10T05:19:42.359Z] docker.io [2022-04-10T05:19:42.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:19:43.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:19:43.233Z] Configure a credential helper to remove this warning. See [2022-04-10T05:19:43.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:19:43.233Z] [2022-04-10T05:19:43.233Z] Login Succeeded [2022-04-10T05:19:43.233Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:19:43.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:19:43.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:19:43.310Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-04-10T05:19:43.310Z] 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [2022-04-10T05:19:43.310Z] latest [2022-04-10T05:19:43.310Z] 2.0.0-dev.4 [2022-04-10T05:19:43.310Z] 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [2022-04-10T05:19:43.310Z] main [2022-04-10T05:19:43.310Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:43.686Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:44.032Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [2022-04-10T05:19:44.032Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-10T05:19:44.032Z] dfc9a3c5c230: Preparing [2022-04-10T05:19:44.032Z] a9e23cae1a7c: Preparing [2022-04-10T05:19:44.032Z] fba29261d03b: Preparing [2022-04-10T05:19:44.032Z] 9b4346c2c317: Preparing [2022-04-10T05:19:44.032Z] 38e71ab1792a: Preparing [2022-04-10T05:19:44.032Z] 4f4ce317c6bb: Preparing [2022-04-10T05:19:44.032Z] 4f4ce317c6bb: Waiting [2022-04-10T05:19:44.311Z] fba29261d03b: Pushed [2022-04-10T05:19:44.311Z] a9e23cae1a7c: Pushed [2022-04-10T05:19:44.311Z] 38e71ab1792a: Pushed [2022-04-10T05:19:44.311Z] dfc9a3c5c230: Pushed [2022-04-10T05:19:44.311Z] 4f4ce317c6bb: Layer already exists [2022-04-10T05:19:44.903Z] 9b4346c2c317: Pushed [2022-04-10T05:19:45.174Z] 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:45.525Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:45.868Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-04-10T05:19:45.868Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-10T05:19:45.868Z] dfc9a3c5c230: Preparing [2022-04-10T05:19:45.868Z] a9e23cae1a7c: Preparing [2022-04-10T05:19:45.868Z] fba29261d03b: Preparing [2022-04-10T05:19:45.868Z] 9b4346c2c317: Preparing [2022-04-10T05:19:45.868Z] 38e71ab1792a: Preparing [2022-04-10T05:19:45.868Z] 4f4ce317c6bb: Preparing [2022-04-10T05:19:45.868Z] 4f4ce317c6bb: Waiting [2022-04-10T05:19:45.868Z] a9e23cae1a7c: Layer already exists [2022-04-10T05:19:45.868Z] 38e71ab1792a: Layer already exists [2022-04-10T05:19:45.869Z] dfc9a3c5c230: Layer already exists [2022-04-10T05:19:45.869Z] fba29261d03b: Layer already exists [2022-04-10T05:19:45.869Z] 9b4346c2c317: Layer already exists [2022-04-10T05:19:46.140Z] 4f4ce317c6bb: Layer already exists [2022-04-10T05:19:46.140Z] latest: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:46.492Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:46.836Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.4 [2022-04-10T05:19:46.836Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-10T05:19:46.836Z] dfc9a3c5c230: Preparing [2022-04-10T05:19:46.836Z] a9e23cae1a7c: Preparing [2022-04-10T05:19:46.836Z] fba29261d03b: Preparing [2022-04-10T05:19:46.836Z] 9b4346c2c317: Preparing [2022-04-10T05:19:46.836Z] 38e71ab1792a: Preparing [2022-04-10T05:19:46.836Z] 4f4ce317c6bb: Preparing [2022-04-10T05:19:46.836Z] 4f4ce317c6bb: Waiting [2022-04-10T05:19:46.836Z] a9e23cae1a7c: Layer already exists [2022-04-10T05:19:46.836Z] dfc9a3c5c230: Layer already exists [2022-04-10T05:19:46.836Z] fba29261d03b: Layer already exists [2022-04-10T05:19:46.837Z] 38e71ab1792a: Layer already exists [2022-04-10T05:19:46.837Z] 9b4346c2c317: Layer already exists [2022-04-10T05:19:46.837Z] 4f4ce317c6bb: Layer already exists [2022-04-10T05:19:47.110Z] 2.0.0-dev.4: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:47.463Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:47.811Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [2022-04-10T05:19:47.811Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-10T05:19:47.811Z] dfc9a3c5c230: Preparing [2022-04-10T05:19:47.811Z] a9e23cae1a7c: Preparing [2022-04-10T05:19:47.811Z] fba29261d03b: Preparing [2022-04-10T05:19:47.811Z] 9b4346c2c317: Preparing [2022-04-10T05:19:47.811Z] 38e71ab1792a: Preparing [2022-04-10T05:19:47.811Z] 4f4ce317c6bb: Preparing [2022-04-10T05:19:47.811Z] 4f4ce317c6bb: Waiting [2022-04-10T05:19:47.811Z] 9b4346c2c317: Layer already exists [2022-04-10T05:19:47.811Z] dfc9a3c5c230: Layer already exists [2022-04-10T05:19:47.811Z] fba29261d03b: Layer already exists [2022-04-10T05:19:47.811Z] 38e71ab1792a: Layer already exists [2022-04-10T05:19:47.811Z] a9e23cae1a7c: Layer already exists [2022-04-10T05:19:47.811Z] 4f4ce317c6bb: Layer already exists [2022-04-10T05:19:48.083Z] 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:48.434Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:48.782Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-04-10T05:19:48.782Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-04-10T05:19:48.782Z] dfc9a3c5c230: Preparing [2022-04-10T05:19:48.782Z] a9e23cae1a7c: Preparing [2022-04-10T05:19:48.782Z] fba29261d03b: Preparing [2022-04-10T05:19:48.782Z] 9b4346c2c317: Preparing [2022-04-10T05:19:48.782Z] 38e71ab1792a: Preparing [2022-04-10T05:19:48.782Z] 4f4ce317c6bb: Preparing [2022-04-10T05:19:48.782Z] fba29261d03b: Layer already exists [2022-04-10T05:19:48.782Z] a9e23cae1a7c: Layer already exists [2022-04-10T05:19:48.782Z] dfc9a3c5c230: Layer already exists [2022-04-10T05:19:48.782Z] 38e71ab1792a: Layer already exists [2022-04-10T05:19:48.782Z] 9b4346c2c317: Layer already exists [2022-04-10T05:19:48.782Z] 4f4ce317c6bb: Layer already exists [2022-04-10T05:19:49.056Z] main: digest: sha256:1cbd490095d20ad63e8310d7f285bf977ed1c7a7bd7b7e2651b75019dc02ec6d size: 1569 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:19:49.105Z] ===================================================== [Pipeline] echo [2022-04-10T05:19:49.116Z] taggedImages: [2022-04-10T05:19:49.116Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [2022-04-10T05:19:49.116Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-04-10T05:19:49.116Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.0.0-dev.4 [2022-04-10T05:19:49.116Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb-2.0.0-dev.4 [2022-04-10T05:19:49.116Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:49.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:19:49.496Z] [2022-04-10T05:19:49.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:19:49.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:19:50.131Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T05:19:50.131Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T05:19:50.131Z] 04944245beec: Pulling fs layer [2022-04-10T05:19:50.131Z] 699f458cf7ca: Pulling fs layer [2022-04-10T05:19:50.131Z] 765212b225bb: Pulling fs layer [2022-04-10T05:19:50.131Z] f23df028b6ca: Pulling fs layer [2022-04-10T05:19:50.131Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T05:19:50.131Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T05:19:50.131Z] 765212b225bb: Waiting [2022-04-10T05:19:50.131Z] f23df028b6ca: Waiting [2022-04-10T05:19:50.131Z] d65c8cfc05b1: Waiting [2022-04-10T05:19:50.131Z] 2437ff75d9bd: Waiting [2022-04-10T05:19:50.131Z] 04944245beec: Verifying Checksum [2022-04-10T05:19:50.131Z] 04944245beec: Download complete [2022-04-10T05:19:50.131Z] 765212b225bb: Verifying Checksum [2022-04-10T05:19:50.131Z] 765212b225bb: Download complete [2022-04-10T05:19:50.131Z] f23df028b6ca: Verifying Checksum [2022-04-10T05:19:50.131Z] f23df028b6ca: Download complete [2022-04-10T05:19:50.408Z] d65c8cfc05b1: Download complete [2022-04-10T05:19:50.409Z] 699f458cf7ca: Verifying Checksum [2022-04-10T05:19:50.409Z] 699f458cf7ca: Download complete [2022-04-10T05:19:50.685Z] 8998bd30e6a1: Verifying Checksum [2022-04-10T05:19:50.685Z] 8998bd30e6a1: Download complete [2022-04-10T05:19:53.319Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T05:19:53.319Z] 2437ff75d9bd: Download complete [2022-04-10T05:19:54.760Z] 8998bd30e6a1: Pull complete [2022-04-10T05:19:55.359Z] 04944245beec: Pull complete [2022-04-10T05:19:56.801Z] 699f458cf7ca: Pull complete [2022-04-10T05:19:57.088Z] 765212b225bb: Pull complete [2022-04-10T05:19:58.072Z] f23df028b6ca: Pull complete [2022-04-10T05:19:58.072Z] d65c8cfc05b1: Pull complete [2022-04-10T05:20:13.198Z] 2437ff75d9bd: Pull complete [2022-04-10T05:20:13.199Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T05:20:13.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:20:13.199Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T05:20:13.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-11864 does not seem to be running inside a container [2022-04-10T05:20:13.552Z] $ 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/15 -v /w/workspace/device-gpio/15:/w/workspace/device-gpio/15:rw,z -v /w/workspace/device-gpio/15@tmp:/w/workspace/device-gpio/15@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T05:20:16.330Z] $ docker top ace55746aba56372ff8354f03fefc8a77f90050812b2949f70b98987672a375f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:20:17.273Z] ---> job-cost.sh [2022-04-10T05:20:17.273Z] lf-activate-venv: SKIPPING [2022-04-10T05:20:17.273Z] INFO: No Stack... [2022-04-10T05:20:17.876Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T05:20:18.477Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:20:19.158Z] + cut -d, -f6 [2022-04-10T05:20:19.159Z] + cat /w/workspace/device-gpio/15/archives/cost.csv [Pipeline] lock [2022-04-10T05:20:19.235Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [2022-04-10T05:20:19.243Z] Resource [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] did not exist. Created. [2022-04-10T05:20:19.243Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:20:19.941Z] /w/workspace/device-gpio/15@tmp/durable-b2ab3c53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T05:20:20.650Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T05:20:20.684Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T05:20:20.741Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:20:20.750Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:20:20.773Z] $ docker stop --time=1 ace55746aba56372ff8354f03fefc8a77f90050812b2949f70b98987672a375f [2022-04-10T05:20:22.307Z] $ docker rm -f ace55746aba56372ff8354f03fefc8a77f90050812b2949f70b98987672a375f [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-10T05:20:22.779Z] provisioning config files... [2022-04-10T05:20:22.788Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1916514672050334940tmp [Pipeline] { [Pipeline] sh [2022-04-10T05:20:23.085Z] + set +x [2022-04-10T05:20:23.085Z] + curl -s https://codecov.io/bash [2022-04-10T05:20:23.085Z] + bash -s -- [2022-04-10T05:20:23.085Z] [2022-04-10T05:20:23.085Z] _____ _ [2022-04-10T05:20:23.085Z] / ____| | | [2022-04-10T05:20:23.085Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T05:20:23.085Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T05:20:23.085Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T05:20:23.085Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T05:20:23.085Z] Bash-1.0.6 [2022-04-10T05:20:23.085Z] [2022-04-10T05:20:23.085Z] [2022-04-10T05:20:23.085Z] ==> git version 2.25.1 found [2022-04-10T05:20:23.085Z] ==> 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-10T05:20:23.085Z] Release-Date: 2020-01-08 [2022-04-10T05:20:23.085Z] 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-10T05:20:23.085Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T05:20:23.085Z] ==> Jenkins CI detected. [2022-04-10T05:20:23.085Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-04-10T05:20:23.085Z] project root: . [2022-04-10T05:20:23.085Z] --> token set from env [2022-04-10T05:20:23.085Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T05:20:23.085Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T05:20:23.085Z] ==> Python coveragepy not found [2022-04-10T05:20:23.085Z] ==> Searching for coverage reports in: [2022-04-10T05:20:23.085Z] + . [2022-04-10T05:20:23.085Z] -> Found 1 reports [2022-04-10T05:20:23.085Z] ==> Detecting git/mercurial file structure [2022-04-10T05:20:23.085Z] ==> Reading reports [2022-04-10T05:20:23.085Z] + ./coverage.out bytes=10 [2022-04-10T05:20:23.085Z] ==> Appending adjustments [2022-04-10T05:20:23.085Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T05:20:23.346Z] + Found adjustments [2022-04-10T05:20:23.346Z] ==> Gzipping contents [2022-04-10T05:20:23.346Z] 4.0K /tmp/codecov.y6uYfM.gz [2022-04-10T05:20:23.346Z] ==> Uploading reports [2022-04-10T05:20:23.346Z] url: https://codecov.io [2022-04-10T05:20:23.346Z] query: branch=main&commit=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:20:23.346Z] -> Pinging Codecov [2022-04-10T05:20:23.346Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:20:23.607Z] -> Uploading to [2022-04-10T05:20:23.607Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb/7292562e-3d5a-450b-834e-d228bb58893f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T052023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1d3ac416068239084b64a7ea3621b5e82b3373ddd5855388ffd6fe85eba82846 [2022-04-10T05:20:23.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:20:23.607Z] Dload Upload Total Spent Left Speed [2022-04-10T05:20:23.867Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 816 0 0 100 816 0 2615 --:--:-- --:--:-- --:--:-- 2623 [2022-04-10T05:20:23.867Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] } [2022-04-10T05:20:23.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-10T05:20:24.000Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-10T05:20:24.014Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:20:24.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:20:24.303Z] [2022-04-10T05:20:24.303Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:20:24.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:20:24.600Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-10T05:20:24.600Z] 188c0c94c7c5: Pulling fs layer [2022-04-10T05:20:24.600Z] 0ef7d3d256c8: Pulling fs layer [2022-04-10T05:20:24.600Z] de9db76c5a1d: Pulling fs layer [2022-04-10T05:20:24.600Z] 0eba1c9be4d2: Pulling fs layer [2022-04-10T05:20:24.600Z] 0d57e429df01: Pulling fs layer [2022-04-10T05:20:24.600Z] 4e4be7b47b0d: Pulling fs layer [2022-04-10T05:20:24.600Z] e1f770b5df2f: Pulling fs layer [2022-04-10T05:20:24.600Z] 85a0685a4137: Pulling fs layer [2022-04-10T05:20:24.600Z] 0d57e429df01: Waiting [2022-04-10T05:20:24.600Z] 4e4be7b47b0d: Waiting [2022-04-10T05:20:24.600Z] 85a0685a4137: Waiting [2022-04-10T05:20:24.600Z] e1f770b5df2f: Waiting [2022-04-10T05:20:24.600Z] de9db76c5a1d: Download complete [2022-04-10T05:20:24.600Z] 0ef7d3d256c8: Download complete [2022-04-10T05:20:24.600Z] 0d57e429df01: Download complete [2022-04-10T05:20:24.600Z] 4e4be7b47b0d: Verifying Checksum [2022-04-10T05:20:24.600Z] 4e4be7b47b0d: Download complete [2022-04-10T05:20:24.600Z] 188c0c94c7c5: Verifying Checksum [2022-04-10T05:20:24.600Z] 188c0c94c7c5: Download complete [2022-04-10T05:20:24.862Z] 188c0c94c7c5: Pull complete [2022-04-10T05:20:24.862Z] e1f770b5df2f: Verifying Checksum [2022-04-10T05:20:24.862Z] e1f770b5df2f: Download complete [2022-04-10T05:20:24.862Z] 0ef7d3d256c8: Pull complete [2022-04-10T05:20:25.125Z] de9db76c5a1d: Pull complete [2022-04-10T05:20:25.386Z] 0eba1c9be4d2: Verifying Checksum [2022-04-10T05:20:25.386Z] 0eba1c9be4d2: Download complete [2022-04-10T05:20:25.646Z] 85a0685a4137: Verifying Checksum [2022-04-10T05:20:25.646Z] 85a0685a4137: Download complete [2022-04-10T05:20:28.940Z] 0eba1c9be4d2: Pull complete [2022-04-10T05:20:28.940Z] 0d57e429df01: Pull complete [2022-04-10T05:20:28.940Z] 4e4be7b47b0d: Pull complete [2022-04-10T05:20:29.507Z] e1f770b5df2f: Pull complete [2022-04-10T05:20:32.804Z] 85a0685a4137: Pull complete [2022-04-10T05:20:32.804Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-10T05:20:32.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:20:32.804Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-10T05:20:32.872Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:20:32.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-10T05:20:35.118Z] $ docker top e8267437c8f229179495f1001f1a525b1edbb8cfaaf9e262603914d13148ce35 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-10T05:20:35.194Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-10T05:20:35.477Z] + set -o pipefail [2022-04-10T05:20:35.477Z] + snyk monitor '--org=edgex-jenkins' [2022-04-10T05:20:39.684Z] [2022-04-10T05:20:39.684Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-04-10T05:20:39.684Z] [2022-04-10T05:20:39.684Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/146faa62-a4b3-4f2d-b93b-755e4e5c21c3/history/819404e2-3f27-4048-af44-1a078ae74df4 [2022-04-10T05:20:39.684Z] [2022-04-10T05:20:39.684Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-10T05:20:39.684Z] [2022-04-10T05:20:39.684Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-10T05:20:39.684Z] [2022-04-10T05:20:39.684Z] [Pipeline] } [2022-04-10T05:20:39.698Z] $ docker stop --time=1 e8267437c8f229179495f1001f1a525b1edbb8cfaaf9e262603914d13148ce35 [2022-04-10T05:20:41.489Z] $ docker rm -f e8267437c8f229179495f1001f1a525b1edbb8cfaaf9e262603914d13148ce35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:20:42.165Z] + git log --format=format:%s -1 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb [Pipeline] sh [2022-04-10T05:20:42.464Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:20:42.464Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:20:42.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:20:42.766Z] . [Pipeline] withDockerContainer [2022-04-10T05:20:42.838Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:20:42.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:20:43.298Z] $ docker top f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:20:43.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:20:43.392Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:20:43.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:20:43.526Z] $ docker exec f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 ssh-agent [2022-04-10T05:20:43.641Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKNKKpo/agent.14 [2022-04-10T05:20:43.641Z] SSH_AGENT_PID=21 [2022-04-10T05:20:43.646Z] Running ssh-add (command line suppressed) [2022-04-10T05:20:43.774Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3467081164389172300.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3467081164389172300.key) [2022-04-10T05:20:43.787Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:20:44.085Z] + git semver tag [2022-04-10T05:20:44.085Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:20:44.085Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-10T05:20:44.085Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-10T05:20:44.085Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:20:44.085Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:20:44.085Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:20:44.085Z] # $SEMVER_BRANCH = main [2022-04-10T05:20:44.085Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-04-10T05:20:44.085Z] # 55120c6ab460b1683bd7a5e981e0c3e7e28cc5eb HEAD [2022-04-10T05:20:44.085Z] # -> Force: false [2022-04-10T05:20:44.085Z] # f6333b9b60bba81fdaa0eacc80c2b8f7e39915be refs/tags/v2.0.0-dev.4 [Pipeline] } [2022-04-10T05:20:44.097Z] $ docker exec --env ******** --env ******** f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 ssh-agent -k [2022-04-10T05:20:44.206Z] unset SSH_AUTH_SOCK; [2022-04-10T05:20:44.206Z] unset SSH_AGENT_PID; [2022-04-10T05:20:44.206Z] echo Agent pid 21 killed; [2022-04-10T05:20:44.218Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:20:44.520Z] + git semver [Pipeline] } [2022-04-10T05:20:44.536Z] $ docker stop --time=1 f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 [2022-04-10T05:20:45.866Z] $ docker rm -f f0cabbd67d986b796730a14ae52bd261fd41252d27814621d9ace55073175b84 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:20:46.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:20:46.250Z] [2022-04-10T05:20:46.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:20:46.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:20:46.554Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-10T05:20:46.554Z] ab5ef0e58194: Pulling fs layer [2022-04-10T05:20:46.554Z] 9712f1f96733: Pulling fs layer [2022-04-10T05:20:46.554Z] 63f879dbbcfc: Pulling fs layer [2022-04-10T05:20:46.554Z] 0d9ebad4ef96: Pulling fs layer [2022-04-10T05:20:46.554Z] e9a5061849ea: Pulling fs layer [2022-04-10T05:20:46.555Z] d747dcd14b5f: Pulling fs layer [2022-04-10T05:20:46.555Z] 2de7ff778b66: Pulling fs layer [2022-04-10T05:20:46.555Z] 0d9ebad4ef96: Waiting [2022-04-10T05:20:46.555Z] e9a5061849ea: Waiting [2022-04-10T05:20:46.555Z] d747dcd14b5f: Waiting [2022-04-10T05:20:46.555Z] 2de7ff778b66: Waiting [2022-04-10T05:20:46.555Z] 9712f1f96733: Download complete [2022-04-10T05:20:46.818Z] 63f879dbbcfc: Verifying Checksum [2022-04-10T05:20:46.818Z] 63f879dbbcfc: Download complete [2022-04-10T05:20:47.080Z] e9a5061849ea: Verifying Checksum [2022-04-10T05:20:47.080Z] e9a5061849ea: Download complete [2022-04-10T05:20:47.080Z] ab5ef0e58194: Verifying Checksum [2022-04-10T05:20:47.080Z] ab5ef0e58194: Download complete [2022-04-10T05:20:47.080Z] d747dcd14b5f: Verifying Checksum [2022-04-10T05:20:47.080Z] 0d9ebad4ef96: Verifying Checksum [2022-04-10T05:20:47.080Z] 0d9ebad4ef96: Download complete [2022-04-10T05:20:47.340Z] 2de7ff778b66: Download complete [2022-04-10T05:20:49.916Z] ab5ef0e58194: Pull complete [2022-04-10T05:20:50.175Z] 9712f1f96733: Pull complete [2022-04-10T05:20:51.114Z] 63f879dbbcfc: Pull complete [2022-04-10T05:20:55.310Z] 0d9ebad4ef96: Pull complete [2022-04-10T05:20:55.310Z] e9a5061849ea: Pull complete [2022-04-10T05:20:55.310Z] d747dcd14b5f: Pull complete [2022-04-10T05:20:56.249Z] 2de7ff778b66: Pull complete [2022-04-10T05:20:56.249Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-10T05:20:56.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:20:56.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-10T05:20:56.581Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:20:56.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-10T05:20:58.980Z] $ docker top 28df8416bff9d05e240382bca72bc7e5273802fb636b777853d935370be78fa1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:20:59.068Z] provisioning config files... [2022-04-10T05:20:59.075Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5080213856178341302tmp [2022-04-10T05:20:59.085Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8178518771131465879tmp [2022-04-10T05:20:59.095Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2957240388330522740tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:20:59.110Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:20:59.394Z] ---> sigul-configuration.sh [2022-04-10T05:20:59.394Z] gpg: directory `/root/.gnupg' created [2022-04-10T05:20:59.394Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-10T05:20:59.394Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-10T05:20:59.394Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-10T05:20:59.394Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-10T05:20:59.394Z] gpg: CAST5 encrypted data [2022-04-10T05:20:59.394Z] gpg: encrypted with 1 passphrase [2022-04-10T05:20:59.394Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-10T05:20:59.686Z] + mkdir /home/jenkins [2022-04-10T05:20:59.686Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-10T05:20:59.979Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-04-10T05:20:59.990Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:00.280Z] ---> sigul-install.sh [2022-04-10T05:21:00.280Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-10T05:21:00.573Z] + git tag --list [2022-04-10T05:21:00.573Z] v0.0.0 [2022-04-10T05:21:00.573Z] v1.0.0 [2022-04-10T05:21:00.573Z] v1.0.1-dev.1 [2022-04-10T05:21:00.573Z] v1.0.1-dev.2 [2022-04-10T05:21:00.573Z] v1.0.1-dev.3 [2022-04-10T05:21:00.573Z] v1.0.1-dev.4 [2022-04-10T05:21:00.573Z] v1.0.1-dev.5 [2022-04-10T05:21:00.573Z] v1.0.1-dev.6 [2022-04-10T05:21:00.573Z] v2.0.0-dev.1 [2022-04-10T05:21:00.573Z] v2.0.0-dev.2 [2022-04-10T05:21:00.573Z] v2.0.0-dev.3 [2022-04-10T05:21:00.573Z] v2.0.0-dev.4 [Pipeline] sh [2022-04-10T05:21:00.865Z] + lftools sign git-tag v2.0.0-dev.4 [2022-04-10T05:21:01.435Z] Signing Git tag with Sigul... [2022-04-10T05:21:01.435Z] Signing v2.0.0-dev.4 [Pipeline] echo [2022-04-10T05:21:01.705Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:01.992Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-10T05:21:01.999Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-10T05:21:02.022Z] $ docker stop --time=1 28df8416bff9d05e240382bca72bc7e5273802fb636b777853d935370be78fa1 [2022-04-10T05:21:03.333Z] $ docker rm -f 28df8416bff9d05e240382bca72bc7e5273802fb636b777853d935370be78fa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-10T05:21:03.770Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:21:03.770Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:21:04.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:21:04.066Z] . [Pipeline] withDockerContainer [2022-04-10T05:21:04.133Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:21:04.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:21:04.574Z] $ docker top 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:21:04.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:21:04.672Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:21:04.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:21:04.819Z] $ docker exec 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef ssh-agent [2022-04-10T05:21:04.944Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXagdPEB/agent.15 [2022-04-10T05:21:04.944Z] SSH_AGENT_PID=22 [2022-04-10T05:21:04.950Z] Running ssh-add (command line suppressed) [2022-04-10T05:21:05.071Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7252403575282642233.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7252403575282642233.key) [2022-04-10T05:21:05.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:21:05.373Z] + git semver bump pre [2022-04-10T05:21:05.373Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:21:05.373Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-10T05:21:05.373Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-10T05:21:05.373Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:21:05.373Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:21:05.373Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:21:05.373Z] # $SEMVER_BRANCH = main [2022-04-10T05:21:05.373Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-04-10T05:21:05.373Z] 2.0.0-dev.5 [Pipeline] } [2022-04-10T05:21:05.385Z] $ docker exec --env ******** --env ******** 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef ssh-agent -k [2022-04-10T05:21:05.488Z] unset SSH_AUTH_SOCK; [2022-04-10T05:21:05.488Z] unset SSH_AGENT_PID; [2022-04-10T05:21:05.489Z] echo Agent pid 22 killed; [2022-04-10T05:21:05.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:21:05.821Z] + git semver [Pipeline] } [2022-04-10T05:21:05.835Z] $ docker stop --time=1 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef [2022-04-10T05:21:07.143Z] $ docker rm -f 316dd70f190f434b6c24d870b5395a95c5e6ed06e09115b8237ccb89df2294ef [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:21:07.493Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:21:07.493Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:21:07.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:21:07.789Z] . [Pipeline] withDockerContainer [2022-04-10T05:21:07.860Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:21:07.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:21:08.333Z] $ docker top c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:21:08.433Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:21:08.433Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:21:08.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:21:08.572Z] $ docker exec c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 ssh-agent [2022-04-10T05:21:08.713Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpIcbLJ/agent.15 [2022-04-10T05:21:08.713Z] SSH_AGENT_PID=21 [2022-04-10T05:21:08.719Z] Running ssh-add (command line suppressed) [2022-04-10T05:21:08.846Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8393240052447495041.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8393240052447495041.key) [2022-04-10T05:21:08.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:21:09.156Z] + git semver push [2022-04-10T05:21:09.156Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:21:09.156Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-gpio_main/.git [2022-04-10T05:21:09.157Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-gpio_main [2022-04-10T05:21:09.157Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:21:09.157Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:21:09.157Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:21:09.157Z] # $SEMVER_BRANCH = main [2022-04-10T05:21:09.157Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-gpio_main/.semver [Pipeline] } [2022-04-10T05:21:10.561Z] $ docker exec --env ******** --env ******** c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 ssh-agent -k [2022-04-10T05:21:10.681Z] unset SSH_AUTH_SOCK; [2022-04-10T05:21:10.682Z] unset SSH_AGENT_PID; [2022-04-10T05:21:10.682Z] echo Agent pid 21 killed; [2022-04-10T05:21:10.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:21:11.016Z] + git semver [Pipeline] } [2022-04-10T05:21:11.032Z] $ docker stop --time=1 c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 [2022-04-10T05:21:12.333Z] $ docker rm -f c3b7615042c77ffb1775cc6e30d3ef97dbf93ba31c5cd65f37bdf55b1eb963f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-10T05:21:12.958Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-04-10T05:21:12.959Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-10T05:21:12.959Z] total 16 [2022-04-10T05:21:12.959Z] drwxr-xr-x 3 root root 4096 Apr 10 05:08 . [2022-04-10T05:21:12.959Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:21 .. [2022-04-10T05:21:12.959Z] drwxr-xr-x 2 root root 4096 Apr 10 05:08 cost [2022-04-10T05:21:12.959Z] -rw-r--r-- 1 root root 81 Apr 10 05:08 cost.csv [2022-04-10T05:21:12.959Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-10T05:21:12.959Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-04-10T05:21:12.959Z] total 16 [2022-04-10T05:21:12.959Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:08 . [2022-04-10T05:21:12.959Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:21 .. [2022-04-10T05:21:12.959Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:08 cost [2022-04-10T05:21:12.959Z] -rw-r--r-- 1 jenkins jenkins 81 Apr 10 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:13.260Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:14.274Z] ---> package-listing.sh [2022-04-10T05:21:14.274Z] ++ facter osfamily [2022-04-10T05:21:14.274Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T05:21:14.274Z] + OS_FAMILY=debian [2022-04-10T05:21:14.274Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-04-10T05:21:14.274Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T05:21:14.274Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T05:21:14.274Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T05:21:14.274Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T05:21:14.274Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-04-10T05:21:14.274Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T05:21:14.274Z] + case "${OS_FAMILY}" in [2022-04-10T05:21:14.274Z] + dpkg -l [2022-04-10T05:21:14.274Z] + grep '^ii' [2022-04-10T05:21:14.274Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T05:21:14.274Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T05:21:14.274Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T05:21:14.274Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-04-10T05:21:14.274Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-04-10T05:21:14.274Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2022-04-10T05:21:14.286Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-10T05:21:14.566Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:21:15.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:21:15.121Z] . [Pipeline] withDockerContainer [2022-04-10T05:21:15.191Z] prd-ubuntu20.04-docker-8c-8g-11760 does not seem to be running inside a container [2022-04-10T05:21:15.228Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:21:15.492Z] $ docker top 7fac867397c65c03c17ec88fba6a9381fd671d953bde83d6236809a776fb0e00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:21:15.860Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T05:21:16.151Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T05:21:16.448Z] + ls /var/log/sa-host [2022-04-10T05:21:16.448Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:21:16.531Z] provisioning config files... [2022-04-10T05:21:16.539Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1667307587804640567tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:21:16.557Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:16.849Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T05:21:16.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:17.185Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T05:21:17.194Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:17.483Z] ---> sudo-logs.sh [2022-04-10T05:21:17.483Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T05:21:17.506Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:17.800Z] ---> job-cost.sh [2022-04-10T05:21:17.801Z] lf-activate-venv: SKIPPING [2022-04-10T05:21:17.801Z] DEBUG: total: 0.2199999988079071 [2022-04-10T05:21:17.801Z] INFO: Retrieving Stack Cost... [2022-04-10T05:21:18.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:21:18.943Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T05:21:18.959Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:21:19.250Z] ---> logs-deploy.sh [2022-04-10T05:21:19.250Z] lf-activate-venv: SKIPPING [2022-04-10T05:21:19.250Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/15 [2022-04-10T05:21:19.250Z] INFO: archiving workspace using pattern(s): [2022-04-10T05:21:20.193Z] Archives upload complete. [2022-04-10T05:21:20.193Z] INFO: archiving logs to Nexus