Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 07860bbab13f2ff928825cd544dbeda419b1d542 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-ssh11839155806655547705.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7869204001596286054.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11315297726022669064.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh2020037061241655338.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13670454504740437689.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2429’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-2430’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-2747’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2749 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 07860bbab13f2ff928825cd544dbeda419b1d542 (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 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#79)" > git rev-list --no-walk d2ab44b8cbb16e2983b1bff117f9b859b4657c3d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-17T17:32:52.008Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-17T17:32:52.132Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-17T17:32:52.148Z] ========================================================= [2023-01-17T17:32:52.148Z] EdgeX Global Pipelines Version Info [2023-01-17T17:32:52.148Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:32:52.861Z] ------------------- [2023-01-17T17:32:52.861Z] stable info: [2023-01-17T17:32:52.861Z] ------------------- [2023-01-17T17:32:52.861Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-17T17:32:52.861Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:32:52.861Z] Message: update stable to v1.0.244 [2023-01-17T17:32:53.431Z] ------------------- [2023-01-17T17:32:53.431Z] experimental info: [2023-01-17T17:32:53.431Z] ------------------- [2023-01-17T17:32:53.431Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-17T17:32:53.431Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T17:32:53.431Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-17T17:32:53.576Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-01-17T17:32:53.585Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-01-17T17:32:53.595Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-17T17:32:53.605Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-17T17:32:53.616Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-17T17:32:53.633Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-17T17:32:53.648Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-17T17:32:53.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-17T17:32:53.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-17T17:32:53.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-17T17:32:53.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-17T17:32:53.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-01-17T17:32:53.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-17T17:32:53.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-17T17:32:53.721Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:32:53.729Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T17:32:53.738Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:32:53.755Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T17:32:53.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-17T17:32:53.776Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-17T17:32:53.788Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-17T17:32:53.800Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-17T17:32:53.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-17T17:32:53.825Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-17T17:32:53.836Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-17T17:32:53.847Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-17T17:32:53.864Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-17T17:32:53.875Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-17T17:32:53.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-17T17:32:53.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-17T17:32:53.913Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07860bbab13f2ff928825cd544dbeda419b1d542 [Pipeline] echo [2023-01-17T17:32:53.926Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07860bb [Pipeline] echo [2023-01-17T17:32:53.934Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:32:53.980Z] provisioning config files... [2023-01-17T17:32:53.996Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9260942298890325669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:32:54.297Z] ---> docker-login.sh [2023-01-17T17:32:54.297Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:32:54.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:54.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:54.562Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:54.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:54.562Z] [2023-01-17T17:32:54.562Z] Login Succeeded [2023-01-17T17:32:54.562Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:32:54.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:54.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:54.562Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:54.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:54.562Z] [2023-01-17T17:32:54.562Z] Login Succeeded [2023-01-17T17:32:54.562Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:32:54.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:54.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:54.822Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:54.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:54.822Z] [2023-01-17T17:32:54.822Z] Login Succeeded [2023-01-17T17:32:54.822Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:32:54.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:54.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:54.822Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:54.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:54.822Z] [2023-01-17T17:32:54.822Z] Login Succeeded [2023-01-17T17:32:54.822Z] docker.io [2023-01-17T17:32:55.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:32:55.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:32:55.080Z] Configure a credential helper to remove this warning. See [2023-01-17T17:32:55.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:32:55.080Z] [2023-01-17T17:32:55.080Z] Login Succeeded [2023-01-17T17:32:55.080Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:32:55.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-17T17:32:55.452Z] + git rev-list -1 --merges 07860bbab13f2ff928825cd544dbeda419b1d542~1..07860bbab13f2ff928825cd544dbeda419b1d542 [Pipeline] echo [2023-01-17T17:32:55.508Z] -----------> git rev-list -1 --merges 07860bbab13f2ff928825cd544dbeda419b1d542~1..07860bbab13f2ff928825cd544dbeda419b1d542 07860bbab13f2ff928825cd544dbeda419b1d542 [false] [Pipeline] sh [2023-01-17T17:32:55.796Z] + git log --format=format:%s -1 07860bbab13f2ff928825cd544dbeda419b1d542 [Pipeline] echo [2023-01-17T17:32:55.811Z] ========================================================= [2023-01-17T17:32:55.811Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-17T17:32:55.811Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:32:56.130Z] + git log --format=format:%s -1 07860bbab13f2ff928825cd544dbeda419b1d542 [Pipeline] echo [2023-01-17T17:32:56.165Z] [semverPrep] GIT_COMMIT: 07860bbab13f2ff928825cd544dbeda419b1d542, Commit Message: refactor(snap)!: Drop the support for legacy snap env options (#79) [Pipeline] echo [2023-01-17T17:32:56.181Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-17T17:32:56.516Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:32:56.516Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-17T17:32:56.516Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-17T17:32:56.516Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-17T17:32:56.516Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-17T17:32:56.516Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-17T17:32:56.516Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:32:56.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:32:56.857Z] [2023-01-17T17:32:56.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:32:57.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:32:57.161Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-17T17:32:57.161Z] b85a868b505f: Pulling fs layer [2023-01-17T17:32:57.161Z] e2be974225ed: Pulling fs layer [2023-01-17T17:32:57.161Z] 339a4e72a1f5: Pulling fs layer [2023-01-17T17:32:57.161Z] 988bab9f4d93: Pulling fs layer [2023-01-17T17:32:57.161Z] 1469e6f7b9e6: Pulling fs layer [2023-01-17T17:32:57.161Z] eaf3925da568: Pulling fs layer [2023-01-17T17:32:57.161Z] bab4dde63d76: Pulling fs layer [2023-01-17T17:32:57.161Z] bde34c3a00c8: Pulling fs layer [2023-01-17T17:32:57.161Z] b352a97aabf1: Pulling fs layer [2023-01-17T17:32:57.161Z] 4872d77fe225: Pulling fs layer [2023-01-17T17:32:57.161Z] 5851b861e8e6: Pulling fs layer [2023-01-17T17:32:57.161Z] 988bab9f4d93: Waiting [2023-01-17T17:32:57.161Z] 1469e6f7b9e6: Waiting [2023-01-17T17:32:57.161Z] eaf3925da568: Waiting [2023-01-17T17:32:57.161Z] bab4dde63d76: Waiting [2023-01-17T17:32:57.161Z] bde34c3a00c8: Waiting [2023-01-17T17:32:57.161Z] 4872d77fe225: Waiting [2023-01-17T17:32:57.161Z] b352a97aabf1: Waiting [2023-01-17T17:32:57.161Z] 5851b861e8e6: Waiting [2023-01-17T17:32:57.161Z] e2be974225ed: Download complete [2023-01-17T17:32:57.161Z] 988bab9f4d93: Verifying Checksum [2023-01-17T17:32:57.161Z] 988bab9f4d93: Download complete [2023-01-17T17:32:57.424Z] 1469e6f7b9e6: Verifying Checksum [2023-01-17T17:32:57.424Z] 1469e6f7b9e6: Download complete [2023-01-17T17:32:57.424Z] 339a4e72a1f5: Verifying Checksum [2023-01-17T17:32:57.424Z] 339a4e72a1f5: Download complete [2023-01-17T17:32:57.424Z] eaf3925da568: Verifying Checksum [2023-01-17T17:32:57.424Z] eaf3925da568: Download complete [2023-01-17T17:32:57.424Z] bde34c3a00c8: Verifying Checksum [2023-01-17T17:32:57.424Z] bde34c3a00c8: Download complete [2023-01-17T17:32:57.683Z] b352a97aabf1: Verifying Checksum [2023-01-17T17:32:57.683Z] b352a97aabf1: Download complete [2023-01-17T17:32:57.683Z] 4872d77fe225: Download complete [2023-01-17T17:32:57.683Z] 5851b861e8e6: Verifying Checksum [2023-01-17T17:32:57.683Z] 5851b861e8e6: Download complete [2023-01-17T17:32:57.942Z] b85a868b505f: Verifying Checksum [2023-01-17T17:32:57.942Z] b85a868b505f: Download complete [2023-01-17T17:32:57.942Z] bab4dde63d76: Verifying Checksum [2023-01-17T17:32:57.942Z] bab4dde63d76: Download complete [2023-01-17T17:32:59.321Z] b85a868b505f: Pull complete [2023-01-17T17:32:59.321Z] e2be974225ed: Pull complete [2023-01-17T17:32:59.888Z] 339a4e72a1f5: Pull complete [2023-01-17T17:32:59.888Z] 988bab9f4d93: Pull complete [2023-01-17T17:33:00.147Z] 1469e6f7b9e6: Pull complete [2023-01-17T17:33:00.147Z] eaf3925da568: Pull complete [2023-01-17T17:33:02.068Z] bab4dde63d76: Pull complete [2023-01-17T17:33:02.330Z] bde34c3a00c8: Pull complete [2023-01-17T17:33:02.330Z] b352a97aabf1: Pull complete [2023-01-17T17:33:02.330Z] 4872d77fe225: Pull complete [2023-01-17T17:33:02.590Z] 5851b861e8e6: Pull complete [2023-01-17T17:33:02.590Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-17T17:33:02.590Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:33:02.590Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:33:02.691Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:33:02.729Z] $ 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:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T17:33:04.216Z] $ docker top 29323ca450781c002b888b2b19d4c00c0d2da66d236383f7f445e4b83e936699 -eo pid,comm [2023-01-17T17:33:04.276Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-17T17:33:04.276Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:33:04.310Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:33:04.310Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:33:04.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:33:04.450Z] $ docker exec 29323ca450781c002b888b2b19d4c00c0d2da66d236383f7f445e4b83e936699 ssh-agent [2023-01-17T17:33:04.551Z] SSH_AUTH_SOCK=/tmp/ssh-bukDaneOFRnj/agent.32 [2023-01-17T17:33:04.551Z] SSH_AGENT_PID=38 [2023-01-17T17:33:04.558Z] Running ssh-add (command line suppressed) [2023-01-17T17:33:04.673Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13219956783163689873.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13219956783163689873.key) [2023-01-17T17:33:04.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:33:04.976Z] + git tag --points-at HEAD [Pipeline] } [2023-01-17T17:33:04.990Z] $ docker exec --env ******** --env ******** 29323ca450781c002b888b2b19d4c00c0d2da66d236383f7f445e4b83e936699 ssh-agent -k [2023-01-17T17:33:05.109Z] unset SSH_AUTH_SOCK; [2023-01-17T17:33:05.109Z] unset SSH_AGENT_PID; [2023-01-17T17:33:05.109Z] echo Agent pid 38 killed; [2023-01-17T17:33:05.120Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-17T17:33:05.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:33:05.149Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:33:05.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:33:05.275Z] $ docker exec 29323ca450781c002b888b2b19d4c00c0d2da66d236383f7f445e4b83e936699 ssh-agent [2023-01-17T17:33:05.380Z] SSH_AUTH_SOCK=/tmp/ssh-urASElIlfgpo/agent.70 [2023-01-17T17:33:05.380Z] SSH_AGENT_PID=76 [2023-01-17T17:33:05.386Z] Running ssh-add (command line suppressed) [2023-01-17T17:33:05.492Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16830866131973815694.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16830866131973815694.key) [2023-01-17T17:33:05.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:33:05.794Z] + git semver init [2023-01-17T17:33:06.054Z] 2023-01-17 17:33:05,987 [run_init] DEBUG init version:0.0.0 force:False [2023-01-17T17:33:06.054Z] 2023-01-17 17:33:05,988 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-01-17T17:33:06.054Z] 2023-01-17 17:33:05,988 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-01-17T17:33:06.054Z] 2023-01-17 17:33:05,989 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:33:06.990Z] 2023-01-17 17:33:06,966 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-01-17T17:33:06.990Z] 2023-01-17 17:33:06,966 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-01-17T17:33:06.990Z] 2023-01-17 17:33:06,967 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-17T17:33:06.990Z] 2023-01-17 17:33:06,967 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-17T17:33:06.990Z] 3.0.0-dev.6 [Pipeline] } [2023-01-17T17:33:06.999Z] $ docker exec --env ******** --env ******** 29323ca450781c002b888b2b19d4c00c0d2da66d236383f7f445e4b83e936699 ssh-agent -k [2023-01-17T17:33:07.104Z] unset SSH_AUTH_SOCK; [2023-01-17T17:33:07.104Z] unset SSH_AGENT_PID; [2023-01-17T17:33:07.104Z] echo Agent pid 76 killed; [2023-01-17T17:33:07.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:33:07.419Z] + git semver [Pipeline] } [2023-01-17T17:33:07.691Z] $ docker stop --time=1 29323ca450781c002b888b2b19d4c00c0d2da66d236383f7f445e4b83e936699 [2023-01-17T17:33:09.061Z] $ docker rm -f --volumes 29323ca450781c002b888b2b19d4c00c0d2da66d236383f7f445e4b83e936699 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:33:09.406Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-17T17:33:09.626Z] Stashed 1 file(s) [Pipeline] echo [2023-01-17T17:33:09.630Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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 [2023-01-17T17:33:09.801Z] provisioning config files... [2023-01-17T17:33:09.811Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5127739331198539417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:33:10.107Z] ---> docker-login.sh [2023-01-17T17:33:10.107Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:33:10.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:10.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:10.107Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:10.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:10.107Z] [2023-01-17T17:33:10.107Z] Login Succeeded [2023-01-17T17:33:10.107Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:33:10.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:10.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:10.107Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:10.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:10.107Z] [2023-01-17T17:33:10.107Z] Login Succeeded [2023-01-17T17:33:10.367Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:33:10.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:10.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:10.367Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:10.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:10.367Z] [2023-01-17T17:33:10.367Z] Login Succeeded [2023-01-17T17:33:10.367Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:33:10.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:10.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:10.626Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:10.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:10.626Z] [2023-01-17T17:33:10.626Z] Login Succeeded [2023-01-17T17:33:10.626Z] docker.io [2023-01-17T17:33:10.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:33:10.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:33:10.886Z] Configure a credential helper to remove this warning. See [2023-01-17T17:33:10.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:33:10.886Z] [2023-01-17T17:33:10.886Z] Login Succeeded [2023-01-17T17:33:10.886Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:33:10.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:33:10.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:33:10.974Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:33:10.992Z] ========================================================= [2023-01-17T17:33:10.992Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-17T17:33:10.992Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:11.302Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-17T17:33:11.302Z] Sending build context to Docker daemon 15.95MB [2023-01-17T17:33:11.302Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:33:11.302Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-17T17:33:11.302Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-17T17:33:11.302Z] 213ec9aee27d: Pulling fs layer [2023-01-17T17:33:11.302Z] 4583459ba037: Pulling fs layer [2023-01-17T17:33:11.302Z] 93c1e223e6f2: Pulling fs layer [2023-01-17T17:33:11.302Z] 53926ce57604: Pulling fs layer [2023-01-17T17:33:11.302Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-17T17:33:11.302Z] 22ff95d597cd: Pulling fs layer [2023-01-17T17:33:11.302Z] 12d6caf4c0d1: Pulling fs layer [2023-01-17T17:33:11.302Z] 96b7cbca73a9: Pulling fs layer [2023-01-17T17:33:11.302Z] a7acece74701: Pulling fs layer [2023-01-17T17:33:11.302Z] 53926ce57604: Waiting [2023-01-17T17:33:11.302Z] 21b2b0c7a3f4: Waiting [2023-01-17T17:33:11.302Z] a7acece74701: Waiting [2023-01-17T17:33:11.302Z] 22ff95d597cd: Waiting [2023-01-17T17:33:11.302Z] 96b7cbca73a9: Waiting [2023-01-17T17:33:11.302Z] 12d6caf4c0d1: Waiting [2023-01-17T17:33:11.574Z] 93c1e223e6f2: Download complete [2023-01-17T17:33:11.574Z] 4583459ba037: Download complete [2023-01-17T17:33:11.574Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-17T17:33:11.574Z] 21b2b0c7a3f4: Download complete [2023-01-17T17:33:11.574Z] 22ff95d597cd: Download complete [2023-01-17T17:33:11.574Z] 213ec9aee27d: Download complete [2023-01-17T17:33:11.574Z] 12d6caf4c0d1: Verifying Checksum [2023-01-17T17:33:11.574Z] 12d6caf4c0d1: Download complete [2023-01-17T17:33:11.840Z] 213ec9aee27d: Pull complete [2023-01-17T17:33:11.840Z] 4583459ba037: Pull complete [2023-01-17T17:33:12.116Z] 93c1e223e6f2: Pull complete [2023-01-17T17:33:12.402Z] a7acece74701: Download complete [2023-01-17T17:33:12.666Z] 53926ce57604: Verifying Checksum [2023-01-17T17:33:12.666Z] 53926ce57604: Download complete [2023-01-17T17:33:12.927Z] 96b7cbca73a9: Verifying Checksum [2023-01-17T17:33:12.927Z] 96b7cbca73a9: Download complete [2023-01-17T17:33:17.114Z] 53926ce57604: Pull complete [2023-01-17T17:33:17.114Z] 21b2b0c7a3f4: Pull complete [2023-01-17T17:33:17.114Z] 22ff95d597cd: Pull complete [2023-01-17T17:33:17.114Z] 12d6caf4c0d1: Pull complete [2023-01-17T17:33:19.646Z] 96b7cbca73a9: Pull complete [2023-01-17T17:33:19.906Z] a7acece74701: Pull complete [2023-01-17T17:33:19.906Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-17T17:33:19.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T17:33:19.906Z] ---> db6d94c90886 [2023-01-17T17:33:19.906Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:33:21.809Z] ---> Running in 0c93b7f432ff [2023-01-17T17:33:21.809Z] Removing intermediate container 0c93b7f432ff [2023-01-17T17:33:21.809Z] ---> f36ba9dc563f [2023-01-17T17:33:21.809Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:33:21.809Z] ---> Running in a945628fcde9 [2023-01-17T17:33:21.809Z] Removing intermediate container a945628fcde9 [2023-01-17T17:33:21.809Z] ---> 4a237156d8fc [2023-01-17T17:33:21.809Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-17T17:33:22.069Z] ---> Running in 66036210c703 [2023-01-17T17:33:22.069Z] Removing intermediate container 66036210c703 [2023-01-17T17:33:22.069Z] ---> aeed759f37a9 [2023-01-17T17:33:22.069Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:33:22.070Z] ---> Running in 86a3de86578e [2023-01-17T17:33:22.328Z] Removing intermediate container 86a3de86578e [2023-01-17T17:33:22.328Z] ---> 89cfa8ab02f8 [2023-01-17T17:33:22.328Z] Step 7/12 : WORKDIR /device-gpio [2023-01-17T17:33:22.328Z] ---> Running in a0b6c1296026 [2023-01-17T17:33:22.328Z] Removing intermediate container a0b6c1296026 [2023-01-17T17:33:22.328Z] ---> 553ac3b9723d [2023-01-17T17:33:22.328Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:33:22.328Z] ---> Running in ad9d64ce793b [2023-01-17T17:33:22.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:33:22.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:33:23.160Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-17T17:33:23.160Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-17T17:33:23.160Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-17T17:33:23.160Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-17T17:33:23.160Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:33:23.160Z] OK: 216 MiB in 55 packages [2023-01-17T17:33:23.729Z] Removing intermediate container ad9d64ce793b [2023-01-17T17:33:23.729Z] ---> 2bf0b9554103 [2023-01-17T17:33:23.729Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-17T17:33:23.989Z] ---> aae8679fa5ca [2023-01-17T17:33:23.989Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:33:23.989Z] ---> Running in 4d5ed0912e72 [2023-01-17T17:33:24.757Z] Still waiting to schedule task [2023-01-17T17:33:24.757Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2745’ [2023-01-17T17:33:45.950Z] Removing intermediate container 4d5ed0912e72 [2023-01-17T17:33:45.950Z] ---> 7fd7b57fad07 [2023-01-17T17:33:45.950Z] Step 11/12 : COPY . . [2023-01-17T17:33:45.950Z] ---> 597bc1348524 [2023-01-17T17:33:45.950Z] Step 12/12 : RUN ${MAKE} [2023-01-17T17:33:45.950Z] ---> Running in 34c27d13925a [2023-01-17T17:33:45.950Z] noop [2023-01-17T17:33:45.950Z] Removing intermediate container 34c27d13925a [2023-01-17T17:33:45.950Z] ---> 338eb0677830 [2023-01-17T17:33:45.950Z] Successfully built 338eb0677830 [2023-01-17T17:33:45.950Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:46.267Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:33:46.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:33:46.338Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:33:46.359Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-17T17:33:46.763Z] $ docker top 87288c042fe8dec4d3e9b6fe2fb92971c1a91e0430ca61c79731e91c9a6b0ce4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:33:47.111Z] + go version [2023-01-17T17:33:47.111Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-17T17:33:47.114Z] $ docker stop --time=1 87288c042fe8dec4d3e9b6fe2fb92971c1a91e0430ca61c79731e91c9a6b0ce4 [2023-01-17T17:33:48.453Z] $ docker rm -f --volumes 87288c042fe8dec4d3e9b6fe2fb92971c1a91e0430ca61c79731e91c9a6b0ce4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:33:48.869Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T17:33:48.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:33:48.947Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:33:48.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-17T17:33:49.352Z] $ docker top 865415ee37d47cdc468376a00edf822eba087aab2debb4f48be0795211c06ef6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:33:49.712Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:33:50.008Z] + make test [2023-01-17T17:33:50.008Z] go test ./... -coverprofile=coverage.out ./... [2023-01-17T17:33:50.267Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-17T17:34:00.244Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-17T17:34:00.244Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-17T17:34:04.431Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-17T17:34:04.431Z] go vet ./... [2023-01-17T17:34:08.612Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:34:08.612Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:34:08.612Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:34:08.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:34:08.630Z] $ docker stop --time=1 865415ee37d47cdc468376a00edf822eba087aab2debb4f48be0795211c06ef6 [2023-01-17T17:34:10.498Z] $ docker rm -f --volumes 865415ee37d47cdc468376a00edf822eba087aab2debb4f48be0795211c06ef6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:34:10.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:34:10.971Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-17T17:34:11.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:34:11.677Z] + ls -al . [2023-01-17T17:34:11.677Z] total 168 [2023-01-17T17:34:11.677Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 17:33 . [2023-01-17T17:34:11.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:32 .. [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 17 17:32 .dockerignore [2023-01-17T17:34:11.677Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:33 .git [2023-01-17T17:34:11.677Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 .github [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 17 17:32 .gitignore [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:32 .golangci.yml [2023-01-17T17:34:11.677Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:33 .semver [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 17 17:32 Attribution.txt [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 17 17:32 CHANGELOG.md [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 17 17:32 Dockerfile [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:32 GOVERNANCE.md [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 17 17:32 Jenkinsfile [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:32 LICENSE [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 17 17:32 Makefile [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 17 17:32 OWNERS.md [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 17 17:32 README.md [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:33 VERSION [2023-01-17T17:34:11.677Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:32 bin [2023-01-17T17:34:11.677Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 cmd [2023-01-17T17:34:11.677Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 17 17:33 coverage.out [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 17 17:32 go.mod [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 17 17:32 go.sum [2023-01-17T17:34:11.677Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:32 internal [2023-01-17T17:34:11.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:32 snap [2023-01-17T17:34:11.677Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 17 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:11.979Z] + 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=07860bbab13f2ff928825cd544dbeda419b1d542 --label arch=amd64 --label version=3.0.0-dev.6 . [2023-01-17T17:34:11.979Z] Sending build context to Docker daemon 15.96MB [2023-01-17T17:34:11.979Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:34:11.979Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-17T17:34:11.979Z] ---> 338eb0677830 [2023-01-17T17:34:11.979Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:34:12.236Z] ---> Running in badef46f960a [2023-01-17T17:34:12.236Z] Removing intermediate container badef46f960a [2023-01-17T17:34:12.236Z] ---> d6f1ce185b91 [2023-01-17T17:34:12.236Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:34:12.236Z] ---> Running in ffea84907e60 [2023-01-17T17:34:12.236Z] Removing intermediate container ffea84907e60 [2023-01-17T17:34:12.236Z] ---> a81ca2997de7 [2023-01-17T17:34:12.236Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-17T17:34:12.495Z] ---> Running in ffe99534ec07 [2023-01-17T17:34:12.495Z] Removing intermediate container ffe99534ec07 [2023-01-17T17:34:12.495Z] ---> 0e50352d8721 [2023-01-17T17:34:12.495Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:34:12.495Z] ---> Running in 018ae10848c9 [2023-01-17T17:34:12.753Z] Removing intermediate container 018ae10848c9 [2023-01-17T17:34:12.753Z] ---> 46a6b9bd658f [2023-01-17T17:34:12.753Z] Step 7/25 : WORKDIR /device-gpio [2023-01-17T17:34:12.753Z] ---> Running in e506eb23d6f6 [2023-01-17T17:34:12.753Z] Removing intermediate container e506eb23d6f6 [2023-01-17T17:34:12.753Z] ---> 2459732cc819 [2023-01-17T17:34:12.753Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:34:12.753Z] ---> Running in 7df0efbbb087 [2023-01-17T17:34:13.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:34:13.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:34:13.533Z] OK: 216 MiB in 55 packages [2023-01-17T17:34:13.793Z] Removing intermediate container 7df0efbbb087 [2023-01-17T17:34:13.793Z] ---> aafe59354d2f [2023-01-17T17:34:13.793Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-17T17:34:14.051Z] ---> 255587800c8d [2023-01-17T17:34:14.051Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:34:14.051Z] ---> Running in a155c8cc4184 [2023-01-17T17:34:14.617Z] Removing intermediate container a155c8cc4184 [2023-01-17T17:34:14.617Z] ---> bc93c833e0df [2023-01-17T17:34:14.617Z] Step 11/25 : COPY . . [2023-01-17T17:34:15.187Z] ---> 3d349a718d35 [2023-01-17T17:34:15.187Z] Step 12/25 : RUN ${MAKE} [2023-01-17T17:34:15.187Z] ---> Running in 6f4555f9fc2a [2023-01-17T17:34:15.444Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-17T17:34:30.338Z] Removing intermediate container 6f4555f9fc2a [2023-01-17T17:34:30.338Z] ---> d18e1e03ae18 [2023-01-17T17:34:30.338Z] Step 13/25 : FROM alpine:3.16 [2023-01-17T17:34:30.338Z] 3.16: Pulling from library/alpine [2023-01-17T17:34:30.338Z] ca7dd9ec2225: Pulling fs layer [2023-01-17T17:34:30.338Z] ca7dd9ec2225: Verifying Checksum [2023-01-17T17:34:30.338Z] ca7dd9ec2225: Pull complete [2023-01-17T17:34:30.338Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-17T17:34:30.338Z] Status: Downloaded newer image for alpine:3.16 [2023-01-17T17:34:30.338Z] ---> bfe296a52501 [2023-01-17T17:34:30.338Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-17T17:34:30.338Z] ---> Running in f5e6b977776f [2023-01-17T17:34:30.338Z] Removing intermediate container f5e6b977776f [2023-01-17T17:34:30.338Z] ---> eb4d3f96fdd1 [2023-01-17T17:34:30.338Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-17T17:34:30.338Z] ---> Running in 2eed6abc9cad [2023-01-17T17:34:30.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T17:34:30.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T17:34:30.338Z] OK: 6 MiB in 14 packages [2023-01-17T17:34:30.338Z] Removing intermediate container 2eed6abc9cad [2023-01-17T17:34:30.338Z] ---> 3509e65b5c8e [2023-01-17T17:34:30.338Z] Step 16/25 : WORKDIR / [2023-01-17T17:34:30.338Z] ---> Running in ad5b7d4c4bf9 [2023-01-17T17:34:30.338Z] Removing intermediate container ad5b7d4c4bf9 [2023-01-17T17:34:30.338Z] ---> 99c22e5bc389 [2023-01-17T17:34:30.338Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-17T17:34:30.338Z] ---> 010dd12f0dc3 [2023-01-17T17:34:30.338Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-17T17:34:30.595Z] ---> 065a53ee51c6 [2023-01-17T17:34:30.595Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-17T17:34:31.162Z] ---> ae8d6ba56179 [2023-01-17T17:34:31.162Z] Step 20/25 : EXPOSE 59910 [2023-01-17T17:34:31.162Z] ---> Running in 59c70854a208 [2023-01-17T17:34:31.162Z] Removing intermediate container 59c70854a208 [2023-01-17T17:34:31.162Z] ---> cc9affb0613d [2023-01-17T17:34:31.162Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-17T17:34:31.162Z] ---> Running in c1dd1f1d2cc5 [2023-01-17T17:34:31.420Z] Removing intermediate container c1dd1f1d2cc5 [2023-01-17T17:34:31.420Z] ---> 0afc871e646c [2023-01-17T17:34:31.420Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-17T17:34:31.420Z] ---> Running in 1928b16f1b8f [2023-01-17T17:34:31.420Z] Removing intermediate container 1928b16f1b8f [2023-01-17T17:34:31.420Z] ---> 68d626d4845a [2023-01-17T17:34:31.420Z] Step 23/25 : LABEL arch=amd64 [2023-01-17T17:34:31.420Z] ---> Running in 9c8a6df8abfa [2023-01-17T17:34:31.691Z] Removing intermediate container 9c8a6df8abfa [2023-01-17T17:34:31.691Z] ---> 72a8435e0308 [2023-01-17T17:34:31.691Z] Step 24/25 : LABEL git_sha=07860bbab13f2ff928825cd544dbeda419b1d542 [2023-01-17T17:34:31.691Z] ---> Running in 61d5b8b0a897 [2023-01-17T17:34:31.691Z] Removing intermediate container 61d5b8b0a897 [2023-01-17T17:34:31.691Z] ---> c641e9fd6e7e [2023-01-17T17:34:31.691Z] Step 25/25 : LABEL version=3.0.0-dev.6 [2023-01-17T17:34:31.691Z] ---> Running in e81cf6b242ef [2023-01-17T17:34:31.951Z] Removing intermediate container e81cf6b242ef [2023-01-17T17:34:31.951Z] ---> 1c8e45b4c16d [2023-01-17T17:34:31.951Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:34:31.951Z] Successfully built 1c8e45b4c16d [2023-01-17T17:34:31.951Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:34:32.050Z] provisioning config files... [2023-01-17T17:34:32.057Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10639603240745147603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:34:32.353Z] ---> docker-login.sh [2023-01-17T17:34:32.353Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:34:32.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:32.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:32.353Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:32.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:32.353Z] [2023-01-17T17:34:32.353Z] Login Succeeded [2023-01-17T17:34:32.353Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:34:32.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:32.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:32.656Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:32.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:32.656Z] [2023-01-17T17:34:32.656Z] Login Succeeded [2023-01-17T17:34:32.656Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:34:32.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:32.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:32.656Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:32.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:32.656Z] [2023-01-17T17:34:32.656Z] Login Succeeded [2023-01-17T17:34:32.656Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:34:32.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:32.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:32.656Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:32.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:32.656Z] [2023-01-17T17:34:32.656Z] Login Succeeded [2023-01-17T17:34:32.656Z] docker.io [2023-01-17T17:34:32.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:34:32.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:34:32.955Z] Configure a credential helper to remove this warning. See [2023-01-17T17:34:32.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:34:32.955Z] [2023-01-17T17:34:32.955Z] Login Succeeded [2023-01-17T17:34:32.955Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:34:32.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:34:33.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:34:33.114Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-01-17T17:34:33.114Z] 07860bbab13f2ff928825cd544dbeda419b1d542 [2023-01-17T17:34:33.114Z] latest [2023-01-17T17:34:33.114Z] 3.0.0-dev.6 [2023-01-17T17:34:33.114Z] 07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6 [2023-01-17T17:34:33.114Z] main [2023-01-17T17:34:33.114Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:33.478Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:07860bbab13f2ff928825cd544dbeda419b1d542 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:33.788Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:07860bbab13f2ff928825cd544dbeda419b1d542 [2023-01-17T17:34:33.788Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-17T17:34:33.788Z] 5f7c08b3eccb: Preparing [2023-01-17T17:34:33.788Z] ea158b078e92: Preparing [2023-01-17T17:34:33.788Z] 7a8d609ec393: Preparing [2023-01-17T17:34:33.788Z] e94ad8a1c26d: Preparing [2023-01-17T17:34:33.788Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:33.788Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:33.788Z] 7a8d609ec393: Pushed [2023-01-17T17:34:33.789Z] e94ad8a1c26d: Pushed [2023-01-17T17:34:34.356Z] ea158b078e92: Pushed [2023-01-17T17:34:36.899Z] 5f7c08b3eccb: Pushed [2023-01-17T17:34:36.899Z] 07860bbab13f2ff928825cd544dbeda419b1d542: digest: sha256:a1e838bbd90bb0a39c50e8ac6a0db7510c6c657600468497976fd3565c77ed4c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:37.262Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:37.586Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-01-17T17:34:37.586Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-17T17:34:37.586Z] 5f7c08b3eccb: Preparing [2023-01-17T17:34:37.586Z] ea158b078e92: Preparing [2023-01-17T17:34:37.586Z] 7a8d609ec393: Preparing [2023-01-17T17:34:37.586Z] e94ad8a1c26d: Preparing [2023-01-17T17:34:37.586Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:37.586Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:37.586Z] e94ad8a1c26d: Layer already exists [2023-01-17T17:34:37.586Z] 7a8d609ec393: Layer already exists [2023-01-17T17:34:37.586Z] 5f7c08b3eccb: Layer already exists [2023-01-17T17:34:37.586Z] ea158b078e92: Layer already exists [2023-01-17T17:34:37.586Z] latest: digest: sha256:a1e838bbd90bb0a39c50e8ac6a0db7510c6c657600468497976fd3565c77ed4c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:37.898Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:38.214Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.6 [2023-01-17T17:34:38.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-17T17:34:38.214Z] 5f7c08b3eccb: Preparing [2023-01-17T17:34:38.214Z] ea158b078e92: Preparing [2023-01-17T17:34:38.214Z] 7a8d609ec393: Preparing [2023-01-17T17:34:38.214Z] e94ad8a1c26d: Preparing [2023-01-17T17:34:38.214Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:38.214Z] e94ad8a1c26d: Layer already exists [2023-01-17T17:34:38.214Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:38.214Z] 5f7c08b3eccb: Layer already exists [2023-01-17T17:34:38.214Z] ea158b078e92: Layer already exists [2023-01-17T17:34:38.214Z] 7a8d609ec393: Layer already exists [2023-01-17T17:34:38.214Z] 3.0.0-dev.6: digest: sha256:a1e838bbd90bb0a39c50e8ac6a0db7510c6c657600468497976fd3565c77ed4c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:38.525Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:38.846Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6 [2023-01-17T17:34:38.846Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-17T17:34:38.846Z] 5f7c08b3eccb: Preparing [2023-01-17T17:34:38.846Z] ea158b078e92: Preparing [2023-01-17T17:34:38.846Z] 7a8d609ec393: Preparing [2023-01-17T17:34:38.846Z] e94ad8a1c26d: Preparing [2023-01-17T17:34:38.846Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:38.846Z] 5f7c08b3eccb: Layer already exists [2023-01-17T17:34:38.846Z] 7a8d609ec393: Layer already exists [2023-01-17T17:34:38.846Z] ea158b078e92: Layer already exists [2023-01-17T17:34:38.846Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:38.846Z] e94ad8a1c26d: Layer already exists [2023-01-17T17:34:38.846Z] 07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6: digest: sha256:a1e838bbd90bb0a39c50e8ac6a0db7510c6c657600468497976fd3565c77ed4c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:39.154Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:39.471Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-01-17T17:34:39.471Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-17T17:34:39.471Z] 5f7c08b3eccb: Preparing [2023-01-17T17:34:39.471Z] ea158b078e92: Preparing [2023-01-17T17:34:39.471Z] 7a8d609ec393: Preparing [2023-01-17T17:34:39.471Z] e94ad8a1c26d: Preparing [2023-01-17T17:34:39.471Z] e5e13b0c77cb: Preparing [2023-01-17T17:34:39.471Z] e5e13b0c77cb: Layer already exists [2023-01-17T17:34:39.471Z] e94ad8a1c26d: Layer already exists [2023-01-17T17:34:39.471Z] 7a8d609ec393: Layer already exists [2023-01-17T17:34:39.471Z] 5f7c08b3eccb: Layer already exists [2023-01-17T17:34:39.471Z] ea158b078e92: Layer already exists [2023-01-17T17:34:39.471Z] main: digest: sha256:a1e838bbd90bb0a39c50e8ac6a0db7510c6c657600468497976fd3565c77ed4c size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:34:39.506Z] ===================================================== [Pipeline] echo [2023-01-17T17:34:39.512Z] taggedImages: [2023-01-17T17:34:39.512Z] - nexus3.edgexfoundry.org:10004/device-gpio:07860bbab13f2ff928825cd544dbeda419b1d542 [2023-01-17T17:34:39.512Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-01-17T17:34:39.512Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.6 [2023-01-17T17:34:39.512Z] - nexus3.edgexfoundry.org:10004/device-gpio:07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6 [2023-01-17T17:34:39.512Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:39.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:34:39.885Z] [2023-01-17T17:34:39.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:34:40.189Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:34:40.189Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-17T17:34:40.189Z] 5eb5b503b376: Pulling fs layer [2023-01-17T17:34:40.189Z] 5c69ac0246d0: Pulling fs layer [2023-01-17T17:34:40.189Z] ec43610c2a17: Pulling fs layer [2023-01-17T17:34:40.189Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-17T17:34:40.189Z] 33b1e0a273af: Pulling fs layer [2023-01-17T17:34:40.189Z] 5d3b04190fa2: Pulling fs layer [2023-01-17T17:34:40.189Z] 2f39f015ded8: Pulling fs layer [2023-01-17T17:34:40.189Z] 3a2ae6a8a46f: Waiting [2023-01-17T17:34:40.189Z] 33b1e0a273af: Waiting [2023-01-17T17:34:40.189Z] 5d3b04190fa2: Waiting [2023-01-17T17:34:40.189Z] 2f39f015ded8: Waiting [2023-01-17T17:34:40.189Z] 5c69ac0246d0: Download complete [2023-01-17T17:34:40.189Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-17T17:34:40.189Z] 3a2ae6a8a46f: Download complete [2023-01-17T17:34:40.450Z] 33b1e0a273af: Verifying Checksum [2023-01-17T17:34:40.450Z] 33b1e0a273af: Download complete [2023-01-17T17:34:40.450Z] 5d3b04190fa2: Verifying Checksum [2023-01-17T17:34:40.450Z] 5d3b04190fa2: Download complete [2023-01-17T17:34:40.450Z] ec43610c2a17: Verifying Checksum [2023-01-17T17:34:40.450Z] ec43610c2a17: Download complete [2023-01-17T17:34:40.711Z] 5eb5b503b376: Verifying Checksum [2023-01-17T17:34:40.711Z] 5eb5b503b376: Download complete [2023-01-17T17:34:41.278Z] 2f39f015ded8: Verifying Checksum [2023-01-17T17:34:41.278Z] 2f39f015ded8: Download complete [2023-01-17T17:34:41.844Z] 5eb5b503b376: Pull complete [2023-01-17T17:34:41.844Z] 5c69ac0246d0: Pull complete [2023-01-17T17:34:42.410Z] ec43610c2a17: Pull complete [2023-01-17T17:34:42.410Z] 3a2ae6a8a46f: Pull complete [2023-01-17T17:34:42.669Z] 33b1e0a273af: Pull complete [2023-01-17T17:34:42.669Z] 5d3b04190fa2: Pull complete [2023-01-17T17:34:47.934Z] 2f39f015ded8: Pull complete [2023-01-17T17:34:47.934Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-17T17:34:47.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:34:47.935Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:34:48.009Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:34:48.036Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-17T17:34:49.887Z] $ docker top f78e704bd1416442db3b3c341ef630c4baaf57f71cabbfc29e5a6ff4df407dfd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:34:50.262Z] ---> job-cost.sh [2023-01-17T17:34:50.262Z] lf-activate-venv: SKIPPING [2023-01-17T17:34:50.262Z] INFO: No Stack... [2023-01-17T17:34:50.520Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:34:50.780Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:34:51.070Z] + cat+ /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-01-17T17:34:51.070Z] cut -d, -f6 [Pipeline] lock [2023-01-17T17:34:51.084Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-58-stack-cost] [2023-01-17T17:34:51.091Z] Resource [jenkins-edgexfoundry-device-gpio-main-58-stack-cost] did not exist. Created. [2023-01-17T17:34:51.091Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:34:51.397Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-17T17:34:51.429Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:34:51.435Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-58-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:34:51.448Z] $ docker stop --time=1 f78e704bd1416442db3b3c341ef630c4baaf57f71cabbfc29e5a6ff4df407dfd [2023-01-17T17:34:52.636Z] $ docker rm -f --volumes f78e704bd1416442db3b3c341ef630c4baaf57f71cabbfc29e5a6ff4df407dfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T17:36:25.046Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2755 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-01-17T17:36:25.055Z] Running in /w/workspace/device-gpio/58 [Pipeline] { [Pipeline] checkout [2023-01-17T17:36:25.099Z] The recommended git tool is: git [2023-01-17T17:36:32.100Z] using credential edgex-jenkins-ssh [2023-01-17T17:36:32.125Z] Cloning the remote Git repository [2023-01-17T17:36:32.199Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-01-17T17:36:32.304Z] > git init /w/workspace/device-gpio/58 # timeout=10 [2023-01-17T17:36:32.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-17T17:36:32.513Z] > git --version # timeout=10 [2023-01-17T17:36:32.544Z] > git --version # 'git version 2.25.1' [2023-01-17T17:36:32.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T17:36:32.638Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:36:34.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-17T17:36:34.611Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T17:36:35.834Z] Avoid second fetch [2023-01-17T17:36:35.835Z] Checking out Revision 07860bbab13f2ff928825cd544dbeda419b1d542 (main) [2023-01-17T17:36:36.610Z] Commit message: "refactor(snap)!: Drop the support for legacy snap env options (#79)" [2023-01-17T17:36:35.860Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T17:36:35.900Z] > git checkout -f 07860bbab13f2ff928825cd544dbeda419b1d542 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:36:37.557Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-17T17:36:37.557Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:36:37.557Z] Dload Upload Total Spent Left Speed [2023-01-17T17:36:37.557Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh [2023-01-17T17:36:38.484Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-17T17:36:38.826Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-17T17:36:38.826Z] + sudo tee /etc/docker/daemon.new [2023-01-17T17:36:38.826Z] { [2023-01-17T17:36:38.826Z] "registry-mirrors": [ [2023-01-17T17:36:38.826Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-17T17:36:38.826Z] ], [2023-01-17T17:36:38.826Z] "bip": "10.250.0.254/24", [2023-01-17T17:36:38.826Z] "hosts": [ [2023-01-17T17:36:38.826Z] "tcp://0.0.0.0:5555", [2023-01-17T17:36:38.826Z] "unix:///var/run/docker.sock" [2023-01-17T17:36:38.826Z] ], [2023-01-17T17:36:38.826Z] "mtu": 1458, [2023-01-17T17:36:38.826Z] "selinux-enabled": true, [2023-01-17T17:36:38.826Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-17T17:36:38.826Z] } [Pipeline] sh [2023-01-17T17:36:39.181Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-17T17:36:39.546Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:36:57.878Z] provisioning config files... [2023-01-17T17:36:57.911Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/58@tmp/config2557194887759416535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:36:58.295Z] ---> docker-login.sh [2023-01-17T17:36:58.295Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:36:58.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:36:59.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:36:59.165Z] Configure a credential helper to remove this warning. See [2023-01-17T17:36:59.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:36:59.165Z] [2023-01-17T17:36:59.165Z] Login Succeeded [2023-01-17T17:36:59.165Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:36:59.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:36:59.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:36:59.711Z] Configure a credential helper to remove this warning. See [2023-01-17T17:36:59.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:36:59.711Z] [2023-01-17T17:36:59.711Z] Login Succeeded [2023-01-17T17:36:59.711Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:36:59.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:36:59.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:36:59.992Z] Configure a credential helper to remove this warning. See [2023-01-17T17:36:59.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:36:59.992Z] [2023-01-17T17:36:59.992Z] Login Succeeded [2023-01-17T17:36:59.992Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:37:00.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:37:00.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:37:00.540Z] Configure a credential helper to remove this warning. See [2023-01-17T17:37:00.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:37:00.540Z] [2023-01-17T17:37:00.540Z] Login Succeeded [2023-01-17T17:37:00.540Z] docker.io [2023-01-17T17:37:00.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:37:01.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:37:01.084Z] Configure a credential helper to remove this warning. See [2023-01-17T17:37:01.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:37:01.084Z] [2023-01-17T17:37:01.084Z] Login Succeeded [2023-01-17T17:37:01.084Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:37:01.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T17:37:01.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:37:01.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:37:01.501Z] ========================================================= [2023-01-17T17:37:01.501Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-17T17:37:01.501Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:37:01.862Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-17T17:37:02.136Z] Sending build context to Docker daemon 8.055MB [2023-01-17T17:37:02.136Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:37:02.136Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-17T17:37:02.413Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-17T17:37:02.413Z] 9b18e9b68314: Pulling fs layer [2023-01-17T17:37:02.413Z] 35d82f9e3411: Pulling fs layer [2023-01-17T17:37:02.413Z] e16973657156: Pulling fs layer [2023-01-17T17:37:02.413Z] fc693d55d65f: Pulling fs layer [2023-01-17T17:37:02.413Z] 7e9fc2657dce: Pulling fs layer [2023-01-17T17:37:02.413Z] dda99020689f: Pulling fs layer [2023-01-17T17:37:02.413Z] db1c61fa0a46: Pulling fs layer [2023-01-17T17:37:02.413Z] 891c053d2c06: Pulling fs layer [2023-01-17T17:37:02.413Z] fc693d55d65f: Waiting [2023-01-17T17:37:02.413Z] dda99020689f: Waiting [2023-01-17T17:37:02.413Z] 7e9fc2657dce: Waiting [2023-01-17T17:37:02.413Z] db1c61fa0a46: Waiting [2023-01-17T17:37:02.413Z] 891c053d2c06: Waiting [2023-01-17T17:37:02.413Z] e16973657156: Download complete [2023-01-17T17:37:02.413Z] 35d82f9e3411: Download complete [2023-01-17T17:37:02.690Z] 7e9fc2657dce: Verifying Checksum [2023-01-17T17:37:02.690Z] 7e9fc2657dce: Download complete [2023-01-17T17:37:02.690Z] dda99020689f: Verifying Checksum [2023-01-17T17:37:02.690Z] dda99020689f: Download complete [2023-01-17T17:37:02.690Z] 9b18e9b68314: Verifying Checksum [2023-01-17T17:37:02.690Z] 9b18e9b68314: Download complete [2023-01-17T17:37:03.674Z] 9b18e9b68314: Pull complete [2023-01-17T17:37:03.948Z] 891c053d2c06: Verifying Checksum [2023-01-17T17:37:03.948Z] 891c053d2c06: Download complete [2023-01-17T17:37:04.224Z] 35d82f9e3411: Pull complete [2023-01-17T17:37:04.832Z] e16973657156: Pull complete [2023-01-17T17:37:05.428Z] db1c61fa0a46: Verifying Checksum [2023-01-17T17:37:05.429Z] db1c61fa0a46: Download complete [2023-01-17T17:37:06.024Z] fc693d55d65f: Verifying Checksum [2023-01-17T17:37:06.024Z] fc693d55d65f: Download complete [2023-01-17T17:37:21.104Z] fc693d55d65f: Pull complete [2023-01-17T17:37:21.104Z] 7e9fc2657dce: Pull complete [2023-01-17T17:37:21.104Z] dda99020689f: Pull complete [2023-01-17T17:37:26.497Z] db1c61fa0a46: Pull complete [2023-01-17T17:37:28.475Z] 891c053d2c06: Pull complete [2023-01-17T17:37:28.475Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-17T17:37:28.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T17:37:28.749Z] ---> f96f9c87975a [2023-01-17T17:37:28.749Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:37:29.734Z] ---> Running in b645e2029026 [2023-01-17T17:37:30.069Z] Removing intermediate container b645e2029026 [2023-01-17T17:37:30.069Z] ---> 1beba6af7208 [2023-01-17T17:37:30.069Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:37:30.069Z] ---> Running in 74050d074489 [2023-01-17T17:37:30.365Z] Removing intermediate container 74050d074489 [2023-01-17T17:37:30.365Z] ---> ce81ae915ca9 [2023-01-17T17:37:30.365Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-17T17:37:30.649Z] ---> Running in ee8090b2d7e0 [2023-01-17T17:37:30.931Z] Removing intermediate container ee8090b2d7e0 [2023-01-17T17:37:30.931Z] ---> 7416da87f280 [2023-01-17T17:37:30.931Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:37:30.931Z] ---> Running in 0456adfa94d1 [2023-01-17T17:37:31.533Z] Removing intermediate container 0456adfa94d1 [2023-01-17T17:37:31.533Z] ---> 333ac67430c8 [2023-01-17T17:37:31.533Z] Step 7/12 : WORKDIR /device-gpio [2023-01-17T17:37:31.533Z] ---> Running in 88b314f29d34 [2023-01-17T17:37:31.823Z] Removing intermediate container 88b314f29d34 [2023-01-17T17:37:31.823Z] ---> 631216d8bec2 [2023-01-17T17:37:31.823Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:37:31.823Z] ---> Running in 22ef53d78c8f [2023-01-17T17:37:33.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:37:33.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:37:34.491Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-17T17:37:34.491Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-17T17:37:34.762Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-17T17:37:34.762Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-17T17:37:34.762Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T17:37:34.762Z] OK: 226 MiB in 55 packages [2023-01-17T17:37:38.143Z] Removing intermediate container 22ef53d78c8f [2023-01-17T17:37:38.143Z] ---> 67b0b13094ee [2023-01-17T17:37:38.143Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-17T17:37:38.143Z] ---> 886679d931ff [2023-01-17T17:37:38.143Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:37:38.143Z] ---> Running in befcd51f7317 [2023-01-17T17:38:46.283Z] Removing intermediate container befcd51f7317 [2023-01-17T17:38:46.283Z] ---> f1bf40d5eea7 [2023-01-17T17:38:46.283Z] Step 11/12 : COPY . . [2023-01-17T17:38:46.283Z] ---> 12f0f92f26c1 [2023-01-17T17:38:46.283Z] Step 12/12 : RUN ${MAKE} [2023-01-17T17:38:46.283Z] ---> Running in 9fa3f6c4a627 [2023-01-17T17:38:46.283Z] noop [2023-01-17T17:38:46.283Z] Removing intermediate container 9fa3f6c4a627 [2023-01-17T17:38:46.283Z] ---> 18940e91381a [2023-01-17T17:38:46.283Z] Successfully built 18940e91381a [2023-01-17T17:38:46.283Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:46.655Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:38:46.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:38:46.910Z] prd-ubuntu20.04-docker-arm64-4c-16g-2755 does not seem to be running inside a container [2023-01-17T17:38:47.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/58 -v /w/workspace/device-gpio/58:/w/workspace/device-gpio/58:rw,z -v /w/workspace/device-gpio/58@tmp:/w/workspace/device-gpio/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-17T17:38:48.447Z] $ docker top aada2bc364bf5a01caa0f30d9b23c28203e32bcada57ba9b7d7c2eacbe2ff218 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:38:49.365Z] + go version [2023-01-17T17:38:49.365Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-17T17:38:49.389Z] $ docker stop --time=1 aada2bc364bf5a01caa0f30d9b23c28203e32bcada57ba9b7d7c2eacbe2ff218 [2023-01-17T17:38:51.160Z] $ docker rm -f --volumes aada2bc364bf5a01caa0f30d9b23c28203e32bcada57ba9b7d7c2eacbe2ff218 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:38:51.761Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T17:38:51.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:38:51.994Z] prd-ubuntu20.04-docker-arm64-4c-16g-2755 does not seem to be running inside a container [2023-01-17T17:38:52.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/58 -v /w/workspace/device-gpio/58:/w/workspace/device-gpio/58:rw,z -v /w/workspace/device-gpio/58@tmp:/w/workspace/device-gpio/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-17T17:38:53.510Z] $ docker top 8a6db5e78c79b3c2a3c8b527e01369d6ecbb5afc8f14444b8168d74facb1a329 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:38:54.418Z] + git config --global --add safe.directory /w/workspace/device-gpio/58 [Pipeline] fileExists [Pipeline] sh [2023-01-17T17:38:55.133Z] + make test [2023-01-17T17:38:55.133Z] go test ./... -coverprofile=coverage.out ./... [2023-01-17T17:38:57.096Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-17T17:40:33.960Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-17T17:40:33.960Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-17T17:40:34.234Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-17T17:40:34.235Z] go vet ./... [2023-01-17T17:41:13.174Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-17T17:41:13.174Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-17T17:41:13.174Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-17T17:41:13.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-17T17:41:13.209Z] $ docker stop --time=1 8a6db5e78c79b3c2a3c8b527e01369d6ecbb5afc8f14444b8168d74facb1a329 [2023-01-17T17:41:15.318Z] $ docker rm -f --volumes 8a6db5e78c79b3c2a3c8b527e01369d6ecbb5afc8f14444b8168d74facb1a329 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:41:16.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-17T17:41:16.628Z] Warning: overwriting stash ‘coverage-report’ [2023-01-17T17:41:17.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T17:41:17.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T17:41:18.088Z] + ls -al . [2023-01-17T17:41:18.088Z] total 164 [2023-01-17T17:41:18.088Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:38 . [2023-01-17T17:41:18.088Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:36 .. [2023-01-17T17:41:18.088Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 17 17:36 .dockerignore [2023-01-17T17:41:18.088Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 17:36 .git [2023-01-17T17:41:18.088Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:36 .github [2023-01-17T17:41:18.088Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 17 17:36 .gitignore [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 17:36 .golangci.yml [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 9587 Jan 17 17:36 Attribution.txt [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 17 17:36 CHANGELOG.md [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 1542 Jan 17 17:36 Dockerfile [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 17:36 GOVERNANCE.md [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 17 17:36 Jenkinsfile [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 17:36 LICENSE [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 1658 Jan 17 17:36 Makefile [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 17 17:36 OWNERS.md [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 17 17:36 README.md [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 17:33 VERSION [2023-01-17T17:41:18.089Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 17:36 bin [2023-01-17T17:41:18.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:36 cmd [2023-01-17T17:41:18.089Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 17 17:38 coverage.out [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 17 17:36 go.mod [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 17 17:36 go.sum [2023-01-17T17:41:18.089Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 17:36 internal [2023-01-17T17:41:18.089Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 17:36 snap [2023-01-17T17:41:18.089Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 17 17:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:41:18.509Z] + 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=07860bbab13f2ff928825cd544dbeda419b1d542 --label arch=arm64 --label version=3.0.0-dev.6 . [2023-01-17T17:41:19.111Z] Sending build context to Docker daemon 8.056MB [2023-01-17T17:41:19.111Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T17:41:19.111Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-17T17:41:19.111Z] ---> 18940e91381a [2023-01-17T17:41:19.111Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-17T17:41:19.389Z] ---> Running in 347f3626e174 [2023-01-17T17:41:19.996Z] Removing intermediate container 347f3626e174 [2023-01-17T17:41:19.996Z] ---> ce42091fd77e [2023-01-17T17:41:19.996Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-17T17:41:19.996Z] ---> Running in 3f3fa466ca8b [2023-01-17T17:41:20.590Z] Removing intermediate container 3f3fa466ca8b [2023-01-17T17:41:20.590Z] ---> d897133ea936 [2023-01-17T17:41:20.590Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-01-17T17:41:20.590Z] ---> Running in 58977b036be8 [2023-01-17T17:41:21.190Z] Removing intermediate container 58977b036be8 [2023-01-17T17:41:21.190Z] ---> 1e61fa6dd16c [2023-01-17T17:41:21.190Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-17T17:41:21.190Z] ---> Running in 2e390252dd26 [2023-01-17T17:41:21.464Z] Removing intermediate container 2e390252dd26 [2023-01-17T17:41:21.464Z] ---> 463278f0b5c9 [2023-01-17T17:41:21.464Z] Step 7/25 : WORKDIR /device-gpio [2023-01-17T17:41:21.741Z] ---> Running in 584cb897dd2b [2023-01-17T17:41:22.020Z] Removing intermediate container 584cb897dd2b [2023-01-17T17:41:22.020Z] ---> b3d45da45b8a [2023-01-17T17:41:22.020Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-17T17:41:22.296Z] ---> Running in 488df3b68c61 [2023-01-17T17:41:23.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:41:23.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:41:25.281Z] OK: 226 MiB in 55 packages [2023-01-17T17:41:26.744Z] Removing intermediate container 488df3b68c61 [2023-01-17T17:41:26.744Z] ---> 5ad63131e554 [2023-01-17T17:41:26.744Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-17T17:41:27.349Z] ---> 4e1cfa717063 [2023-01-17T17:41:27.349Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T17:41:27.349Z] ---> Running in 2e21871e4a09 [2023-01-17T17:41:30.219Z] Removing intermediate container 2e21871e4a09 [2023-01-17T17:41:30.219Z] ---> cfc3283ca2cf [2023-01-17T17:41:30.219Z] Step 11/25 : COPY . . [2023-01-17T17:41:31.647Z] ---> 59aeaf27f79e [2023-01-17T17:41:31.647Z] Step 12/25 : RUN ${MAKE} [2023-01-17T17:41:31.647Z] ---> Running in 4f9262e29469 [2023-01-17T17:41:33.095Z] CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd [2023-01-17T17:43:40.566Z] Removing intermediate container 4f9262e29469 [2023-01-17T17:43:40.566Z] ---> 9b417e3a3c66 [2023-01-17T17:43:40.566Z] Step 13/25 : FROM alpine:3.16 [2023-01-17T17:43:40.566Z] 3.16: Pulling from library/alpine [2023-01-17T17:43:40.566Z] 6875df1f5354: Pulling fs layer [2023-01-17T17:43:40.566Z] 6875df1f5354: Verifying Checksum [2023-01-17T17:43:40.566Z] 6875df1f5354: Download complete [2023-01-17T17:43:40.566Z] 6875df1f5354: Pull complete [2023-01-17T17:43:40.566Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-17T17:43:40.566Z] Status: Downloaded newer image for alpine:3.16 [2023-01-17T17:43:40.566Z] ---> 2b4661558fb8 [2023-01-17T17:43:40.566Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-17T17:43:40.566Z] ---> Running in c3a36285697d [2023-01-17T17:43:40.566Z] Removing intermediate container c3a36285697d [2023-01-17T17:43:40.566Z] ---> 383e965d6d21 [2023-01-17T17:43:40.566Z] Step 15/25 : RUN apk add --update --no-cache [2023-01-17T17:43:40.566Z] ---> Running in a853fb50259d [2023-01-17T17:43:40.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T17:43:40.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T17:43:40.566Z] OK: 5 MiB in 14 packages [2023-01-17T17:43:40.566Z] Removing intermediate container a853fb50259d [2023-01-17T17:43:40.566Z] ---> a14a981f6c73 [2023-01-17T17:43:40.566Z] Step 16/25 : WORKDIR / [2023-01-17T17:43:40.566Z] ---> Running in 9b05ee8acd9a [2023-01-17T17:43:40.566Z] Removing intermediate container 9b05ee8acd9a [2023-01-17T17:43:40.566Z] ---> 262f6d7eb260 [2023-01-17T17:43:40.566Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-17T17:43:40.566Z] ---> 112c495158ec [2023-01-17T17:43:40.566Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-17T17:43:40.566Z] ---> 0c63b859cb5e [2023-01-17T17:43:40.566Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-17T17:43:40.566Z] ---> 5d1bbe3862c0 [2023-01-17T17:43:40.566Z] Step 20/25 : EXPOSE 59910 [2023-01-17T17:43:40.566Z] ---> Running in 4fcf77328111 [2023-01-17T17:43:40.566Z] Removing intermediate container 4fcf77328111 [2023-01-17T17:43:40.566Z] ---> 0848c8d3bf07 [2023-01-17T17:43:40.566Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-17T17:43:40.566Z] ---> Running in 34de53ba19e4 [2023-01-17T17:43:40.566Z] Removing intermediate container 34de53ba19e4 [2023-01-17T17:43:40.566Z] ---> 4080d1cd44a8 [2023-01-17T17:43:40.566Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-17T17:43:40.566Z] ---> Running in fa8147f2badc [2023-01-17T17:43:40.566Z] Removing intermediate container fa8147f2badc [2023-01-17T17:43:40.566Z] ---> af987019668c [2023-01-17T17:43:40.566Z] Step 23/25 : LABEL arch=arm64 [2023-01-17T17:43:40.566Z] ---> Running in eda423e8d8db [2023-01-17T17:43:40.566Z] Removing intermediate container eda423e8d8db [2023-01-17T17:43:40.566Z] ---> 8a82934c83ef [2023-01-17T17:43:40.566Z] Step 24/25 : LABEL git_sha=07860bbab13f2ff928825cd544dbeda419b1d542 [2023-01-17T17:43:40.566Z] ---> Running in 46c23b299c33 [2023-01-17T17:43:40.566Z] Removing intermediate container 46c23b299c33 [2023-01-17T17:43:40.566Z] ---> a7d1ffd0918b [2023-01-17T17:43:40.567Z] Step 25/25 : LABEL version=3.0.0-dev.6 [2023-01-17T17:43:40.567Z] ---> Running in b5465d4dbad6 [2023-01-17T17:43:40.567Z] Removing intermediate container b5465d4dbad6 [2023-01-17T17:43:40.567Z] ---> b0ee63478874 [2023-01-17T17:43:40.567Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-17T17:43:40.567Z] Successfully built b0ee63478874 [2023-01-17T17:43:40.567Z] Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:43:40.669Z] provisioning config files... [2023-01-17T17:43:40.692Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/58@tmp/config7058950074078881498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:43:41.127Z] ---> docker-login.sh [2023-01-17T17:43:41.127Z] nexus3.edgexfoundry.org:10001 [2023-01-17T17:43:41.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:41.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:41.397Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:41.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:41.397Z] [2023-01-17T17:43:41.397Z] Login Succeeded [2023-01-17T17:43:41.397Z] nexus3.edgexfoundry.org:10002 [2023-01-17T17:43:41.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:41.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:41.939Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:41.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:41.939Z] [2023-01-17T17:43:41.939Z] Login Succeeded [2023-01-17T17:43:41.939Z] nexus3.edgexfoundry.org:10003 [2023-01-17T17:43:42.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:42.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:42.208Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:42.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:42.208Z] [2023-01-17T17:43:42.208Z] Login Succeeded [2023-01-17T17:43:42.208Z] nexus3.edgexfoundry.org:10004 [2023-01-17T17:43:42.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:42.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:42.749Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:42.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:42.749Z] [2023-01-17T17:43:42.749Z] Login Succeeded [2023-01-17T17:43:42.749Z] docker.io [2023-01-17T17:43:43.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T17:43:43.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T17:43:43.284Z] Configure a credential helper to remove this warning. See [2023-01-17T17:43:43.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T17:43:43.284Z] [2023-01-17T17:43:43.284Z] Login Succeeded [2023-01-17T17:43:43.284Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T17:43:43.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:43:43.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T17:43:43.340Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-01-17T17:43:43.340Z] 07860bbab13f2ff928825cd544dbeda419b1d542 [2023-01-17T17:43:43.340Z] latest [2023-01-17T17:43:43.340Z] 3.0.0-dev.6 [2023-01-17T17:43:43.340Z] 07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6 [2023-01-17T17:43:43.340Z] main [2023-01-17T17:43:43.340Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:43.700Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:07860bbab13f2ff928825cd544dbeda419b1d542 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:44.056Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:07860bbab13f2ff928825cd544dbeda419b1d542 [2023-01-17T17:43:44.056Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-17T17:43:44.056Z] d230b3e789ca: Preparing [2023-01-17T17:43:44.056Z] bbdc9251ec76: Preparing [2023-01-17T17:43:44.056Z] d78686b1cab8: Preparing [2023-01-17T17:43:44.056Z] 8bf76386b768: Preparing [2023-01-17T17:43:44.056Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:44.056Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:44.324Z] 8bf76386b768: Pushed [2023-01-17T17:43:44.324Z] bbdc9251ec76: Pushed [2023-01-17T17:43:44.324Z] d78686b1cab8: Pushed [2023-01-17T17:43:51.003Z] d230b3e789ca: Pushed [2023-01-17T17:43:51.003Z] 07860bbab13f2ff928825cd544dbeda419b1d542: digest: sha256:6108b4fe607b4abf9abec40f65654e4001ad50043d115e17dd3264cd828bd3bb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:51.365Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:51.727Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-01-17T17:43:51.727Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-17T17:43:51.727Z] d230b3e789ca: Preparing [2023-01-17T17:43:51.727Z] bbdc9251ec76: Preparing [2023-01-17T17:43:51.727Z] d78686b1cab8: Preparing [2023-01-17T17:43:51.727Z] 8bf76386b768: Preparing [2023-01-17T17:43:51.727Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:51.727Z] 8bf76386b768: Layer already exists [2023-01-17T17:43:51.727Z] d78686b1cab8: Layer already exists [2023-01-17T17:43:51.727Z] bbdc9251ec76: Layer already exists [2023-01-17T17:43:51.727Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:51.727Z] d230b3e789ca: Layer already exists [2023-01-17T17:43:51.995Z] latest: digest: sha256:6108b4fe607b4abf9abec40f65654e4001ad50043d115e17dd3264cd828bd3bb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:52.358Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:52.705Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.6 [2023-01-17T17:43:52.705Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-17T17:43:52.705Z] d230b3e789ca: Preparing [2023-01-17T17:43:52.705Z] bbdc9251ec76: Preparing [2023-01-17T17:43:52.705Z] d78686b1cab8: Preparing [2023-01-17T17:43:52.705Z] 8bf76386b768: Preparing [2023-01-17T17:43:52.705Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:52.705Z] bbdc9251ec76: Layer already exists [2023-01-17T17:43:52.705Z] d78686b1cab8: Layer already exists [2023-01-17T17:43:52.705Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:52.705Z] 8bf76386b768: Layer already exists [2023-01-17T17:43:52.705Z] d230b3e789ca: Layer already exists [2023-01-17T17:43:52.705Z] 3.0.0-dev.6: digest: sha256:6108b4fe607b4abf9abec40f65654e4001ad50043d115e17dd3264cd828bd3bb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:53.331Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:53.672Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6 [2023-01-17T17:43:53.672Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-17T17:43:53.672Z] d230b3e789ca: Preparing [2023-01-17T17:43:53.672Z] bbdc9251ec76: Preparing [2023-01-17T17:43:53.672Z] d78686b1cab8: Preparing [2023-01-17T17:43:53.672Z] 8bf76386b768: Preparing [2023-01-17T17:43:53.672Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:53.672Z] d78686b1cab8: Layer already exists [2023-01-17T17:43:53.672Z] d230b3e789ca: Layer already exists [2023-01-17T17:43:53.672Z] bbdc9251ec76: Layer already exists [2023-01-17T17:43:53.672Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:53.672Z] 8bf76386b768: Layer already exists [2023-01-17T17:43:53.939Z] 07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6: digest: sha256:6108b4fe607b4abf9abec40f65654e4001ad50043d115e17dd3264cd828bd3bb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:54.307Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:54.655Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-01-17T17:43:54.655Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-17T17:43:54.655Z] d230b3e789ca: Preparing [2023-01-17T17:43:54.655Z] bbdc9251ec76: Preparing [2023-01-17T17:43:54.655Z] d78686b1cab8: Preparing [2023-01-17T17:43:54.655Z] 8bf76386b768: Preparing [2023-01-17T17:43:54.655Z] 17bec77d7fdc: Preparing [2023-01-17T17:43:54.655Z] 17bec77d7fdc: Layer already exists [2023-01-17T17:43:54.655Z] 8bf76386b768: Layer already exists [2023-01-17T17:43:54.655Z] d78686b1cab8: Layer already exists [2023-01-17T17:43:54.655Z] d230b3e789ca: Layer already exists [2023-01-17T17:43:54.655Z] bbdc9251ec76: Layer already exists [2023-01-17T17:43:54.924Z] main: digest: sha256:6108b4fe607b4abf9abec40f65654e4001ad50043d115e17dd3264cd828bd3bb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-17T17:43:54.968Z] ===================================================== [Pipeline] echo [2023-01-17T17:43:54.974Z] taggedImages: [2023-01-17T17:43:54.975Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:07860bbab13f2ff928825cd544dbeda419b1d542 [2023-01-17T17:43:54.975Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-01-17T17:43:54.975Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.6 [2023-01-17T17:43:54.975Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:07860bbab13f2ff928825cd544dbeda419b1d542-3.0.0-dev.6 [2023-01-17T17:43:54.975Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:55.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:43:55.343Z] [2023-01-17T17:43:55.343Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:43:55.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:43:55.684Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-17T17:43:55.684Z] 8998bd30e6a1: Pulling fs layer [2023-01-17T17:43:55.684Z] 04944245beec: Pulling fs layer [2023-01-17T17:43:55.684Z] 699f458cf7ca: Pulling fs layer [2023-01-17T17:43:55.684Z] 765212b225bb: Pulling fs layer [2023-01-17T17:43:55.684Z] f23df028b6ca: Pulling fs layer [2023-01-17T17:43:55.684Z] d65c8cfc05b1: Pulling fs layer [2023-01-17T17:43:55.684Z] 765212b225bb: Waiting [2023-01-17T17:43:55.684Z] f23df028b6ca: Waiting [2023-01-17T17:43:55.684Z] 2437ff75d9bd: Pulling fs layer [2023-01-17T17:43:55.684Z] d65c8cfc05b1: Waiting [2023-01-17T17:43:55.684Z] 2437ff75d9bd: Waiting [2023-01-17T17:43:55.964Z] 04944245beec: Verifying Checksum [2023-01-17T17:43:55.964Z] 04944245beec: Download complete [2023-01-17T17:43:55.964Z] 765212b225bb: Download complete [2023-01-17T17:43:56.236Z] f23df028b6ca: Download complete [2023-01-17T17:43:56.236Z] d65c8cfc05b1: Verifying Checksum [2023-01-17T17:43:56.236Z] d65c8cfc05b1: Download complete [2023-01-17T17:43:56.236Z] 699f458cf7ca: Verifying Checksum [2023-01-17T17:43:56.236Z] 699f458cf7ca: Download complete [2023-01-17T17:43:56.828Z] 8998bd30e6a1: Verifying Checksum [2023-01-17T17:43:56.828Z] 8998bd30e6a1: Download complete [2023-01-17T17:43:59.436Z] 2437ff75d9bd: Verifying Checksum [2023-01-17T17:43:59.436Z] 2437ff75d9bd: Download complete [2023-01-17T17:44:00.397Z] 8998bd30e6a1: Pull complete [2023-01-17T17:44:00.982Z] 04944245beec: Pull complete [2023-01-17T17:44:02.396Z] 699f458cf7ca: Pull complete [2023-01-17T17:44:02.663Z] 765212b225bb: Pull complete [2023-01-17T17:44:03.627Z] f23df028b6ca: Pull complete [2023-01-17T17:44:03.627Z] d65c8cfc05b1: Pull complete [2023-01-17T17:44:18.639Z] 2437ff75d9bd: Pull complete [2023-01-17T17:44:18.639Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-17T17:44:18.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T17:44:18.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:18.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-2755 does not seem to be running inside a container [2023-01-17T17:44:18.928Z] $ 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/58 -v /w/workspace/device-gpio/58:/w/workspace/device-gpio/58:rw,z -v /w/workspace/device-gpio/58@tmp:/w/workspace/device-gpio/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-17T17:44:21.948Z] $ docker top efefd1f60073715b97453bf818d3c544cac99c990688316dfa441d3f79d924cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:44:22.826Z] ---> job-cost.sh [2023-01-17T17:44:22.826Z] lf-activate-venv: SKIPPING [2023-01-17T17:44:22.826Z] INFO: No Stack... [2023-01-17T17:44:23.094Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-17T17:44:24.055Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T17:44:24.703Z] + cat /w/workspace/device-gpio/58/archives/cost.csv [2023-01-17T17:44:24.704Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T17:44:24.743Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-58-stack-cost] [2023-01-17T17:44:24.750Z] Resource [jenkins-edgexfoundry-device-gpio-main-58-stack-cost] did not exist. Created. [2023-01-17T17:44:24.751Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T17:44:25.412Z] /w/workspace/device-gpio/58@tmp/durable-766a057d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-17T17:44:26.078Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-17T17:44:26.094Z] Warning: overwriting stash ‘stack-cost’ [2023-01-17T17:44:26.159Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T17:44:26.170Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-58-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T17:44:26.178Z] $ docker stop --time=1 efefd1f60073715b97453bf818d3c544cac99c990688316dfa441d3f79d924cb [2023-01-17T17:44:27.724Z] $ docker rm -f --volumes efefd1f60073715b97453bf818d3c544cac99c990688316dfa441d3f79d924cb [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 [2023-01-17T17:44:28.168Z] provisioning config files... [2023-01-17T17:44:28.175Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13664709286907873577tmp [Pipeline] { [Pipeline] sh [2023-01-17T17:44:28.473Z] + set +x [2023-01-17T17:44:28.473Z] + curl -s https://codecov.io/bash [2023-01-17T17:44:28.473Z] + bash -s -- [2023-01-17T17:44:28.473Z] [2023-01-17T17:44:28.473Z] _____ _ [2023-01-17T17:44:28.473Z] / ____| | | [2023-01-17T17:44:28.473Z] | | ___ __| | ___ ___ _____ __ [2023-01-17T17:44:28.473Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-17T17:44:28.473Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-17T17:44:28.473Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-17T17:44:28.473Z] Bash-1.0.6 [2023-01-17T17:44:28.473Z] [2023-01-17T17:44:28.473Z] [2023-01-17T17:44:28.473Z] ==> git version 2.25.1 found [2023-01-17T17:44:28.473Z] ==> 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 [2023-01-17T17:44:28.473Z] Release-Date: 2020-01-08 [2023-01-17T17:44:28.473Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-17T17:44:28.473Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-17T17:44:28.473Z] ==> Jenkins CI detected. [2023-01-17T17:44:28.473Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-01-17T17:44:28.473Z] project root: . [2023-01-17T17:44:28.473Z] --> token set from env [2023-01-17T17:44:28.473Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-17T17:44:28.473Z] ==> Running gcov in . (disable via -X gcov) [2023-01-17T17:44:28.473Z] ==> Python coveragepy not found [2023-01-17T17:44:28.473Z] ==> Searching for coverage reports in: [2023-01-17T17:44:28.473Z] + . [2023-01-17T17:44:28.473Z] -> Found 1 reports [2023-01-17T17:44:28.473Z] ==> Detecting git/mercurial file structure [2023-01-17T17:44:28.473Z] ==> Reading reports [2023-01-17T17:44:28.473Z] + ./coverage.out bytes=10 [2023-01-17T17:44:28.473Z] ==> Appending adjustments [2023-01-17T17:44:28.473Z] https://docs.codecov.io/docs/fixing-reports [2023-01-17T17:44:28.731Z] + Found adjustments [2023-01-17T17:44:28.731Z] ==> Gzipping contents [2023-01-17T17:44:28.731Z] 4.0K /tmp/codecov.AzG2Lb.gz [2023-01-17T17:44:28.731Z] ==> Uploading reports [2023-01-17T17:44:28.731Z] url: https://codecov.io [2023-01-17T17:44:28.731Z] query: branch=main&commit=07860bbab13f2ff928825cd544dbeda419b1d542&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:44:28.731Z] -> Pinging Codecov [2023-01-17T17:44:28.731Z] 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=07860bbab13f2ff928825cd544dbeda419b1d542&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-17T17:44:28.989Z] -> Uploading to [2023-01-17T17:44:28.989Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-17/3EC07B1A8CA8AF9BCAA0BB9F0134797F/07860bbab13f2ff928825cd544dbeda419b1d542/9f4627cf-6f13-4534-9590-339022b4b72c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T174428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e42fb52c4a8fc65c77597fd501310ca4757539e3b3e2b247da185983a06a1aa [2023-01-17T17:44:28.989Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T17:44:28.989Z] Dload Upload Total Spent Left Speed [2023-01-17T17:44:29.248Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2887 --:--:-- --:--:-- --:--:-- 2887 [2023-01-17T17:44:29.249Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/07860bbab13f2ff928825cd544dbeda419b1d542 [Pipeline] } [2023-01-17T17:44:29.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-17T17:44:29.362Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-17T17:44:29.380Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:29.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:44:29.679Z] [2023-01-17T17:44:29.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:29.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:44:29.988Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-17T17:44:29.988Z] df9b9388f04a: Pulling fs layer [2023-01-17T17:44:29.988Z] 52dc419b0ee2: Pulling fs layer [2023-01-17T17:44:29.988Z] 25bc292e5bac: Pulling fs layer [2023-01-17T17:44:29.988Z] 114826534d7a: Pulling fs layer [2023-01-17T17:44:29.988Z] 4657fd5d0bcf: Pulling fs layer [2023-01-17T17:44:29.988Z] 6ad1cebc031e: Pulling fs layer [2023-01-17T17:44:29.988Z] 8a3aa393b2d8: Pulling fs layer [2023-01-17T17:44:29.989Z] 114826534d7a: Waiting [2023-01-17T17:44:29.989Z] 8a3aa393b2d8: Waiting [2023-01-17T17:44:29.989Z] 6ad1cebc031e: Waiting [2023-01-17T17:44:29.989Z] 4657fd5d0bcf: Waiting [2023-01-17T17:44:29.989Z] 25bc292e5bac: Verifying Checksum [2023-01-17T17:44:29.989Z] 25bc292e5bac: Download complete [2023-01-17T17:44:29.989Z] 52dc419b0ee2: Verifying Checksum [2023-01-17T17:44:29.989Z] 52dc419b0ee2: Download complete [2023-01-17T17:44:29.989Z] 4657fd5d0bcf: Verifying Checksum [2023-01-17T17:44:29.989Z] 4657fd5d0bcf: Download complete [2023-01-17T17:44:29.989Z] df9b9388f04a: Download complete [2023-01-17T17:44:30.252Z] df9b9388f04a: Pull complete [2023-01-17T17:44:30.253Z] 52dc419b0ee2: Pull complete [2023-01-17T17:44:30.253Z] 6ad1cebc031e: Verifying Checksum [2023-01-17T17:44:30.253Z] 6ad1cebc031e: Download complete [2023-01-17T17:44:30.521Z] 25bc292e5bac: Pull complete [2023-01-17T17:44:31.536Z] 114826534d7a: Verifying Checksum [2023-01-17T17:44:31.536Z] 114826534d7a: Download complete [2023-01-17T17:44:31.536Z] 8a3aa393b2d8: Verifying Checksum [2023-01-17T17:44:31.536Z] 8a3aa393b2d8: Download complete [2023-01-17T17:44:34.818Z] 114826534d7a: Pull complete [2023-01-17T17:44:34.818Z] 4657fd5d0bcf: Pull complete [2023-01-17T17:44:35.076Z] 6ad1cebc031e: Pull complete [2023-01-17T17:44:37.603Z] 8a3aa393b2d8: Pull complete [2023-01-17T17:44:37.603Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-17T17:44:37.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-17T17:44:37.603Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:37.677Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:44:37.707Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-01-17T17:44:39.678Z] $ docker top 46188178592c305e6262c8b99af603e818f0ed3d176a5159053a477ad2c76cc2 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-17T17:44:39.751Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-01-17T17:44:40.031Z] + set -o pipefail [2023-01-17T17:44:40.031Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-01-17T17:44:46.598Z] [2023-01-17T17:44:46.598Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-01-17T17:44:46.598Z] [2023-01-17T17:44:46.598Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/0980123a-3383-477e-9bca-073a04087048 [2023-01-17T17:44:46.598Z] [2023-01-17T17:44:46.598Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-17T17:44:46.598Z] [2023-01-17T17:44:46.598Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-17T17:44:46.598Z] [2023-01-17T17:44:46.598Z] [2023-01-17T17:44:46.598Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-17T17:44:46.598Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-17T17:44:46.598Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-17T17:44:46.607Z] $ docker stop --time=1 46188178592c305e6262c8b99af603e818f0ed3d176a5159053a477ad2c76cc2 [2023-01-17T17:44:48.870Z] $ docker rm -f --volumes 46188178592c305e6262c8b99af603e818f0ed3d176a5159053a477ad2c76cc2 [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 [2023-01-17T17:44:49.609Z] + git log --format=format:%s -1 07860bbab13f2ff928825cd544dbeda419b1d542 [Pipeline] sh [2023-01-17T17:44:49.902Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:44:49.903Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:50.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:44:50.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:44:50.282Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:44:50.312Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T17:44:50.732Z] $ docker top df577f8c4de7074ddbd02f06cd40d3dfabb27f946424d2cf3f756512f7c09196 -eo pid,comm [2023-01-17T17:44:50.784Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-17T17:44:50.784Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:44:50.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:44:50.822Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:44:50.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:44:50.943Z] $ docker exec df577f8c4de7074ddbd02f06cd40d3dfabb27f946424d2cf3f756512f7c09196 ssh-agent [2023-01-17T17:44:51.067Z] SSH_AUTH_SOCK=/tmp/ssh-CioJYiAP3AxR/agent.32 [2023-01-17T17:44:51.067Z] SSH_AGENT_PID=38 [2023-01-17T17:44:51.071Z] Running ssh-add (command line suppressed) [2023-01-17T17:44:51.177Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_952012139767042829.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_952012139767042829.key) [2023-01-17T17:44:51.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:44:51.475Z] + git semver tag [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,663 [run_tag] DEBUG tag force:False [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,663 [check_head_tag] DEBUG check head tag [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,664 [execute] INFO git cat-file --batch-check [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,668 [execute] INFO git cat-file --batch [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,683 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,683 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:44:51.734Z] 2023-01-17 17:44:51,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-17T17:44:51.734Z] 3.0.0-dev.6 [Pipeline] } [2023-01-17T17:44:51.739Z] $ docker exec --env ******** --env ******** df577f8c4de7074ddbd02f06cd40d3dfabb27f946424d2cf3f756512f7c09196 ssh-agent -k [2023-01-17T17:44:51.834Z] unset SSH_AUTH_SOCK; [2023-01-17T17:44:51.834Z] unset SSH_AGENT_PID; [2023-01-17T17:44:51.834Z] echo Agent pid 38 killed; [2023-01-17T17:44:51.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:44:52.145Z] + git semver [Pipeline] } [2023-01-17T17:44:52.415Z] $ docker stop --time=1 df577f8c4de7074ddbd02f06cd40d3dfabb27f946424d2cf3f756512f7c09196 [2023-01-17T17:44:53.727Z] $ docker rm -f --volumes df577f8c4de7074ddbd02f06cd40d3dfabb27f946424d2cf3f756512f7c09196 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:54.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:44:54.116Z] [2023-01-17T17:44:54.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:44:54.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:44:54.418Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-17T17:44:54.418Z] ab5ef0e58194: Pulling fs layer [2023-01-17T17:44:54.418Z] 9712f1f96733: Pulling fs layer [2023-01-17T17:44:54.418Z] 63f879dbbcfc: Pulling fs layer [2023-01-17T17:44:54.418Z] 0d9ebad4ef96: Pulling fs layer [2023-01-17T17:44:54.418Z] e9a5061849ea: Pulling fs layer [2023-01-17T17:44:54.418Z] d747dcd14b5f: Pulling fs layer [2023-01-17T17:44:54.418Z] 2de7ff778b66: Pulling fs layer [2023-01-17T17:44:54.418Z] 0d9ebad4ef96: Waiting [2023-01-17T17:44:54.418Z] e9a5061849ea: Waiting [2023-01-17T17:44:54.418Z] d747dcd14b5f: Waiting [2023-01-17T17:44:54.418Z] 2de7ff778b66: Waiting [2023-01-17T17:44:54.418Z] 9712f1f96733: Verifying Checksum [2023-01-17T17:44:54.418Z] 9712f1f96733: Download complete [2023-01-17T17:44:55.406Z] 63f879dbbcfc: Verifying Checksum [2023-01-17T17:44:55.406Z] 63f879dbbcfc: Download complete [2023-01-17T17:44:55.406Z] e9a5061849ea: Verifying Checksum [2023-01-17T17:44:55.406Z] e9a5061849ea: Download complete [2023-01-17T17:44:55.406Z] 0d9ebad4ef96: Verifying Checksum [2023-01-17T17:44:55.406Z] 0d9ebad4ef96: Download complete [2023-01-17T17:44:55.406Z] ab5ef0e58194: Verifying Checksum [2023-01-17T17:44:55.406Z] ab5ef0e58194: Download complete [2023-01-17T17:44:55.406Z] d747dcd14b5f: Download complete [2023-01-17T17:44:55.664Z] 2de7ff778b66: Verifying Checksum [2023-01-17T17:44:55.664Z] 2de7ff778b66: Download complete [2023-01-17T17:44:58.189Z] ab5ef0e58194: Pull complete [2023-01-17T17:44:58.189Z] 9712f1f96733: Pull complete [2023-01-17T17:44:58.753Z] 63f879dbbcfc: Pull complete [2023-01-17T17:45:02.946Z] 0d9ebad4ef96: Pull complete [2023-01-17T17:45:02.946Z] e9a5061849ea: Pull complete [2023-01-17T17:45:02.946Z] d747dcd14b5f: Pull complete [2023-01-17T17:45:04.326Z] 2de7ff778b66: Pull complete [2023-01-17T17:45:04.326Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-17T17:45:04.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T17:45:04.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:45:04.401Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:45:04.429Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-17T17:45:06.527Z] $ docker top fdd177387ad808627e0ff278dbd54af18121a2056a84cd43a69c15d39dfe82c3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:45:06.600Z] provisioning config files... [2023-01-17T17:45:06.608Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17183553905867043148tmp [2023-01-17T17:45:06.616Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8261431988903814022tmp [2023-01-17T17:45:06.626Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config18078727915379394912tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:45:06.642Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:06.922Z] ---> sigul-configuration.sh [2023-01-17T17:45:06.922Z] gpg: directory `/root/.gnupg' created [2023-01-17T17:45:06.922Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-17T17:45:06.922Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-17T17:45:06.922Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-17T17:45:06.922Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-17T17:45:06.922Z] gpg: CAST5 encrypted data [2023-01-17T17:45:06.922Z] gpg: encrypted with 1 passphrase [2023-01-17T17:45:06.922Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-17T17:45:07.205Z] + mkdir /home/jenkins [2023-01-17T17:45:07.205Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-17T17:45:07.488Z] + 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 [2023-01-17T17:45:07.497Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:07.780Z] ---> sigul-install.sh [2023-01-17T17:45:07.780Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-17T17:45:08.063Z] + git tag --list [2023-01-17T17:45:08.063Z] v1.0.0 [2023-01-17T17:45:08.063Z] v2.1.0 [2023-01-17T17:45:08.063Z] v2.1.1 [2023-01-17T17:45:08.063Z] v2.1.1-dev.1 [2023-01-17T17:45:08.063Z] v2.2.0 [2023-01-17T17:45:08.063Z] v2.2.1-dev.1 [2023-01-17T17:45:08.063Z] v2.2.1-dev.2 [2023-01-17T17:45:08.063Z] v2.2.1-dev.3 [2023-01-17T17:45:08.063Z] v2.2.1-dev.4 [2023-01-17T17:45:08.063Z] v2.3.0 [2023-01-17T17:45:08.063Z] v2.3.0-dev.10 [2023-01-17T17:45:08.063Z] v2.3.0-dev.11 [2023-01-17T17:45:08.063Z] v2.3.0-dev.12 [2023-01-17T17:45:08.063Z] v2.3.0-dev.13 [2023-01-17T17:45:08.063Z] v2.3.0-dev.14 [2023-01-17T17:45:08.063Z] v2.3.0-dev.15 [2023-01-17T17:45:08.063Z] v2.3.0-dev.16 [2023-01-17T17:45:08.063Z] v2.3.0-dev.17 [2023-01-17T17:45:08.063Z] v2.3.0-dev.18 [2023-01-17T17:45:08.063Z] v2.3.0-dev.19 [2023-01-17T17:45:08.063Z] v2.3.0-dev.20 [2023-01-17T17:45:08.063Z] v2.3.0-dev.4 [2023-01-17T17:45:08.063Z] v2.3.0-dev.5 [2023-01-17T17:45:08.063Z] v2.3.0-dev.6 [2023-01-17T17:45:08.063Z] v2.3.0-dev.7 [2023-01-17T17:45:08.063Z] v2.3.0-dev.8 [2023-01-17T17:45:08.063Z] v2.3.0-dev.9 [2023-01-17T17:45:08.063Z] v3.0.0-dev.1 [2023-01-17T17:45:08.063Z] v3.0.0-dev.2 [2023-01-17T17:45:08.063Z] v3.0.0-dev.3 [2023-01-17T17:45:08.063Z] v3.0.0-dev.4 [2023-01-17T17:45:08.063Z] v3.0.0-dev.5 [2023-01-17T17:45:08.063Z] v3.0.0-dev.6 [Pipeline] sh [2023-01-17T17:45:08.350Z] + lftools sign git-tag v3.0.0-dev.6 [2023-01-17T17:45:08.921Z] Signing Git tag with Sigul... [2023-01-17T17:45:08.921Z] Signing v3.0.0-dev.6 [Pipeline] echo [2023-01-17T17:45:09.496Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:09.780Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-17T17:45:09.786Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-17T17:45:09.806Z] $ docker stop --time=1 fdd177387ad808627e0ff278dbd54af18121a2056a84cd43a69c15d39dfe82c3 [2023-01-17T17:45:11.165Z] $ docker rm -f --volumes fdd177387ad808627e0ff278dbd54af18121a2056a84cd43a69c15d39dfe82c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-17T17:45:11.569Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:45:11.569Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:45:11.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:45:11.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:45:11.937Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:45:11.963Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T17:45:12.327Z] $ docker top dec82e48547a22635e9c93d18673b27a52777d8f4a431ba6893889066a1b7725 -eo pid,comm [2023-01-17T17:45:12.382Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-17T17:45:12.382Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:45:12.422Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:45:12.422Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:45:12.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:45:12.531Z] $ docker exec dec82e48547a22635e9c93d18673b27a52777d8f4a431ba6893889066a1b7725 ssh-agent [2023-01-17T17:45:12.647Z] SSH_AUTH_SOCK=/tmp/ssh-SuhVbMeS1NZF/agent.31 [2023-01-17T17:45:12.647Z] SSH_AGENT_PID=37 [2023-01-17T17:45:12.652Z] Running ssh-add (command line suppressed) [2023-01-17T17:45:12.759Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14691604340803303367.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14691604340803303367.key) [2023-01-17T17:45:12.773Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:45:13.057Z] + git semver bump pre [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,236 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,236 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,236 [bump_version] DEBUG bumped version:3.0.0-dev.7 [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,237 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,237 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,237 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,238 [execute] INFO git cat-file --batch-check [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,244 [execute] INFO git cat-file --batch [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,245 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:45:13.317Z] 2023-01-17 17:45:13,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-17T17:45:13.317Z] 3.0.0-dev.7 [Pipeline] } [2023-01-17T17:45:13.324Z] $ docker exec --env ******** --env ******** dec82e48547a22635e9c93d18673b27a52777d8f4a431ba6893889066a1b7725 ssh-agent -k [2023-01-17T17:45:13.412Z] unset SSH_AUTH_SOCK; [2023-01-17T17:45:13.412Z] unset SSH_AGENT_PID; [2023-01-17T17:45:13.412Z] echo Agent pid 37 killed; [2023-01-17T17:45:13.425Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:45:13.724Z] + git semver [Pipeline] } [2023-01-17T17:45:13.994Z] $ docker stop --time=1 dec82e48547a22635e9c93d18673b27a52777d8f4a431ba6893889066a1b7725 [2023-01-17T17:45:15.316Z] $ docker rm -f --volumes dec82e48547a22635e9c93d18673b27a52777d8f4a431ba6893889066a1b7725 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T17:45:15.655Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T17:45:15.655Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:45:15.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T17:45:15.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:45:16.023Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:45:16.051Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T17:45:16.406Z] $ docker top 8cd17a9c1501cb6c48fe3ae51b503b40292cd662e81f1e1a9c1c0a93e1174939 -eo pid,comm [2023-01-17T17:45:16.455Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-17T17:45:16.455Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T17:45:16.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T17:45:16.494Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T17:45:16.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T17:45:16.609Z] $ docker exec 8cd17a9c1501cb6c48fe3ae51b503b40292cd662e81f1e1a9c1c0a93e1174939 ssh-agent [2023-01-17T17:45:16.719Z] SSH_AUTH_SOCK=/tmp/ssh-EfXG6WkdVDS6/agent.32 [2023-01-17T17:45:16.719Z] SSH_AGENT_PID=38 [2023-01-17T17:45:16.723Z] Running ssh-add (command line suppressed) [2023-01-17T17:45:16.818Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16880825167103945628.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16880825167103945628.key) [2023-01-17T17:45:16.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T17:45:17.130Z] + git semver push [2023-01-17T17:45:17.389Z] 2023-01-17 17:45:17,307 [run_push] DEBUG push [2023-01-17T17:45:17.389Z] 2023-01-17 17:45:17,307 [execute] INFO git cat-file --batch-check [2023-01-17T17:45:17.389Z] 2023-01-17 17:45:17,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T17:45:17.389Z] 2023-01-17 17:45:17,311 [execute] INFO git rev-list cea0a1443942eca6ea92b0bf19d96cb94ab902b0 -- [2023-01-17T17:45:17.389Z] 2023-01-17 17:45:17,312 [execute] DEBUG Popen(['git', 'rev-list', 'cea0a1443942eca6ea92b0bf19d96cb94ab902b0', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:45:17.389Z] 2023-01-17 17:45:17,318 [execute] INFO git fetch -v origin [2023-01-17T17:45:17.389Z] 2023-01-17 17:45:17,318 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-17T17:45:17.955Z] 2023-01-17 17:45:17,838 [run_push] DEBUG no remote changes detected [2023-01-17T17:45:17.955Z] 2023-01-17 17:45:17,838 [execute] INFO git push origin semver [2023-01-17T17:45:17.955Z] 2023-01-17 17:45:17,839 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:45:18.891Z] 2023-01-17 17:45:18,809 [run_push] DEBUG push all version tags [2023-01-17T17:45:18.891Z] 2023-01-17 17:45:18,810 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-17T17:45:18.891Z] 2023-01-17 17:45:18,810 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-01-17T17:45:19.829Z] 2023-01-17 17:45:19,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-17T17:45:19.829Z] 3.0.0-dev.7 [Pipeline] } [2023-01-17T17:45:19.835Z] $ docker exec --env ******** --env ******** 8cd17a9c1501cb6c48fe3ae51b503b40292cd662e81f1e1a9c1c0a93e1174939 ssh-agent -k [2023-01-17T17:45:19.941Z] unset SSH_AUTH_SOCK; [2023-01-17T17:45:19.941Z] unset SSH_AGENT_PID; [2023-01-17T17:45:19.941Z] echo Agent pid 38 killed; [2023-01-17T17:45:19.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T17:45:20.254Z] + git semver [Pipeline] } [2023-01-17T17:45:20.521Z] $ docker stop --time=1 8cd17a9c1501cb6c48fe3ae51b503b40292cd662e81f1e1a9c1c0a93e1174939 [2023-01-17T17:45:21.842Z] $ docker rm -f --volumes 8cd17a9c1501cb6c48fe3ae51b503b40292cd662e81f1e1a9c1c0a93e1174939 [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 [2023-01-17T17:45:22.473Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-01-17T17:45:22.473Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-17T17:45:22.473Z] total 16 [2023-01-17T17:45:22.473Z] drwxr-xr-x 3 root root 4096 Jan 17 17:34 . [2023-01-17T17:45:22.473Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:45 .. [2023-01-17T17:45:22.473Z] drwxr-xr-x 2 root root 4096 Jan 17 17:34 cost [2023-01-17T17:45:22.473Z] -rw-r--r-- 1 root root 82 Jan 17 17:34 cost.csv [2023-01-17T17:45:22.473Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-17T17:45:22.473Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-17T17:45:22.473Z] total 16 [2023-01-17T17:45:22.473Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 17:34 . [2023-01-17T17:45:22.473Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 17:45 .. [2023-01-17T17:45:22.473Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 17:34 cost [2023-01-17T17:45:22.473Z] -rw-r--r-- 1 jenkins jenkins 82 Jan 17 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:22.774Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:23.634Z] ---> package-listing.sh [2023-01-17T17:45:23.634Z] ++ facter osfamily [2023-01-17T17:45:23.634Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-17T17:45:23.892Z] + OS_FAMILY=debian [2023-01-17T17:45:23.892Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-01-17T17:45:23.892Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-17T17:45:23.892Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-17T17:45:23.892Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-17T17:45:23.892Z] + PACKAGES=/tmp/packages_start.txt [2023-01-17T17:45:23.892Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-01-17T17:45:23.892Z] + PACKAGES=/tmp/packages_end.txt [2023-01-17T17:45:23.892Z] + case "${OS_FAMILY}" in [2023-01-17T17:45:23.892Z] + grep '^ii' [2023-01-17T17:45:23.892Z] + dpkg -l [2023-01-17T17:45:23.892Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-17T17:45:23.892Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-17T17:45:23.892Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-17T17:45:23.892Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-01-17T17:45:23.892Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-01-17T17:45:23.892Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-01-17T17:45:23.903Z] 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 [2023-01-17T17:45:24.179Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T17:45:24.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T17:45:24.733Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T17:45:24.798Z] prd-ubuntu20.04-docker-8c-8g-2749 does not seem to be running inside a container [2023-01-17T17:45:24.822Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-17T17:45:25.065Z] $ docker top c6c2e2c6c82187d6058f775492777a39f0b094094547d930746992d14484bac8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T17:45:25.411Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-17T17:45:25.700Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-17T17:45:25.985Z] + ls /var/log/sa-host [2023-01-17T17:45:25.985Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T17:45:26.054Z] provisioning config files... [2023-01-17T17:45:26.063Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16737537308684066909tmp [Pipeline] { [Pipeline] echo [2023-01-17T17:45:26.075Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:26.356Z] ---> create-netrc.sh [Pipeline] } [2023-01-17T17:45:26.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:26.695Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-17T17:45:26.704Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:26.986Z] ---> sudo-logs.sh [2023-01-17T17:45:26.986Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-17T17:45:27.024Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:27.308Z] ---> job-cost.sh [2023-01-17T17:45:27.308Z] lf-activate-venv: SKIPPING [2023-01-17T17:45:27.308Z] DEBUG: total: 0.2199999988079071 [2023-01-17T17:45:27.308Z] INFO: Retrieving Stack Cost... [2023-01-17T17:45:27.567Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T17:45:28.137Z] INFO: Archiving Costs [Pipeline] echo [2023-01-17T17:45:28.150Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T17:45:28.433Z] ---> logs-deploy.sh [2023-01-17T17:45:28.433Z] lf-activate-venv: SKIPPING [2023-01-17T17:45:28.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/58 [2023-01-17T17:45:28.433Z] INFO: archiving workspace using pattern(s): [2023-01-17T17:45:29.370Z] Archives upload complete. [2023-01-17T17:45:29.370Z] INFO: archiving logs to Nexus