Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 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-ssh3035208530157475692.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh8447144492453796201.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/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-s7/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2298845919645014971.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh12888406449396729564.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-s7/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-s7/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7592409353126882726.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-s7] ========================================================= [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-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 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-s7 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7606 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-s7.git > git init /w/workspace/edgexfoundry_device-s7_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.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-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 (main) Commit message: "Merge pull request #11 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" > git config remote.origin.url git@github.com:edgexfoundry/device-s7.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 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 # timeout=10 > git rev-list --no-walk 4bd8664cc9fd2f5480b9401501168e0a6b2480c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-13T03:25:16.578Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-13T03:25:16.657Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-13T03:25:16.684Z] ========================================================= [2024-08-13T03:25:16.684Z] EdgeX Global Pipelines Version Info [2024-08-13T03:25:16.684Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:25:17.399Z] ------------------- [2024-08-13T03:25:17.399Z] stable info: [2024-08-13T03:25:17.399Z] ------------------- [2024-08-13T03:25:17.399Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-13T03:25:17.399Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-13T03:25:17.399Z] Message: update stable to v1.0.260 [2024-08-13T03:25:17.974Z] ------------------- [2024-08-13T03:25:17.974Z] experimental info: [2024-08-13T03:25:17.974Z] ------------------- [2024-08-13T03:25:17.974Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-13T03:25:17.974Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-13T03:25:17.974Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-13T03:25:18.097Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo [2024-08-13T03:25:18.139Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo [2024-08-13T03:25:18.176Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-13T03:25:18.217Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-13T03:25:18.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-13T03:25:18.281Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-13T03:25:18.305Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-13T03:25:18.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-13T03:25:18.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-13T03:25:18.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-13T03:25:18.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-13T03:25:18.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo [2024-08-13T03:25:18.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-13T03:25:18.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-13T03:25:18.532Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-13T03:25:18.553Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-13T03:25:18.582Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-13T03:25:18.609Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-13T03:25:18.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-13T03:25:18.658Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-13T03:25:18.683Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-13T03:25:18.713Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-13T03:25:18.740Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-13T03:25:18.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-13T03:25:18.799Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-13T03:25:18.829Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-13T03:25:18.851Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-13T03:25:18.875Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-08-13T03:25:18.897Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-08-13T03:25:18.924Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-08-13T03:25:18.948Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] echo [2024-08-13T03:25:18.970Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27c3a43 [Pipeline] echo [2024-08-13T03:25:18.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-13T03:25:19.066Z] provisioning config files... [2024-08-13T03:25:19.079Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config18362151948940952571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:25:19.417Z] ---> ****-login.sh [2024-08-13T03:25:19.417Z] nexus3.edgexfoundry.org:10001 [2024-08-13T03:25:19.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:19.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:19.678Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:19.678Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:19.678Z] [2024-08-13T03:25:19.678Z] Login Succeeded [2024-08-13T03:25:19.678Z] nexus3.edgexfoundry.org:10002 [2024-08-13T03:25:19.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:19.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:19.938Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:19.938Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:19.938Z] [2024-08-13T03:25:19.938Z] Login Succeeded [2024-08-13T03:25:19.938Z] nexus3.edgexfoundry.org:10003 [2024-08-13T03:25:19.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:19.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:19.939Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:19.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:19.939Z] [2024-08-13T03:25:19.939Z] Login Succeeded [2024-08-13T03:25:19.939Z] nexus3.edgexfoundry.org:10004 [2024-08-13T03:25:19.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:20.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:20.199Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:20.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:20.199Z] [2024-08-13T03:25:20.199Z] Login Succeeded [2024-08-13T03:25:20.199Z] ****.io [2024-08-13T03:25:20.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:20.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:20.462Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:20.462Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:20.462Z] [2024-08-13T03:25:20.462Z] Login Succeeded [2024-08-13T03:25:20.462Z] ---> ****-login.sh ends [Pipeline] } [2024-08-13T03:25:20.469Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-13T03:25:20.918Z] + git rev-list -1 --merges 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33~1..27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] echo [2024-08-13T03:25:20.949Z] -----------> git rev-list -1 --merges 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33~1..27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [2024-08-13T03:25:20.949Z] 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [false] [Pipeline] sh [2024-08-13T03:25:21.269Z] + git log --format=format:%s -1 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] echo [2024-08-13T03:25:21.305Z] ========================================================= [2024-08-13T03:25:21.305Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-13T03:25:21.305Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-13T03:25:21.686Z] + git log --format=format:%s -1 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] echo [2024-08-13T03:25:21.706Z] [semverPrep] GIT_COMMIT: 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33, Commit Message: Merge pull request #11 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0 [Pipeline] echo [2024-08-13T03:25:21.720Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-13T03:25:22.172Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-13T03:25:22.173Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-13T03:25:22.173Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-13T03:25:22.173Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-13T03:25:22.173Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-13T03:25:22.173Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-13T03:25:22.173Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:25:22.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-13T03:25:22.709Z] [2024-08-13T03:25:22.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:25:23.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-13T03:25:23.061Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-13T03:25:23.061Z] b85a868b505f: Pulling fs layer [2024-08-13T03:25:23.061Z] e2be974225ed: Pulling fs layer [2024-08-13T03:25:23.061Z] 339a4e72a1f5: Pulling fs layer [2024-08-13T03:25:23.061Z] 988bab9f4d93: Pulling fs layer [2024-08-13T03:25:23.061Z] 1469e6f7b9e6: Pulling fs layer [2024-08-13T03:25:23.061Z] eaf3925da568: Pulling fs layer [2024-08-13T03:25:23.061Z] bab4dde63d76: Pulling fs layer [2024-08-13T03:25:23.061Z] bde34c3a00c8: Pulling fs layer [2024-08-13T03:25:23.061Z] b352a97aabf1: Pulling fs layer [2024-08-13T03:25:23.061Z] 4872d77fe225: Pulling fs layer [2024-08-13T03:25:23.061Z] 5851b861e8e6: Pulling fs layer [2024-08-13T03:25:23.061Z] 988bab9f4d93: Waiting [2024-08-13T03:25:23.061Z] eaf3925da568: Waiting [2024-08-13T03:25:23.061Z] 1469e6f7b9e6: Waiting [2024-08-13T03:25:23.061Z] bab4dde63d76: Waiting [2024-08-13T03:25:23.061Z] 4872d77fe225: Waiting [2024-08-13T03:25:23.061Z] bde34c3a00c8: Waiting [2024-08-13T03:25:23.061Z] b352a97aabf1: Waiting [2024-08-13T03:25:23.061Z] e2be974225ed: Verifying Checksum [2024-08-13T03:25:23.061Z] e2be974225ed: Download complete [2024-08-13T03:25:23.061Z] 988bab9f4d93: Verifying Checksum [2024-08-13T03:25:23.061Z] 988bab9f4d93: Download complete [2024-08-13T03:25:23.335Z] 1469e6f7b9e6: Verifying Checksum [2024-08-13T03:25:23.335Z] 1469e6f7b9e6: Download complete [2024-08-13T03:25:23.335Z] eaf3925da568: Verifying Checksum [2024-08-13T03:25:23.335Z] eaf3925da568: Download complete [2024-08-13T03:25:23.335Z] 339a4e72a1f5: Verifying Checksum [2024-08-13T03:25:23.335Z] 339a4e72a1f5: Download complete [2024-08-13T03:25:23.335Z] bde34c3a00c8: Download complete [2024-08-13T03:25:23.335Z] b352a97aabf1: Verifying Checksum [2024-08-13T03:25:23.335Z] b352a97aabf1: Download complete [2024-08-13T03:25:23.605Z] 4872d77fe225: Verifying Checksum [2024-08-13T03:25:23.605Z] 4872d77fe225: Download complete [2024-08-13T03:25:23.605Z] 5851b861e8e6: Download complete [2024-08-13T03:25:23.605Z] b85a868b505f: Verifying Checksum [2024-08-13T03:25:23.605Z] b85a868b505f: Download complete [2024-08-13T03:25:23.864Z] bab4dde63d76: Verifying Checksum [2024-08-13T03:25:23.864Z] bab4dde63d76: Download complete [2024-08-13T03:25:24.820Z] b85a868b505f: Pull complete [2024-08-13T03:25:24.820Z] e2be974225ed: Pull complete [2024-08-13T03:25:25.398Z] 339a4e72a1f5: Pull complete [2024-08-13T03:25:25.398Z] 988bab9f4d93: Pull complete [2024-08-13T03:25:25.677Z] 1469e6f7b9e6: Pull complete [2024-08-13T03:25:25.950Z] eaf3925da568: Pull complete [2024-08-13T03:25:27.892Z] bab4dde63d76: Pull complete [2024-08-13T03:25:27.892Z] bde34c3a00c8: Pull complete [2024-08-13T03:25:27.892Z] b352a97aabf1: Pull complete [2024-08-13T03:25:27.892Z] 4872d77fe225: Pull complete [2024-08-13T03:25:27.892Z] 5851b861e8e6: Pull complete [2024-08-13T03:25:27.892Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-13T03:25:27.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-13T03:25:27.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:25:28.092Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:25:28.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-13T03:25:31.061Z] $ docker top e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 -eo pid,comm [2024-08-13T03:25:31.124Z] 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). [2024-08-13T03:25:31.124Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-13T03:25:31.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-13T03:25:31.180Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-13T03:25:31.314Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-13T03:25:31.315Z] $ docker exec e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 ssh-agent [2024-08-13T03:25:31.424Z] SSH_AUTH_SOCK=/tmp/ssh-3HNC6DmDs6T3/agent.33 [2024-08-13T03:25:31.424Z] SSH_AGENT_PID=39 [2024-08-13T03:25:31.432Z] Running ssh-add (command line suppressed) [2024-08-13T03:25:31.538Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_1898540115854970862.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_1898540115854970862.key) [2024-08-13T03:25:31.555Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-13T03:25:31.860Z] + git tag --points-at HEAD [Pipeline] } [2024-08-13T03:25:31.870Z] $ docker exec --env ******** --env ******** e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 ssh-agent -k [2024-08-13T03:25:31.962Z] unset SSH_AUTH_SOCK; [2024-08-13T03:25:31.962Z] unset SSH_AGENT_PID; [2024-08-13T03:25:31.962Z] echo Agent pid 39 killed; [2024-08-13T03:25:31.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-13T03:25:32.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-13T03:25:32.024Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-13T03:25:32.156Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-13T03:25:32.158Z] $ docker exec e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 ssh-agent [2024-08-13T03:25:32.270Z] SSH_AUTH_SOCK=/tmp/ssh-fmX9q5uQMuCl/agent.72 [2024-08-13T03:25:32.270Z] SSH_AGENT_PID=78 [2024-08-13T03:25:32.274Z] Running ssh-add (command line suppressed) [2024-08-13T03:25:32.367Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_6553766362482462158.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_6553766362482462158.key) [2024-08-13T03:25:32.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-13T03:25:32.675Z] + git semver init [2024-08-13T03:25:32.934Z] 2024-08-13 03:25:32,850 [run_init] DEBUG init version:0.0.0 force:False [2024-08-13T03:25:32.934Z] 2024-08-13 03:25:32,850 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_main/.semver [2024-08-13T03:25:32.934Z] 2024-08-13 03:25:32,851 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_main/.semver [2024-08-13T03:25:32.934Z] 2024-08-13 03:25:32,851 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_main/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=None) [2024-08-13T03:25:33.505Z] 2024-08-13 03:25:33,401 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_main/.git/info/exclude [2024-08-13T03:25:33.505Z] 2024-08-13 03:25:33,401 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:False [2024-08-13T03:25:33.505Z] 2024-08-13 03:25:33,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-08-13T03:25:33.505Z] 2024-08-13 03:25:33,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-08-13T03:25:33.505Z] 0.0.1-dev.1 [Pipeline] } [2024-08-13T03:25:33.513Z] $ docker exec --env ******** --env ******** e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 ssh-agent -k [2024-08-13T03:25:33.608Z] unset SSH_AUTH_SOCK; [2024-08-13T03:25:33.608Z] unset SSH_AGENT_PID; [2024-08-13T03:25:33.608Z] echo Agent pid 78 killed; [2024-08-13T03:25:33.621Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-13T03:25:33.949Z] + git semver [Pipeline] } [2024-08-13T03:25:34.240Z] $ docker stop --time=1 e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 [2024-08-13T03:25:35.529Z] $ docker rm -f --volumes e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-13T03:25:35.886Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-13T03:25:36.212Z] Stashed 1 file(s) [Pipeline] echo [2024-08-13T03:25:36.217Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.1 [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 [2024-08-13T03:25:36.434Z] provisioning config files... [2024-08-13T03:25:36.446Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config2014763007287958654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:25:36.800Z] ---> ****-login.sh [2024-08-13T03:25:36.800Z] nexus3.edgexfoundry.org:10001 [2024-08-13T03:25:36.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:36.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:36.800Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:36.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:36.800Z] [2024-08-13T03:25:36.800Z] Login Succeeded [2024-08-13T03:25:36.800Z] nexus3.edgexfoundry.org:10002 [2024-08-13T03:25:36.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:36.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:36.800Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:36.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:36.800Z] [2024-08-13T03:25:36.800Z] Login Succeeded [2024-08-13T03:25:36.800Z] nexus3.edgexfoundry.org:10003 [2024-08-13T03:25:37.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:37.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:37.089Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:37.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:37.089Z] [2024-08-13T03:25:37.089Z] Login Succeeded [2024-08-13T03:25:37.089Z] nexus3.edgexfoundry.org:10004 [2024-08-13T03:25:37.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:37.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:37.089Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:37.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:37.089Z] [2024-08-13T03:25:37.089Z] Login Succeeded [2024-08-13T03:25:37.089Z] ****.io [2024-08-13T03:25:37.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:25:37.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:25:37.365Z] Configure a credential helper to remove this warning. See [2024-08-13T03:25:37.365Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:25:37.365Z] [2024-08-13T03:25:37.365Z] Login Succeeded [2024-08-13T03:25:37.365Z] ---> ****-login.sh ends [Pipeline] } [2024-08-13T03:25:37.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-13T03:25:37.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-13T03:25:37.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-13T03:25:37.575Z] ========================================================= [2024-08-13T03:25:37.575Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-13T03:25:37.575Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:25:37.959Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-13T03:25:37.959Z] Sending build context to Docker daemon 425.5kB [2024-08-13T03:25:37.959Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-13T03:25:37.959Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-13T03:25:37.959Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-13T03:25:37.959Z] 619be1103602: Pulling fs layer [2024-08-13T03:25:37.959Z] 7862e08f4a3e: Pulling fs layer [2024-08-13T03:25:37.959Z] 5df492c9dc93: Pulling fs layer [2024-08-13T03:25:37.959Z] 7629e6793208: Pulling fs layer [2024-08-13T03:25:37.959Z] 4f4fb700ef54: Pulling fs layer [2024-08-13T03:25:37.959Z] fb5054dd5b73: Pulling fs layer [2024-08-13T03:25:37.959Z] eeca6798cff9: Pulling fs layer [2024-08-13T03:25:37.959Z] aa269ceb94a6: Pulling fs layer [2024-08-13T03:25:37.959Z] ada007ff1a6a: Pulling fs layer [2024-08-13T03:25:37.959Z] 4f4fb700ef54: Waiting [2024-08-13T03:25:37.959Z] fb5054dd5b73: Waiting [2024-08-13T03:25:37.959Z] eeca6798cff9: Waiting [2024-08-13T03:25:37.959Z] aa269ceb94a6: Waiting [2024-08-13T03:25:37.959Z] ada007ff1a6a: Waiting [2024-08-13T03:25:37.959Z] 7629e6793208: Waiting [2024-08-13T03:25:37.959Z] 7862e08f4a3e: Verifying Checksum [2024-08-13T03:25:37.959Z] 7862e08f4a3e: Download complete [2024-08-13T03:25:37.959Z] 7629e6793208: Verifying Checksum [2024-08-13T03:25:37.959Z] 7629e6793208: Download complete [2024-08-13T03:25:37.959Z] 4f4fb700ef54: Verifying Checksum [2024-08-13T03:25:37.959Z] 4f4fb700ef54: Download complete [2024-08-13T03:25:38.218Z] fb5054dd5b73: Verifying Checksum [2024-08-13T03:25:38.218Z] fb5054dd5b73: Download complete [2024-08-13T03:25:38.218Z] 619be1103602: Download complete [2024-08-13T03:25:38.218Z] eeca6798cff9: Verifying Checksum [2024-08-13T03:25:38.218Z] eeca6798cff9: Download complete [2024-08-13T03:25:38.218Z] 619be1103602: Pull complete [2024-08-13T03:25:38.497Z] ada007ff1a6a: Verifying Checksum [2024-08-13T03:25:38.497Z] ada007ff1a6a: Download complete [2024-08-13T03:25:38.497Z] 7862e08f4a3e: Pull complete [2024-08-13T03:25:38.497Z] 5df492c9dc93: Verifying Checksum [2024-08-13T03:25:38.497Z] 5df492c9dc93: Download complete [2024-08-13T03:25:39.065Z] aa269ceb94a6: Verifying Checksum [2024-08-13T03:25:39.065Z] aa269ceb94a6: Download complete [2024-08-13T03:25:42.426Z] 5df492c9dc93: Pull complete [2024-08-13T03:25:42.426Z] 7629e6793208: Pull complete [2024-08-13T03:25:42.426Z] 4f4fb700ef54: Pull complete [2024-08-13T03:25:42.426Z] fb5054dd5b73: Pull complete [2024-08-13T03:25:42.426Z] eeca6798cff9: Pull complete [2024-08-13T03:25:44.980Z] aa269ceb94a6: Pull complete [2024-08-13T03:25:45.248Z] ada007ff1a6a: Pull complete [2024-08-13T03:25:45.248Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-13T03:25:45.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-13T03:25:45.248Z] ---> f489d0715acc [2024-08-13T03:25:45.249Z] Step 3/10 : ARG MAKE=make build [2024-08-13T03:25:50.587Z] ---> Running in cb63b0ecc9a5 [2024-08-13T03:25:50.587Z] Removing intermediate container cb63b0ecc9a5 [2024-08-13T03:25:50.587Z] ---> b1cb44aeca87 [2024-08-13T03:25:50.587Z] Step 4/10 : WORKDIR /device-s7 [2024-08-13T03:25:50.587Z] ---> Running in f9c3ac4e0ee5 [2024-08-13T03:25:50.587Z] Removing intermediate container f9c3ac4e0ee5 [2024-08-13T03:25:50.587Z] ---> 4412ed80712c [2024-08-13T03:25:50.587Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-08-13T03:25:50.587Z] ---> Running in 5e1465b82517 [2024-08-13T03:25:50.587Z] Removing intermediate container 5e1465b82517 [2024-08-13T03:25:50.587Z] ---> c88614620155 [2024-08-13T03:25:50.587Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-08-13T03:25:50.587Z] ---> Running in 4bb998ba3250 [2024-08-13T03:25:50.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-13T03:25:50.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-13T03:25:50.587Z] OK: 264 MiB in 52 packages [2024-08-13T03:25:51.161Z] Removing intermediate container 4bb998ba3250 [2024-08-13T03:25:51.161Z] ---> 883f25e403af [2024-08-13T03:25:51.161Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-13T03:25:51.161Z] ---> 161896b28093 [2024-08-13T03:25:51.161Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-13T03:25:51.161Z] ---> Running in b76cbc928289 [2024-08-13T03:25:51.378Z] Still waiting to schedule task [2024-08-13T03:25:51.378Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-13T03:26:23.362Z] Removing intermediate container b76cbc928289 [2024-08-13T03:26:23.362Z] ---> 991d1b63a6b1 [2024-08-13T03:26:23.362Z] Step 9/10 : COPY . . [2024-08-13T03:26:23.362Z] ---> ab667804834b [2024-08-13T03:26:23.362Z] Step 10/10 : RUN ${MAKE} [2024-08-13T03:26:23.362Z] ---> Running in 83b0563876d8 [2024-08-13T03:26:23.623Z] noop [2024-08-13T03:26:23.894Z] Removing intermediate container 83b0563876d8 [2024-08-13T03:26:23.894Z] ---> 5354be240c97 [2024-08-13T03:26:23.894Z] Successfully built 5354be240c97 [2024-08-13T03:26:23.894Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:26:24.246Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-13T03:26:24.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:26:24.332Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:26:24.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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 ******** ci-base-image-x86_64 cat [2024-08-13T03:26:24.717Z] $ docker top 35ab395349a924891742e0e1663a1bbe98f9bf7ccd67d59e3c3547fafa43f427 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-13T03:26:25.068Z] + go version [2024-08-13T03:26:25.068Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-13T03:26:25.076Z] $ docker stop --time=1 35ab395349a924891742e0e1663a1bbe98f9bf7ccd67d59e3c3547fafa43f427 [2024-08-13T03:26:26.324Z] $ docker rm -f --volumes 35ab395349a924891742e0e1663a1bbe98f9bf7ccd67d59e3c3547fafa43f427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:26:26.760Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-13T03:26:26.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:26:26.844Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:26:26.868Z] $ 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-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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 ******** ci-base-image-x86_64 cat [2024-08-13T03:26:27.191Z] $ docker top 773afa3a0091d3322c0dbd3be192a571685edd505bf1b6a277684875cc7d21e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-13T03:26:27.557Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] fileExists [Pipeline] sh [2024-08-13T03:26:27.863Z] + make test [2024-08-13T03:26:27.863Z] go test -race -coverprofile=coverage.out ./... [2024-08-13T03:26:34.453Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-08-13T03:26:46.664Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-08-13T03:26:46.664Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-08-13T03:27:08.679Z] go vet ./... [2024-08-13T03:27:10.595Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-13T03:27:10.595Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-13T03:27:10.595Z] ./bin/test-attribution-txt.sh [2024-08-13T03:27:10.854Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-13T03:27:10.854Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-08-13T03:27:10.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-13T03:27:10.885Z] $ docker stop --time=1 773afa3a0091d3322c0dbd3be192a571685edd505bf1b6a277684875cc7d21e9 [2024-08-13T03:27:15.333Z] $ docker rm -f --volumes 773afa3a0091d3322c0dbd3be192a571685edd505bf1b6a277684875cc7d21e9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-13T03:27:15.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-13T03:27:15.942Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-13T03:27:16.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-13T03:27:16.889Z] + ls -al . [2024-08-13T03:27:16.889Z] total 136 [2024-08-13T03:27:16.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 13 03:26 . [2024-08-13T03:27:16.889Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 13 03:25 .. [2024-08-13T03:27:16.889Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 13 03:26 .git [2024-08-13T03:27:16.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 13 03:25 .github [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 237 Aug 13 03:25 .gitignore [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 13 03:25 .golangci.yml [2024-08-13T03:27:16.889Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 13 03:25 .semver [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 11920 Aug 13 03:25 Attribution.txt [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 1546 Aug 13 03:25 Dockerfile [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 643 Aug 13 03:25 Jenkinsfile [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 10947 Aug 13 03:25 LICENSE [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 1903 Aug 13 03:25 Makefile [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 614 Aug 13 03:25 OWNERS.md [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 2393 Aug 13 03:25 README.md [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 13 03:25 VERSION [2024-08-13T03:27:16.889Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 13 03:25 bin [2024-08-13T03:27:16.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 13 03:25 cmd [2024-08-13T03:27:16.889Z] -rw-r--r-- 1 jenkins jenkins 13 Aug 13 03:26 coverage.out [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 3644 Aug 13 03:25 go.mod [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 34418 Aug 13 03:25 go.sum [2024-08-13T03:27:16.889Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 13 03:25 internal [2024-08-13T03:27:16.889Z] -rw-rw-r-- 1 jenkins jenkins 223 Aug 13 03:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:17.205Z] + docker build -t device-s7 -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 --label arch=amd64 --label version=0.0.1-dev.1 . [2024-08-13T03:27:17.206Z] Sending build context to Docker daemon 426.5kB [2024-08-13T03:27:17.206Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-13T03:27:17.206Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-13T03:27:17.206Z] ---> 5354be240c97 [2024-08-13T03:27:17.206Z] Step 3/24 : ARG MAKE=make build [2024-08-13T03:27:17.206Z] ---> Running in ac648040f446 [2024-08-13T03:27:17.465Z] Removing intermediate container ac648040f446 [2024-08-13T03:27:17.465Z] ---> 25497eb743bf [2024-08-13T03:27:17.465Z] Step 4/24 : WORKDIR /device-s7 [2024-08-13T03:27:17.465Z] ---> Running in 9c5b0ec390f9 [2024-08-13T03:27:17.465Z] Removing intermediate container 9c5b0ec390f9 [2024-08-13T03:27:17.465Z] ---> 79076fbeeb36 [2024-08-13T03:27:17.465Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-08-13T03:27:17.465Z] ---> Running in 936365cae885 [2024-08-13T03:27:17.465Z] Removing intermediate container 936365cae885 [2024-08-13T03:27:17.465Z] ---> 3f786739b29d [2024-08-13T03:27:17.465Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-08-13T03:27:17.465Z] ---> Running in 7835d363304f [2024-08-13T03:27:17.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-13T03:27:17.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-13T03:27:18.244Z] OK: 264 MiB in 52 packages [2024-08-13T03:27:18.502Z] Removing intermediate container 7835d363304f [2024-08-13T03:27:18.502Z] ---> ee1713fc2bfd [2024-08-13T03:27:18.502Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-13T03:27:18.761Z] ---> 788a625e8266 [2024-08-13T03:27:18.761Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-13T03:27:18.761Z] ---> Running in 230de8cd0da0 [2024-08-13T03:27:19.331Z] Removing intermediate container 230de8cd0da0 [2024-08-13T03:27:19.331Z] ---> c7bf61956d6a [2024-08-13T03:27:19.331Z] Step 9/24 : COPY . . [2024-08-13T03:27:19.591Z] ---> 56f25c9a4488 [2024-08-13T03:27:19.591Z] Step 10/24 : RUN ${MAKE} [2024-08-13T03:27:19.591Z] ---> Running in c383a9b315c2 [2024-08-13T03:27:19.850Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-08-13T03:27:26.540Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7607 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] ws [2024-08-13T03:27:26.560Z] Running in /w/workspace/device-s7/6 [Pipeline] { [Pipeline] checkout [2024-08-13T03:27:26.598Z] Selected Git installation does not exist. Using Default [2024-08-13T03:27:26.598Z] The recommended git tool is: NONE [2024-08-13T03:27:31.213Z] using credential edgex-jenkins-ssh [2024-08-13T03:27:31.236Z] Cloning the remote Git repository [2024-08-13T03:27:31.272Z] Cloning repository git@github.com:edgexfoundry/device-s7.git [2024-08-13T03:27:31.381Z] > git init /w/workspace/device-s7/6 # timeout=10 [2024-08-13T03:27:31.501Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-08-13T03:27:31.502Z] > git --version # timeout=10 [2024-08-13T03:27:31.521Z] > git --version # 'git version 2.25.1' [2024-08-13T03:27:31.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-13T03:27:31.646Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-13T03:27:32.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-08-13T03:27:32.172Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-13T03:27:33.064Z] Avoid second fetch [2024-08-13T03:27:33.065Z] Checking out Revision 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 (main) [2024-08-13T03:27:33.701Z] Commit message: "Merge pull request #11 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" [2024-08-13T03:27:33.087Z] > git config core.sparsecheckout # timeout=10 [2024-08-13T03:27:33.149Z] > git checkout -f 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-13T03:27:38.419Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-13T03:27:38.419Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-13T03:27:38.419Z] Dload Upload Total Spent Left Speed [2024-08-13T03:27:38.419Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98676 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh [2024-08-13T03:27:38.764Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-13T03:27:39.083Z] + sudo tee /etc/docker/daemon.new [2024-08-13T03:27:39.083Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-13T03:27:39.083Z] { [2024-08-13T03:27:39.083Z] "registry-mirrors": [ [2024-08-13T03:27:39.083Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-13T03:27:39.083Z] ], [2024-08-13T03:27:39.083Z] "bip": "10.250.0.254/24", [2024-08-13T03:27:39.083Z] "hosts": [ [2024-08-13T03:27:39.083Z] "tcp://0.0.0.0:5555", [2024-08-13T03:27:39.083Z] "unix:///var/run/docker.sock" [2024-08-13T03:27:39.083Z] ], [2024-08-13T03:27:39.083Z] "mtu": 1458, [2024-08-13T03:27:39.083Z] "selinux-enabled": true, [2024-08-13T03:27:39.083Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-13T03:27:39.083Z] } [Pipeline] sh [2024-08-13T03:27:39.417Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-13T03:27:39.749Z] + sudo service docker restart [2024-08-13T03:27:41.779Z] Removing intermediate container c383a9b315c2 [2024-08-13T03:27:41.779Z] ---> 4fdd3bae7c6a [2024-08-13T03:27:41.779Z] Step 11/24 : FROM alpine:3.18 [2024-08-13T03:27:41.779Z] 3.18: Pulling from library/alpine [2024-08-13T03:27:41.779Z] 930bdd4d222e: Pulling fs layer [2024-08-13T03:27:41.779Z] 930bdd4d222e: Verifying Checksum [2024-08-13T03:27:41.779Z] 930bdd4d222e: Download complete [2024-08-13T03:27:41.779Z] 930bdd4d222e: Pull complete [2024-08-13T03:27:41.779Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-13T03:27:41.779Z] Status: Downloaded newer image for alpine:3.18 [2024-08-13T03:27:41.779Z] ---> 18f865063206 [2024-08-13T03:27:41.779Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-08-13T03:27:41.779Z] ---> Running in f889b72072f7 [2024-08-13T03:27:41.779Z] Removing intermediate container f889b72072f7 [2024-08-13T03:27:41.779Z] ---> dd7ceb6cdea2 [2024-08-13T03:27:41.779Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-13T03:27:41.779Z] ---> Running in b04a26e61219 [2024-08-13T03:27:42.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-13T03:27:42.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-13T03:27:42.298Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-13T03:27:42.299Z] Executing busybox-1.36.1-r7.trigger [2024-08-13T03:27:42.299Z] OK: 7 MiB in 16 packages [2024-08-13T03:27:42.560Z] Removing intermediate container b04a26e61219 [2024-08-13T03:27:42.560Z] ---> 3a4de53f5379 [2024-08-13T03:27:42.560Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-13T03:27:42.560Z] ---> Running in c810a2666457 [2024-08-13T03:27:42.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-13T03:27:43.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-13T03:27:43.077Z] OK: 7 MiB in 16 packages [2024-08-13T03:27:43.336Z] Removing intermediate container c810a2666457 [2024-08-13T03:27:43.336Z] ---> 233a2f288dde [2024-08-13T03:27:43.336Z] Step 15/24 : WORKDIR / [2024-08-13T03:27:43.336Z] ---> Running in bfd122b50830 [2024-08-13T03:27:43.595Z] Removing intermediate container bfd122b50830 [2024-08-13T03:27:43.595Z] ---> acb4b139277a [2024-08-13T03:27:43.595Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-08-13T03:27:43.595Z] ---> f4b7fd4ea2ce [2024-08-13T03:27:43.595Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-08-13T03:27:44.973Z] ---> f3c9a9e3bc44 [2024-08-13T03:27:44.973Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-08-13T03:27:44.973Z] ---> 36429e4501f7 [2024-08-13T03:27:44.973Z] Step 19/24 : EXPOSE 59994 [2024-08-13T03:27:44.973Z] ---> Running in a95d6e9c5238 [2024-08-13T03:27:44.973Z] Removing intermediate container a95d6e9c5238 [2024-08-13T03:27:44.973Z] ---> 071917567b49 [2024-08-13T03:27:44.973Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-08-13T03:27:44.973Z] ---> Running in fba874e30090 [2024-08-13T03:27:44.973Z] Removing intermediate container fba874e30090 [2024-08-13T03:27:44.973Z] ---> e327b21c57b0 [2024-08-13T03:27:44.973Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-13T03:27:44.973Z] ---> Running in 6caf18c417a0 [2024-08-13T03:27:45.236Z] Removing intermediate container 6caf18c417a0 [2024-08-13T03:27:45.236Z] ---> 56ef1250a1e4 [2024-08-13T03:27:45.236Z] Step 22/24 : LABEL arch=amd64 [2024-08-13T03:27:45.236Z] ---> Running in b2e1296a5410 [2024-08-13T03:27:45.236Z] Removing intermediate container b2e1296a5410 [2024-08-13T03:27:45.236Z] ---> 1a54601eb81f [2024-08-13T03:27:45.236Z] Step 23/24 : LABEL git_sha=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [2024-08-13T03:27:45.236Z] ---> Running in e66f18cd4c11 [2024-08-13T03:27:45.236Z] Removing intermediate container e66f18cd4c11 [2024-08-13T03:27:45.236Z] ---> f6d03161db67 [2024-08-13T03:27:45.236Z] Step 24/24 : LABEL version=0.0.1-dev.1 [2024-08-13T03:27:45.236Z] ---> Running in 27063770541a [2024-08-13T03:27:45.496Z] Removing intermediate container 27063770541a [2024-08-13T03:27:45.496Z] ---> f4ebfe5a52c8 [2024-08-13T03:27:45.496Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-13T03:27:45.496Z] Successfully built f4ebfe5a52c8 [2024-08-13T03:27:45.496Z] Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-13T03:27:45.626Z] provisioning config files... [2024-08-13T03:27:45.637Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config12556817604454185478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:27:45.945Z] ---> ****-login.sh [2024-08-13T03:27:45.945Z] nexus3.edgexfoundry.org:10001 [2024-08-13T03:27:45.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:27:45.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:27:45.945Z] Configure a credential helper to remove this warning. See [2024-08-13T03:27:45.945Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:27:45.945Z] [2024-08-13T03:27:45.945Z] Login Succeeded [2024-08-13T03:27:45.945Z] nexus3.edgexfoundry.org:10002 [2024-08-13T03:27:45.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:27:45.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:27:45.945Z] Configure a credential helper to remove this warning. See [2024-08-13T03:27:45.945Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:27:45.945Z] [2024-08-13T03:27:45.945Z] Login Succeeded [2024-08-13T03:27:45.945Z] nexus3.edgexfoundry.org:10003 [2024-08-13T03:27:46.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:27:46.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:27:46.208Z] Configure a credential helper to remove this warning. See [2024-08-13T03:27:46.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:27:46.208Z] [2024-08-13T03:27:46.208Z] Login Succeeded [2024-08-13T03:27:46.208Z] nexus3.edgexfoundry.org:10004 [2024-08-13T03:27:46.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:27:46.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:27:46.208Z] Configure a credential helper to remove this warning. See [2024-08-13T03:27:46.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:27:46.208Z] [2024-08-13T03:27:46.208Z] Login Succeeded [2024-08-13T03:27:46.208Z] ****.io [2024-08-13T03:27:46.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:27:46.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:27:46.466Z] Configure a credential helper to remove this warning. See [2024-08-13T03:27:46.466Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:27:46.466Z] [2024-08-13T03:27:46.466Z] Login Succeeded [2024-08-13T03:27:46.466Z] ---> ****-login.sh ends [Pipeline] } [2024-08-13T03:27:46.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-08-13T03:27:46.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-13T03:27:46.577Z] [edgeXDocker.push] Tagging docker image device-s7 with the following tags: [2024-08-13T03:27:46.577Z] 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [2024-08-13T03:27:46.577Z] latest [2024-08-13T03:27:46.577Z] 0.0.1-dev.1 [2024-08-13T03:27:46.577Z] 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [2024-08-13T03:27:46.577Z] main [2024-08-13T03:27:46.577Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:46.964Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:47.324Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [2024-08-13T03:27:47.324Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-08-13T03:27:47.324Z] 6a6bca44f3d3: Preparing [2024-08-13T03:27:47.324Z] c6df5a4c1a76: Preparing [2024-08-13T03:27:47.324Z] 5f7f5b80d8c5: Preparing [2024-08-13T03:27:47.324Z] 8643629f31c9: Preparing [2024-08-13T03:27:47.324Z] 9227433c6353: Preparing [2024-08-13T03:27:47.324Z] ce7f800efff9: Preparing [2024-08-13T03:27:47.324Z] ce7f800efff9: Waiting [2024-08-13T03:27:47.324Z] 5f7f5b80d8c5: Pushed [2024-08-13T03:27:47.324Z] 8643629f31c9: Pushed [2024-08-13T03:27:47.324Z] 6a6bca44f3d3: Pushed [2024-08-13T03:27:47.324Z] 9227433c6353: Pushed [2024-08-13T03:27:47.324Z] ce7f800efff9: Layer already exists [2024-08-13T03:27:50.632Z] c6df5a4c1a76: Pushed [2024-08-13T03:27:50.632Z] 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:50.997Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:51.331Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:latest [2024-08-13T03:27:51.331Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-08-13T03:27:51.331Z] 6a6bca44f3d3: Preparing [2024-08-13T03:27:51.331Z] c6df5a4c1a76: Preparing [2024-08-13T03:27:51.331Z] 5f7f5b80d8c5: Preparing [2024-08-13T03:27:51.331Z] 8643629f31c9: Preparing [2024-08-13T03:27:51.331Z] 9227433c6353: Preparing [2024-08-13T03:27:51.331Z] ce7f800efff9: Preparing [2024-08-13T03:27:51.331Z] 8643629f31c9: Layer already exists [2024-08-13T03:27:51.331Z] 6a6bca44f3d3: Layer already exists [2024-08-13T03:27:51.331Z] 5f7f5b80d8c5: Layer already exists [2024-08-13T03:27:51.331Z] 9227433c6353: Layer already exists [2024-08-13T03:27:51.331Z] c6df5a4c1a76: Layer already exists [2024-08-13T03:27:51.331Z] ce7f800efff9: Layer already exists [2024-08-13T03:27:51.331Z] latest: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:51.688Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:52.017Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.1 [2024-08-13T03:27:52.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-08-13T03:27:52.017Z] 6a6bca44f3d3: Preparing [2024-08-13T03:27:52.017Z] c6df5a4c1a76: Preparing [2024-08-13T03:27:52.017Z] 5f7f5b80d8c5: Preparing [2024-08-13T03:27:52.017Z] 8643629f31c9: Preparing [2024-08-13T03:27:52.017Z] 9227433c6353: Preparing [2024-08-13T03:27:52.017Z] ce7f800efff9: Preparing [2024-08-13T03:27:52.017Z] 6a6bca44f3d3: Layer already exists [2024-08-13T03:27:52.017Z] 9227433c6353: Layer already exists [2024-08-13T03:27:52.017Z] 5f7f5b80d8c5: Layer already exists [2024-08-13T03:27:52.017Z] 8643629f31c9: Layer already exists [2024-08-13T03:27:52.017Z] c6df5a4c1a76: Layer already exists [2024-08-13T03:27:52.017Z] ce7f800efff9: Layer already exists [2024-08-13T03:27:52.017Z] 0.0.1-dev.1: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:52.376Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:52.743Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [2024-08-13T03:27:52.743Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-08-13T03:27:52.743Z] 6a6bca44f3d3: Preparing [2024-08-13T03:27:52.743Z] c6df5a4c1a76: Preparing [2024-08-13T03:27:52.743Z] 5f7f5b80d8c5: Preparing [2024-08-13T03:27:52.743Z] 8643629f31c9: Preparing [2024-08-13T03:27:52.743Z] 9227433c6353: Preparing [2024-08-13T03:27:52.743Z] ce7f800efff9: Preparing [2024-08-13T03:27:52.743Z] ce7f800efff9: Waiting [2024-08-13T03:27:52.743Z] c6df5a4c1a76: Layer already exists [2024-08-13T03:27:52.743Z] 5f7f5b80d8c5: Layer already exists [2024-08-13T03:27:52.743Z] 6a6bca44f3d3: Layer already exists [2024-08-13T03:27:52.743Z] 8643629f31c9: Layer already exists [2024-08-13T03:27:52.743Z] 9227433c6353: Layer already exists [2024-08-13T03:27:52.743Z] ce7f800efff9: Layer already exists [2024-08-13T03:27:52.743Z] 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:53.085Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:53.407Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:main [2024-08-13T03:27:53.407Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-08-13T03:27:53.407Z] 6a6bca44f3d3: Preparing [2024-08-13T03:27:53.407Z] c6df5a4c1a76: Preparing [2024-08-13T03:27:53.407Z] 5f7f5b80d8c5: Preparing [2024-08-13T03:27:53.407Z] 8643629f31c9: Preparing [2024-08-13T03:27:53.407Z] 9227433c6353: Preparing [2024-08-13T03:27:53.407Z] ce7f800efff9: Preparing [2024-08-13T03:27:53.407Z] ce7f800efff9: Waiting [2024-08-13T03:27:53.407Z] 9227433c6353: Layer already exists [2024-08-13T03:27:53.407Z] 8643629f31c9: Layer already exists [2024-08-13T03:27:53.407Z] c6df5a4c1a76: Layer already exists [2024-08-13T03:27:53.407Z] 6a6bca44f3d3: Layer already exists [2024-08-13T03:27:53.407Z] 5f7f5b80d8c5: Layer already exists [2024-08-13T03:27:53.407Z] ce7f800efff9: Layer already exists [2024-08-13T03:27:53.407Z] main: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-08-13T03:27:53.489Z] ===================================================== [Pipeline] echo [2024-08-13T03:27:53.510Z] taggedImages: [2024-08-13T03:27:53.510Z] - nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [2024-08-13T03:27:53.510Z] - nexus3.edgexfoundry.org:10004/device-s7:latest [2024-08-13T03:27:53.510Z] - nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.1 [2024-08-13T03:27:53.510Z] - nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [2024-08-13T03:27:53.510Z] - nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:53.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-13T03:27:53.953Z] [2024-08-13T03:27:53.953Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:27:54.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-13T03:27:54.259Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-13T03:27:54.259Z] 5eb5b503b376: Pulling fs layer [2024-08-13T03:27:54.259Z] 5c69ac0246d0: Pulling fs layer [2024-08-13T03:27:54.259Z] ec43610c2a17: Pulling fs layer [2024-08-13T03:27:54.259Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-13T03:27:54.259Z] 33b1e0a273af: Pulling fs layer [2024-08-13T03:27:54.259Z] 5d3b04190fa2: Pulling fs layer [2024-08-13T03:27:54.259Z] 2f39f015ded8: Pulling fs layer [2024-08-13T03:27:54.259Z] 3a2ae6a8a46f: Waiting [2024-08-13T03:27:54.259Z] 33b1e0a273af: Waiting [2024-08-13T03:27:54.259Z] 5d3b04190fa2: Waiting [2024-08-13T03:27:54.259Z] 2f39f015ded8: Waiting [2024-08-13T03:27:54.259Z] 5c69ac0246d0: Verifying Checksum [2024-08-13T03:27:54.259Z] 5c69ac0246d0: Download complete [2024-08-13T03:27:54.259Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-13T03:27:54.259Z] 3a2ae6a8a46f: Download complete [2024-08-13T03:27:54.259Z] 33b1e0a273af: Verifying Checksum [2024-08-13T03:27:54.259Z] 33b1e0a273af: Download complete [2024-08-13T03:27:54.259Z] 5d3b04190fa2: Verifying Checksum [2024-08-13T03:27:54.259Z] 5d3b04190fa2: Download complete [2024-08-13T03:27:54.259Z] ec43610c2a17: Verifying Checksum [2024-08-13T03:27:54.259Z] ec43610c2a17: Download complete [2024-08-13T03:27:54.517Z] 5eb5b503b376: Download complete [2024-08-13T03:27:55.084Z] 2f39f015ded8: Download complete [2024-08-13T03:27:56.034Z] 5eb5b503b376: Pull complete [2024-08-13T03:27:56.034Z] 5c69ac0246d0: Pull complete [2024-08-13T03:27:56.292Z] ec43610c2a17: Pull complete [2024-08-13T03:27:56.551Z] 3a2ae6a8a46f: Pull complete [2024-08-13T03:27:56.551Z] 33b1e0a273af: Pull complete [2024-08-13T03:27:56.808Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-13T03:27:58.040Z] provisioning config files... [2024-08-13T03:27:58.065Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/6@tmp/config8965932806415279605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:27:58.532Z] ---> ****-login.sh [2024-08-13T03:27:58.532Z] nexus3.edgexfoundry.org:10001 [2024-08-13T03:27:58.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:27:59.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:27:59.073Z] Configure a credential helper to remove this warning. See [2024-08-13T03:27:59.073Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:27:59.073Z] [2024-08-13T03:27:59.073Z] Login Succeeded [2024-08-13T03:27:59.073Z] nexus3.edgexfoundry.org:10002 [2024-08-13T03:27:59.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:27:59.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:27:59.638Z] Configure a credential helper to remove this warning. See [2024-08-13T03:27:59.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:27:59.638Z] [2024-08-13T03:27:59.638Z] Login Succeeded [2024-08-13T03:27:59.638Z] nexus3.edgexfoundry.org:10003 [2024-08-13T03:27:59.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:27:59.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:27:59.915Z] Configure a credential helper to remove this warning. See [2024-08-13T03:27:59.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:27:59.915Z] [2024-08-13T03:27:59.915Z] Login Succeeded [2024-08-13T03:27:59.915Z] nexus3.edgexfoundry.org:10004 [2024-08-13T03:28:00.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:28:00.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:28:00.193Z] Configure a credential helper to remove this warning. See [2024-08-13T03:28:00.193Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:28:00.193Z] [2024-08-13T03:28:00.193Z] Login Succeeded [2024-08-13T03:28:00.193Z] ****.io [2024-08-13T03:28:00.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:28:00.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:28:00.752Z] Configure a credential helper to remove this warning. See [2024-08-13T03:28:00.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:28:00.752Z] [2024-08-13T03:28:00.752Z] Login Succeeded [2024-08-13T03:28:00.752Z] ---> ****-login.sh ends [Pipeline] } [2024-08-13T03:28:00.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-08-13T03:28:01.021Z] 2f39f015ded8: Pull complete [2024-08-13T03:28:01.022Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-13T03:28:01.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-13T03:28:01.022Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:28:01.203Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:28:01.250Z] $ 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-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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 [2024-08-13T03:28:06.287Z] $ docker top ff7dd63214fbbc848f6e57ec333d567296d50ecc7756efc504ca99b594e1209a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] echo [2024-08-13T03:28:06.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-13T03:28:06.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-13T03:28:06.514Z] ========================================================= [2024-08-13T03:28:06.514Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-13T03:28:06.514Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:28:06.719Z] ---> job-cost.sh [2024-08-13T03:28:06.719Z] lf-activate-venv: SKIPPING [2024-08-13T03:28:06.719Z] INFO: No Stack... [2024-08-13T03:28:06.978Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-13T03:28:07.049Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-13T03:28:07.239Z] INFO: Archiving Costs [Pipeline] sh [2024-08-13T03:28:07.332Z] Sending build context to Docker daemon 275.5kB [2024-08-13T03:28:07.332Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-13T03:28:07.332Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-13T03:28:07.549Z] + cat /w/workspace/edgexfoundry_device-s7_main/archives/cost.csv [2024-08-13T03:28:07.550Z] + cut -d, -f6 [Pipeline] lock [2024-08-13T03:28:07.592Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [2024-08-13T03:28:07.613Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-13T03:28:07.614Z] c6b39de5b339: Pulling fs layer [2024-08-13T03:28:07.614Z] a69c41024577: Pulling fs layer [2024-08-13T03:28:07.614Z] d6de4b400683: Pulling fs layer [2024-08-13T03:28:07.614Z] 35cb2a7552d0: Pulling fs layer [2024-08-13T03:28:07.614Z] 4f4fb700ef54: Pulling fs layer [2024-08-13T03:28:07.614Z] 464afbd9ba4c: Pulling fs layer [2024-08-13T03:28:07.614Z] 00f215d4a9da: Pulling fs layer [2024-08-13T03:28:07.614Z] d496ad576159: Pulling fs layer [2024-08-13T03:28:07.614Z] 35cb2a7552d0: Waiting [2024-08-13T03:28:07.614Z] 4f4fb700ef54: Waiting [2024-08-13T03:28:07.614Z] 464afbd9ba4c: Waiting [2024-08-13T03:28:07.614Z] 00f215d4a9da: Waiting [2024-08-13T03:28:07.614Z] d496ad576159: Waiting [2024-08-13T03:28:07.614Z] a69c41024577: Verifying Checksum [2024-08-13T03:28:07.614Z] a69c41024577: Download complete [2024-08-13T03:28:07.614Z] 35cb2a7552d0: Verifying Checksum [2024-08-13T03:28:07.614Z] 35cb2a7552d0: Download complete [2024-08-13T03:28:07.614Z] 4f4fb700ef54: Verifying Checksum [2024-08-13T03:28:07.614Z] 4f4fb700ef54: Download complete [2024-08-13T03:28:07.614Z] c6b39de5b339: Verifying Checksum [2024-08-13T03:28:07.614Z] c6b39de5b339: Download complete [2024-08-13T03:28:07.614Z] 464afbd9ba4c: Verifying Checksum [2024-08-13T03:28:07.614Z] 464afbd9ba4c: Download complete [2024-08-13T03:28:07.616Z] Resource [jenkins-edgexfoundry-device-s7-main-6-stack-cost] did not exist. Created. [2024-08-13T03:28:07.635Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-13T03:28:07.986Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-13T03:28:08.037Z] Stashed 1 file(s) [Pipeline] } [2024-08-13T03:28:08.047Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-13T03:28:08.071Z] $ docker stop --time=1 ff7dd63214fbbc848f6e57ec333d567296d50ecc7756efc504ca99b594e1209a [2024-08-13T03:28:08.205Z] d496ad576159: Verifying Checksum [2024-08-13T03:28:08.205Z] d496ad576159: Download complete [2024-08-13T03:28:08.796Z] c6b39de5b339: Pull complete [2024-08-13T03:28:09.219Z] $ docker rm -f --volumes ff7dd63214fbbc848f6e57ec333d567296d50ecc7756efc504ca99b594e1209a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-13T03:28:09.805Z] a69c41024577: Pull complete [2024-08-13T03:28:09.806Z] d6de4b400683: Verifying Checksum [2024-08-13T03:28:09.806Z] d6de4b400683: Download complete [2024-08-13T03:28:10.775Z] 00f215d4a9da: Verifying Checksum [2024-08-13T03:28:11.042Z] 00f215d4a9da: Download complete [2024-08-13T03:28:23.413Z] d6de4b400683: Pull complete [2024-08-13T03:28:23.413Z] 35cb2a7552d0: Pull complete [2024-08-13T03:28:23.413Z] 4f4fb700ef54: Pull complete [2024-08-13T03:28:23.413Z] 464afbd9ba4c: Pull complete [2024-08-13T03:28:31.627Z] 00f215d4a9da: Pull complete [2024-08-13T03:28:33.580Z] d496ad576159: Pull complete [2024-08-13T03:28:33.580Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-13T03:28:33.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-13T03:28:33.580Z] ---> f246e2811388 [2024-08-13T03:28:33.580Z] Step 3/10 : ARG MAKE=make build [2024-08-13T03:28:34.548Z] ---> Running in 0216fc31064f [2024-08-13T03:28:34.813Z] Removing intermediate container 0216fc31064f [2024-08-13T03:28:34.813Z] ---> 8afd999b65e3 [2024-08-13T03:28:34.813Z] Step 4/10 : WORKDIR /device-s7 [2024-08-13T03:28:34.813Z] ---> Running in 4c418a81e5d0 [2024-08-13T03:28:35.078Z] Removing intermediate container 4c418a81e5d0 [2024-08-13T03:28:35.078Z] ---> 814c6b1f98ac [2024-08-13T03:28:35.078Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-08-13T03:28:35.078Z] ---> Running in f258df3c10b1 [2024-08-13T03:28:35.349Z] Removing intermediate container f258df3c10b1 [2024-08-13T03:28:35.349Z] ---> dabf5774981f [2024-08-13T03:28:35.349Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-08-13T03:28:35.618Z] ---> Running in eb2adbcdefa7 [2024-08-13T03:28:36.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-13T03:28:37.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-13T03:28:37.754Z] OK: 266 MiB in 52 packages [2024-08-13T03:28:38.718Z] Removing intermediate container eb2adbcdefa7 [2024-08-13T03:28:38.718Z] ---> 4c239cc6091a [2024-08-13T03:28:38.718Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-13T03:28:39.303Z] ---> 2e63972f9f0f [2024-08-13T03:28:39.303Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-13T03:28:39.303Z] ---> Running in b22a2737bda2 [2024-08-13T03:29:35.743Z] Removing intermediate container b22a2737bda2 [2024-08-13T03:29:35.743Z] ---> d60b2d596a55 [2024-08-13T03:29:35.743Z] Step 9/10 : COPY . . [2024-08-13T03:29:35.743Z] ---> c17eb658191d [2024-08-13T03:29:35.743Z] Step 10/10 : RUN ${MAKE} [2024-08-13T03:29:35.743Z] ---> Running in 9e7f390adb1d [2024-08-13T03:29:35.743Z] noop [2024-08-13T03:29:35.743Z] Removing intermediate container 9e7f390adb1d [2024-08-13T03:29:35.743Z] ---> a80761e379c3 [2024-08-13T03:29:35.743Z] Successfully built a80761e379c3 [2024-08-13T03:29:35.743Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:29:36.127Z] + docker inspect -f . ci-base-image-arm64 [2024-08-13T03:29:36.127Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:29:36.355Z] prd-ubuntu20.04-docker-arm64-4c-16g-7607 does not seem to be running inside a container [2024-08-13T03:29:36.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@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 [2024-08-13T03:29:37.534Z] $ docker top d8640939e0451e2081ca80e78fc6bd6abf6bb9cd96a9b5b44a4090303f6fcc4f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-13T03:29:38.353Z] + go version [2024-08-13T03:29:38.354Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-13T03:29:38.372Z] $ docker stop --time=1 d8640939e0451e2081ca80e78fc6bd6abf6bb9cd96a9b5b44a4090303f6fcc4f [2024-08-13T03:29:39.987Z] $ docker rm -f --volumes d8640939e0451e2081ca80e78fc6bd6abf6bb9cd96a9b5b44a4090303f6fcc4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:29:40.578Z] + docker inspect -f . ci-base-image-arm64 [2024-08-13T03:29:40.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:29:40.768Z] prd-ubuntu20.04-docker-arm64-4c-16g-7607 does not seem to be running inside a container [2024-08-13T03:29:40.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@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 [2024-08-13T03:29:41.978Z] $ docker top 04c1326d62c6db9b5e79d2590a42f73e2843e54bc3189acab99b679c5bb17ffb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-13T03:29:42.490Z] + git config --global --add safe.directory /w/workspace/device-s7/6 [Pipeline] fileExists [Pipeline] sh [2024-08-13T03:29:43.097Z] + make test [2024-08-13T03:29:43.367Z] go test -race -coverprofile=coverage.out ./... [2024-08-13T03:30:22.257Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-08-13T03:32:14.034Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-08-13T03:32:14.034Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-08-13T03:32:14.034Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-13T03:32:14.034Z] go vet ./... [2024-08-13T03:34:36.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-13T03:34:36.149Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-13T03:34:36.149Z] ./bin/test-attribution-txt.sh [2024-08-13T03:34:36.149Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-13T03:34:36.149Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-08-13T03:34:36.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-13T03:34:36.204Z] $ docker stop --time=1 04c1326d62c6db9b5e79d2590a42f73e2843e54bc3189acab99b679c5bb17ffb [2024-08-13T03:34:38.092Z] $ docker rm -f --volumes 04c1326d62c6db9b5e79d2590a42f73e2843e54bc3189acab99b679c5bb17ffb [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-13T03:34:39.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-13T03:34:39.602Z] Warning: overwriting stash ‘coverage-report’ [2024-08-13T03:34:40.049Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-13T03:34:40.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-13T03:34:40.863Z] + ls -al . [2024-08-13T03:34:40.863Z] total 132 [2024-08-13T03:34:40.863Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 13 03:29 . [2024-08-13T03:34:40.863Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 13 03:27 .. [2024-08-13T03:34:40.863Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 13 03:27 .git [2024-08-13T03:34:40.863Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 13 03:27 .github [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 237 Aug 13 03:27 .gitignore [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 13 03:27 .golangci.yml [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 11920 Aug 13 03:27 Attribution.txt [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 1546 Aug 13 03:27 Dockerfile [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 643 Aug 13 03:27 Jenkinsfile [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 10947 Aug 13 03:27 LICENSE [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 1903 Aug 13 03:27 Makefile [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 614 Aug 13 03:27 OWNERS.md [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 2393 Aug 13 03:27 README.md [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 13 03:25 VERSION [2024-08-13T03:34:40.863Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 13 03:27 bin [2024-08-13T03:34:40.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 13 03:27 cmd [2024-08-13T03:34:40.863Z] -rw-r--r-- 1 jenkins jenkins 13 Aug 13 03:29 coverage.out [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 3644 Aug 13 03:27 go.mod [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 34418 Aug 13 03:27 go.sum [2024-08-13T03:34:40.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 13 03:27 internal [2024-08-13T03:34:40.863Z] -rw-rw-r-- 1 jenkins jenkins 223 Aug 13 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:34:41.221Z] + docker build -t device-s7-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 --label arch=arm64 --label version=0.0.1-dev.1 . [2024-08-13T03:34:41.489Z] Sending build context to Docker daemon 276.5kB [2024-08-13T03:34:41.489Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-13T03:34:41.489Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-13T03:34:41.489Z] ---> a80761e379c3 [2024-08-13T03:34:41.489Z] Step 3/24 : ARG MAKE=make build [2024-08-13T03:34:41.489Z] ---> Running in 2047e7e0e18e [2024-08-13T03:34:41.759Z] Removing intermediate container 2047e7e0e18e [2024-08-13T03:34:41.759Z] ---> a3e001cda8fe [2024-08-13T03:34:41.759Z] Step 4/24 : WORKDIR /device-s7 [2024-08-13T03:34:42.026Z] ---> Running in 187372b68f2b [2024-08-13T03:34:42.294Z] Removing intermediate container 187372b68f2b [2024-08-13T03:34:42.294Z] ---> 504aa98b32fd [2024-08-13T03:34:42.294Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-08-13T03:34:42.294Z] ---> Running in 5340152572bd [2024-08-13T03:34:42.567Z] Removing intermediate container 5340152572bd [2024-08-13T03:34:42.567Z] ---> 4a052fc78496 [2024-08-13T03:34:42.567Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-08-13T03:34:42.841Z] ---> Running in adeb55200ca8 [2024-08-13T03:34:43.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-13T03:34:44.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-13T03:34:45.072Z] OK: 266 MiB in 52 packages [2024-08-13T03:34:46.045Z] Removing intermediate container adeb55200ca8 [2024-08-13T03:34:46.045Z] ---> 519fa07e99cc [2024-08-13T03:34:46.045Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-13T03:34:46.320Z] ---> 471b7b00e423 [2024-08-13T03:34:46.320Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-13T03:34:46.320Z] ---> Running in c815715720df [2024-08-13T03:34:48.305Z] Removing intermediate container c815715720df [2024-08-13T03:34:48.305Z] ---> f3b7e8c451e1 [2024-08-13T03:34:48.305Z] Step 9/24 : COPY . . [2024-08-13T03:34:48.901Z] ---> d679120d5cec [2024-08-13T03:34:48.901Z] Step 10/24 : RUN ${MAKE} [2024-08-13T03:34:49.173Z] ---> Running in e32696551508 [2024-08-13T03:34:50.144Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-08-13T03:37:11.975Z] Removing intermediate container e32696551508 [2024-08-13T03:37:11.976Z] ---> dad2264a414f [2024-08-13T03:37:11.976Z] Step 11/24 : FROM alpine:3.18 [2024-08-13T03:37:11.976Z] 3.18: Pulling from library/alpine [2024-08-13T03:37:11.976Z] 4983c3fe2029: Pulling fs layer [2024-08-13T03:37:11.976Z] 4983c3fe2029: Verifying Checksum [2024-08-13T03:37:11.976Z] 4983c3fe2029: Download complete [2024-08-13T03:37:11.976Z] 4983c3fe2029: Pull complete [2024-08-13T03:37:11.976Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-13T03:37:11.976Z] Status: Downloaded newer image for alpine:3.18 [2024-08-13T03:37:11.976Z] ---> a0237000ae83 [2024-08-13T03:37:11.976Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-08-13T03:37:11.976Z] ---> Running in fe4fa52e183d [2024-08-13T03:37:11.976Z] Removing intermediate container fe4fa52e183d [2024-08-13T03:37:11.976Z] ---> f357a3f75c9d [2024-08-13T03:37:11.976Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-13T03:37:11.976Z] ---> Running in 61b960846d16 [2024-08-13T03:37:11.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-13T03:37:11.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-13T03:37:11.976Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-13T03:37:11.976Z] Executing busybox-1.36.1-r7.trigger [2024-08-13T03:37:11.976Z] OK: 8 MiB in 16 packages [2024-08-13T03:37:11.976Z] Removing intermediate container 61b960846d16 [2024-08-13T03:37:11.976Z] ---> 6c5681ab213d [2024-08-13T03:37:11.976Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-13T03:37:11.976Z] ---> Running in 54531210cab6 [2024-08-13T03:37:11.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-13T03:37:11.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-13T03:37:11.976Z] OK: 8 MiB in 16 packages [2024-08-13T03:37:11.976Z] Removing intermediate container 54531210cab6 [2024-08-13T03:37:11.976Z] ---> 3e50e5691f73 [2024-08-13T03:37:11.976Z] Step 15/24 : WORKDIR / [2024-08-13T03:37:11.976Z] ---> Running in 086bc3689e05 [2024-08-13T03:37:11.976Z] Removing intermediate container 086bc3689e05 [2024-08-13T03:37:11.976Z] ---> 02448d05d9d7 [2024-08-13T03:37:11.976Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-08-13T03:37:11.976Z] ---> a983fe930e97 [2024-08-13T03:37:11.976Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-08-13T03:37:11.976Z] ---> 30d69b8950b1 [2024-08-13T03:37:11.976Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-08-13T03:37:11.976Z] ---> 2a3844d4b91c [2024-08-13T03:37:11.976Z] Step 19/24 : EXPOSE 59994 [2024-08-13T03:37:11.976Z] ---> Running in b860afdfddfa [2024-08-13T03:37:11.976Z] Removing intermediate container b860afdfddfa [2024-08-13T03:37:11.976Z] ---> bf6bf37d3685 [2024-08-13T03:37:11.976Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-08-13T03:37:11.976Z] ---> Running in 4c9189fa6f35 [2024-08-13T03:37:11.976Z] Removing intermediate container 4c9189fa6f35 [2024-08-13T03:37:11.976Z] ---> 72d0867c96ab [2024-08-13T03:37:11.976Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-13T03:37:11.976Z] ---> Running in 639c6db66665 [2024-08-13T03:37:11.976Z] Removing intermediate container 639c6db66665 [2024-08-13T03:37:11.976Z] ---> ab509871c268 [2024-08-13T03:37:11.976Z] Step 22/24 : LABEL arch=arm64 [2024-08-13T03:37:11.976Z] ---> Running in 67f33ad66160 [2024-08-13T03:37:11.976Z] Removing intermediate container 67f33ad66160 [2024-08-13T03:37:11.976Z] ---> edbe22334478 [2024-08-13T03:37:11.976Z] Step 23/24 : LABEL git_sha=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [2024-08-13T03:37:11.976Z] ---> Running in 279b322abac1 [2024-08-13T03:37:11.976Z] Removing intermediate container 279b322abac1 [2024-08-13T03:37:11.976Z] ---> 767850258ab6 [2024-08-13T03:37:11.976Z] Step 24/24 : LABEL version=0.0.1-dev.1 [2024-08-13T03:37:11.976Z] ---> Running in 4cad764bc679 [2024-08-13T03:37:11.976Z] Removing intermediate container 4cad764bc679 [2024-08-13T03:37:11.976Z] ---> 7bcfcfc955f6 [2024-08-13T03:37:11.976Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-13T03:37:11.976Z] Successfully built 7bcfcfc955f6 [2024-08-13T03:37:11.976Z] Successfully tagged device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-13T03:37:12.151Z] provisioning config files... [2024-08-13T03:37:12.168Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/6@tmp/config3487970031509950374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:37:12.518Z] ---> ****-login.sh [2024-08-13T03:37:12.518Z] nexus3.edgexfoundry.org:10001 [2024-08-13T03:37:12.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:37:12.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:37:12.787Z] Configure a credential helper to remove this warning. See [2024-08-13T03:37:12.787Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:37:12.787Z] [2024-08-13T03:37:12.787Z] Login Succeeded [2024-08-13T03:37:12.787Z] nexus3.edgexfoundry.org:10002 [2024-08-13T03:37:13.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:37:13.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:37:13.056Z] Configure a credential helper to remove this warning. See [2024-08-13T03:37:13.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:37:13.057Z] [2024-08-13T03:37:13.057Z] Login Succeeded [2024-08-13T03:37:13.057Z] nexus3.edgexfoundry.org:10003 [2024-08-13T03:37:13.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:37:13.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:37:13.323Z] Configure a credential helper to remove this warning. See [2024-08-13T03:37:13.323Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:37:13.323Z] [2024-08-13T03:37:13.323Z] Login Succeeded [2024-08-13T03:37:13.606Z] nexus3.edgexfoundry.org:10004 [2024-08-13T03:37:13.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:37:13.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:37:13.873Z] Configure a credential helper to remove this warning. See [2024-08-13T03:37:13.873Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:37:13.873Z] [2024-08-13T03:37:13.873Z] Login Succeeded [2024-08-13T03:37:13.873Z] ****.io [2024-08-13T03:37:14.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-13T03:37:14.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-13T03:37:14.154Z] Configure a credential helper to remove this warning. See [2024-08-13T03:37:14.154Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-13T03:37:14.154Z] [2024-08-13T03:37:14.154Z] Login Succeeded [2024-08-13T03:37:14.154Z] ---> ****-login.sh ends [Pipeline] } [2024-08-13T03:37:14.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-08-13T03:37:14.221Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-13T03:37:14.253Z] [edgeXDocker.push] Tagging docker image device-s7-arm64 with the following tags: [2024-08-13T03:37:14.253Z] 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [2024-08-13T03:37:14.253Z] latest [2024-08-13T03:37:14.253Z] 0.0.1-dev.1 [2024-08-13T03:37:14.253Z] 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [2024-08-13T03:37:14.253Z] main [2024-08-13T03:37:14.253Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:14.648Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:15.074Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [2024-08-13T03:37:15.074Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-08-13T03:37:15.074Z] 3f1dcb811a37: Preparing [2024-08-13T03:37:15.074Z] effe9a5f47ae: Preparing [2024-08-13T03:37:15.074Z] 86d48f43e658: Preparing [2024-08-13T03:37:15.074Z] 3155d248d9c4: Preparing [2024-08-13T03:37:15.074Z] 0380548e7702: Preparing [2024-08-13T03:37:15.074Z] 3c20671a5817: Preparing [2024-08-13T03:37:15.074Z] 3c20671a5817: Waiting [2024-08-13T03:37:15.339Z] 3155d248d9c4: Pushed [2024-08-13T03:37:15.339Z] 86d48f43e658: Pushed [2024-08-13T03:37:15.339Z] 3f1dcb811a37: Pushed [2024-08-13T03:37:15.339Z] 0380548e7702: Pushed [2024-08-13T03:37:15.339Z] 3c20671a5817: Layer already exists [2024-08-13T03:37:22.018Z] effe9a5f47ae: Pushed [2024-08-13T03:37:22.018Z] 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:22.385Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:22.743Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [2024-08-13T03:37:22.743Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-08-13T03:37:22.743Z] 3f1dcb811a37: Preparing [2024-08-13T03:37:22.743Z] effe9a5f47ae: Preparing [2024-08-13T03:37:22.743Z] 86d48f43e658: Preparing [2024-08-13T03:37:22.743Z] 3155d248d9c4: Preparing [2024-08-13T03:37:22.743Z] 0380548e7702: Preparing [2024-08-13T03:37:22.743Z] 3c20671a5817: Preparing [2024-08-13T03:37:22.743Z] 3c20671a5817: Waiting [2024-08-13T03:37:22.743Z] 3f1dcb811a37: Layer already exists [2024-08-13T03:37:22.743Z] 0380548e7702: Layer already exists [2024-08-13T03:37:22.743Z] 3155d248d9c4: Layer already exists [2024-08-13T03:37:22.743Z] effe9a5f47ae: Layer already exists [2024-08-13T03:37:22.743Z] 86d48f43e658: Layer already exists [2024-08-13T03:37:22.743Z] 3c20671a5817: Layer already exists [2024-08-13T03:37:23.007Z] latest: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:23.376Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:23.758Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.1 [2024-08-13T03:37:23.758Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-08-13T03:37:23.758Z] 3f1dcb811a37: Preparing [2024-08-13T03:37:23.758Z] effe9a5f47ae: Preparing [2024-08-13T03:37:23.758Z] 86d48f43e658: Preparing [2024-08-13T03:37:23.758Z] 3155d248d9c4: Preparing [2024-08-13T03:37:23.758Z] 0380548e7702: Preparing [2024-08-13T03:37:23.758Z] 3c20671a5817: Preparing [2024-08-13T03:37:23.758Z] 3c20671a5817: Waiting [2024-08-13T03:37:23.758Z] 3f1dcb811a37: Layer already exists [2024-08-13T03:37:23.758Z] 3155d248d9c4: Layer already exists [2024-08-13T03:37:23.758Z] effe9a5f47ae: Layer already exists [2024-08-13T03:37:23.758Z] 0380548e7702: Layer already exists [2024-08-13T03:37:23.758Z] 86d48f43e658: Layer already exists [2024-08-13T03:37:23.758Z] 3c20671a5817: Layer already exists [2024-08-13T03:37:23.758Z] 0.0.1-dev.1: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:24.124Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:24.503Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [2024-08-13T03:37:24.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-08-13T03:37:24.503Z] 3f1dcb811a37: Preparing [2024-08-13T03:37:24.503Z] effe9a5f47ae: Preparing [2024-08-13T03:37:24.503Z] 86d48f43e658: Preparing [2024-08-13T03:37:24.503Z] 3155d248d9c4: Preparing [2024-08-13T03:37:24.503Z] 0380548e7702: Preparing [2024-08-13T03:37:24.503Z] 3c20671a5817: Preparing [2024-08-13T03:37:24.503Z] 3c20671a5817: Waiting [2024-08-13T03:37:24.503Z] 0380548e7702: Layer already exists [2024-08-13T03:37:24.503Z] 3155d248d9c4: Layer already exists [2024-08-13T03:37:24.767Z] effe9a5f47ae: Layer already exists [2024-08-13T03:37:24.768Z] 3f1dcb811a37: Layer already exists [2024-08-13T03:37:24.768Z] 3c20671a5817: Layer already exists [2024-08-13T03:37:24.768Z] 86d48f43e658: Layer already exists [2024-08-13T03:37:24.768Z] 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:25.134Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:25.520Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:main [2024-08-13T03:37:25.520Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-08-13T03:37:25.520Z] 3f1dcb811a37: Preparing [2024-08-13T03:37:25.520Z] effe9a5f47ae: Preparing [2024-08-13T03:37:25.520Z] 86d48f43e658: Preparing [2024-08-13T03:37:25.520Z] 3155d248d9c4: Preparing [2024-08-13T03:37:25.520Z] 0380548e7702: Preparing [2024-08-13T03:37:25.520Z] 3c20671a5817: Preparing [2024-08-13T03:37:25.520Z] 3c20671a5817: Waiting [2024-08-13T03:37:25.520Z] 3f1dcb811a37: Layer already exists [2024-08-13T03:37:25.520Z] 86d48f43e658: Layer already exists [2024-08-13T03:37:25.520Z] effe9a5f47ae: Layer already exists [2024-08-13T03:37:25.520Z] 3155d248d9c4: Layer already exists [2024-08-13T03:37:25.520Z] 3c20671a5817: Layer already exists [2024-08-13T03:37:25.520Z] 0380548e7702: Layer already exists [2024-08-13T03:37:25.520Z] main: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-08-13T03:37:25.613Z] ===================================================== [Pipeline] echo [2024-08-13T03:37:25.628Z] taggedImages: [2024-08-13T03:37:25.628Z] - nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [2024-08-13T03:37:25.628Z] - nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [2024-08-13T03:37:25.628Z] - nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.1 [2024-08-13T03:37:25.628Z] - nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [2024-08-13T03:37:25.628Z] - nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:26.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-13T03:37:26.043Z] [2024-08-13T03:37:26.043Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:37:26.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-13T03:37:26.377Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-13T03:37:26.377Z] 8998bd30e6a1: Pulling fs layer [2024-08-13T03:37:26.377Z] 04944245beec: Pulling fs layer [2024-08-13T03:37:26.377Z] 699f458cf7ca: Pulling fs layer [2024-08-13T03:37:26.377Z] 765212b225bb: Pulling fs layer [2024-08-13T03:37:26.377Z] f23df028b6ca: Pulling fs layer [2024-08-13T03:37:26.377Z] d65c8cfc05b1: Pulling fs layer [2024-08-13T03:37:26.377Z] 765212b225bb: Waiting [2024-08-13T03:37:26.377Z] f23df028b6ca: Waiting [2024-08-13T03:37:26.377Z] 2437ff75d9bd: Pulling fs layer [2024-08-13T03:37:26.377Z] d65c8cfc05b1: Waiting [2024-08-13T03:37:26.642Z] 04944245beec: Verifying Checksum [2024-08-13T03:37:26.642Z] 04944245beec: Download complete [2024-08-13T03:37:26.642Z] 765212b225bb: Verifying Checksum [2024-08-13T03:37:26.642Z] 765212b225bb: Download complete [2024-08-13T03:37:26.642Z] f23df028b6ca: Verifying Checksum [2024-08-13T03:37:26.642Z] f23df028b6ca: Download complete [2024-08-13T03:37:26.642Z] d65c8cfc05b1: Verifying Checksum [2024-08-13T03:37:26.642Z] d65c8cfc05b1: Download complete [2024-08-13T03:37:26.642Z] 699f458cf7ca: Verifying Checksum [2024-08-13T03:37:26.642Z] 699f458cf7ca: Download complete [2024-08-13T03:37:27.221Z] 8998bd30e6a1: Download complete [2024-08-13T03:37:29.798Z] 2437ff75d9bd: Verifying Checksum [2024-08-13T03:37:29.798Z] 2437ff75d9bd: Download complete [2024-08-13T03:37:31.747Z] 8998bd30e6a1: Pull complete [2024-08-13T03:37:32.336Z] 04944245beec: Pull complete [2024-08-13T03:37:33.740Z] 699f458cf7ca: Pull complete [2024-08-13T03:37:34.015Z] 765212b225bb: Pull complete [2024-08-13T03:37:34.977Z] f23df028b6ca: Pull complete [2024-08-13T03:37:34.977Z] d65c8cfc05b1: Pull complete [2024-08-13T03:37:53.197Z] 2437ff75d9bd: Pull complete [2024-08-13T03:37:53.197Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-13T03:37:53.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-13T03:37:53.197Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:37:53.423Z] prd-ubuntu20.04-docker-arm64-4c-16g-7607 does not seem to be running inside a container [2024-08-13T03:37:53.481Z] $ 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-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@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 [2024-08-13T03:37:56.016Z] $ docker top de3cd41c76fe6c1ccf1b3ebe7a6b979bb6adb3b01c85e4502dab78b5cfaf6fa2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:37:56.841Z] ---> job-cost.sh [2024-08-13T03:37:56.842Z] lf-activate-venv: SKIPPING [2024-08-13T03:37:56.842Z] INFO: No Stack... [2024-08-13T03:37:57.190Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-13T03:37:58.140Z] INFO: Archiving Costs [Pipeline] sh [2024-08-13T03:37:58.474Z] + cat /w/workspace/device-s7/6/archives/cost.csv [2024-08-13T03:37:58.474Z] + cut -d, -f6 [Pipeline] lock [2024-08-13T03:37:58.580Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [2024-08-13T03:37:58.590Z] Resource [jenkins-edgexfoundry-device-s7-main-6-stack-cost] did not exist. Created. [2024-08-13T03:37:58.597Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-13T03:37:58.972Z] /w/workspace/device-s7/6@tmp/durable-96694b8d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-13T03:37:59.558Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-13T03:37:59.590Z] Warning: overwriting stash ‘stack-cost’ [2024-08-13T03:37:59.633Z] Stashed 1 file(s) [Pipeline] } [2024-08-13T03:37:59.643Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-13T03:37:59.671Z] $ docker stop --time=1 de3cd41c76fe6c1ccf1b3ebe7a6b979bb6adb3b01c85e4502dab78b5cfaf6fa2 [2024-08-13T03:38:01.155Z] $ docker rm -f --volumes de3cd41c76fe6c1ccf1b3ebe7a6b979bb6adb3b01c85e4502dab78b5cfaf6fa2 [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 [2024-08-13T03:38:01.716Z] provisioning config files... [2024-08-13T03:38:01.738Z] copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config13995669347267049738tmp [Pipeline] { [Pipeline] sh [2024-08-13T03:38:02.061Z] + set +x [2024-08-13T03:38:02.061Z] + curl -s https://codecov.io/bash [2024-08-13T03:38:02.061Z] + bash -s -- [2024-08-13T03:38:02.061Z] [2024-08-13T03:38:02.061Z] _____ _ [2024-08-13T03:38:02.061Z] / ____| | | [2024-08-13T03:38:02.061Z] | | ___ __| | ___ ___ _____ __ [2024-08-13T03:38:02.061Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-13T03:38:02.061Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-13T03:38:02.061Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-13T03:38:02.061Z] Bash-1.0.6 [2024-08-13T03:38:02.061Z] [2024-08-13T03:38:02.061Z] [2024-08-13T03:38:02.061Z] ==> git version 2.25.1 found [2024-08-13T03:38:02.061Z] ==> 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 [2024-08-13T03:38:02.061Z] Release-Date: 2020-01-08 [2024-08-13T03:38:02.061Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-13T03:38:02.061Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-13T03:38:02.061Z] ==> Jenkins CI detected. [2024-08-13T03:38:02.061Z] current dir:  /w/workspace/edgexfoundry_device-s7_main [2024-08-13T03:38:02.061Z] project root: . [2024-08-13T03:38:02.061Z] --> token set from env [2024-08-13T03:38:02.061Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-13T03:38:02.321Z] ==> Running gcov in . (disable via -X gcov) [2024-08-13T03:38:02.321Z] ==> Python coveragepy not found [2024-08-13T03:38:02.321Z] ==> Searching for coverage reports in: [2024-08-13T03:38:02.321Z] + . [2024-08-13T03:38:02.321Z] -> Found 1 reports [2024-08-13T03:38:02.321Z] ==> Detecting git/mercurial file structure [2024-08-13T03:38:02.321Z] ==> Reading reports [2024-08-13T03:38:02.321Z] + ./coverage.out bytes=13 [2024-08-13T03:38:02.321Z] ==> Appending adjustments [2024-08-13T03:38:02.321Z] https://docs.codecov.io/docs/fixing-reports [2024-08-13T03:38:02.321Z] + Found adjustments [2024-08-13T03:38:02.321Z] ==> Gzipping contents [2024-08-13T03:38:02.321Z] 4.0K /tmp/codecov.t9udGK.gz [2024-08-13T03:38:02.321Z] ==> Uploading reports [2024-08-13T03:38:02.321Z] url: https://codecov.io [2024-08-13T03:38:02.321Z] query: branch=main&commit=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= [2024-08-13T03:38:02.321Z] -> Pinging Codecov [2024-08-13T03:38:02.321Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= [2024-08-13T03:38:02.581Z] -> Uploading to [2024-08-13T03:38:02.581Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-13/4B6A60F249F899673AFAFF81AC620B19/27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33/4693d7b2-04e5-4b75-bb83-adf189f84e46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240813%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240813T033802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6cd4a78eeef1b6bc2b94fae33c68843a0a5d0959237eaec09a51cb8d321499a1 [2024-08-13T03:38:02.581Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-13T03:38:02.581Z] Dload Upload Total Spent Left Speed [2024-08-13T03:38:02.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 866 0 0 100 866 0 3464 --:--:-- --:--:-- --:--:-- 3450 [2024-08-13T03:38:02.839Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] } [2024-08-13T03:38:02.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-08-13T03:38:03.104Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-08-13T03:38:03.122Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:38:03.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-08-13T03:38:03.452Z] [2024-08-13T03:38:03.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:38:03.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-08-13T03:38:03.771Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-08-13T03:38:03.771Z] 619be1103602: Already exists [2024-08-13T03:38:03.771Z] f8ea3408117e: Pulling fs layer [2024-08-13T03:38:03.771Z] 91320369b822: Pulling fs layer [2024-08-13T03:38:03.771Z] 0406650e8295: Pulling fs layer [2024-08-13T03:38:03.771Z] 4f4fb700ef54: Pulling fs layer [2024-08-13T03:38:03.771Z] 96d80e3f36e1: Pulling fs layer [2024-08-13T03:38:03.771Z] bcf3aedb951c: Pulling fs layer [2024-08-13T03:38:03.771Z] bcf3aedb951c: Waiting [2024-08-13T03:38:03.771Z] 4f4fb700ef54: Waiting [2024-08-13T03:38:03.771Z] 96d80e3f36e1: Waiting [2024-08-13T03:38:03.771Z] 0406650e8295: Verifying Checksum [2024-08-13T03:38:03.771Z] 0406650e8295: Download complete [2024-08-13T03:38:03.771Z] f8ea3408117e: Verifying Checksum [2024-08-13T03:38:03.771Z] f8ea3408117e: Download complete [2024-08-13T03:38:03.771Z] 4f4fb700ef54: Verifying Checksum [2024-08-13T03:38:03.771Z] 4f4fb700ef54: Download complete [2024-08-13T03:38:03.771Z] f8ea3408117e: Pull complete [2024-08-13T03:38:04.030Z] 96d80e3f36e1: Verifying Checksum [2024-08-13T03:38:04.030Z] 96d80e3f36e1: Download complete [2024-08-13T03:38:04.287Z] 91320369b822: Verifying Checksum [2024-08-13T03:38:04.287Z] 91320369b822: Download complete [2024-08-13T03:38:04.854Z] bcf3aedb951c: Download complete [2024-08-13T03:38:08.144Z] 91320369b822: Pull complete [2024-08-13T03:38:08.144Z] 0406650e8295: Pull complete [2024-08-13T03:38:08.144Z] 4f4fb700ef54: Pull complete [2024-08-13T03:38:08.144Z] 96d80e3f36e1: Pull complete [2024-08-13T03:38:11.444Z] bcf3aedb951c: Pull complete [2024-08-13T03:38:11.444Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-08-13T03:38:11.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-08-13T03:38:11.444Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:38:11.552Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:38:11.587Z] $ 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-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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/edgex-snyk-go:latest cat [2024-08-13T03:38:15.796Z] $ docker top e0db6232b535e5aabd657c9b425bdc6e9650d723ae283df48ec94b932e584b6a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-13T03:38:16.154Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] echo [2024-08-13T03:38:16.166Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-s7:main' [Pipeline] sh [2024-08-13T03:38:16.447Z] + set -o pipefail [2024-08-13T03:38:16.447Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-s7:main' [2024-08-13T03:38:23.048Z] [2024-08-13T03:38:23.048Z] Monitoring /w/workspace/edgexfoundry_device-s7_main (github.com/edgexfoundry/device-s7)... [2024-08-13T03:38:23.048Z] [2024-08-13T03:38:23.048Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9802e2c3-a805-43f9-b47e-5746baaac31c/history/e7440565-c88c-4d16-9c06-033030361202 [2024-08-13T03:38:23.048Z] [2024-08-13T03:38:23.048Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-08-13T03:38:23.048Z] [2024-08-13T03:38:23.048Z] [2024-08-13T03:38:23.048Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2024-08-13T03:38:23.048Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-08-13T03:38:23.059Z] $ docker stop --time=1 e0db6232b535e5aabd657c9b425bdc6e9650d723ae283df48ec94b932e584b6a [2024-08-13T03:38:26.650Z] $ docker rm -f --volumes e0db6232b535e5aabd657c9b425bdc6e9650d723ae283df48ec94b932e584b6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-13T03:38:27.447Z] + git log --format=format:%s -1 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] sh [2024-08-13T03:38:27.743Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-13T03:38:27.743Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:38:28.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-13T03:38:28.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:38:28.278Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:38:28.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-13T03:38:28.790Z] $ docker top a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d -eo pid,comm [2024-08-13T03:38:28.840Z] 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). [2024-08-13T03:38:28.840Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-13T03:38:28.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-13T03:38:28.898Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-13T03:38:29.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-13T03:38:29.007Z] $ docker exec a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d ssh-agent [2024-08-13T03:38:29.127Z] SSH_AUTH_SOCK=/tmp/ssh-o5VVAvD0RmWw/agent.32 [2024-08-13T03:38:29.127Z] SSH_AGENT_PID=39 [2024-08-13T03:38:29.132Z] Running ssh-add (command line suppressed) [2024-08-13T03:38:29.233Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11673520502139192378.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11673520502139192378.key) [2024-08-13T03:38:29.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-13T03:38:29.543Z] + git semver tag [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,713 [run_tag] DEBUG tag force:False [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,713 [check_head_tag] DEBUG check head tag [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,714 [execute] INFO git cat-file --batch-check [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,719 [execute] INFO git cat-file --batch [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,724 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,724 [execute] INFO git tag -a v0.0.1-dev.1 -m v0.0.1-dev.1 [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,724 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.1', '-m', 'v0.0.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=None) [2024-08-13T03:38:29.803Z] 2024-08-13 03:38:29,729 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-08-13T03:38:29.803Z] 0.0.1-dev.1 [Pipeline] } [2024-08-13T03:38:29.813Z] $ docker exec --env ******** --env ******** a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d ssh-agent -k [2024-08-13T03:38:29.908Z] unset SSH_AUTH_SOCK; [2024-08-13T03:38:29.909Z] unset SSH_AGENT_PID; [2024-08-13T03:38:29.909Z] echo Agent pid 39 killed; [2024-08-13T03:38:29.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-13T03:38:30.247Z] + git semver [Pipeline] } [2024-08-13T03:38:30.522Z] $ docker stop --time=1 a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d [2024-08-13T03:38:31.786Z] $ docker rm -f --volumes a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:38:32.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-08-13T03:38:32.242Z] [2024-08-13T03:38:32.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:38:32.546Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-08-13T03:38:32.547Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-08-13T03:38:32.547Z] ab5ef0e58194: Pulling fs layer [2024-08-13T03:38:32.547Z] 9712f1f96733: Pulling fs layer [2024-08-13T03:38:32.547Z] 63f879dbbcfc: Pulling fs layer [2024-08-13T03:38:32.547Z] 0d9ebad4ef96: Pulling fs layer [2024-08-13T03:38:32.547Z] e9a5061849ea: Pulling fs layer [2024-08-13T03:38:32.547Z] d747dcd14b5f: Pulling fs layer [2024-08-13T03:38:32.547Z] 2de7ff778b66: Pulling fs layer [2024-08-13T03:38:32.547Z] d747dcd14b5f: Waiting [2024-08-13T03:38:32.547Z] 0d9ebad4ef96: Waiting [2024-08-13T03:38:32.547Z] 9712f1f96733: Verifying Checksum [2024-08-13T03:38:32.547Z] 9712f1f96733: Download complete [2024-08-13T03:38:34.578Z] 63f879dbbcfc: Verifying Checksum [2024-08-13T03:38:34.578Z] 63f879dbbcfc: Download complete [2024-08-13T03:38:34.837Z] 0d9ebad4ef96: Verifying Checksum [2024-08-13T03:38:34.837Z] 0d9ebad4ef96: Download complete [2024-08-13T03:38:34.837Z] e9a5061849ea: Verifying Checksum [2024-08-13T03:38:34.837Z] e9a5061849ea: Download complete [2024-08-13T03:38:34.837Z] d747dcd14b5f: Download complete [2024-08-13T03:38:34.837Z] ab5ef0e58194: Verifying Checksum [2024-08-13T03:38:34.837Z] ab5ef0e58194: Download complete [2024-08-13T03:38:34.837Z] 2de7ff778b66: Verifying Checksum [2024-08-13T03:38:34.837Z] 2de7ff778b66: Download complete [2024-08-13T03:38:38.138Z] ab5ef0e58194: Pull complete [2024-08-13T03:38:38.138Z] 9712f1f96733: Pull complete [2024-08-13T03:38:38.397Z] 63f879dbbcfc: Pull complete [2024-08-13T03:38:42.592Z] 0d9ebad4ef96: Pull complete [2024-08-13T03:38:42.852Z] e9a5061849ea: Pull complete [2024-08-13T03:38:42.852Z] d747dcd14b5f: Pull complete [2024-08-13T03:38:44.229Z] 2de7ff778b66: Pull complete [2024-08-13T03:38:44.229Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-08-13T03:38:44.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-08-13T03:38:44.229Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:38:44.340Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:38:44.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-08-13T03:38:50.456Z] $ docker top c60f7a9ab3cfb01b57f8a267878707ad35f2e409ca0ff61b4dcff588fe7d5895 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-08-13T03:38:50.546Z] provisioning config files... [2024-08-13T03:38:50.555Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config3971646428536959888tmp [2024-08-13T03:38:50.565Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config6966138315713513976tmp [2024-08-13T03:38:50.574Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config4418274092509334065tmp [Pipeline] { [Pipeline] echo [2024-08-13T03:38:50.663Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:38:50.970Z] ---> sigul-configuration.sh [2024-08-13T03:38:50.970Z] gpg: directory `/root/.gnupg' created [2024-08-13T03:38:50.970Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-08-13T03:38:50.970Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-08-13T03:38:50.970Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-08-13T03:38:50.970Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-08-13T03:38:50.970Z] gpg: CAST5 encrypted data [2024-08-13T03:38:50.970Z] gpg: encrypted with 1 passphrase [2024-08-13T03:38:50.970Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-08-13T03:38:51.272Z] + mkdir /home/jenkins [2024-08-13T03:38:51.272Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-08-13T03:38:51.568Z] + 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 [2024-08-13T03:38:51.584Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:38:51.883Z] ---> sigul-install.sh [2024-08-13T03:38:51.883Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-08-13T03:38:52.191Z] + git tag --list [2024-08-13T03:38:52.191Z] v0.0.0 [2024-08-13T03:38:52.191Z] v0.0.1-dev.1 [Pipeline] sh [2024-08-13T03:38:52.576Z] + lftools sign git-tag v0.0.1-dev.1 [2024-08-13T03:38:53.161Z] Signing Git tag with Sigul... [2024-08-13T03:38:53.161Z] Signing v0.0.1-dev.1 [Pipeline] echo [2024-08-13T03:38:53.435Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:38:53.740Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-08-13T03:38:53.749Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-08-13T03:38:53.777Z] $ docker stop --time=1 c60f7a9ab3cfb01b57f8a267878707ad35f2e409ca0ff61b4dcff588fe7d5895 [2024-08-13T03:38:55.074Z] $ docker rm -f --volumes c60f7a9ab3cfb01b57f8a267878707ad35f2e409ca0ff61b4dcff588fe7d5895 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-08-13T03:38:55.552Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-13T03:38:55.552Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:38:55.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-13T03:38:55.860Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:38:55.956Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:38:55.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-13T03:38:56.318Z] $ docker top 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-13T03:38:56.430Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-13T03:38:56.430Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-13T03:38:56.541Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-13T03:38:56.543Z] $ docker exec 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 ssh-agent [2024-08-13T03:38:56.656Z] SSH_AUTH_SOCK=/tmp/ssh-W0jlfm5hcJm5/agent.32 [2024-08-13T03:38:56.656Z] SSH_AGENT_PID=38 [2024-08-13T03:38:56.660Z] Running ssh-add (command line suppressed) [2024-08-13T03:38:56.763Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_7900085973065694448.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_7900085973065694448.key) [2024-08-13T03:38:56.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-13T03:38:57.085Z] + git semver bump pre [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,250 [bump_version] DEBUG bumping version:0.0.1-dev.1 on axis:pre with prefix:dev [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,250 [bump_version] DEBUG bumped version:0.0.1-dev.2 [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,250 [write_version] DEBUG write version:0.0.1-dev.2 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:True [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,251 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,252 [execute] INFO git cat-file --batch-check [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,257 [execute] INFO git cat-file --batch [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) [2024-08-13T03:38:57.348Z] 2024-08-13 03:38:57,263 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-08-13T03:38:57.348Z] 0.0.1-dev.2 [Pipeline] } [2024-08-13T03:38:57.357Z] $ docker exec --env ******** --env ******** 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 ssh-agent -k [2024-08-13T03:38:57.463Z] unset SSH_AUTH_SOCK; [2024-08-13T03:38:57.463Z] unset SSH_AGENT_PID; [2024-08-13T03:38:57.463Z] echo Agent pid 38 killed; [2024-08-13T03:38:57.473Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-13T03:38:57.809Z] + git semver [Pipeline] } [2024-08-13T03:38:58.080Z] $ docker stop --time=1 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 [2024-08-13T03:38:59.357Z] $ docker rm -f --volumes 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-13T03:38:59.721Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-13T03:38:59.721Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:39:00.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-13T03:39:00.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:39:00.105Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:39:00.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-13T03:39:00.470Z] $ docker top 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-13T03:39:00.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-13T03:39:00.592Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-13T03:39:00.713Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-13T03:39:00.714Z] $ docker exec 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 ssh-agent [2024-08-13T03:39:00.827Z] SSH_AUTH_SOCK=/tmp/ssh-S7q4WJp8WtuM/agent.32 [2024-08-13T03:39:00.827Z] SSH_AGENT_PID=38 [2024-08-13T03:39:00.831Z] Running ssh-add (command line suppressed) [2024-08-13T03:39:00.931Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_18234730377509109897.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_18234730377509109897.key) [2024-08-13T03:39:00.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-13T03:39:01.257Z] + git semver push [2024-08-13T03:39:01.516Z] 2024-08-13 03:39:01,402 [run_push] DEBUG push [2024-08-13T03:39:01.516Z] 2024-08-13 03:39:01,403 [execute] INFO git cat-file --batch-check [2024-08-13T03:39:01.516Z] 2024-08-13 03:39:01,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) [2024-08-13T03:39:01.516Z] 2024-08-13 03:39:01,407 [execute] INFO git rev-list a7eedd4a2c72bda264c1b1642b145937ab5f5562 -- [2024-08-13T03:39:01.516Z] 2024-08-13 03:39:01,407 [execute] DEBUG Popen(['git', 'rev-list', 'a7eedd4a2c72bda264c1b1642b145937ab5f5562', '--'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-08-13T03:39:01.516Z] 2024-08-13 03:39:01,412 [execute] INFO git fetch -v origin [2024-08-13T03:39:01.516Z] 2024-08-13 03:39:01,412 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-08-13T03:39:02.084Z] 2024-08-13 03:39:01,864 [run_push] DEBUG no remote changes detected [2024-08-13T03:39:02.084Z] 2024-08-13 03:39:01,864 [execute] INFO git push origin semver [2024-08-13T03:39:02.084Z] 2024-08-13 03:39:01,865 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-08-13T03:39:03.020Z] 2024-08-13 03:39:02,685 [run_push] DEBUG push all version tags [2024-08-13T03:39:03.020Z] 2024-08-13 03:39:02,686 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-08-13T03:39:03.020Z] 2024-08-13 03:39:02,686 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=None) [2024-08-13T03:39:03.956Z] 2024-08-13 03:39:03,630 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-08-13T03:39:03.956Z] 0.0.1-dev.2 [Pipeline] } [2024-08-13T03:39:03.965Z] $ docker exec --env ******** --env ******** 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 ssh-agent -k [2024-08-13T03:39:04.072Z] unset SSH_AUTH_SOCK; [2024-08-13T03:39:04.073Z] unset SSH_AGENT_PID; [2024-08-13T03:39:04.073Z] echo Agent pid 38 killed; [2024-08-13T03:39:04.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-13T03:39:04.426Z] + git semver [Pipeline] } [2024-08-13T03:39:04.699Z] $ docker stop --time=1 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 [2024-08-13T03:39:06.707Z] $ docker rm -f --volumes 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-13T03:39:10.505Z] + [ -d /w/workspace/edgexfoundry_device-s7_main/archives ] [2024-08-13T03:39:10.505Z] + ls -al /w/workspace/edgexfoundry_device-s7_main/archives [2024-08-13T03:39:10.505Z] total 16 [2024-08-13T03:39:10.505Z] drwxr-xr-x 3 root root 4096 Aug 13 03:28 . [2024-08-13T03:39:10.505Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 13 03:38 .. [2024-08-13T03:39:10.505Z] drwxr-xr-x 2 root root 4096 Aug 13 03:28 cost [2024-08-13T03:39:10.505Z] -rw-r--r-- 1 root root 79 Aug 13 03:28 cost.csv [2024-08-13T03:39:10.505Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_main/archives [2024-08-13T03:39:10.505Z] + ls -al /w/workspace/edgexfoundry_device-s7_main/archives [2024-08-13T03:39:10.505Z] total 16 [2024-08-13T03:39:10.505Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 13 03:28 . [2024-08-13T03:39:10.505Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 13 03:38 .. [2024-08-13T03:39:10.505Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 13 03:28 cost [2024-08-13T03:39:10.505Z] -rw-r--r-- 1 jenkins jenkins 79 Aug 13 03:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:39:10.801Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:39:12.866Z] ---> package-listing.sh [2024-08-13T03:39:12.866Z] ++ facter osfamily [2024-08-13T03:39:12.866Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-13T03:39:12.866Z] + OS_FAMILY=debian [2024-08-13T03:39:12.866Z] + workspace=/w/workspace/edgexfoundry_device-s7_main [2024-08-13T03:39:12.866Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-13T03:39:12.866Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-13T03:39:12.866Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-13T03:39:12.866Z] + PACKAGES=/tmp/packages_start.txt [2024-08-13T03:39:12.866Z] + '[' /w/workspace/edgexfoundry_device-s7_main ']' [2024-08-13T03:39:12.866Z] + PACKAGES=/tmp/packages_end.txt [2024-08-13T03:39:12.866Z] + case "${OS_FAMILY}" in [2024-08-13T03:39:12.866Z] + dpkg -l [2024-08-13T03:39:12.866Z] + grep '^ii' [2024-08-13T03:39:13.125Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-13T03:39:13.125Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-13T03:39:13.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-13T03:39:13.125Z] + '[' /w/workspace/edgexfoundry_device-s7_main ']' [2024-08-13T03:39:13.125Z] + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ [2024-08-13T03:39:13.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo [2024-08-13T03:39:13.136Z] 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-s7_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-13T03:39:13.412Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-13T03:39:13.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-13T03:39:13.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-13T03:39:14.054Z] prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container [2024-08-13T03:39:14.081Z] $ 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-s7_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-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-13T03:39:14.317Z] $ docker top 95f1513dadc2a6d40141b0e8df3d3da45afa30495728b1d481e254b6473df373 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-13T03:39:14.679Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-13T03:39:14.963Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-13T03:39:15.250Z] + ls /var/log/sa-host [2024-08-13T03:39:15.250Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-13T03:39:15.445Z] provisioning config files... [2024-08-13T03:39:15.453Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config10501098702897951095tmp [Pipeline] { [Pipeline] echo [2024-08-13T03:39:15.475Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:39:15.760Z] ---> create-netrc.sh [Pipeline] } [2024-08-13T03:39:15.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:39:16.126Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-13T03:39:16.137Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:39:16.422Z] ---> sudo-logs.sh [2024-08-13T03:39:16.422Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-13T03:39:16.460Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:39:16.745Z] ---> job-cost.sh [2024-08-13T03:39:16.745Z] lf-activate-venv: SKIPPING [2024-08-13T03:39:16.745Z] DEBUG: total: 0.2199999988079071 [2024-08-13T03:39:16.745Z] INFO: Retrieving Stack Cost... [2024-08-13T03:39:17.005Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-13T03:39:17.262Z] INFO: Archiving Costs [Pipeline] echo [2024-08-13T03:39:17.275Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-13T03:39:17.559Z] ---> logs-deploy.sh [2024-08-13T03:39:17.559Z] lf-activate-venv: SKIPPING [2024-08-13T03:39:17.559Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/6 [2024-08-13T03:39:17.559Z] INFO: archiving workspace using pattern(s): [2024-08-13T03:39:18.511Z] Archives upload complete. [2024-08-13T03:39:18.511Z] INFO: archiving logs to Nexus