Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b133d1624fd057731a220f2d6c76f72cebe0f7f6 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-ssh10932041265017393151.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-ssh13160131564137314412.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-ssh4717915430825274615.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-ssh9009737270860426582.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-ssh452627545269803975.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1591’ Running on prd-ubuntu20.04-docker-8c-8g-1595 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 b133d1624fd057731a220f2d6c76f72cebe0f7f6 (main) Commit message: "Merge pull request #75 from lenny-intel/options" > 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 b133d1624fd057731a220f2d6c76f72cebe0f7f6 # timeout=10 > git rev-list --no-walk 14c37c6919d6c1a44175d8fd941257ea70202ac9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T17:22:04.070Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T17:22:04.108Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T17:22:04.129Z] ========================================================= [2023-01-10T17:22:04.129Z] EdgeX Global Pipelines Version Info [2023-01-10T17:22:04.129Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:22:04.846Z] ------------------- [2023-01-10T17:22:04.846Z] stable info: [2023-01-10T17:22:04.846Z] ------------------- [2023-01-10T17:22:04.846Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T17:22:04.846Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T17:22:04.846Z] Message: update stable to v1.0.244 [2023-01-10T17:22:05.416Z] ------------------- [2023-01-10T17:22:05.416Z] experimental info: [2023-01-10T17:22:05.416Z] ------------------- [2023-01-10T17:22:05.416Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T17:22:05.416Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T17:22:05.416Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T17:22:05.583Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-01-10T17:22:05.596Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-01-10T17:22:05.606Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T17:22:05.616Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T17:22:05.628Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T17:22:05.643Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T17:22:05.654Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T17:22:05.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T17:22:05.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T17:22:05.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T17:22:05.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T17:22:05.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-01-10T17:22:05.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T17:22:05.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T17:22:05.768Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T17:22:05.781Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T17:22:05.793Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T17:22:05.804Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T17:22:05.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T17:22:05.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T17:22:05.849Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T17:22:05.866Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T17:22:05.881Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T17:22:05.892Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T17:22:05.907Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T17:22:05.919Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T17:22:05.937Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T17:22:05.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-10T17:22:05.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-10T17:22:05.975Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-10T17:22:05.986Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b133d1624fd057731a220f2d6c76f72cebe0f7f6 [Pipeline] echo [2023-01-10T17:22:05.996Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b133d16 [Pipeline] echo [2023-01-10T17:22:06.007Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T17:22:06.051Z] provisioning config files... [2023-01-10T17:22:06.066Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11372395221238331570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:22:06.372Z] ---> docker-login.sh [2023-01-10T17:22:06.372Z] nexus3.edgexfoundry.org:10001 [2023-01-10T17:22:06.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:06.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:06.631Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:06.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:06.631Z] [2023-01-10T17:22:06.631Z] Login Succeeded [2023-01-10T17:22:06.631Z] nexus3.edgexfoundry.org:10002 [2023-01-10T17:22:06.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:06.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:06.631Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:06.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:06.631Z] [2023-01-10T17:22:06.631Z] Login Succeeded [2023-01-10T17:22:06.631Z] nexus3.edgexfoundry.org:10003 [2023-01-10T17:22:06.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:06.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:06.891Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:06.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:06.891Z] [2023-01-10T17:22:06.891Z] Login Succeeded [2023-01-10T17:22:06.891Z] nexus3.edgexfoundry.org:10004 [2023-01-10T17:22:06.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:06.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:06.891Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:06.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:06.891Z] [2023-01-10T17:22:06.891Z] Login Succeeded [2023-01-10T17:22:06.891Z] docker.io [2023-01-10T17:22:07.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:07.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:07.151Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:07.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:07.151Z] [2023-01-10T17:22:07.151Z] Login Succeeded [2023-01-10T17:22:07.151Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T17:22:07.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T17:22:07.513Z] + git rev-list -1 --merges b133d1624fd057731a220f2d6c76f72cebe0f7f6~1..b133d1624fd057731a220f2d6c76f72cebe0f7f6 [Pipeline] echo [2023-01-10T17:22:07.563Z] -----------> git rev-list -1 --merges b133d1624fd057731a220f2d6c76f72cebe0f7f6~1..b133d1624fd057731a220f2d6c76f72cebe0f7f6 b133d1624fd057731a220f2d6c76f72cebe0f7f6 [2023-01-10T17:22:07.563Z] b133d1624fd057731a220f2d6c76f72cebe0f7f6 [false] [Pipeline] sh [2023-01-10T17:22:07.849Z] + git log --format=format:%s -1 b133d1624fd057731a220f2d6c76f72cebe0f7f6 [Pipeline] echo [2023-01-10T17:22:07.865Z] ========================================================= [2023-01-10T17:22:07.865Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T17:22:07.865Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T17:22:08.193Z] + git log --format=format:%s -1 b133d1624fd057731a220f2d6c76f72cebe0f7f6 [Pipeline] echo [2023-01-10T17:22:08.206Z] [semverPrep] GIT_COMMIT: b133d1624fd057731a220f2d6c76f72cebe0f7f6, Commit Message: Merge pull request #75 from lenny-intel/options [Pipeline] echo [2023-01-10T17:22:08.214Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T17:22:08.544Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T17:22:08.544Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T17:22:08.544Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T17:22:08.544Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T17:22:08.544Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T17:22:08.544Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T17:22:08.544Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:22:08.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T17:22:08.883Z] [2023-01-10T17:22:08.883Z] 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-10T17:22:09.190Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T17:22:09.190Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T17:22:09.190Z] b85a868b505f: Pulling fs layer [2023-01-10T17:22:09.190Z] e2be974225ed: Pulling fs layer [2023-01-10T17:22:09.190Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T17:22:09.190Z] 988bab9f4d93: Pulling fs layer [2023-01-10T17:22:09.190Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T17:22:09.190Z] eaf3925da568: Pulling fs layer [2023-01-10T17:22:09.190Z] bab4dde63d76: Pulling fs layer [2023-01-10T17:22:09.190Z] bde34c3a00c8: Pulling fs layer [2023-01-10T17:22:09.190Z] b352a97aabf1: Pulling fs layer [2023-01-10T17:22:09.190Z] 4872d77fe225: Pulling fs layer [2023-01-10T17:22:09.190Z] 5851b861e8e6: Pulling fs layer [2023-01-10T17:22:09.190Z] eaf3925da568: Waiting [2023-01-10T17:22:09.190Z] bab4dde63d76: Waiting [2023-01-10T17:22:09.190Z] bde34c3a00c8: Waiting [2023-01-10T17:22:09.190Z] 1469e6f7b9e6: Waiting [2023-01-10T17:22:09.190Z] 4872d77fe225: Waiting [2023-01-10T17:22:09.190Z] 988bab9f4d93: Waiting [2023-01-10T17:22:09.190Z] 5851b861e8e6: Waiting [2023-01-10T17:22:09.190Z] e2be974225ed: Verifying Checksum [2023-01-10T17:22:09.190Z] e2be974225ed: Download complete [2023-01-10T17:22:09.190Z] 988bab9f4d93: Verifying Checksum [2023-01-10T17:22:09.190Z] 988bab9f4d93: Download complete [2023-01-10T17:22:09.450Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T17:22:09.450Z] 1469e6f7b9e6: Download complete [2023-01-10T17:22:09.450Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T17:22:09.450Z] 339a4e72a1f5: Download complete [2023-01-10T17:22:09.450Z] eaf3925da568: Verifying Checksum [2023-01-10T17:22:09.450Z] eaf3925da568: Download complete [2023-01-10T17:22:09.450Z] bde34c3a00c8: Verifying Checksum [2023-01-10T17:22:09.450Z] bde34c3a00c8: Download complete [2023-01-10T17:22:09.450Z] b352a97aabf1: Verifying Checksum [2023-01-10T17:22:09.450Z] b352a97aabf1: Download complete [2023-01-10T17:22:09.450Z] 4872d77fe225: Download complete [2023-01-10T17:22:09.450Z] 5851b861e8e6: Verifying Checksum [2023-01-10T17:22:09.450Z] 5851b861e8e6: Download complete [2023-01-10T17:22:09.450Z] b85a868b505f: Verifying Checksum [2023-01-10T17:22:09.450Z] b85a868b505f: Download complete [2023-01-10T17:22:09.725Z] bab4dde63d76: Verifying Checksum [2023-01-10T17:22:09.725Z] bab4dde63d76: Download complete [2023-01-10T17:22:10.682Z] b85a868b505f: Pull complete [2023-01-10T17:22:10.682Z] e2be974225ed: Pull complete [2023-01-10T17:22:11.250Z] 339a4e72a1f5: Pull complete [2023-01-10T17:22:11.250Z] 988bab9f4d93: Pull complete [2023-01-10T17:22:11.250Z] 1469e6f7b9e6: Pull complete [2023-01-10T17:22:11.508Z] eaf3925da568: Pull complete [2023-01-10T17:22:13.412Z] bab4dde63d76: Pull complete [2023-01-10T17:22:13.412Z] bde34c3a00c8: Pull complete [2023-01-10T17:22:13.412Z] b352a97aabf1: Pull complete [2023-01-10T17:22:13.412Z] 4872d77fe225: Pull complete [2023-01-10T17:22:13.412Z] 5851b861e8e6: Pull complete [2023-01-10T17:22:13.412Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T17:22:13.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T17:22:13.412Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:22:13.505Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:22:13.539Z] $ 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-10T17:22:14.745Z] $ docker top c53f00c4c6ed3f2cedad96b97e46c50d0eba35902a9c930633a659295dfdf96c -eo pid,comm [2023-01-10T17:22:14.800Z] 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-10T17:22:14.800Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T17:22:14.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T17:22:14.837Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T17:22:14.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T17:22:14.947Z] $ docker exec c53f00c4c6ed3f2cedad96b97e46c50d0eba35902a9c930633a659295dfdf96c ssh-agent [2023-01-10T17:22:15.049Z] SSH_AUTH_SOCK=/tmp/ssh-en7cxrQR7Lwm/agent.32 [2023-01-10T17:22:15.049Z] SSH_AGENT_PID=38 [2023-01-10T17:22:15.055Z] Running ssh-add (command line suppressed) [2023-01-10T17:22:15.155Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4277922564922151566.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4277922564922151566.key) [2023-01-10T17:22:15.166Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T17:22:15.452Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T17:22:15.475Z] $ docker exec --env ******** --env ******** c53f00c4c6ed3f2cedad96b97e46c50d0eba35902a9c930633a659295dfdf96c ssh-agent -k [2023-01-10T17:22:15.584Z] unset SSH_AUTH_SOCK; [2023-01-10T17:22:15.585Z] unset SSH_AGENT_PID; [2023-01-10T17:22:15.585Z] echo Agent pid 38 killed; [2023-01-10T17:22:15.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T17:22:15.617Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T17:22:15.617Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T17:22:15.729Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T17:22:15.734Z] $ docker exec c53f00c4c6ed3f2cedad96b97e46c50d0eba35902a9c930633a659295dfdf96c ssh-agent [2023-01-10T17:22:15.847Z] SSH_AUTH_SOCK=/tmp/ssh-5hITp7UrCoBx/agent.70 [2023-01-10T17:22:15.847Z] SSH_AGENT_PID=76 [2023-01-10T17:22:15.852Z] Running ssh-add (command line suppressed) [2023-01-10T17:22:15.959Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5315787821855254130.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5315787821855254130.key) [2023-01-10T17:22:15.967Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T17:22:16.251Z] + git semver init [2023-01-10T17:22:16.510Z] 2023-01-10 17:22:16,477 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T17:22:16.510Z] 2023-01-10 17:22:16,478 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-01-10T17:22:16.510Z] 2023-01-10 17:22:16,478 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-01-10T17:22:16.510Z] 2023-01-10 17:22:16,479 [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-10T17:22:17.465Z] 2023-01-10 17:22:17,371 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-01-10T17:22:17.465Z] 2023-01-10 17:22:17,372 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-01-10T17:22:17.465Z] 2023-01-10 17:22:17,372 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T17:22:17.465Z] 2023-01-10 17:22:17,372 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T17:22:17.465Z] 3.0.0-dev.2 [Pipeline] } [2023-01-10T17:22:17.479Z] $ docker exec --env ******** --env ******** c53f00c4c6ed3f2cedad96b97e46c50d0eba35902a9c930633a659295dfdf96c ssh-agent -k [2023-01-10T17:22:17.589Z] unset SSH_AUTH_SOCK; [2023-01-10T17:22:17.592Z] unset SSH_AGENT_PID; [2023-01-10T17:22:17.593Z] echo Agent pid 76 killed; [2023-01-10T17:22:17.597Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T17:22:17.894Z] + git semver [Pipeline] } [2023-01-10T17:22:18.167Z] $ docker stop --time=1 c53f00c4c6ed3f2cedad96b97e46c50d0eba35902a9c930633a659295dfdf96c [2023-01-10T17:22:19.450Z] $ docker rm -f --volumes c53f00c4c6ed3f2cedad96b97e46c50d0eba35902a9c930633a659295dfdf96c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T17:22:19.785Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T17:22:19.972Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T17:22:19.977Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [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-10T17:22:20.136Z] provisioning config files... [2023-01-10T17:22:20.146Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config824713433051811304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:22:20.442Z] ---> docker-login.sh [2023-01-10T17:22:20.442Z] nexus3.edgexfoundry.org:10001 [2023-01-10T17:22:20.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:20.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:20.442Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:20.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:20.442Z] [2023-01-10T17:22:20.442Z] Login Succeeded [2023-01-10T17:22:20.442Z] nexus3.edgexfoundry.org:10002 [2023-01-10T17:22:20.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:20.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:20.442Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:20.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:20.442Z] [2023-01-10T17:22:20.442Z] Login Succeeded [2023-01-10T17:22:20.442Z] nexus3.edgexfoundry.org:10003 [2023-01-10T17:22:20.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:20.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:20.701Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:20.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:20.701Z] [2023-01-10T17:22:20.701Z] Login Succeeded [2023-01-10T17:22:20.701Z] nexus3.edgexfoundry.org:10004 [2023-01-10T17:22:20.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:20.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:20.701Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:20.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:20.701Z] [2023-01-10T17:22:20.701Z] Login Succeeded [2023-01-10T17:22:20.701Z] docker.io [2023-01-10T17:22:20.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:22:21.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:22:21.219Z] Configure a credential helper to remove this warning. See [2023-01-10T17:22:21.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:22:21.219Z] [2023-01-10T17:22:21.219Z] Login Succeeded [2023-01-10T17:22:21.219Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T17:22:21.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T17:22:21.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:22:21.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:22:21.298Z] ========================================================= [2023-01-10T17:22:21.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T17:22:21.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:22:21.601Z] + 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-10T17:22:21.601Z] Sending build context to Docker daemon 15.95MB [2023-01-10T17:22:21.601Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T17:22:21.601Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T17:22:21.601Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T17:22:21.601Z] 213ec9aee27d: Pulling fs layer [2023-01-10T17:22:21.601Z] 4583459ba037: Pulling fs layer [2023-01-10T17:22:21.601Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T17:22:21.601Z] 53926ce57604: Pulling fs layer [2023-01-10T17:22:21.601Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T17:22:21.601Z] 22ff95d597cd: Pulling fs layer [2023-01-10T17:22:21.601Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T17:22:21.601Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T17:22:21.601Z] a7acece74701: Pulling fs layer [2023-01-10T17:22:21.601Z] 53926ce57604: Waiting [2023-01-10T17:22:21.601Z] 21b2b0c7a3f4: Waiting [2023-01-10T17:22:21.601Z] 22ff95d597cd: Waiting [2023-01-10T17:22:21.601Z] 12d6caf4c0d1: Waiting [2023-01-10T17:22:21.601Z] 96b7cbca73a9: Waiting [2023-01-10T17:22:21.601Z] a7acece74701: Waiting [2023-01-10T17:22:21.601Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T17:22:21.601Z] 93c1e223e6f2: Download complete [2023-01-10T17:22:21.860Z] 4583459ba037: Verifying Checksum [2023-01-10T17:22:21.860Z] 4583459ba037: Download complete [2023-01-10T17:22:21.860Z] 21b2b0c7a3f4: Download complete [2023-01-10T17:22:21.860Z] 22ff95d597cd: Verifying Checksum [2023-01-10T17:22:21.860Z] 22ff95d597cd: Download complete [2023-01-10T17:22:21.860Z] 213ec9aee27d: Download complete [2023-01-10T17:22:21.860Z] 12d6caf4c0d1: Download complete [2023-01-10T17:22:21.860Z] 213ec9aee27d: Pull complete [2023-01-10T17:22:22.120Z] 4583459ba037: Pull complete [2023-01-10T17:22:22.120Z] 93c1e223e6f2: Pull complete [2023-01-10T17:22:22.382Z] a7acece74701: Verifying Checksum [2023-01-10T17:22:22.382Z] a7acece74701: Download complete [2023-01-10T17:22:22.642Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T17:22:22.642Z] 96b7cbca73a9: Download complete [2023-01-10T17:22:22.642Z] 53926ce57604: Verifying Checksum [2023-01-10T17:22:22.642Z] 53926ce57604: Download complete [2023-01-10T17:22:25.941Z] 53926ce57604: Pull complete [2023-01-10T17:22:25.941Z] 21b2b0c7a3f4: Pull complete [2023-01-10T17:22:25.941Z] 22ff95d597cd: Pull complete [2023-01-10T17:22:26.199Z] 12d6caf4c0d1: Pull complete [2023-01-10T17:22:28.100Z] 96b7cbca73a9: Pull complete [2023-01-10T17:22:28.666Z] a7acece74701: Pull complete [2023-01-10T17:22:28.666Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T17:22:28.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T17:22:28.666Z] ---> db6d94c90886 [2023-01-10T17:22:28.666Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T17:22:30.572Z] ---> Running in 39c0728be2b9 [2023-01-10T17:22:30.572Z] Removing intermediate container 39c0728be2b9 [2023-01-10T17:22:30.572Z] ---> 1548d63a21c9 [2023-01-10T17:22:30.572Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T17:22:30.572Z] ---> Running in ec3e0c67e0bd [2023-01-10T17:22:30.572Z] Removing intermediate container ec3e0c67e0bd [2023-01-10T17:22:30.572Z] ---> 47a64c4b2960 [2023-01-10T17:22:30.572Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T17:22:30.572Z] ---> Running in 8a1aa3a6db83 [2023-01-10T17:22:30.572Z] Removing intermediate container 8a1aa3a6db83 [2023-01-10T17:22:30.572Z] ---> 7c73f9bfbe6f [2023-01-10T17:22:30.572Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T17:22:30.572Z] ---> Running in bfb22cc19357 [2023-01-10T17:22:30.572Z] Removing intermediate container bfb22cc19357 [2023-01-10T17:22:30.572Z] ---> bc61f5a06ba0 [2023-01-10T17:22:30.572Z] Step 7/12 : WORKDIR /device-gpio [2023-01-10T17:22:30.830Z] ---> Running in d397b30bb5f2 [2023-01-10T17:22:30.830Z] Removing intermediate container d397b30bb5f2 [2023-01-10T17:22:30.830Z] ---> 6e32d7ecc144 [2023-01-10T17:22:30.830Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T17:22:30.830Z] ---> Running in 4d5c71515241 [2023-01-10T17:22:31.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T17:22:31.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T17:22:31.619Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T17:22:31.619Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T17:22:31.619Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T17:22:31.619Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T17:22:31.619Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T17:22:31.619Z] OK: 216 MiB in 55 packages [2023-01-10T17:22:31.879Z] Removing intermediate container 4d5c71515241 [2023-01-10T17:22:31.879Z] ---> f84872ef3288 [2023-01-10T17:22:31.879Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T17:22:32.138Z] ---> 2ea875105294 [2023-01-10T17:22:32.138Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T17:22:32.138Z] ---> Running in 55bdc9a7f417 [2023-01-10T17:22:35.105Z] Still waiting to schedule task [2023-01-10T17:22:35.105Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1592’ [2023-01-10T17:22:50.240Z] Removing intermediate container 55bdc9a7f417 [2023-01-10T17:22:50.240Z] ---> 5937261701ac [2023-01-10T17:22:50.240Z] Step 11/12 : COPY . . [2023-01-10T17:22:50.240Z] ---> f1f564fd8306 [2023-01-10T17:22:50.240Z] Step 12/12 : RUN ${MAKE} [2023-01-10T17:22:50.240Z] ---> Running in f4810c125ef4 [2023-01-10T17:22:50.240Z] noop [2023-01-10T17:22:50.498Z] Removing intermediate container f4810c125ef4 [2023-01-10T17:22:50.498Z] ---> a54889335bdc [2023-01-10T17:22:50.755Z] Successfully built a54889335bdc [2023-01-10T17:22:50.755Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:22:51.064Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T17:22:51.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:22:51.129Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:22:51.157Z] $ 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-10T17:22:51.489Z] $ docker top 7aefdc34ae62735a8c91543e44c35f56d73f66567d484679a24e49a478bf4d31 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:22:51.830Z] + go version [2023-01-10T17:22:51.830Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T17:22:51.840Z] $ docker stop --time=1 7aefdc34ae62735a8c91543e44c35f56d73f66567d484679a24e49a478bf4d31 [2023-01-10T17:22:53.062Z] $ docker rm -f --volumes 7aefdc34ae62735a8c91543e44c35f56d73f66567d484679a24e49a478bf4d31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:22:53.439Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T17:22:53.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:22:53.505Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:22:53.532Z] $ 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-10T17:22:53.859Z] $ docker top c1fdf709836de6bf03f5e9ecfd012d2beee0937c9d709b0bb51ae7ab8f1a4b1c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:22:54.198Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-01-10T17:22:54.487Z] + make test [2023-01-10T17:22:54.488Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T17:22:54.746Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-10T17:23:02.845Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-10T17:23:02.845Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-10T17:23:09.390Z] 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-10T17:23:09.390Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T17:23:11.922Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T17:23:11.922Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T17:23:11.922Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T17:23:11.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T17:23:11.941Z] $ docker stop --time=1 c1fdf709836de6bf03f5e9ecfd012d2beee0937c9d709b0bb51ae7ab8f1a4b1c [2023-01-10T17:23:13.728Z] $ docker rm -f --volumes c1fdf709836de6bf03f5e9ecfd012d2beee0937c9d709b0bb51ae7ab8f1a4b1c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T17:23:14.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T17:23:14.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T17:23:14.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T17:23:14.968Z] + ls -al . [2023-01-10T17:23:14.968Z] total 168 [2023-01-10T17:23:14.968Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 17:22 . [2023-01-10T17:23:14.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:22 .. [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 10 17:22 .dockerignore [2023-01-10T17:23:14.969Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:23 .git [2023-01-10T17:23:14.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:22 .github [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 10 17:22 .gitignore [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 17:22 .golangci.yml [2023-01-10T17:23:14.969Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:22 .semver [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 9691 Jan 10 17:22 Attribution.txt [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 10 17:22 CHANGELOG.md [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 1586 Jan 10 17:22 Dockerfile [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 17:22 GOVERNANCE.md [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 10 17:22 Jenkinsfile [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 17:22 LICENSE [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 2085 Jan 10 17:22 Makefile [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 10 17:22 OWNERS.md [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 10 17:22 README.md [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 17:22 VERSION [2023-01-10T17:23:14.969Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:22 bin [2023-01-10T17:23:14.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:22 cmd [2023-01-10T17:23:14.969Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 10 17:22 coverage.out [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 10 17:22 go.mod [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 10 17:22 go.sum [2023-01-10T17:23:14.969Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:22 internal [2023-01-10T17:23:14.969Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:22 snap [2023-01-10T17:23:14.969Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 10 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:15.276Z] + 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=b133d1624fd057731a220f2d6c76f72cebe0f7f6 --label arch=amd64 --label version=3.0.0-dev.2 . [2023-01-10T17:23:15.276Z] Sending build context to Docker daemon 15.95MB [2023-01-10T17:23:15.276Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T17:23:15.276Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T17:23:15.276Z] ---> a54889335bdc [2023-01-10T17:23:15.276Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T17:23:15.534Z] ---> Running in 73b0574f75cb [2023-01-10T17:23:15.534Z] Removing intermediate container 73b0574f75cb [2023-01-10T17:23:15.534Z] ---> 8bbb5fa255e7 [2023-01-10T17:23:15.534Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T17:23:15.534Z] ---> Running in e235fae59713 [2023-01-10T17:23:15.534Z] Removing intermediate container e235fae59713 [2023-01-10T17:23:15.534Z] ---> bf802d7eea95 [2023-01-10T17:23:15.534Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T17:23:15.534Z] ---> Running in ffea71371dcf [2023-01-10T17:23:15.791Z] Removing intermediate container ffea71371dcf [2023-01-10T17:23:15.791Z] ---> 4af78fca5f46 [2023-01-10T17:23:15.791Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T17:23:15.791Z] ---> Running in 1e55198033b5 [2023-01-10T17:23:15.791Z] Removing intermediate container 1e55198033b5 [2023-01-10T17:23:15.791Z] ---> 3736149a089d [2023-01-10T17:23:15.791Z] Step 7/25 : WORKDIR /device-gpio [2023-01-10T17:23:15.791Z] ---> Running in be11f79ee099 [2023-01-10T17:23:15.791Z] Removing intermediate container be11f79ee099 [2023-01-10T17:23:15.791Z] ---> 53b1b094fa28 [2023-01-10T17:23:15.791Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T17:23:16.049Z] ---> Running in 7932300b3b73 [2023-01-10T17:23:16.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T17:23:16.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T17:23:16.566Z] OK: 216 MiB in 55 packages [2023-01-10T17:23:16.824Z] Removing intermediate container 7932300b3b73 [2023-01-10T17:23:16.824Z] ---> 314c9a72eb8b [2023-01-10T17:23:16.824Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T17:23:17.083Z] ---> a2d179296354 [2023-01-10T17:23:17.083Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T17:23:17.083Z] ---> Running in 0c9e15d126c8 [2023-01-10T17:23:17.649Z] Removing intermediate container 0c9e15d126c8 [2023-01-10T17:23:17.649Z] ---> 3594d38e1f39 [2023-01-10T17:23:17.649Z] Step 11/25 : COPY . . [2023-01-10T17:23:18.219Z] ---> 05cadbfbaefd [2023-01-10T17:23:18.219Z] Step 12/25 : RUN ${MAKE} [2023-01-10T17:23:18.219Z] ---> Running in 2f755e0e01c5 [2023-01-10T17:23:18.477Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2023-01-10T17:23:36.545Z] Removing intermediate container 2f755e0e01c5 [2023-01-10T17:23:36.545Z] ---> b95d2d74cdb6 [2023-01-10T17:23:36.545Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T17:23:36.803Z] 3.16: Pulling from library/alpine [2023-01-10T17:23:36.803Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T17:23:37.157Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T17:23:37.157Z] ca7dd9ec2225: Download complete [2023-01-10T17:23:37.157Z] ca7dd9ec2225: Pull complete [2023-01-10T17:23:37.157Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T17:23:37.157Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T17:23:37.157Z] ---> bfe296a52501 [2023-01-10T17:23:37.157Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-10T17:23:37.416Z] ---> Running in ca6296b14c5d [2023-01-10T17:23:37.416Z] Removing intermediate container ca6296b14c5d [2023-01-10T17:23:37.416Z] ---> 073c27e0062f [2023-01-10T17:23:37.416Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2023-01-10T17:23:37.416Z] ---> Running in 725c3d422852 [2023-01-10T17:23:37.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T17:23:37.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T17:23:37.932Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T17:23:37.932Z] (2/5) Installing libsodium (1.0.18-r0) [2023-01-10T17:23:37.932Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T17:23:37.932Z] (4/5) Installing libzmq (4.3.4-r0) [2023-01-10T17:23:37.932Z] (5/5) Installing zeromq (4.3.4-r0) [2023-01-10T17:23:37.932Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T17:23:37.932Z] OK: 8 MiB in 19 packages [2023-01-10T17:23:38.499Z] Removing intermediate container 725c3d422852 [2023-01-10T17:23:38.499Z] ---> cc0d165adb97 [2023-01-10T17:23:38.499Z] Step 16/25 : WORKDIR / [2023-01-10T17:23:38.499Z] ---> Running in 5bbd377122ef [2023-01-10T17:23:38.499Z] Removing intermediate container 5bbd377122ef [2023-01-10T17:23:38.499Z] ---> a146ae3f7813 [2023-01-10T17:23:38.499Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-10T17:23:38.499Z] ---> f4ddec00415f [2023-01-10T17:23:38.499Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-10T17:23:38.757Z] ---> f5c09d2a2517 [2023-01-10T17:23:38.757Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-10T17:23:39.322Z] ---> e4d7f5af0b9a [2023-01-10T17:23:39.322Z] Step 20/25 : EXPOSE 59910 [2023-01-10T17:23:39.322Z] ---> Running in 5e53afe75775 [2023-01-10T17:23:39.322Z] Removing intermediate container 5e53afe75775 [2023-01-10T17:23:39.322Z] ---> 46d3379088c1 [2023-01-10T17:23:39.322Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-10T17:23:39.322Z] ---> Running in 51817ee20ffe [2023-01-10T17:23:39.322Z] Removing intermediate container 51817ee20ffe [2023-01-10T17:23:39.322Z] ---> 32a269d54a25 [2023-01-10T17:23:39.322Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T17:23:39.322Z] ---> Running in 4e40576e04df [2023-01-10T17:23:39.580Z] Removing intermediate container 4e40576e04df [2023-01-10T17:23:39.580Z] ---> ca3f4cdeefb2 [2023-01-10T17:23:39.580Z] Step 23/25 : LABEL arch=amd64 [2023-01-10T17:23:39.580Z] ---> Running in 32d750504b5f [2023-01-10T17:23:39.580Z] Removing intermediate container 32d750504b5f [2023-01-10T17:23:39.580Z] ---> e6ce0ed0e6de [2023-01-10T17:23:39.580Z] Step 24/25 : LABEL git_sha=b133d1624fd057731a220f2d6c76f72cebe0f7f6 [2023-01-10T17:23:39.580Z] ---> Running in 41b30b05a985 [2023-01-10T17:23:39.580Z] Removing intermediate container 41b30b05a985 [2023-01-10T17:23:39.580Z] ---> 4ad22d6250ff [2023-01-10T17:23:39.580Z] Step 25/25 : LABEL version=3.0.0-dev.2 [2023-01-10T17:23:39.580Z] ---> Running in 14ca39843b48 [2023-01-10T17:23:39.838Z] Removing intermediate container 14ca39843b48 [2023-01-10T17:23:39.838Z] ---> 81e6f22b125c [2023-01-10T17:23:39.838Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T17:23:39.838Z] Successfully built 81e6f22b125c [2023-01-10T17:23:39.838Z] 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-10T17:23:39.928Z] provisioning config files... [2023-01-10T17:23:39.936Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13478389427431906814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:23:40.230Z] ---> docker-login.sh [2023-01-10T17:23:40.230Z] nexus3.edgexfoundry.org:10001 [2023-01-10T17:23:40.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:23:40.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:23:40.230Z] Configure a credential helper to remove this warning. See [2023-01-10T17:23:40.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:23:40.230Z] [2023-01-10T17:23:40.230Z] Login Succeeded [2023-01-10T17:23:40.230Z] nexus3.edgexfoundry.org:10002 [2023-01-10T17:23:40.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:23:40.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:23:40.230Z] Configure a credential helper to remove this warning. See [2023-01-10T17:23:40.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:23:40.230Z] [2023-01-10T17:23:40.230Z] Login Succeeded [2023-01-10T17:23:40.230Z] nexus3.edgexfoundry.org:10003 [2023-01-10T17:23:40.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:23:40.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:23:40.488Z] Configure a credential helper to remove this warning. See [2023-01-10T17:23:40.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:23:40.488Z] [2023-01-10T17:23:40.488Z] Login Succeeded [2023-01-10T17:23:40.488Z] nexus3.edgexfoundry.org:10004 [2023-01-10T17:23:40.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:23:40.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:23:40.488Z] Configure a credential helper to remove this warning. See [2023-01-10T17:23:40.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:23:40.488Z] [2023-01-10T17:23:40.488Z] Login Succeeded [2023-01-10T17:23:40.488Z] docker.io [2023-01-10T17:23:40.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:23:40.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:23:40.800Z] Configure a credential helper to remove this warning. See [2023-01-10T17:23:40.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:23:40.800Z] [2023-01-10T17:23:40.800Z] Login Succeeded [2023-01-10T17:23:40.800Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T17:23:40.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T17:23:40.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:23:40.923Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-01-10T17:23:40.923Z] b133d1624fd057731a220f2d6c76f72cebe0f7f6 [2023-01-10T17:23:40.923Z] latest [2023-01-10T17:23:40.923Z] 3.0.0-dev.2 [2023-01-10T17:23:40.923Z] b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2 [2023-01-10T17:23:40.923Z] main [2023-01-10T17:23:40.923Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:41.322Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:b133d1624fd057731a220f2d6c76f72cebe0f7f6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:41.629Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:b133d1624fd057731a220f2d6c76f72cebe0f7f6 [2023-01-10T17:23:41.630Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T17:23:41.630Z] e33b50548c6b: Preparing [2023-01-10T17:23:41.630Z] c11ed0a7158a: Preparing [2023-01-10T17:23:41.630Z] e35cebcd12e7: Preparing [2023-01-10T17:23:41.630Z] 4cde5cb4eee5: Preparing [2023-01-10T17:23:41.630Z] e5e13b0c77cb: Preparing [2023-01-10T17:23:41.630Z] e5e13b0c77cb: Layer already exists [2023-01-10T17:23:41.630Z] e35cebcd12e7: Pushed [2023-01-10T17:23:41.887Z] 4cde5cb4eee5: Pushed [2023-01-10T17:23:42.821Z] c11ed0a7158a: Pushed [2023-01-10T17:23:44.199Z] e33b50548c6b: Pushed [2023-01-10T17:23:44.199Z] b133d1624fd057731a220f2d6c76f72cebe0f7f6: digest: sha256:19008f56929e5320045504ad5f04bdbc106cebff5752bd975584ad5c6f95e7c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:44.517Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:44.826Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-01-10T17:23:44.826Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T17:23:44.826Z] e33b50548c6b: Preparing [2023-01-10T17:23:44.826Z] c11ed0a7158a: Preparing [2023-01-10T17:23:44.826Z] e35cebcd12e7: Preparing [2023-01-10T17:23:44.826Z] 4cde5cb4eee5: Preparing [2023-01-10T17:23:44.826Z] e5e13b0c77cb: Preparing [2023-01-10T17:23:44.826Z] c11ed0a7158a: Layer already exists [2023-01-10T17:23:44.826Z] 4cde5cb4eee5: Layer already exists [2023-01-10T17:23:44.826Z] e33b50548c6b: Layer already exists [2023-01-10T17:23:44.826Z] e35cebcd12e7: Layer already exists [2023-01-10T17:23:44.826Z] e5e13b0c77cb: Layer already exists [2023-01-10T17:23:44.826Z] latest: digest: sha256:19008f56929e5320045504ad5f04bdbc106cebff5752bd975584ad5c6f95e7c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:45.182Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:45.487Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.2 [2023-01-10T17:23:45.487Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T17:23:45.487Z] e33b50548c6b: Preparing [2023-01-10T17:23:45.487Z] c11ed0a7158a: Preparing [2023-01-10T17:23:45.487Z] e35cebcd12e7: Preparing [2023-01-10T17:23:45.487Z] 4cde5cb4eee5: Preparing [2023-01-10T17:23:45.487Z] e5e13b0c77cb: Preparing [2023-01-10T17:23:45.487Z] c11ed0a7158a: Layer already exists [2023-01-10T17:23:45.487Z] e35cebcd12e7: Layer already exists [2023-01-10T17:23:45.487Z] e5e13b0c77cb: Layer already exists [2023-01-10T17:23:45.487Z] e33b50548c6b: Layer already exists [2023-01-10T17:23:45.487Z] 4cde5cb4eee5: Layer already exists [2023-01-10T17:23:45.487Z] 3.0.0-dev.2: digest: sha256:19008f56929e5320045504ad5f04bdbc106cebff5752bd975584ad5c6f95e7c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:45.790Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:46.096Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2 [2023-01-10T17:23:46.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T17:23:46.096Z] e33b50548c6b: Preparing [2023-01-10T17:23:46.096Z] c11ed0a7158a: Preparing [2023-01-10T17:23:46.096Z] e35cebcd12e7: Preparing [2023-01-10T17:23:46.096Z] 4cde5cb4eee5: Preparing [2023-01-10T17:23:46.096Z] e5e13b0c77cb: Preparing [2023-01-10T17:23:46.096Z] e5e13b0c77cb: Layer already exists [2023-01-10T17:23:46.096Z] e35cebcd12e7: Layer already exists [2023-01-10T17:23:46.096Z] 4cde5cb4eee5: Layer already exists [2023-01-10T17:23:46.096Z] e33b50548c6b: Layer already exists [2023-01-10T17:23:46.096Z] c11ed0a7158a: Layer already exists [2023-01-10T17:23:46.096Z] b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2: digest: sha256:19008f56929e5320045504ad5f04bdbc106cebff5752bd975584ad5c6f95e7c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:46.405Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:46.713Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-01-10T17:23:46.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-01-10T17:23:46.713Z] e33b50548c6b: Preparing [2023-01-10T17:23:46.713Z] c11ed0a7158a: Preparing [2023-01-10T17:23:46.713Z] e35cebcd12e7: Preparing [2023-01-10T17:23:46.713Z] 4cde5cb4eee5: Preparing [2023-01-10T17:23:46.713Z] e5e13b0c77cb: Preparing [2023-01-10T17:23:46.713Z] e33b50548c6b: Layer already exists [2023-01-10T17:23:46.713Z] c11ed0a7158a: Layer already exists [2023-01-10T17:23:46.713Z] e35cebcd12e7: Layer already exists [2023-01-10T17:23:46.713Z] e5e13b0c77cb: Layer already exists [2023-01-10T17:23:46.713Z] 4cde5cb4eee5: Layer already exists [2023-01-10T17:23:46.713Z] main: digest: sha256:19008f56929e5320045504ad5f04bdbc106cebff5752bd975584ad5c6f95e7c6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T17:23:46.766Z] ===================================================== [Pipeline] echo [2023-01-10T17:23:46.776Z] taggedImages: [2023-01-10T17:23:46.776Z] - nexus3.edgexfoundry.org:10004/device-gpio:b133d1624fd057731a220f2d6c76f72cebe0f7f6 [2023-01-10T17:23:46.776Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-01-10T17:23:46.776Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.2 [2023-01-10T17:23:46.776Z] - nexus3.edgexfoundry.org:10004/device-gpio:b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2 [2023-01-10T17:23:46.776Z] - 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-10T17:23:47.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T17:23:47.150Z] [2023-01-10T17:23:47.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:23:47.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T17:23:47.444Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T17:23:47.444Z] 5eb5b503b376: Pulling fs layer [2023-01-10T17:23:47.444Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T17:23:47.444Z] ec43610c2a17: Pulling fs layer [2023-01-10T17:23:47.444Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T17:23:47.444Z] 33b1e0a273af: Pulling fs layer [2023-01-10T17:23:47.444Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T17:23:47.444Z] 2f39f015ded8: Pulling fs layer [2023-01-10T17:23:47.444Z] 33b1e0a273af: Waiting [2023-01-10T17:23:47.444Z] 3a2ae6a8a46f: Waiting [2023-01-10T17:23:47.444Z] 5d3b04190fa2: Waiting [2023-01-10T17:23:47.444Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T17:23:47.444Z] 5c69ac0246d0: Download complete [2023-01-10T17:23:47.444Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T17:23:47.444Z] 3a2ae6a8a46f: Download complete [2023-01-10T17:23:47.704Z] 33b1e0a273af: Verifying Checksum [2023-01-10T17:23:47.704Z] 33b1e0a273af: Download complete [2023-01-10T17:23:47.704Z] 5d3b04190fa2: Download complete [2023-01-10T17:23:47.704Z] ec43610c2a17: Download complete [2023-01-10T17:23:47.704Z] 5eb5b503b376: Verifying Checksum [2023-01-10T17:23:47.704Z] 5eb5b503b376: Download complete [2023-01-10T17:23:48.279Z] 2f39f015ded8: Download complete [2023-01-10T17:23:48.848Z] 5eb5b503b376: Pull complete [2023-01-10T17:23:48.848Z] 5c69ac0246d0: Pull complete [2023-01-10T17:23:49.413Z] ec43610c2a17: Pull complete [2023-01-10T17:23:49.413Z] 3a2ae6a8a46f: Pull complete [2023-01-10T17:23:49.670Z] 33b1e0a273af: Pull complete [2023-01-10T17:23:49.670Z] 5d3b04190fa2: Pull complete [2023-01-10T17:23:53.847Z] 2f39f015ded8: Pull complete [2023-01-10T17:23:53.847Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T17:23:53.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T17:23:53.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:23:53.929Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:23:53.960Z] $ 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-10T17:23:56.346Z] $ docker top 79188251182cb593353b796e03e31c71f522ce6a5f7bcb015e81f05190b7f3e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:23:56.742Z] ---> job-cost.sh [2023-01-10T17:23:56.742Z] lf-activate-venv: SKIPPING [2023-01-10T17:23:56.742Z] INFO: No Stack... [2023-01-10T17:23:57.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T17:23:57.262Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T17:23:57.548Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-01-10T17:23:57.549Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T17:23:57.563Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-54-stack-cost] [2023-01-10T17:23:57.569Z] Resource [jenkins-edgexfoundry-device-gpio-main-54-stack-cost] did not exist. Created. [2023-01-10T17:23:57.569Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T17:23:57.868Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T17:23:57.890Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T17:23:57.898Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-54-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T17:23:57.919Z] $ docker stop --time=1 79188251182cb593353b796e03e31c71f522ce6a5f7bcb015e81f05190b7f3e0 [2023-01-10T17:23:59.073Z] $ docker rm -f --volumes 79188251182cb593353b796e03e31c71f522ce6a5f7bcb015e81f05190b7f3e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T17:25:27.382Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1602 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-01-10T17:25:27.395Z] Running in /w/workspace/device-gpio/54 [Pipeline] { [Pipeline] checkout [2023-01-10T17:25:27.438Z] The recommended git tool is: git [2023-01-10T17:25:34.772Z] using credential edgex-jenkins-ssh [2023-01-10T17:25:34.793Z] Cloning the remote Git repository [2023-01-10T17:25:34.863Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-01-10T17:25:34.962Z] > git init /w/workspace/device-gpio/54 # timeout=10 [2023-01-10T17:25:35.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-01-10T17:25:35.157Z] > git --version # timeout=10 [2023-01-10T17:25:35.185Z] > git --version # 'git version 2.25.1' [2023-01-10T17:25:35.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T17:25:35.271Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T17:25:37.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-01-10T17:25:37.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T17:25:38.190Z] Avoid second fetch [2023-01-10T17:25:38.191Z] Checking out Revision b133d1624fd057731a220f2d6c76f72cebe0f7f6 (main) [2023-01-10T17:25:38.882Z] Commit message: "Merge pull request #75 from lenny-intel/options" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T17:25:38.216Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T17:25:38.237Z] > git checkout -f b133d1624fd057731a220f2d6c76f72cebe0f7f6 # timeout=10 [2023-01-10T17:25:39.837Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T17:25:39.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T17:25:39.837Z] Dload Upload Total Spent Left Speed [2023-01-10T17:25:39.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-01-10T17:25:40.555Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T17:25:40.907Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T17:25:40.907Z] + sudo tee /etc/docker/daemon.new [2023-01-10T17:25:40.907Z] { [2023-01-10T17:25:40.907Z] "registry-mirrors": [ [2023-01-10T17:25:40.907Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T17:25:40.907Z] ], [2023-01-10T17:25:40.907Z] "bip": "10.250.0.254/24", [2023-01-10T17:25:40.907Z] "hosts": [ [2023-01-10T17:25:40.907Z] "tcp://0.0.0.0:5555", [2023-01-10T17:25:40.907Z] "unix:///var/run/docker.sock" [2023-01-10T17:25:40.907Z] ], [2023-01-10T17:25:40.907Z] "mtu": 1458, [2023-01-10T17:25:40.907Z] "selinux-enabled": true, [2023-01-10T17:25:40.907Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T17:25:40.907Z] } [Pipeline] sh [2023-01-10T17:25:41.271Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T17:25:41.640Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T17:25:59.994Z] provisioning config files... [2023-01-10T17:26:00.025Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/54@tmp/config17241824109180186107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:26:00.391Z] ---> docker-login.sh [2023-01-10T17:26:00.391Z] nexus3.edgexfoundry.org:10001 [2023-01-10T17:26:00.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:26:01.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:26:01.260Z] Configure a credential helper to remove this warning. See [2023-01-10T17:26:01.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:26:01.260Z] [2023-01-10T17:26:01.260Z] Login Succeeded [2023-01-10T17:26:01.260Z] nexus3.edgexfoundry.org:10002 [2023-01-10T17:26:01.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:26:01.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:26:01.536Z] Configure a credential helper to remove this warning. See [2023-01-10T17:26:01.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:26:01.536Z] [2023-01-10T17:26:01.536Z] Login Succeeded [2023-01-10T17:26:01.536Z] nexus3.edgexfoundry.org:10003 [2023-01-10T17:26:01.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:26:02.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:26:02.082Z] Configure a credential helper to remove this warning. See [2023-01-10T17:26:02.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:26:02.082Z] [2023-01-10T17:26:02.082Z] Login Succeeded [2023-01-10T17:26:02.082Z] nexus3.edgexfoundry.org:10004 [2023-01-10T17:26:02.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:26:02.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:26:02.631Z] Configure a credential helper to remove this warning. See [2023-01-10T17:26:02.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:26:02.631Z] [2023-01-10T17:26:02.631Z] Login Succeeded [2023-01-10T17:26:02.631Z] docker.io [2023-01-10T17:26:02.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:26:03.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:26:03.179Z] Configure a credential helper to remove this warning. See [2023-01-10T17:26:03.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:26:03.179Z] [2023-01-10T17:26:03.179Z] Login Succeeded [2023-01-10T17:26:03.179Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T17:26:03.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T17:26:03.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:26:03.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:26:03.522Z] ========================================================= [2023-01-10T17:26:03.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T17:26:03.522Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:26:03.901Z] + 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-10T17:26:04.173Z] Sending build context to Docker daemon 8.052MB [2023-01-10T17:26:04.173Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T17:26:04.173Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T17:26:04.446Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T17:26:04.446Z] 9b18e9b68314: Pulling fs layer [2023-01-10T17:26:04.446Z] 35d82f9e3411: Pulling fs layer [2023-01-10T17:26:04.446Z] e16973657156: Pulling fs layer [2023-01-10T17:26:04.446Z] fc693d55d65f: Pulling fs layer [2023-01-10T17:26:04.446Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T17:26:04.446Z] dda99020689f: Pulling fs layer [2023-01-10T17:26:04.446Z] db1c61fa0a46: Pulling fs layer [2023-01-10T17:26:04.446Z] 891c053d2c06: Pulling fs layer [2023-01-10T17:26:04.446Z] fc693d55d65f: Waiting [2023-01-10T17:26:04.446Z] 7e9fc2657dce: Waiting [2023-01-10T17:26:04.446Z] dda99020689f: Waiting [2023-01-10T17:26:04.446Z] db1c61fa0a46: Waiting [2023-01-10T17:26:04.446Z] 891c053d2c06: Waiting [2023-01-10T17:26:04.446Z] e16973657156: Verifying Checksum [2023-01-10T17:26:04.446Z] e16973657156: Download complete [2023-01-10T17:26:04.446Z] 35d82f9e3411: Verifying Checksum [2023-01-10T17:26:04.446Z] 35d82f9e3411: Download complete [2023-01-10T17:26:04.446Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T17:26:04.446Z] 7e9fc2657dce: Download complete [2023-01-10T17:26:04.722Z] 9b18e9b68314: Verifying Checksum [2023-01-10T17:26:04.722Z] 9b18e9b68314: Download complete [2023-01-10T17:26:04.722Z] dda99020689f: Download complete [2023-01-10T17:26:05.945Z] 9b18e9b68314: Pull complete [2023-01-10T17:26:06.241Z] 891c053d2c06: Download complete [2023-01-10T17:26:06.524Z] 35d82f9e3411: Pull complete [2023-01-10T17:26:07.132Z] e16973657156: Pull complete [2023-01-10T17:26:07.742Z] db1c61fa0a46: Verifying Checksum [2023-01-10T17:26:07.742Z] db1c61fa0a46: Download complete [2023-01-10T17:26:08.364Z] fc693d55d65f: Download complete [2023-01-10T17:26:20.761Z] fc693d55d65f: Pull complete [2023-01-10T17:26:20.761Z] 7e9fc2657dce: Pull complete [2023-01-10T17:26:20.761Z] dda99020689f: Pull complete [2023-01-10T17:26:26.189Z] db1c61fa0a46: Pull complete [2023-01-10T17:26:28.149Z] 891c053d2c06: Pull complete [2023-01-10T17:26:28.149Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T17:26:28.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T17:26:28.149Z] ---> f96f9c87975a [2023-01-10T17:26:28.149Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T17:26:30.753Z] ---> Running in f1baad89383a [2023-01-10T17:26:30.753Z] Removing intermediate container f1baad89383a [2023-01-10T17:26:30.753Z] ---> 9586acce49a5 [2023-01-10T17:26:30.753Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T17:26:30.753Z] ---> Running in e6f734fcf9dc [2023-01-10T17:26:31.348Z] Removing intermediate container e6f734fcf9dc [2023-01-10T17:26:31.348Z] ---> 6d39bcaf96a5 [2023-01-10T17:26:31.348Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T17:26:31.348Z] ---> Running in 28ba2a685655 [2023-01-10T17:26:31.619Z] Removing intermediate container 28ba2a685655 [2023-01-10T17:26:31.619Z] ---> b9245bce8566 [2023-01-10T17:26:31.619Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T17:26:31.893Z] ---> Running in 72f710a0768a [2023-01-10T17:26:32.165Z] Removing intermediate container 72f710a0768a [2023-01-10T17:26:32.165Z] ---> 9203df3ad737 [2023-01-10T17:26:32.165Z] Step 7/12 : WORKDIR /device-gpio [2023-01-10T17:26:32.437Z] ---> Running in fefcc5beb5c8 [2023-01-10T17:26:32.706Z] Removing intermediate container fefcc5beb5c8 [2023-01-10T17:26:32.706Z] ---> b6c4986735e5 [2023-01-10T17:26:32.706Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T17:26:32.706Z] ---> Running in b19ab8f37d58 [2023-01-10T17:26:34.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T17:26:34.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T17:26:35.829Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T17:26:35.829Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T17:26:35.829Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T17:26:35.829Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T17:26:35.829Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T17:26:35.829Z] OK: 226 MiB in 55 packages [2023-01-10T17:26:37.261Z] Removing intermediate container b19ab8f37d58 [2023-01-10T17:26:37.261Z] ---> 53bdd56df3c3 [2023-01-10T17:26:37.261Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T17:26:37.855Z] ---> 1f14feacbe48 [2023-01-10T17:26:37.855Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T17:26:37.855Z] ---> Running in 4dda165586f1 [2023-01-10T17:27:45.893Z] Removing intermediate container 4dda165586f1 [2023-01-10T17:27:45.893Z] ---> 728861014169 [2023-01-10T17:27:45.893Z] Step 11/12 : COPY . . [2023-01-10T17:27:45.893Z] ---> c01b623a69f1 [2023-01-10T17:27:45.893Z] Step 12/12 : RUN ${MAKE} [2023-01-10T17:27:45.893Z] ---> Running in 30d5e75f0517 [2023-01-10T17:27:45.893Z] noop [2023-01-10T17:27:45.893Z] Removing intermediate container 30d5e75f0517 [2023-01-10T17:27:45.893Z] ---> 9c55ceb9e713 [2023-01-10T17:27:45.893Z] Successfully built 9c55ceb9e713 [2023-01-10T17:27:45.893Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:27:46.270Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T17:27:46.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:27:46.483Z] prd-ubuntu20.04-docker-arm64-4c-16g-1602 does not seem to be running inside a container [2023-01-10T17:27:46.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/54 -v /w/workspace/device-gpio/54:/w/workspace/device-gpio/54:rw,z -v /w/workspace/device-gpio/54@tmp:/w/workspace/device-gpio/54@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-10T17:27:47.920Z] $ docker top 8c780e84d77176ec4aec4ba9d22bfda23503ce90177e4641493eadb8c6bb2044 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:27:48.796Z] + go version [2023-01-10T17:27:48.796Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T17:27:48.821Z] $ docker stop --time=1 8c780e84d77176ec4aec4ba9d22bfda23503ce90177e4641493eadb8c6bb2044 [2023-01-10T17:27:50.572Z] $ docker rm -f --volumes 8c780e84d77176ec4aec4ba9d22bfda23503ce90177e4641493eadb8c6bb2044 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:27:51.137Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T17:27:51.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:27:51.339Z] prd-ubuntu20.04-docker-arm64-4c-16g-1602 does not seem to be running inside a container [2023-01-10T17:27:51.420Z] $ 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/54 -v /w/workspace/device-gpio/54:/w/workspace/device-gpio/54:rw,z -v /w/workspace/device-gpio/54@tmp:/w/workspace/device-gpio/54@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-10T17:27:52.849Z] $ docker top 3a3435ec6e3ba324304b49f68c38c865d8ed7f784b0eeb0fad3d52790f9337f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:27:53.722Z] + git config --global --add safe.directory /w/workspace/device-gpio/54 [Pipeline] fileExists [Pipeline] sh [2023-01-10T17:27:54.393Z] + make test [2023-01-10T17:27:54.394Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T17:27:56.369Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-01-10T17:29:33.094Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-01-10T17:29:33.094Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-01-10T17:29:33.094Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T17:29:33.094Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T17:30:05.438Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T17:30:05.438Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T17:30:05.438Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T17:30:05.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T17:30:05.483Z] $ docker stop --time=1 3a3435ec6e3ba324304b49f68c38c865d8ed7f784b0eeb0fad3d52790f9337f6 [2023-01-10T17:30:09.034Z] $ docker rm -f --volumes 3a3435ec6e3ba324304b49f68c38c865d8ed7f784b0eeb0fad3d52790f9337f6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T17:30:10.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T17:30:10.139Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T17:30:10.741Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T17:30:11.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T17:30:11.483Z] + ls -al . [2023-01-10T17:30:11.483Z] total 164 [2023-01-10T17:30:11.483Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:27 . [2023-01-10T17:30:11.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:25 .. [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 120 Jan 10 17:25 .dockerignore [2023-01-10T17:30:11.483Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 17:25 .git [2023-01-10T17:30:11.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:25 .github [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 343 Jan 10 17:25 .gitignore [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 17:25 .golangci.yml [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 9691 Jan 10 17:25 Attribution.txt [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 4069 Jan 10 17:25 CHANGELOG.md [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 1586 Jan 10 17:25 Dockerfile [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 17:25 GOVERNANCE.md [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 657 Jan 10 17:25 Jenkinsfile [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 17:25 LICENSE [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 2085 Jan 10 17:25 Makefile [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 617 Jan 10 17:25 OWNERS.md [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 11842 Jan 10 17:25 README.md [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 17:22 VERSION [2023-01-10T17:30:11.483Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 17:25 bin [2023-01-10T17:30:11.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:25 cmd [2023-01-10T17:30:11.483Z] -rw-r--r-- 1 jenkins jenkins 10 Jan 10 17:27 coverage.out [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 3400 Jan 10 17:25 go.mod [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 44944 Jan 10 17:25 go.sum [2023-01-10T17:30:11.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 17:25 internal [2023-01-10T17:30:11.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 17:25 snap [2023-01-10T17:30:11.483Z] -rw-rw-r-- 1 jenkins jenkins 209 Jan 10 17:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:30:11.839Z] + 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=b133d1624fd057731a220f2d6c76f72cebe0f7f6 --label arch=arm64 --label version=3.0.0-dev.2 . [2023-01-10T17:30:12.110Z] Sending build context to Docker daemon 8.053MB [2023-01-10T17:30:12.382Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T17:30:12.382Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T17:30:12.382Z] ---> 9c55ceb9e713 [2023-01-10T17:30:12.382Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T17:30:12.382Z] ---> Running in ba89965fdffa [2023-01-10T17:30:12.660Z] Removing intermediate container ba89965fdffa [2023-01-10T17:30:12.660Z] ---> 150e8d3d1a9c [2023-01-10T17:30:12.660Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T17:30:12.937Z] ---> Running in b5faca7b6a46 [2023-01-10T17:30:13.209Z] Removing intermediate container b5faca7b6a46 [2023-01-10T17:30:13.209Z] ---> 60d2c8c22334 [2023-01-10T17:30:13.209Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T17:30:13.480Z] ---> Running in 7b99c6333692 [2023-01-10T17:30:13.750Z] Removing intermediate container 7b99c6333692 [2023-01-10T17:30:13.751Z] ---> 15618fb622ae [2023-01-10T17:30:13.751Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T17:30:13.751Z] ---> Running in db44405b7d7d [2023-01-10T17:30:14.341Z] Removing intermediate container db44405b7d7d [2023-01-10T17:30:14.341Z] ---> 0d4fb34d1e32 [2023-01-10T17:30:14.341Z] Step 7/25 : WORKDIR /device-gpio [2023-01-10T17:30:14.341Z] ---> Running in ab1ba60bfcd2 [2023-01-10T17:30:14.614Z] Removing intermediate container ab1ba60bfcd2 [2023-01-10T17:30:14.614Z] ---> 65b57433b257 [2023-01-10T17:30:14.614Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T17:30:14.614Z] ---> Running in 2d1e110d12be [2023-01-10T17:30:16.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T17:30:16.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T17:30:17.737Z] OK: 226 MiB in 55 packages [2023-01-10T17:30:18.720Z] Removing intermediate container 2d1e110d12be [2023-01-10T17:30:18.720Z] ---> 3daffa04cc2a [2023-01-10T17:30:18.720Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T17:30:19.321Z] ---> 9f5bedf9d1f9 [2023-01-10T17:30:19.322Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T17:30:19.594Z] ---> Running in 7b97af7fe46e [2023-01-10T17:30:22.210Z] Removing intermediate container 7b97af7fe46e [2023-01-10T17:30:22.210Z] ---> a3b9d9392d7f [2023-01-10T17:30:22.210Z] Step 11/25 : COPY . . [2023-01-10T17:30:23.190Z] ---> 403bc174f8f8 [2023-01-10T17:30:23.190Z] Step 12/25 : RUN ${MAKE} [2023-01-10T17:30:23.190Z] ---> Running in cfca17cf8165 [2023-01-10T17:30:24.620Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2023-01-10T17:33:16.538Z] Removing intermediate container cfca17cf8165 [2023-01-10T17:33:16.538Z] ---> 11ea0504604e [2023-01-10T17:33:16.538Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T17:33:16.538Z] 3.16: Pulling from library/alpine [2023-01-10T17:33:16.538Z] 6875df1f5354: Pulling fs layer [2023-01-10T17:33:16.538Z] 6875df1f5354: Verifying Checksum [2023-01-10T17:33:16.538Z] 6875df1f5354: Download complete [2023-01-10T17:33:16.538Z] 6875df1f5354: Pull complete [2023-01-10T17:33:16.538Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T17:33:16.538Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T17:33:16.538Z] ---> 2b4661558fb8 [2023-01-10T17:33:16.538Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-01-10T17:33:16.538Z] ---> Running in c9dc88e32d82 [2023-01-10T17:33:16.538Z] Removing intermediate container c9dc88e32d82 [2023-01-10T17:33:16.538Z] ---> 5ddd5ea2f194 [2023-01-10T17:33:16.538Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2023-01-10T17:33:16.538Z] ---> Running in 8366475aa4d6 [2023-01-10T17:33:16.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T17:33:16.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T17:33:16.809Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T17:33:16.809Z] (2/5) Installing libsodium (1.0.18-r0) [2023-01-10T17:33:16.809Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T17:33:16.809Z] (4/5) Installing libzmq (4.3.4-r0) [2023-01-10T17:33:16.809Z] (5/5) Installing zeromq (4.3.4-r0) [2023-01-10T17:33:16.809Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T17:33:16.809Z] OK: 8 MiB in 19 packages [2023-01-10T17:33:18.241Z] Removing intermediate container 8366475aa4d6 [2023-01-10T17:33:18.241Z] ---> 98190c377e16 [2023-01-10T17:33:18.241Z] Step 16/25 : WORKDIR / [2023-01-10T17:33:18.241Z] ---> Running in f89bea44401e [2023-01-10T17:33:18.514Z] Removing intermediate container f89bea44401e [2023-01-10T17:33:18.515Z] ---> b8323255763a [2023-01-10T17:33:18.515Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-01-10T17:33:19.114Z] ---> 3d7e57760758 [2023-01-10T17:33:19.114Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-01-10T17:33:20.091Z] ---> 56de7eb5c618 [2023-01-10T17:33:20.091Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-01-10T17:33:21.513Z] ---> 3fb193601340 [2023-01-10T17:33:21.513Z] Step 20/25 : EXPOSE 59910 [2023-01-10T17:33:21.513Z] ---> Running in 8490bce6424b [2023-01-10T17:33:21.787Z] Removing intermediate container 8490bce6424b [2023-01-10T17:33:21.787Z] ---> 2cb28650e986 [2023-01-10T17:33:21.787Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-01-10T17:33:22.063Z] ---> Running in 17085624e600 [2023-01-10T17:33:22.334Z] Removing intermediate container 17085624e600 [2023-01-10T17:33:22.334Z] ---> ef1bd39c608d [2023-01-10T17:33:22.334Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T17:33:22.334Z] ---> Running in af8410e0ac4f [2023-01-10T17:33:22.929Z] Removing intermediate container af8410e0ac4f [2023-01-10T17:33:22.929Z] ---> 721e5d58d117 [2023-01-10T17:33:22.929Z] Step 23/25 : LABEL arch=arm64 [2023-01-10T17:33:22.929Z] ---> Running in 55fdf0fe1593 [2023-01-10T17:33:23.201Z] Removing intermediate container 55fdf0fe1593 [2023-01-10T17:33:23.201Z] ---> 7ee547c580d5 [2023-01-10T17:33:23.201Z] Step 24/25 : LABEL git_sha=b133d1624fd057731a220f2d6c76f72cebe0f7f6 [2023-01-10T17:33:23.470Z] ---> Running in 141cc7c7f0c2 [2023-01-10T17:33:23.742Z] Removing intermediate container 141cc7c7f0c2 [2023-01-10T17:33:23.742Z] ---> ec728c93fd48 [2023-01-10T17:33:23.742Z] Step 25/25 : LABEL version=3.0.0-dev.2 [2023-01-10T17:33:23.742Z] ---> Running in d8f95e1e4a25 [2023-01-10T17:33:24.335Z] Removing intermediate container d8f95e1e4a25 [2023-01-10T17:33:24.335Z] ---> 0ab7fee75c00 [2023-01-10T17:33:24.335Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T17:33:24.335Z] Successfully built 0ab7fee75c00 [2023-01-10T17:33:24.335Z] 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-10T17:33:24.450Z] provisioning config files... [2023-01-10T17:33:24.472Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/54@tmp/config11664159187160362083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:33:24.839Z] ---> docker-login.sh [2023-01-10T17:33:24.839Z] nexus3.edgexfoundry.org:10001 [2023-01-10T17:33:25.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:33:25.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:33:25.110Z] Configure a credential helper to remove this warning. See [2023-01-10T17:33:25.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:33:25.110Z] [2023-01-10T17:33:25.110Z] Login Succeeded [2023-01-10T17:33:25.110Z] nexus3.edgexfoundry.org:10002 [2023-01-10T17:33:25.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:33:25.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:33:25.659Z] Configure a credential helper to remove this warning. See [2023-01-10T17:33:25.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:33:25.659Z] [2023-01-10T17:33:25.659Z] Login Succeeded [2023-01-10T17:33:25.659Z] nexus3.edgexfoundry.org:10003 [2023-01-10T17:33:25.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:33:25.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:33:25.929Z] Configure a credential helper to remove this warning. See [2023-01-10T17:33:25.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:33:25.929Z] [2023-01-10T17:33:25.929Z] Login Succeeded [2023-01-10T17:33:25.929Z] nexus3.edgexfoundry.org:10004 [2023-01-10T17:33:26.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:33:26.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:33:26.526Z] Configure a credential helper to remove this warning. See [2023-01-10T17:33:26.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:33:26.526Z] [2023-01-10T17:33:26.526Z] Login Succeeded [2023-01-10T17:33:26.526Z] docker.io [2023-01-10T17:33:26.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T17:33:27.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T17:33:27.069Z] Configure a credential helper to remove this warning. See [2023-01-10T17:33:27.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T17:33:27.069Z] [2023-01-10T17:33:27.069Z] Login Succeeded [2023-01-10T17:33:27.069Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T17:33:27.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T17:33:27.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T17:33:27.127Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-01-10T17:33:27.127Z] b133d1624fd057731a220f2d6c76f72cebe0f7f6 [2023-01-10T17:33:27.127Z] latest [2023-01-10T17:33:27.127Z] 3.0.0-dev.2 [2023-01-10T17:33:27.127Z] b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2 [2023-01-10T17:33:27.127Z] main [2023-01-10T17:33:27.127Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:27.480Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:b133d1624fd057731a220f2d6c76f72cebe0f7f6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:27.874Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:b133d1624fd057731a220f2d6c76f72cebe0f7f6 [2023-01-10T17:33:27.874Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T17:33:27.874Z] 51eb185c0c97: Preparing [2023-01-10T17:33:27.874Z] dda9c1c71c75: Preparing [2023-01-10T17:33:27.874Z] 675c3ec847a8: Preparing [2023-01-10T17:33:27.874Z] 2bfa6d75da6a: Preparing [2023-01-10T17:33:27.874Z] 17bec77d7fdc: Preparing [2023-01-10T17:33:28.155Z] 17bec77d7fdc: Layer already exists [2023-01-10T17:33:28.155Z] dda9c1c71c75: Pushed [2023-01-10T17:33:28.155Z] 675c3ec847a8: Pushed [2023-01-10T17:33:29.175Z] 2bfa6d75da6a: Pushed [2023-01-10T17:33:34.598Z] 51eb185c0c97: Pushed [2023-01-10T17:33:34.598Z] b133d1624fd057731a220f2d6c76f72cebe0f7f6: digest: sha256:e9167e334b6285bc119e689615b09b821b78b3bdf2d45caf2c1d155bd282ca2b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:34.955Z] + 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-10T17:33:35.308Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-01-10T17:33:35.308Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T17:33:35.308Z] 51eb185c0c97: Preparing [2023-01-10T17:33:35.308Z] dda9c1c71c75: Preparing [2023-01-10T17:33:35.308Z] 675c3ec847a8: Preparing [2023-01-10T17:33:35.308Z] 2bfa6d75da6a: Preparing [2023-01-10T17:33:35.308Z] 17bec77d7fdc: Preparing [2023-01-10T17:33:35.308Z] 2bfa6d75da6a: Layer already exists [2023-01-10T17:33:35.308Z] 675c3ec847a8: Layer already exists [2023-01-10T17:33:35.308Z] 51eb185c0c97: Layer already exists [2023-01-10T17:33:35.308Z] 17bec77d7fdc: Layer already exists [2023-01-10T17:33:35.308Z] dda9c1c71c75: Layer already exists [2023-01-10T17:33:35.576Z] latest: digest: sha256:e9167e334b6285bc119e689615b09b821b78b3bdf2d45caf2c1d155bd282ca2b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:35.942Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:36.294Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.2 [2023-01-10T17:33:36.294Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T17:33:36.294Z] 51eb185c0c97: Preparing [2023-01-10T17:33:36.294Z] dda9c1c71c75: Preparing [2023-01-10T17:33:36.294Z] 675c3ec847a8: Preparing [2023-01-10T17:33:36.294Z] 2bfa6d75da6a: Preparing [2023-01-10T17:33:36.294Z] 17bec77d7fdc: Preparing [2023-01-10T17:33:36.294Z] 17bec77d7fdc: Layer already exists [2023-01-10T17:33:36.294Z] 2bfa6d75da6a: Layer already exists [2023-01-10T17:33:36.294Z] dda9c1c71c75: Layer already exists [2023-01-10T17:33:36.294Z] 51eb185c0c97: Layer already exists [2023-01-10T17:33:36.294Z] 675c3ec847a8: Layer already exists [2023-01-10T17:33:36.294Z] 3.0.0-dev.2: digest: sha256:e9167e334b6285bc119e689615b09b821b78b3bdf2d45caf2c1d155bd282ca2b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:36.921Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:37.270Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2 [2023-01-10T17:33:37.270Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T17:33:37.270Z] 51eb185c0c97: Preparing [2023-01-10T17:33:37.270Z] dda9c1c71c75: Preparing [2023-01-10T17:33:37.270Z] 675c3ec847a8: Preparing [2023-01-10T17:33:37.270Z] 2bfa6d75da6a: Preparing [2023-01-10T17:33:37.270Z] 17bec77d7fdc: Preparing [2023-01-10T17:33:37.270Z] dda9c1c71c75: Layer already exists [2023-01-10T17:33:37.270Z] 51eb185c0c97: Layer already exists [2023-01-10T17:33:37.270Z] 17bec77d7fdc: Layer already exists [2023-01-10T17:33:37.270Z] 2bfa6d75da6a: Layer already exists [2023-01-10T17:33:37.270Z] 675c3ec847a8: Layer already exists [2023-01-10T17:33:37.541Z] b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2: digest: sha256:e9167e334b6285bc119e689615b09b821b78b3bdf2d45caf2c1d155bd282ca2b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:37.909Z] + 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-10T17:33:38.255Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-01-10T17:33:38.255Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-01-10T17:33:38.255Z] 51eb185c0c97: Preparing [2023-01-10T17:33:38.255Z] dda9c1c71c75: Preparing [2023-01-10T17:33:38.255Z] 675c3ec847a8: Preparing [2023-01-10T17:33:38.255Z] 2bfa6d75da6a: Preparing [2023-01-10T17:33:38.255Z] 17bec77d7fdc: Preparing [2023-01-10T17:33:38.255Z] 51eb185c0c97: Layer already exists [2023-01-10T17:33:38.255Z] dda9c1c71c75: Layer already exists [2023-01-10T17:33:38.255Z] 17bec77d7fdc: Layer already exists [2023-01-10T17:33:38.255Z] 675c3ec847a8: Layer already exists [2023-01-10T17:33:38.255Z] 2bfa6d75da6a: Layer already exists [2023-01-10T17:33:38.524Z] main: digest: sha256:e9167e334b6285bc119e689615b09b821b78b3bdf2d45caf2c1d155bd282ca2b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T17:33:38.578Z] ===================================================== [Pipeline] echo [2023-01-10T17:33:38.588Z] taggedImages: [2023-01-10T17:33:38.588Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:b133d1624fd057731a220f2d6c76f72cebe0f7f6 [2023-01-10T17:33:38.588Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-01-10T17:33:38.588Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.2 [2023-01-10T17:33:38.588Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:b133d1624fd057731a220f2d6c76f72cebe0f7f6-3.0.0-dev.2 [2023-01-10T17:33:38.588Z] - 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-10T17:33:38.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T17:33:38.947Z] [2023-01-10T17:33:38.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:33:39.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T17:33:39.289Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T17:33:39.289Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T17:33:39.289Z] 04944245beec: Pulling fs layer [2023-01-10T17:33:39.289Z] 699f458cf7ca: Pulling fs layer [2023-01-10T17:33:39.289Z] 765212b225bb: Pulling fs layer [2023-01-10T17:33:39.289Z] f23df028b6ca: Pulling fs layer [2023-01-10T17:33:39.289Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T17:33:39.289Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T17:33:39.289Z] f23df028b6ca: Waiting [2023-01-10T17:33:39.289Z] d65c8cfc05b1: Waiting [2023-01-10T17:33:39.289Z] 2437ff75d9bd: Waiting [2023-01-10T17:33:39.289Z] 765212b225bb: Waiting [2023-01-10T17:33:39.564Z] 04944245beec: Verifying Checksum [2023-01-10T17:33:39.565Z] 04944245beec: Download complete [2023-01-10T17:33:39.565Z] 765212b225bb: Download complete [2023-01-10T17:33:39.835Z] f23df028b6ca: Verifying Checksum [2023-01-10T17:33:39.835Z] f23df028b6ca: Download complete [2023-01-10T17:33:39.835Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T17:33:39.835Z] d65c8cfc05b1: Download complete [2023-01-10T17:33:39.835Z] 699f458cf7ca: Verifying Checksum [2023-01-10T17:33:39.835Z] 699f458cf7ca: Download complete [2023-01-10T17:33:40.427Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T17:33:40.427Z] 8998bd30e6a1: Download complete [2023-01-10T17:33:43.790Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T17:33:43.790Z] 2437ff75d9bd: Download complete [2023-01-10T17:33:47.147Z] 8998bd30e6a1: Pull complete [2023-01-10T17:33:47.733Z] 04944245beec: Pull complete [2023-01-10T17:33:49.152Z] 699f458cf7ca: Pull complete [2023-01-10T17:33:49.424Z] 765212b225bb: Pull complete [2023-01-10T17:33:50.399Z] f23df028b6ca: Pull complete [2023-01-10T17:33:50.674Z] d65c8cfc05b1: Pull complete [2023-01-10T17:34:08.930Z] 2437ff75d9bd: Pull complete [2023-01-10T17:34:08.930Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T17:34:08.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T17:34:08.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:34:09.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-1602 does not seem to be running inside a container [2023-01-10T17:34:09.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/54 -v /w/workspace/device-gpio/54:/w/workspace/device-gpio/54:rw,z -v /w/workspace/device-gpio/54@tmp:/w/workspace/device-gpio/54@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-10T17:34:12.420Z] $ docker top 1d01effd7854e1fa5dee94e94397f33d30a259f9c1357e5b551d3bd531dab37b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:34:13.328Z] ---> job-cost.sh [2023-01-10T17:34:13.328Z] lf-activate-venv: SKIPPING [2023-01-10T17:34:13.328Z] INFO: No Stack... [2023-01-10T17:34:13.920Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T17:34:14.509Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T17:34:15.168Z] + cat /w/workspace/device-gpio/54/archives/cost.csv [2023-01-10T17:34:15.168Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T17:34:15.256Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-54-stack-cost] [2023-01-10T17:34:15.262Z] Resource [jenkins-edgexfoundry-device-gpio-main-54-stack-cost] did not exist. Created. [2023-01-10T17:34:15.262Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T17:34:15.988Z] /w/workspace/device-gpio/54@tmp/durable-3be51b9e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T17:34:16.656Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T17:34:16.682Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T17:34:16.737Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T17:34:16.744Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-54-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T17:34:16.761Z] $ docker stop --time=1 1d01effd7854e1fa5dee94e94397f33d30a259f9c1357e5b551d3bd531dab37b [2023-01-10T17:34:18.352Z] $ docker rm -f --volumes 1d01effd7854e1fa5dee94e94397f33d30a259f9c1357e5b551d3bd531dab37b [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-10T17:34:18.729Z] provisioning config files... [2023-01-10T17:34:18.735Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14453173653321397886tmp [Pipeline] { [Pipeline] sh [2023-01-10T17:34:19.026Z] + set +x [2023-01-10T17:34:19.026Z] + curl -s https://codecov.io/bash [2023-01-10T17:34:19.026Z] + bash -s -- [2023-01-10T17:34:19.026Z] [2023-01-10T17:34:19.026Z] _____ _ [2023-01-10T17:34:19.026Z] / ____| | | [2023-01-10T17:34:19.026Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T17:34:19.026Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T17:34:19.026Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T17:34:19.026Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T17:34:19.026Z] Bash-1.0.6 [2023-01-10T17:34:19.026Z] [2023-01-10T17:34:19.026Z] [2023-01-10T17:34:19.026Z] ==> git version 2.25.1 found [2023-01-10T17:34:19.026Z] ==> 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-10T17:34:19.026Z] Release-Date: 2020-01-08 [2023-01-10T17:34:19.026Z] 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-10T17:34:19.026Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T17:34:19.026Z] ==> Jenkins CI detected. [2023-01-10T17:34:19.026Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-01-10T17:34:19.027Z] project root: . [2023-01-10T17:34:19.027Z] --> token set from env [2023-01-10T17:34:19.027Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T17:34:19.027Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T17:34:19.027Z] ==> Python coveragepy not found [2023-01-10T17:34:19.027Z] ==> Searching for coverage reports in: [2023-01-10T17:34:19.027Z] + . [2023-01-10T17:34:19.027Z] -> Found 1 reports [2023-01-10T17:34:19.027Z] ==> Detecting git/mercurial file structure [2023-01-10T17:34:19.027Z] ==> Reading reports [2023-01-10T17:34:19.027Z] + ./coverage.out bytes=10 [2023-01-10T17:34:19.027Z] ==> Appending adjustments [2023-01-10T17:34:19.027Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T17:34:19.286Z] + Found adjustments [2023-01-10T17:34:19.286Z] ==> Gzipping contents [2023-01-10T17:34:19.286Z] 4.0K /tmp/codecov.SvtQDL.gz [2023-01-10T17:34:19.286Z] ==> Uploading reports [2023-01-10T17:34:19.286Z] url: https://codecov.io [2023-01-10T17:34:19.286Z] query: branch=main&commit=b133d1624fd057731a220f2d6c76f72cebe0f7f6&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-10T17:34:19.286Z] -> Pinging Codecov [2023-01-10T17:34:19.286Z] 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=b133d1624fd057731a220f2d6c76f72cebe0f7f6&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-10T17:34:19.545Z] -> Uploading to [2023-01-10T17:34:19.545Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b133d1624fd057731a220f2d6c76f72cebe0f7f6/0e122a5a-45a2-40ff-bc29-4705067ad911.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T173419Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30dd559b89a950528c9b94b56b7963c11bdb3f43809b4cf40eed887f851aaabe [2023-01-10T17:34:19.545Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T17:34:19.545Z] Dload Upload Total Spent Left Speed [2023-01-10T17:34:19.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3615 --:--:-- --:--:-- --:--:-- 3632 [2023-01-10T17:34:19.805Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/b133d1624fd057731a220f2d6c76f72cebe0f7f6 [Pipeline] } [2023-01-10T17:34:19.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-10T17:34:20.050Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-10T17:34:20.063Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:34:20.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T17:34:20.371Z] [2023-01-10T17:34:20.371Z] 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-10T17:34:20.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T17:34:20.671Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-10T17:34:20.671Z] df9b9388f04a: Pulling fs layer [2023-01-10T17:34:20.671Z] 52dc419b0ee2: Pulling fs layer [2023-01-10T17:34:20.671Z] 25bc292e5bac: Pulling fs layer [2023-01-10T17:34:20.671Z] 114826534d7a: Pulling fs layer [2023-01-10T17:34:20.671Z] 4657fd5d0bcf: Pulling fs layer [2023-01-10T17:34:20.671Z] 6ad1cebc031e: Pulling fs layer [2023-01-10T17:34:20.671Z] 8a3aa393b2d8: Pulling fs layer [2023-01-10T17:34:20.671Z] 4657fd5d0bcf: Waiting [2023-01-10T17:34:20.671Z] 6ad1cebc031e: Waiting [2023-01-10T17:34:20.671Z] 8a3aa393b2d8: Waiting [2023-01-10T17:34:20.671Z] 114826534d7a: Waiting [2023-01-10T17:34:20.671Z] 25bc292e5bac: Verifying Checksum [2023-01-10T17:34:20.671Z] 25bc292e5bac: Download complete [2023-01-10T17:34:20.671Z] 52dc419b0ee2: Verifying Checksum [2023-01-10T17:34:20.671Z] 52dc419b0ee2: Download complete [2023-01-10T17:34:20.671Z] 4657fd5d0bcf: Download complete [2023-01-10T17:34:20.671Z] df9b9388f04a: Download complete [2023-01-10T17:34:20.937Z] df9b9388f04a: Pull complete [2023-01-10T17:34:20.937Z] 6ad1cebc031e: Verifying Checksum [2023-01-10T17:34:20.937Z] 6ad1cebc031e: Download complete [2023-01-10T17:34:20.937Z] 52dc419b0ee2: Pull complete [2023-01-10T17:34:21.208Z] 25bc292e5bac: Pull complete [2023-01-10T17:34:21.472Z] 114826534d7a: Verifying Checksum [2023-01-10T17:34:21.472Z] 114826534d7a: Download complete [2023-01-10T17:34:22.040Z] 8a3aa393b2d8: Download complete [2023-01-10T17:34:25.360Z] 114826534d7a: Pull complete [2023-01-10T17:34:25.360Z] 4657fd5d0bcf: Pull complete [2023-01-10T17:34:26.049Z] 6ad1cebc031e: Pull complete [2023-01-10T17:34:28.931Z] 8a3aa393b2d8: Pull complete [2023-01-10T17:34:28.931Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-10T17:34:28.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T17:34:28.931Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:34:29.275Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:34:29.644Z] $ 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-10T17:34:33.175Z] $ docker top bce3a013683472cb8533ae87ad9d9699505c344fd9ef23d53925a36a8d0732f9 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-10T17:34:33.527Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-01-10T17:34:34.524Z] + set -o pipefail [2023-01-10T17:34:34.524Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-01-10T17:34:44.876Z] [2023-01-10T17:34:44.876Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-01-10T17:34:44.876Z] [2023-01-10T17:34:44.876Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/64bac25f-3217-4cde-ab67-39177575955a [2023-01-10T17:34:44.876Z] [2023-01-10T17:34:44.876Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-10T17:34:44.876Z] [2023-01-10T17:34:44.876Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-10T17:34:44.876Z] [2023-01-10T17:34:45.454Z] [2023-01-10T17:34:45.454Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-10T17:34:45.454Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-10T17:34:45.454Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-10T17:34:45.884Z] $ docker stop --time=1 bce3a013683472cb8533ae87ad9d9699505c344fd9ef23d53925a36a8d0732f9 [2023-01-10T17:34:49.738Z] $ docker rm -f --volumes bce3a013683472cb8533ae87ad9d9699505c344fd9ef23d53925a36a8d0732f9 [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-10T17:34:51.928Z] + git log --format=format:%s -1 b133d1624fd057731a220f2d6c76f72cebe0f7f6 [Pipeline] sh [2023-01-10T17:34:53.462Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T17:34:53.462Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:34:54.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T17:34:54.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:34:56.325Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:34:57.139Z] $ 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-10T17:34:57.994Z] $ docker top 0edf27426830be728a050ade0a1d2386138da16b9be6ccff37667f17c109b73d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T17:34:58.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T17:34:58.355Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T17:34:58.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T17:34:58.742Z] $ docker exec 0edf27426830be728a050ade0a1d2386138da16b9be6ccff37667f17c109b73d ssh-agent [2023-01-10T17:34:59.063Z] SSH_AUTH_SOCK=/tmp/ssh-bFGo02T27j7P/agent.32 [2023-01-10T17:34:59.063Z] SSH_AGENT_PID=38 [2023-01-10T17:34:59.242Z] Running ssh-add (command line suppressed) [2023-01-10T17:34:59.396Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3929671671032574319.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3929671671032574319.key) [2023-01-10T17:35:00.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T17:35:01.094Z] + git semver tag [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,032 [run_tag] DEBUG tag force:False [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,032 [check_head_tag] DEBUG check head tag [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,033 [execute] INFO git cat-file --batch-check [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,033 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,037 [execute] INFO git cat-file --batch [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,047 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,047 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,048 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-01-10T17:35:01.094Z] 2023-01-10 17:35:01,052 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T17:35:01.094Z] 3.0.0-dev.2 [Pipeline] } [2023-01-10T17:35:01.252Z] $ docker exec --env ******** --env ******** 0edf27426830be728a050ade0a1d2386138da16b9be6ccff37667f17c109b73d ssh-agent -k [2023-01-10T17:35:01.346Z] unset SSH_AUTH_SOCK; [2023-01-10T17:35:01.347Z] unset SSH_AGENT_PID; [2023-01-10T17:35:01.347Z] echo Agent pid 38 killed; [2023-01-10T17:35:01.555Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T17:35:02.393Z] + git semver [Pipeline] } [2023-01-10T17:35:03.003Z] $ docker stop --time=1 0edf27426830be728a050ade0a1d2386138da16b9be6ccff37667f17c109b73d [2023-01-10T17:35:04.795Z] $ docker rm -f --volumes 0edf27426830be728a050ade0a1d2386138da16b9be6ccff37667f17c109b73d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:35:05.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T17:35:05.730Z] [2023-01-10T17:35:05.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:35:06.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T17:35:07.224Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-10T17:35:07.224Z] ab5ef0e58194: Pulling fs layer [2023-01-10T17:35:07.224Z] 9712f1f96733: Pulling fs layer [2023-01-10T17:35:07.224Z] 63f879dbbcfc: Pulling fs layer [2023-01-10T17:35:07.224Z] 0d9ebad4ef96: Pulling fs layer [2023-01-10T17:35:07.224Z] e9a5061849ea: Pulling fs layer [2023-01-10T17:35:07.224Z] d747dcd14b5f: Pulling fs layer [2023-01-10T17:35:07.224Z] 2de7ff778b66: Pulling fs layer [2023-01-10T17:35:07.224Z] e9a5061849ea: Waiting [2023-01-10T17:35:07.224Z] d747dcd14b5f: Waiting [2023-01-10T17:35:07.224Z] 0d9ebad4ef96: Waiting [2023-01-10T17:35:07.224Z] 2de7ff778b66: Waiting [2023-01-10T17:35:07.224Z] 9712f1f96733: Verifying Checksum [2023-01-10T17:35:07.224Z] 9712f1f96733: Download complete [2023-01-10T17:35:47.726Z] 63f879dbbcfc: Verifying Checksum [2023-01-10T17:35:47.726Z] 63f879dbbcfc: Download complete [2023-01-10T17:35:52.451Z] 0d9ebad4ef96: Verifying Checksum [2023-01-10T17:35:52.451Z] 0d9ebad4ef96: Download complete [2023-01-10T17:35:56.454Z] ab5ef0e58194: Verifying Checksum [2023-01-10T17:35:56.454Z] ab5ef0e58194: Download complete [2023-01-10T17:35:56.454Z] d747dcd14b5f: Verifying Checksum [2023-01-10T17:35:56.454Z] d747dcd14b5f: Download complete [2023-01-10T17:35:57.523Z] e9a5061849ea: Verifying Checksum [2023-01-10T17:35:57.523Z] e9a5061849ea: Download complete [2023-01-10T17:35:57.523Z] 2de7ff778b66: Verifying Checksum [2023-01-10T17:35:57.523Z] 2de7ff778b66: Download complete [2023-01-10T17:35:58.088Z] ab5ef0e58194: Pull complete [2023-01-10T17:35:58.346Z] 9712f1f96733: Pull complete [2023-01-10T17:35:58.913Z] 63f879dbbcfc: Pull complete [2023-01-10T17:36:03.094Z] 0d9ebad4ef96: Pull complete [2023-01-10T17:36:03.658Z] e9a5061849ea: Pull complete [2023-01-10T17:36:03.658Z] d747dcd14b5f: Pull complete [2023-01-10T17:36:04.593Z] 2de7ff778b66: Pull complete [2023-01-10T17:36:04.593Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-10T17:36:04.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T17:36:04.593Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:36:04.675Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:36:04.705Z] $ 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-10T17:36:10.296Z] $ docker top 3e36fe63cd89b5f79c9594da0a767914e95e132a15b9f6a58b924411d8edebe3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-10T17:36:10.369Z] provisioning config files... [2023-01-10T17:36:10.376Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12097551323005003557tmp [2023-01-10T17:36:10.384Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1381813073834016441tmp [2023-01-10T17:36:10.391Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12117316975346383969tmp [Pipeline] { [Pipeline] echo [2023-01-10T17:36:10.406Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:10.687Z] ---> sigul-configuration.sh [2023-01-10T17:36:10.687Z] gpg: directory `/root/.gnupg' created [2023-01-10T17:36:10.687Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-10T17:36:10.687Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-10T17:36:10.687Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-10T17:36:10.687Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-10T17:36:10.687Z] gpg: CAST5 encrypted data [2023-01-10T17:36:10.687Z] gpg: encrypted with 1 passphrase [2023-01-10T17:36:10.687Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-10T17:36:10.971Z] + mkdir /home/jenkins [2023-01-10T17:36:10.971Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-10T17:36:11.255Z] + 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-10T17:36:11.264Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:11.549Z] ---> sigul-install.sh [2023-01-10T17:36:11.550Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-10T17:36:11.834Z] + git tag --list [2023-01-10T17:36:11.834Z] v1.0.0 [2023-01-10T17:36:11.834Z] v2.1.0 [2023-01-10T17:36:11.834Z] v2.1.1 [2023-01-10T17:36:11.834Z] v2.1.1-dev.1 [2023-01-10T17:36:11.834Z] v2.2.0 [2023-01-10T17:36:11.834Z] v2.2.1-dev.1 [2023-01-10T17:36:11.834Z] v2.2.1-dev.2 [2023-01-10T17:36:11.834Z] v2.2.1-dev.3 [2023-01-10T17:36:11.834Z] v2.2.1-dev.4 [2023-01-10T17:36:11.834Z] v2.3.0 [2023-01-10T17:36:11.834Z] v2.3.0-dev.10 [2023-01-10T17:36:11.834Z] v2.3.0-dev.11 [2023-01-10T17:36:11.834Z] v2.3.0-dev.12 [2023-01-10T17:36:11.834Z] v2.3.0-dev.13 [2023-01-10T17:36:11.834Z] v2.3.0-dev.14 [2023-01-10T17:36:11.834Z] v2.3.0-dev.15 [2023-01-10T17:36:11.834Z] v2.3.0-dev.16 [2023-01-10T17:36:11.834Z] v2.3.0-dev.17 [2023-01-10T17:36:11.834Z] v2.3.0-dev.18 [2023-01-10T17:36:11.834Z] v2.3.0-dev.19 [2023-01-10T17:36:11.834Z] v2.3.0-dev.20 [2023-01-10T17:36:11.834Z] v2.3.0-dev.4 [2023-01-10T17:36:11.834Z] v2.3.0-dev.5 [2023-01-10T17:36:11.834Z] v2.3.0-dev.6 [2023-01-10T17:36:11.834Z] v2.3.0-dev.7 [2023-01-10T17:36:11.834Z] v2.3.0-dev.8 [2023-01-10T17:36:11.834Z] v2.3.0-dev.9 [2023-01-10T17:36:11.834Z] v3.0.0-dev.1 [2023-01-10T17:36:11.834Z] v3.0.0-dev.2 [Pipeline] sh [2023-01-10T17:36:12.117Z] + lftools sign git-tag v3.0.0-dev.2 [2023-01-10T17:36:12.684Z] Signing Git tag with Sigul... [2023-01-10T17:36:12.684Z] Signing v3.0.0-dev.2 [Pipeline] echo [2023-01-10T17:36:12.954Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:13.239Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-10T17:36:13.246Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-10T17:36:13.268Z] $ docker stop --time=1 3e36fe63cd89b5f79c9594da0a767914e95e132a15b9f6a58b924411d8edebe3 [2023-01-10T17:36:15.081Z] $ docker rm -f --volumes 3e36fe63cd89b5f79c9594da0a767914e95e132a15b9f6a58b924411d8edebe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-10T17:36:15.583Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T17:36:15.583Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:36:15.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T17:36:15.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:36:15.964Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:36:15.995Z] $ 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-10T17:36:16.591Z] $ docker top 92532c7ffd64869c5596b759d7cf39af3d0fbc581ccf3b51e37ae4422801e1b3 -eo pid,comm [2023-01-10T17:36:16.650Z] 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-10T17:36:16.650Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T17:36:16.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T17:36:16.684Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T17:36:16.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T17:36:16.801Z] $ docker exec 92532c7ffd64869c5596b759d7cf39af3d0fbc581ccf3b51e37ae4422801e1b3 ssh-agent [2023-01-10T17:36:16.901Z] SSH_AUTH_SOCK=/tmp/ssh-LkMq5yk4nEKE/agent.31 [2023-01-10T17:36:16.901Z] SSH_AGENT_PID=37 [2023-01-10T17:36:16.905Z] Running ssh-add (command line suppressed) [2023-01-10T17:36:17.006Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2344725878193582955.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2344725878193582955.key) [2023-01-10T17:36:17.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T17:36:17.303Z] + git semver bump pre [2023-01-10T17:36:17.561Z] 2023-01-10 17:36:17,505 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,506 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,506 [bump_version] DEBUG bumped version:3.0.0-dev.3 [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,506 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,506 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,506 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,507 [execute] INFO git cat-file --batch-check [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,512 [execute] INFO git cat-file --batch [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,512 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T17:36:17.562Z] 2023-01-10 17:36:17,517 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T17:36:17.562Z] 3.0.0-dev.3 [Pipeline] } [2023-01-10T17:36:17.571Z] $ docker exec --env ******** --env ******** 92532c7ffd64869c5596b759d7cf39af3d0fbc581ccf3b51e37ae4422801e1b3 ssh-agent -k [2023-01-10T17:36:17.680Z] unset SSH_AUTH_SOCK; [2023-01-10T17:36:17.681Z] unset SSH_AGENT_PID; [2023-01-10T17:36:17.681Z] echo Agent pid 37 killed; [2023-01-10T17:36:17.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T17:36:17.994Z] + git semver [Pipeline] } [2023-01-10T17:36:18.270Z] $ docker stop --time=1 92532c7ffd64869c5596b759d7cf39af3d0fbc581ccf3b51e37ae4422801e1b3 [2023-01-10T17:36:19.671Z] $ docker rm -f --volumes 92532c7ffd64869c5596b759d7cf39af3d0fbc581ccf3b51e37ae4422801e1b3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T17:36:20.017Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T17:36:20.017Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:36:20.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T17:36:20.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:36:20.384Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:36:20.415Z] $ 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-10T17:36:20.909Z] $ docker top b9baedffd90745a8947433391ff2c6d24609ab8fa9447e47a03a7d8231150a55 -eo pid,comm [2023-01-10T17:36:20.953Z] 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-10T17:36:20.953Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T17:36:20.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T17:36:20.993Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T17:36:21.130Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T17:36:21.134Z] $ docker exec b9baedffd90745a8947433391ff2c6d24609ab8fa9447e47a03a7d8231150a55 ssh-agent [2023-01-10T17:36:21.252Z] SSH_AUTH_SOCK=/tmp/ssh-aZYWsCsc44N2/agent.32 [2023-01-10T17:36:21.252Z] SSH_AGENT_PID=37 [2023-01-10T17:36:21.257Z] Running ssh-add (command line suppressed) [2023-01-10T17:36:21.365Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2587290151003610245.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2587290151003610245.key) [2023-01-10T17:36:21.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T17:36:21.666Z] + git semver push [2023-01-10T17:36:21.925Z] 2023-01-10 17:36:21,898 [run_push] DEBUG push [2023-01-10T17:36:21.925Z] 2023-01-10 17:36:21,899 [execute] INFO git cat-file --batch-check [2023-01-10T17:36:21.925Z] 2023-01-10 17:36:21,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T17:36:21.925Z] 2023-01-10 17:36:21,903 [execute] INFO git rev-list 3e116431f6de524b80a0989585985d517abc7eae -- [2023-01-10T17:36:21.925Z] 2023-01-10 17:36:21,903 [execute] DEBUG Popen(['git', 'rev-list', '3e116431f6de524b80a0989585985d517abc7eae', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-10T17:36:21.925Z] 2023-01-10 17:36:21,909 [execute] INFO git fetch -v origin [2023-01-10T17:36:21.925Z] 2023-01-10 17:36:21,909 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-10T17:36:22.495Z] 2023-01-10 17:36:22,414 [run_push] DEBUG no remote changes detected [2023-01-10T17:36:22.495Z] 2023-01-10 17:36:22,414 [execute] INFO git push origin semver [2023-01-10T17:36:22.495Z] 2023-01-10 17:36:22,415 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-10T17:36:23.431Z] 2023-01-10 17:36:23,207 [run_push] DEBUG push all version tags [2023-01-10T17:36:23.431Z] 2023-01-10 17:36:23,207 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-10T17:36:23.431Z] 2023-01-10 17:36:23,208 [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-10T17:36:24.369Z] 2023-01-10 17:36:24,145 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-01-10T17:36:24.370Z] 3.0.0-dev.3 [Pipeline] } [2023-01-10T17:36:24.407Z] $ docker exec --env ******** --env ******** b9baedffd90745a8947433391ff2c6d24609ab8fa9447e47a03a7d8231150a55 ssh-agent -k [2023-01-10T17:36:24.510Z] unset SSH_AUTH_SOCK; [2023-01-10T17:36:24.512Z] unset SSH_AGENT_PID; [2023-01-10T17:36:24.512Z] echo Agent pid 37 killed; [2023-01-10T17:36:24.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T17:36:24.826Z] + git semver [Pipeline] } [2023-01-10T17:36:25.423Z] $ docker stop --time=1 b9baedffd90745a8947433391ff2c6d24609ab8fa9447e47a03a7d8231150a55 [2023-01-10T17:36:28.576Z] $ docker rm -f --volumes b9baedffd90745a8947433391ff2c6d24609ab8fa9447e47a03a7d8231150a55 [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-10T17:36:29.540Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-01-10T17:36:29.540Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-10T17:36:29.540Z] total 16 [2023-01-10T17:36:29.540Z] drwxr-xr-x 3 root root 4096 Jan 10 17:23 . [2023-01-10T17:36:29.540Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 17:36 .. [2023-01-10T17:36:29.540Z] drwxr-xr-x 2 root root 4096 Jan 10 17:23 cost [2023-01-10T17:36:29.540Z] -rw-r--r-- 1 root root 82 Jan 10 17:23 cost.csv [2023-01-10T17:36:29.540Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-10T17:36:29.540Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-01-10T17:36:29.540Z] total 16 [2023-01-10T17:36:29.540Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 17:23 . [2023-01-10T17:36:29.540Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 17:36 .. [2023-01-10T17:36:29.540Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 17:23 cost [2023-01-10T17:36:29.540Z] -rw-r--r-- 1 jenkins jenkins 82 Jan 10 17:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:29.834Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:30.699Z] ---> package-listing.sh [2023-01-10T17:36:30.699Z] ++ facter osfamily [2023-01-10T17:36:30.699Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T17:36:30.958Z] + OS_FAMILY=debian [2023-01-10T17:36:30.958Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-01-10T17:36:30.958Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T17:36:30.958Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T17:36:30.958Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T17:36:30.958Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T17:36:30.958Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-01-10T17:36:30.958Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T17:36:30.958Z] + case "${OS_FAMILY}" in [2023-01-10T17:36:30.958Z] + dpkg -l [2023-01-10T17:36:30.958Z] + grep '^ii' [2023-01-10T17:36:30.958Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T17:36:30.958Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T17:36:30.958Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T17:36:30.958Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-01-10T17:36:30.958Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-01-10T17:36:30.958Z] + 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-10T17:36:30.974Z] 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-10T17:36:31.251Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T17:36:31.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T17:36:31.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T17:36:31.923Z] prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container [2023-01-10T17:36:31.955Z] $ 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-10T17:36:36.942Z] $ docker top ffb3c509d8d5b570369908a0b77c6cf93d72bed3e843a5fb7a70be5d44faef1a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T17:36:37.383Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T17:36:37.717Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T17:36:37.997Z] + ls /var/log/sa-host [2023-01-10T17:36:37.997Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T17:36:38.061Z] provisioning config files... [2023-01-10T17:36:38.070Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14807959468047979534tmp [Pipeline] { [Pipeline] echo [2023-01-10T17:36:38.085Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:38.367Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T17:36:38.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:38.689Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T17:36:38.697Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:38.980Z] ---> sudo-logs.sh [2023-01-10T17:36:38.980Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T17:36:39.015Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:39.299Z] ---> job-cost.sh [2023-01-10T17:36:39.299Z] lf-activate-venv: SKIPPING [2023-01-10T17:36:39.299Z] DEBUG: total: 0.2199999988079071 [2023-01-10T17:36:39.299Z] INFO: Retrieving Stack Cost... [2023-01-10T17:36:39.867Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T17:36:40.126Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T17:36:40.138Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T17:36:40.419Z] ---> logs-deploy.sh [2023-01-10T17:36:40.419Z] lf-activate-venv: SKIPPING [2023-01-10T17:36:40.419Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/54 [2023-01-10T17:36:40.419Z] INFO: archiving workspace using pattern(s): [2023-01-10T17:36:41.356Z] Archives upload complete. [2023-01-10T17:36:41.356Z] INFO: archiving logs to Nexus