Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e57816f4afcfc8db9a573db5c83bd892c807d408 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-ssh8725120665905287551.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh2558503170259590407.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh13931649650539548347.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh8993380629870572818.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-ssh15305074807912821425.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.23 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16388 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 e57816f4afcfc8db9a573db5c83bd892c807d408 (main) Commit message: "Merge pull request #12 from jinlinGuan/golang-1.23" > 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 e57816f4afcfc8db9a573db5c83bd892c807d408 # timeout=10 > git rev-list --no-walk 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T07:47:15.504Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T07:47:15.570Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T07:47:15.596Z] ========================================================= [2024-10-04T07:47:15.596Z] EdgeX Global Pipelines Version Info [2024-10-04T07:47:15.596Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:47:16.326Z] ------------------- [2024-10-04T07:47:16.326Z] stable info: [2024-10-04T07:47:16.326Z] ------------------- [2024-10-04T07:47:16.326Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T07:47:16.326Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T07:47:16.326Z] Message: update stable to v1.0.265 [2024-10-04T07:47:16.895Z] ------------------- [2024-10-04T07:47:16.895Z] experimental info: [2024-10-04T07:47:16.895Z] ------------------- [2024-10-04T07:47:16.895Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T07:47:16.895Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T07:47:16.895Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T07:47:16.978Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo [2024-10-04T07:47:16.998Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo [2024-10-04T07:47:17.025Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T07:47:17.051Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T07:47:17.078Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T07:47:17.101Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T07:47:17.132Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T07:47:17.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T07:47:17.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T07:47:17.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T07:47:17.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T07:47:17.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo [2024-10-04T07:47:17.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T07:47:17.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T07:47:17.366Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T07:47:17.395Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T07:47:17.426Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T07:47:17.453Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T07:47:17.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T07:47:17.515Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T07:47:17.545Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T07:47:17.575Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T07:47:17.621Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T07:47:17.653Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T07:47:17.792Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T07:47:17.816Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T07:47:17.846Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T07:47:17.874Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-10-04T07:47:17.898Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-10-04T07:47:17.922Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-10-04T07:47:17.947Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] echo [2024-10-04T07:47:17.974Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e57816f [Pipeline] echo [2024-10-04T07:47:18.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T07:47:18.065Z] provisioning config files... [2024-10-04T07:47:18.080Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config10502696369284835616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:47:18.433Z] ---> ****-login.sh [2024-10-04T07:47:18.433Z] nexus3.edgexfoundry.org:10001 [2024-10-04T07:47:19.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:20.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:20.104Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:20.104Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:20.104Z] [2024-10-04T07:47:20.104Z] Login Succeeded [2024-10-04T07:47:20.104Z] nexus3.edgexfoundry.org:10002 [2024-10-04T07:47:20.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:20.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:20.104Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:20.104Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:20.104Z] [2024-10-04T07:47:20.104Z] Login Succeeded [2024-10-04T07:47:20.104Z] nexus3.edgexfoundry.org:10003 [2024-10-04T07:47:20.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:20.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:20.399Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:20.399Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:20.399Z] [2024-10-04T07:47:20.399Z] Login Succeeded [2024-10-04T07:47:20.399Z] nexus3.edgexfoundry.org:10004 [2024-10-04T07:47:20.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:20.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:20.400Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:20.400Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:20.400Z] [2024-10-04T07:47:20.400Z] Login Succeeded [2024-10-04T07:47:20.400Z] ****.io [2024-10-04T07:47:20.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:20.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:20.661Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:20.661Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:20.661Z] [2024-10-04T07:47:20.661Z] Login Succeeded [2024-10-04T07:47:20.661Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T07:47:20.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T07:47:21.097Z] + git rev-list -1 --merges e57816f4afcfc8db9a573db5c83bd892c807d408~1..e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] echo [2024-10-04T07:47:21.143Z] -----------> git rev-list -1 --merges e57816f4afcfc8db9a573db5c83bd892c807d408~1..e57816f4afcfc8db9a573db5c83bd892c807d408 e57816f4afcfc8db9a573db5c83bd892c807d408 [2024-10-04T07:47:21.143Z] e57816f4afcfc8db9a573db5c83bd892c807d408 [false] [Pipeline] sh [2024-10-04T07:47:21.438Z] + git log --format=format:%s -1 e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] echo [2024-10-04T07:47:21.453Z] ========================================================= [2024-10-04T07:47:21.453Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T07:47:21.453Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T07:47:21.811Z] + git log --format=format:%s -1 e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] echo [2024-10-04T07:47:21.825Z] [semverPrep] GIT_COMMIT: e57816f4afcfc8db9a573db5c83bd892c807d408, Commit Message: Merge pull request #12 from jinlinGuan/golang-1.23 [Pipeline] echo [2024-10-04T07:47:21.842Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T07:47:22.215Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T07:47:22.215Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T07:47:22.215Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T07:47:22.215Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T07:47:22.215Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T07:47:22.215Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T07:47:22.215Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:47:22.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T07:47:22.566Z] [2024-10-04T07:47:22.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:47:22.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T07:47:23.132Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T07:47:23.132Z] b85a868b505f: Pulling fs layer [2024-10-04T07:47:23.132Z] e2be974225ed: Pulling fs layer [2024-10-04T07:47:23.132Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T07:47:23.132Z] 988bab9f4d93: Pulling fs layer [2024-10-04T07:47:23.132Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T07:47:23.132Z] eaf3925da568: Pulling fs layer [2024-10-04T07:47:23.132Z] bab4dde63d76: Pulling fs layer [2024-10-04T07:47:23.132Z] bde34c3a00c8: Pulling fs layer [2024-10-04T07:47:23.132Z] b352a97aabf1: Pulling fs layer [2024-10-04T07:47:23.132Z] 4872d77fe225: Pulling fs layer [2024-10-04T07:47:23.132Z] 5851b861e8e6: Pulling fs layer [2024-10-04T07:47:23.132Z] 988bab9f4d93: Waiting [2024-10-04T07:47:23.132Z] bab4dde63d76: Waiting [2024-10-04T07:47:23.132Z] 1469e6f7b9e6: Waiting [2024-10-04T07:47:23.132Z] eaf3925da568: Waiting [2024-10-04T07:47:23.132Z] bde34c3a00c8: Waiting [2024-10-04T07:47:23.132Z] b352a97aabf1: Waiting [2024-10-04T07:47:23.132Z] 4872d77fe225: Waiting [2024-10-04T07:47:23.132Z] 5851b861e8e6: Waiting [2024-10-04T07:47:23.132Z] e2be974225ed: Download complete [2024-10-04T07:47:23.132Z] 988bab9f4d93: Download complete [2024-10-04T07:47:23.132Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T07:47:23.132Z] 1469e6f7b9e6: Download complete [2024-10-04T07:47:23.132Z] eaf3925da568: Download complete [2024-10-04T07:47:23.132Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T07:47:23.132Z] 339a4e72a1f5: Download complete [2024-10-04T07:47:23.132Z] bde34c3a00c8: Download complete [2024-10-04T07:47:23.132Z] b352a97aabf1: Verifying Checksum [2024-10-04T07:47:23.132Z] b352a97aabf1: Download complete [2024-10-04T07:47:23.132Z] 4872d77fe225: Verifying Checksum [2024-10-04T07:47:23.132Z] 4872d77fe225: Download complete [2024-10-04T07:47:23.132Z] 5851b861e8e6: Verifying Checksum [2024-10-04T07:47:23.132Z] 5851b861e8e6: Download complete [2024-10-04T07:47:23.404Z] b85a868b505f: Verifying Checksum [2024-10-04T07:47:23.404Z] b85a868b505f: Download complete [2024-10-04T07:47:23.665Z] bab4dde63d76: Verifying Checksum [2024-10-04T07:47:23.665Z] bab4dde63d76: Download complete [2024-10-04T07:47:24.602Z] b85a868b505f: Pull complete [2024-10-04T07:47:24.602Z] e2be974225ed: Pull complete [2024-10-04T07:47:25.169Z] 339a4e72a1f5: Pull complete [2024-10-04T07:47:25.169Z] 988bab9f4d93: Pull complete [2024-10-04T07:47:25.739Z] 1469e6f7b9e6: Pull complete [2024-10-04T07:47:25.739Z] eaf3925da568: Pull complete [2024-10-04T07:47:27.642Z] bab4dde63d76: Pull complete [2024-10-04T07:47:27.901Z] bde34c3a00c8: Pull complete [2024-10-04T07:47:27.901Z] b352a97aabf1: Pull complete [2024-10-04T07:47:28.161Z] 4872d77fe225: Pull complete [2024-10-04T07:47:28.161Z] 5851b861e8e6: Pull complete [2024-10-04T07:47:28.161Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T07:47:28.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T07:47:28.161Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:47:28.313Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T07:47:28.348Z] $ 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-10-04T07:47:32.883Z] $ docker top 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 -eo pid,comm [2024-10-04T07:47:32.940Z] 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-10-04T07:47:32.940Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T07:47:33.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T07:47:33.011Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T07:47:33.120Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T07:47:33.123Z] $ docker exec 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 ssh-agent [2024-10-04T07:47:33.227Z] SSH_AUTH_SOCK=/tmp/ssh-2PIdcrGd3anH/agent.32 [2024-10-04T07:47:33.227Z] SSH_AGENT_PID=38 [2024-10-04T07:47:33.236Z] Running ssh-add (command line suppressed) [2024-10-04T07:47:33.331Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_16916350149104186195.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_16916350149104186195.key) [2024-10-04T07:47:33.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T07:47:33.647Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T07:47:33.659Z] $ docker exec --env ******** --env ******** 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 ssh-agent -k [2024-10-04T07:47:33.750Z] unset SSH_AUTH_SOCK; [2024-10-04T07:47:33.751Z] unset SSH_AGENT_PID; [2024-10-04T07:47:33.751Z] echo Agent pid 38 killed; [2024-10-04T07:47:33.761Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T07:47:33.809Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T07:47:33.809Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T07:47:33.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T07:47:33.926Z] $ docker exec 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 ssh-agent [2024-10-04T07:47:34.025Z] SSH_AUTH_SOCK=/tmp/ssh-fk5fT7vGz51S/agent.71 [2024-10-04T07:47:34.025Z] SSH_AGENT_PID=78 [2024-10-04T07:47:34.030Z] Running ssh-add (command line suppressed) [2024-10-04T07:47:34.137Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_12445634865794621037.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_12445634865794621037.key) [2024-10-04T07:47:34.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T07:47:34.466Z] + git semver init [2024-10-04T07:47:34.726Z] 2024-10-04 07:47:34,604 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T07:47:34.727Z] 2024-10-04 07:47:34,604 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_main/.semver [2024-10-04T07:47:34.727Z] 2024-10-04 07:47:34,605 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_main/.semver [2024-10-04T07:47:34.727Z] 2024-10-04 07:47:34,605 [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-10-04T07:47:35.297Z] 2024-10-04 07:47:35,141 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_main/.git/info/exclude [2024-10-04T07:47:35.297Z] 2024-10-04 07:47:35,142 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:False [2024-10-04T07:47:35.297Z] 2024-10-04 07:47:35,142 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-10-04T07:47:35.297Z] 2024-10-04 07:47:35,142 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-10-04T07:47:35.297Z] 0.0.1-dev.2 [Pipeline] } [2024-10-04T07:47:35.307Z] $ docker exec --env ******** --env ******** 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 ssh-agent -k [2024-10-04T07:47:35.394Z] unset SSH_AUTH_SOCK; [2024-10-04T07:47:35.394Z] unset SSH_AGENT_PID; [2024-10-04T07:47:35.395Z] echo Agent pid 78 killed; [2024-10-04T07:47:35.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T07:47:35.727Z] + git semver [Pipeline] } [2024-10-04T07:47:36.006Z] $ docker stop --time=1 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 [2024-10-04T07:47:37.280Z] $ docker rm -f --volumes 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T07:47:37.630Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T07:47:37.873Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T07:47:37.879Z] [edgeXSemver]: initialized semver on version 0.0.1-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T07:47:38.100Z] provisioning config files... [2024-10-04T07:47:38.111Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config7940634709676974033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:47:38.427Z] ---> ****-login.sh [2024-10-04T07:47:38.427Z] nexus3.edgexfoundry.org:10001 [2024-10-04T07:47:38.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:38.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:38.427Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:38.427Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:38.427Z] [2024-10-04T07:47:38.427Z] Login Succeeded [2024-10-04T07:47:38.427Z] nexus3.edgexfoundry.org:10002 [2024-10-04T07:47:38.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:38.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:38.428Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:38.428Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:38.428Z] [2024-10-04T07:47:38.428Z] Login Succeeded [2024-10-04T07:47:38.428Z] nexus3.edgexfoundry.org:10003 [2024-10-04T07:47:38.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:38.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:38.686Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:38.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:38.687Z] [2024-10-04T07:47:38.687Z] Login Succeeded [2024-10-04T07:47:38.687Z] nexus3.edgexfoundry.org:10004 [2024-10-04T07:47:38.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:38.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:38.687Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:38.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:38.687Z] [2024-10-04T07:47:38.687Z] Login Succeeded [2024-10-04T07:47:38.687Z] ****.io [2024-10-04T07:47:38.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:47:38.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:47:38.948Z] Configure a credential helper to remove this warning. See [2024-10-04T07:47:38.948Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:47:38.948Z] [2024-10-04T07:47:38.948Z] Login Succeeded [2024-10-04T07:47:38.948Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T07:47:38.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T07:47:39.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T07:47:39.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T07:47:39.104Z] ========================================================= [2024-10-04T07:47:39.104Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T07:47:39.104Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:47:39.461Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T07:47:39.462Z] Sending build context to Docker daemon 434.7kB [2024-10-04T07:47:39.462Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T07:47:39.462Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T07:47:39.462Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T07:47:39.462Z] 43c4264eed91: Pulling fs layer [2024-10-04T07:47:39.462Z] 4cc291be95ef: Pulling fs layer [2024-10-04T07:47:39.462Z] 2ac1f1163629: Pulling fs layer [2024-10-04T07:47:39.462Z] 5c3c966382ef: Pulling fs layer [2024-10-04T07:47:39.462Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T07:47:39.462Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T07:47:39.462Z] 9f66e0745190: Pulling fs layer [2024-10-04T07:47:39.462Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T07:47:39.462Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T07:47:39.462Z] f49a43e4bbc0: Waiting [2024-10-04T07:47:39.462Z] 561ebcabdf7f: Waiting [2024-10-04T07:47:39.462Z] 4f4fb700ef54: Waiting [2024-10-04T07:47:39.462Z] 9f66e0745190: Waiting [2024-10-04T07:47:39.462Z] 5d5c8e513c77: Waiting [2024-10-04T07:47:39.462Z] 5c3c966382ef: Waiting [2024-10-04T07:47:39.462Z] 4cc291be95ef: Verifying Checksum [2024-10-04T07:47:39.462Z] 4cc291be95ef: Download complete [2024-10-04T07:47:39.462Z] 5c3c966382ef: Verifying Checksum [2024-10-04T07:47:39.462Z] 5c3c966382ef: Download complete [2024-10-04T07:47:39.462Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T07:47:39.462Z] 4f4fb700ef54: Download complete [2024-10-04T07:47:39.462Z] 43c4264eed91: Download complete [2024-10-04T07:47:39.462Z] 5d5c8e513c77: Download complete [2024-10-04T07:47:39.720Z] 9f66e0745190: Verifying Checksum [2024-10-04T07:47:39.720Z] 9f66e0745190: Download complete [2024-10-04T07:47:39.720Z] 43c4264eed91: Pull complete [2024-10-04T07:47:39.720Z] 561ebcabdf7f: Verifying Checksum [2024-10-04T07:47:39.720Z] 561ebcabdf7f: Download complete [2024-10-04T07:47:39.981Z] 4cc291be95ef: Pull complete [2024-10-04T07:47:40.241Z] 2ac1f1163629: Verifying Checksum [2024-10-04T07:47:40.241Z] 2ac1f1163629: Download complete [2024-10-04T07:47:40.241Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T07:47:43.523Z] 2ac1f1163629: Pull complete [2024-10-04T07:47:43.523Z] 5c3c966382ef: Pull complete [2024-10-04T07:47:43.523Z] 4f4fb700ef54: Pull complete [2024-10-04T07:47:43.523Z] 5d5c8e513c77: Pull complete [2024-10-04T07:47:43.523Z] 9f66e0745190: Pull complete [2024-10-04T07:47:46.053Z] f49a43e4bbc0: Pull complete [2024-10-04T07:47:46.053Z] 561ebcabdf7f: Pull complete [2024-10-04T07:47:46.053Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T07:47:46.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T07:47:46.053Z] ---> 3a752c3f9dda [2024-10-04T07:47:46.053Z] Step 3/10 : ARG MAKE=make build [2024-10-04T07:47:52.622Z] ---> Running in 5cc4cd599c09 [2024-10-04T07:47:52.623Z] Removing intermediate container 5cc4cd599c09 [2024-10-04T07:47:52.623Z] ---> b3b5aa064562 [2024-10-04T07:47:52.623Z] Step 4/10 : WORKDIR /device-s7 [2024-10-04T07:47:52.623Z] ---> Running in d6e715b309f2 [2024-10-04T07:47:52.623Z] Removing intermediate container d6e715b309f2 [2024-10-04T07:47:52.623Z] ---> 04bc208cd1cf [2024-10-04T07:47:52.623Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-10-04T07:47:52.623Z] ---> Running in 8e2b940de754 [2024-10-04T07:47:52.623Z] Removing intermediate container 8e2b940de754 [2024-10-04T07:47:52.623Z] ---> f4035bcc81a5 [2024-10-04T07:47:52.623Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-10-04T07:47:52.623Z] ---> Running in 45f2328056bd [2024-10-04T07:47:52.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:47:52.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:47:52.882Z] OK: 246 MiB in 54 packages [2024-10-04T07:47:53.033Z] Still waiting to schedule task [2024-10-04T07:47:53.034Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-04T07:47:53.448Z] Removing intermediate container 45f2328056bd [2024-10-04T07:47:53.448Z] ---> 4529dc14e2c9 [2024-10-04T07:47:53.448Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T07:47:53.448Z] ---> 11617e955055 [2024-10-04T07:47:53.448Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T07:47:53.448Z] ---> Running in db86b1a8e8c9 [2024-10-04T07:48:20.019Z] Removing intermediate container db86b1a8e8c9 [2024-10-04T07:48:20.019Z] ---> 130c67ff84a4 [2024-10-04T07:48:20.019Z] Step 9/10 : COPY . . [2024-10-04T07:48:20.019Z] ---> e83be3d2239d [2024-10-04T07:48:20.019Z] Step 10/10 : RUN ${MAKE} [2024-10-04T07:48:20.279Z] ---> Running in 5fe7c553f2a9 [2024-10-04T07:48:20.279Z] noop [2024-10-04T07:48:20.539Z] Removing intermediate container 5fe7c553f2a9 [2024-10-04T07:48:20.539Z] ---> a30069613dc7 [2024-10-04T07:48:20.539Z] Successfully built a30069613dc7 [2024-10-04T07:48:20.539Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:48:20.868Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T07:48:20.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:48:20.944Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T07:48:20.972Z] $ 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-10-04T07:48:21.286Z] $ docker top c5b3f1f7f6c520bc821c05ba87af4d14cb622e3bf2f8b25e67dce4dbfe8bb15d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T07:48:21.673Z] + go version [2024-10-04T07:48:21.673Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T07:48:21.683Z] $ docker stop --time=1 c5b3f1f7f6c520bc821c05ba87af4d14cb622e3bf2f8b25e67dce4dbfe8bb15d [2024-10-04T07:48:22.969Z] $ docker rm -f --volumes c5b3f1f7f6c520bc821c05ba87af4d14cb622e3bf2f8b25e67dce4dbfe8bb15d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:48:23.420Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T07:48:23.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:48:23.494Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T07:48:23.523Z] $ 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-10-04T07:48:23.835Z] $ docker top b50b98f702e1f429606833e1e6e6db04d14ce7ed702f072e3f8e3aef77ccec41 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T07:48:24.192Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] fileExists [Pipeline] sh [2024-10-04T07:48:24.504Z] + make test [2024-10-04T07:48:24.504Z] go test -race -coverprofile=coverage.out ./... [2024-10-04T07:48:32.619Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-10-04T07:48:44.812Z] github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements [2024-10-04T07:48:44.812Z] github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements [2024-10-04T07:48:59.675Z] go vet ./... [2024-10-04T07:49:02.955Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T07:49:02.955Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T07:49:02.955Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T07:49:02.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T07:49:02.992Z] $ docker stop --time=1 b50b98f702e1f429606833e1e6e6db04d14ce7ed702f072e3f8e3aef77ccec41 [2024-10-04T07:49:09.096Z] $ docker rm -f --volumes b50b98f702e1f429606833e1e6e6db04d14ce7ed702f072e3f8e3aef77ccec41 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T07:49:09.611Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T07:49:09.659Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T07:49:10.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T07:49:10.445Z] + ls -al . [2024-10-04T07:49:10.445Z] total 152 [2024-10-04T07:49:10.445Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:48 . [2024-10-04T07:49:10.445Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:47 .. [2024-10-04T07:49:10.445Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:48 .git [2024-10-04T07:49:10.445Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:47 .github [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 237 Oct 4 07:47 .gitignore [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 07:47 .golangci.yml [2024-10-04T07:49:10.445Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 07:47 .semver [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 12211 Oct 4 07:47 Attribution.txt [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 07:47 Dockerfile [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 643 Oct 4 07:47 Jenkinsfile [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 10947 Oct 4 07:47 LICENSE [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 1903 Oct 4 07:47 Makefile [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 614 Oct 4 07:47 OWNERS.md [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 2393 Oct 4 07:47 README.md [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 4 07:47 VERSION [2024-10-04T07:49:10.445Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:47 bin [2024-10-04T07:49:10.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:47 cmd [2024-10-04T07:49:10.445Z] -rw-r--r-- 1 jenkins jenkins 17163 Oct 4 07:48 coverage.out [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 3644 Oct 4 07:47 go.mod [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 34418 Oct 4 07:47 go.sum [2024-10-04T07:49:10.445Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:47 internal [2024-10-04T07:49:10.445Z] -rw-rw-r-- 1 jenkins jenkins 223 Oct 4 07:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:10.774Z] + 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=e57816f4afcfc8db9a573db5c83bd892c807d408 --label arch=amd64 --label version=0.0.1-dev.2 . [2024-10-04T07:49:10.774Z] Sending build context to Docker daemon 452.6kB [2024-10-04T07:49:10.774Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T07:49:10.774Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-04T07:49:10.774Z] ---> a30069613dc7 [2024-10-04T07:49:10.774Z] Step 3/24 : ARG MAKE=make build [2024-10-04T07:49:10.774Z] ---> Running in c660fe51d7f2 [2024-10-04T07:49:11.034Z] Removing intermediate container c660fe51d7f2 [2024-10-04T07:49:11.034Z] ---> f1720bf3d9a1 [2024-10-04T07:49:11.034Z] Step 4/24 : WORKDIR /device-s7 [2024-10-04T07:49:11.034Z] ---> Running in fbe5ef03aed9 [2024-10-04T07:49:11.034Z] Removing intermediate container fbe5ef03aed9 [2024-10-04T07:49:11.034Z] ---> 4b0481d35702 [2024-10-04T07:49:11.034Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-10-04T07:49:11.034Z] ---> Running in dcd6ecefb9e0 [2024-10-04T07:49:11.034Z] Removing intermediate container dcd6ecefb9e0 [2024-10-04T07:49:11.034Z] ---> d3df9d899d93 [2024-10-04T07:49:11.034Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-10-04T07:49:11.034Z] ---> Running in f5cd5f4d1356 [2024-10-04T07:49:11.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:49:11.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:49:11.811Z] OK: 246 MiB in 54 packages [2024-10-04T07:49:12.381Z] Removing intermediate container f5cd5f4d1356 [2024-10-04T07:49:12.381Z] ---> f00b833698ba [2024-10-04T07:49:12.381Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-04T07:49:12.381Z] ---> d2ec2fb4ceb5 [2024-10-04T07:49:12.381Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T07:49:12.381Z] ---> Running in 54eb0a328db3 [2024-10-04T07:49:12.948Z] Removing intermediate container 54eb0a328db3 [2024-10-04T07:49:12.948Z] ---> 1e6741e5897b [2024-10-04T07:49:12.948Z] Step 9/24 : COPY . . [2024-10-04T07:49:13.207Z] ---> dc57d9687bed [2024-10-04T07:49:13.207Z] Step 10/24 : RUN ${MAKE} [2024-10-04T07:49:13.207Z] ---> Running in 5065beb1ce77 [2024-10-04T07:49:13.464Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.1-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-10-04T07:49:40.014Z] Removing intermediate container 5065beb1ce77 [2024-10-04T07:49:40.015Z] ---> 334208a42705 [2024-10-04T07:49:40.015Z] Step 11/24 : FROM alpine:3.20 [2024-10-04T07:49:40.015Z] 3.20: Pulling from library/alpine [2024-10-04T07:49:40.015Z] 43c4264eed91: Already exists [2024-10-04T07:49:40.015Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T07:49:40.015Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T07:49:40.015Z] ---> 91ef0af61f39 [2024-10-04T07:49:40.015Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-10-04T07:49:40.015Z] ---> Running in 5bad47ef1420 [2024-10-04T07:49:40.015Z] Removing intermediate container 5bad47ef1420 [2024-10-04T07:49:40.015Z] ---> c8a216837e23 [2024-10-04T07:49:40.015Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-04T07:49:40.015Z] ---> Running in 540959fb854d [2024-10-04T07:49:40.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:49:40.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:49:40.015Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T07:49:40.015Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T07:49:40.015Z] OK: 8 MiB in 15 packages [2024-10-04T07:49:40.015Z] Removing intermediate container 540959fb854d [2024-10-04T07:49:40.015Z] ---> 922d2e70ab5f [2024-10-04T07:49:40.015Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-04T07:49:40.015Z] ---> Running in 8e9b701310e9 [2024-10-04T07:49:40.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:49:40.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:49:40.015Z] Upgrading critical system libraries and apk-tools: [2024-10-04T07:49:40.015Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T07:49:40.015Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T07:49:40.015Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T07:49:40.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T07:49:40.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T07:49:40.015Z] OK: 8 MiB in 15 packages [2024-10-04T07:49:40.015Z] Removing intermediate container 8e9b701310e9 [2024-10-04T07:49:40.015Z] ---> 95eaa99eb6fa [2024-10-04T07:49:40.015Z] Step 15/24 : WORKDIR / [2024-10-04T07:49:40.015Z] ---> Running in fa6bad256ed0 [2024-10-04T07:49:40.015Z] Removing intermediate container fa6bad256ed0 [2024-10-04T07:49:40.015Z] ---> 7020316cc73f [2024-10-04T07:49:40.015Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-10-04T07:49:40.015Z] ---> 0bba5ee98b2c [2024-10-04T07:49:40.015Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-10-04T07:49:40.582Z] ---> f0ba5a87aa46 [2024-10-04T07:49:40.582Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-10-04T07:49:40.582Z] ---> fad830a0121e [2024-10-04T07:49:40.582Z] Step 19/24 : EXPOSE 59994 [2024-10-04T07:49:40.582Z] ---> Running in 974464a8e3d3 [2024-10-04T07:49:40.582Z] Removing intermediate container 974464a8e3d3 [2024-10-04T07:49:40.582Z] ---> 0d63bf9e7c87 [2024-10-04T07:49:40.582Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-10-04T07:49:40.582Z] ---> Running in 6de191ac2a9b [2024-10-04T07:49:40.842Z] Removing intermediate container 6de191ac2a9b [2024-10-04T07:49:40.842Z] ---> 32ffcc6717c8 [2024-10-04T07:49:40.842Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T07:49:40.842Z] ---> Running in 051901cb1190 [2024-10-04T07:49:40.842Z] Removing intermediate container 051901cb1190 [2024-10-04T07:49:40.842Z] ---> 0064652f576c [2024-10-04T07:49:40.842Z] Step 22/24 : LABEL arch=amd64 [2024-10-04T07:49:40.842Z] ---> Running in c75f67bdedfd [2024-10-04T07:49:40.842Z] Removing intermediate container c75f67bdedfd [2024-10-04T07:49:40.842Z] ---> cc069bd25ece [2024-10-04T07:49:40.842Z] Step 23/24 : LABEL git_sha=e57816f4afcfc8db9a573db5c83bd892c807d408 [2024-10-04T07:49:40.842Z] ---> Running in 57c2cac61c04 [2024-10-04T07:49:41.102Z] Removing intermediate container 57c2cac61c04 [2024-10-04T07:49:41.102Z] ---> cf598fe5523b [2024-10-04T07:49:41.102Z] Step 24/24 : LABEL version=0.0.1-dev.2 [2024-10-04T07:49:41.102Z] ---> Running in 61ebee1d2c35 [2024-10-04T07:49:41.363Z] Removing intermediate container 61ebee1d2c35 [2024-10-04T07:49:41.363Z] ---> 8e6640dc7bd0 [2024-10-04T07:49:41.363Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T07:49:41.363Z] Successfully built 8e6640dc7bd0 [2024-10-04T07:49:41.363Z] 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-10-04T07:49:41.535Z] provisioning config files... [2024-10-04T07:49:41.545Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config976021403883164615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:49:41.852Z] ---> ****-login.sh [2024-10-04T07:49:41.852Z] nexus3.edgexfoundry.org:10001 [2024-10-04T07:49:41.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:49:41.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:49:41.852Z] Configure a credential helper to remove this warning. See [2024-10-04T07:49:41.852Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:49:41.852Z] [2024-10-04T07:49:41.853Z] Login Succeeded [2024-10-04T07:49:41.853Z] nexus3.edgexfoundry.org:10002 [2024-10-04T07:49:41.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:49:41.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:49:41.853Z] Configure a credential helper to remove this warning. See [2024-10-04T07:49:41.853Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:49:41.853Z] [2024-10-04T07:49:41.853Z] Login Succeeded [2024-10-04T07:49:41.853Z] nexus3.edgexfoundry.org:10003 [2024-10-04T07:49:42.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:49:42.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:49:42.116Z] Configure a credential helper to remove this warning. See [2024-10-04T07:49:42.116Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:49:42.116Z] [2024-10-04T07:49:42.116Z] Login Succeeded [2024-10-04T07:49:42.116Z] nexus3.edgexfoundry.org:10004 [2024-10-04T07:49:42.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:49:42.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:49:42.116Z] Configure a credential helper to remove this warning. See [2024-10-04T07:49:42.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:49:42.117Z] [2024-10-04T07:49:42.117Z] Login Succeeded [2024-10-04T07:49:42.117Z] ****.io [2024-10-04T07:49:42.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T07:49:42.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T07:49:42.377Z] Configure a credential helper to remove this warning. See [2024-10-04T07:49:42.377Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T07:49:42.377Z] [2024-10-04T07:49:42.377Z] Login Succeeded [2024-10-04T07:49:42.377Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T07:49:42.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-04T07:49:42.450Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T07:49:42.490Z] [edgeXDocker.push] Tagging docker image device-s7 with the following tags: [2024-10-04T07:49:42.490Z] e57816f4afcfc8db9a573db5c83bd892c807d408 [2024-10-04T07:49:42.490Z] latest [2024-10-04T07:49:42.490Z] 0.0.1-dev.2 [2024-10-04T07:49:42.490Z] e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [2024-10-04T07:49:42.490Z] main [2024-10-04T07:49:42.490Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:42.850Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:43.184Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408 [2024-10-04T07:49:43.184Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-10-04T07:49:43.184Z] 301c2cb49485: Preparing [2024-10-04T07:49:43.184Z] ba202a197686: Preparing [2024-10-04T07:49:43.184Z] 23c9e3464db0: Preparing [2024-10-04T07:49:43.184Z] 11e59154f2a9: Preparing [2024-10-04T07:49:43.184Z] 79bf804ede9b: Preparing [2024-10-04T07:49:43.184Z] 63ca1fbb43ae: Preparing [2024-10-04T07:49:43.184Z] 63ca1fbb43ae: Waiting [2024-10-04T07:49:43.184Z] 301c2cb49485: Pushed [2024-10-04T07:49:43.184Z] 11e59154f2a9: Pushed [2024-10-04T07:49:43.184Z] 79bf804ede9b: Pushed [2024-10-04T07:49:43.184Z] 23c9e3464db0: Pushed [2024-10-04T07:49:43.444Z] 63ca1fbb43ae: Layer already exists [2024-10-04T07:49:45.976Z] ba202a197686: Pushed [2024-10-04T07:49:45.976Z] e57816f4afcfc8db9a573db5c83bd892c807d408: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:46.321Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:46.659Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:latest [2024-10-04T07:49:46.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-10-04T07:49:46.659Z] 301c2cb49485: Preparing [2024-10-04T07:49:46.659Z] ba202a197686: Preparing [2024-10-04T07:49:46.659Z] 23c9e3464db0: Preparing [2024-10-04T07:49:46.659Z] 11e59154f2a9: Preparing [2024-10-04T07:49:46.659Z] 79bf804ede9b: Preparing [2024-10-04T07:49:46.659Z] 63ca1fbb43ae: Preparing [2024-10-04T07:49:46.659Z] 63ca1fbb43ae: Waiting [2024-10-04T07:49:46.659Z] 301c2cb49485: Layer already exists [2024-10-04T07:49:46.659Z] 23c9e3464db0: Layer already exists [2024-10-04T07:49:46.659Z] ba202a197686: Layer already exists [2024-10-04T07:49:46.659Z] 79bf804ede9b: Layer already exists [2024-10-04T07:49:46.659Z] 11e59154f2a9: Layer already exists [2024-10-04T07:49:46.659Z] 63ca1fbb43ae: Layer already exists [2024-10-04T07:49:46.659Z] latest: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:47.019Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:47.385Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.2 [2024-10-04T07:49:47.385Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-10-04T07:49:47.385Z] 301c2cb49485: Preparing [2024-10-04T07:49:47.385Z] ba202a197686: Preparing [2024-10-04T07:49:47.385Z] 23c9e3464db0: Preparing [2024-10-04T07:49:47.385Z] 11e59154f2a9: Preparing [2024-10-04T07:49:47.385Z] 79bf804ede9b: Preparing [2024-10-04T07:49:47.385Z] 63ca1fbb43ae: Preparing [2024-10-04T07:49:47.385Z] ba202a197686: Layer already exists [2024-10-04T07:49:47.385Z] 23c9e3464db0: Layer already exists [2024-10-04T07:49:47.385Z] 301c2cb49485: Layer already exists [2024-10-04T07:49:47.385Z] 63ca1fbb43ae: Layer already exists [2024-10-04T07:49:47.385Z] 11e59154f2a9: Layer already exists [2024-10-04T07:49:47.385Z] 79bf804ede9b: Layer already exists [2024-10-04T07:49:47.644Z] 0.0.1-dev.2: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:47.989Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:48.313Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [2024-10-04T07:49:48.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-10-04T07:49:48.313Z] 301c2cb49485: Preparing [2024-10-04T07:49:48.313Z] ba202a197686: Preparing [2024-10-04T07:49:48.313Z] 23c9e3464db0: Preparing [2024-10-04T07:49:48.313Z] 11e59154f2a9: Preparing [2024-10-04T07:49:48.313Z] 79bf804ede9b: Preparing [2024-10-04T07:49:48.313Z] 63ca1fbb43ae: Preparing [2024-10-04T07:49:48.313Z] 63ca1fbb43ae: Waiting [2024-10-04T07:49:48.313Z] 23c9e3464db0: Layer already exists [2024-10-04T07:49:48.313Z] 79bf804ede9b: Layer already exists [2024-10-04T07:49:48.313Z] ba202a197686: Layer already exists [2024-10-04T07:49:48.313Z] 11e59154f2a9: Layer already exists [2024-10-04T07:49:48.313Z] 301c2cb49485: Layer already exists [2024-10-04T07:49:48.313Z] 63ca1fbb43ae: Layer already exists [2024-10-04T07:49:48.313Z] e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:48.662Z] + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:49.007Z] + docker push nexus3.edgexfoundry.org:10004/device-s7:main [2024-10-04T07:49:49.007Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] [2024-10-04T07:49:49.007Z] 301c2cb49485: Preparing [2024-10-04T07:49:49.007Z] ba202a197686: Preparing [2024-10-04T07:49:49.007Z] 23c9e3464db0: Preparing [2024-10-04T07:49:49.007Z] 11e59154f2a9: Preparing [2024-10-04T07:49:49.007Z] 79bf804ede9b: Preparing [2024-10-04T07:49:49.007Z] 63ca1fbb43ae: Preparing [2024-10-04T07:49:49.007Z] 63ca1fbb43ae: Waiting [2024-10-04T07:49:49.007Z] 79bf804ede9b: Layer already exists [2024-10-04T07:49:49.007Z] 301c2cb49485: Layer already exists [2024-10-04T07:49:49.007Z] 23c9e3464db0: Layer already exists [2024-10-04T07:49:49.007Z] ba202a197686: Layer already exists [2024-10-04T07:49:49.007Z] 11e59154f2a9: Layer already exists [2024-10-04T07:49:49.007Z] 63ca1fbb43ae: Layer already exists [2024-10-04T07:49:49.007Z] main: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-04T07:49:49.121Z] ===================================================== [Pipeline] echo [2024-10-04T07:49:49.135Z] taggedImages: [2024-10-04T07:49:49.135Z] - nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408 [2024-10-04T07:49:49.135Z] - nexus3.edgexfoundry.org:10004/device-s7:latest [2024-10-04T07:49:49.135Z] - nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.2 [2024-10-04T07:49:49.135Z] - nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [2024-10-04T07:49:49.135Z] - 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-10-04T07:49:49.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T07:49:49.567Z] [2024-10-04T07:49:49.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T07:49:49.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T07:49:49.879Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T07:49:49.879Z] 5eb5b503b376: Pulling fs layer [2024-10-04T07:49:49.879Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T07:49:49.879Z] ec43610c2a17: Pulling fs layer [2024-10-04T07:49:49.879Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T07:49:49.879Z] 33b1e0a273af: Pulling fs layer [2024-10-04T07:49:49.879Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T07:49:49.879Z] 2f39f015ded8: Pulling fs layer [2024-10-04T07:49:49.879Z] 3a2ae6a8a46f: Waiting [2024-10-04T07:49:49.879Z] 2f39f015ded8: Waiting [2024-10-04T07:49:49.879Z] 33b1e0a273af: Waiting [2024-10-04T07:49:49.879Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T07:49:49.879Z] 5c69ac0246d0: Download complete [2024-10-04T07:49:49.879Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T07:49:49.879Z] 3a2ae6a8a46f: Download complete [2024-10-04T07:49:49.879Z] 33b1e0a273af: Verifying Checksum [2024-10-04T07:49:49.879Z] 33b1e0a273af: Download complete [2024-10-04T07:49:49.879Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T07:49:49.879Z] 5d3b04190fa2: Download complete [2024-10-04T07:49:49.879Z] ec43610c2a17: Verifying Checksum [2024-10-04T07:49:49.879Z] ec43610c2a17: Download complete [2024-10-04T07:49:50.137Z] 5eb5b503b376: Verifying Checksum [2024-10-04T07:49:50.137Z] 5eb5b503b376: Download complete [2024-10-04T07:49:50.704Z] 2f39f015ded8: Download complete [2024-10-04T07:49:51.272Z] 5eb5b503b376: Pull complete [2024-10-04T07:49:51.272Z] 5c69ac0246d0: Pull complete [2024-10-04T07:49:51.888Z] ec43610c2a17: Pull complete [2024-10-04T07:49:51.888Z] 3a2ae6a8a46f: Pull complete [2024-10-04T07:49:51.888Z] 33b1e0a273af: Pull complete [2024-10-04T07:49:51.888Z] 5d3b04190fa2: Pull complete [2024-10-04T07:49:56.076Z] 2f39f015ded8: Pull complete [2024-10-04T07:49:56.076Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T07:49:56.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T07:49:56.076Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T07:49:56.193Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T07:49:56.223Z] $ 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-10-04T07:50:01.982Z] $ docker top 32dd8ddc573bf62caa11207b58079fa1b93a1c57e76e0fdce5d2cdea5d3b9a75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T07:50:02.367Z] ---> job-cost.sh [2024-10-04T07:50:02.367Z] lf-activate-venv: SKIPPING [2024-10-04T07:50:02.367Z] INFO: No Stack... [2024-10-04T07:50:02.661Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T07:50:03.231Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T07:50:03.530Z] + cat /w/workspace/edgexfoundry_device-s7_main/archives/cost.csv [2024-10-04T07:50:03.530Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T07:50:03.544Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [2024-10-04T07:50:03.553Z] Resource [jenkins-edgexfoundry-device-s7-main-7-stack-cost] did not exist. Created. [2024-10-04T07:50:03.560Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T07:50:03.873Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T07:50:03.910Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T07:50:03.920Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T07:50:03.949Z] $ docker stop --time=1 32dd8ddc573bf62caa11207b58079fa1b93a1c57e76e0fdce5d2cdea5d3b9a75 [2024-10-04T07:50:05.083Z] $ docker rm -f --volumes 32dd8ddc573bf62caa11207b58079fa1b93a1c57e76e0fdce5d2cdea5d3b9a75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T09:33:43.531Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19944 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] ws [2024-10-04T09:33:43.558Z] Running in /w/workspace/device-s7/7 [Pipeline] { [Pipeline] checkout [2024-10-04T09:33:46.656Z] Selected Git installation does not exist. Using Default [2024-10-04T09:33:46.656Z] The recommended git tool is: NONE [2024-10-04T09:33:57.011Z] using credential edgex-jenkins-ssh [2024-10-04T09:33:57.039Z] Cloning the remote Git repository [2024-10-04T09:33:57.109Z] Cloning repository git@github.com:edgexfoundry/device-s7.git [2024-10-04T09:33:57.255Z] > git init /w/workspace/device-s7/7 # timeout=10 [2024-10-04T09:33:57.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-10-04T09:33:57.528Z] > git --version # timeout=10 [2024-10-04T09:33:57.566Z] > git --version # 'git version 2.25.1' [2024-10-04T09:33:57.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T09:33:57.907Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T09:33:58.551Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-10-04T09:33:58.604Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T09:34:00.220Z] Avoid second fetch [2024-10-04T09:34:00.220Z] Checking out Revision e57816f4afcfc8db9a573db5c83bd892c807d408 (main) [2024-10-04T09:34:00.257Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T09:34:01.369Z] Commit message: "Merge pull request #12 from jinlinGuan/golang-1.23" [2024-10-04T09:34:00.381Z] > git checkout -f e57816f4afcfc8db9a573db5c83bd892c807d408 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T09:34:06.369Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T09:34:06.369Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T09:34:06.369Z] Dload Upload Total Spent Left Speed [2024-10-04T09:34:06.369Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 255k 0 --:--:-- --:--:-- --:--:-- 260k [Pipeline] sh [2024-10-04T09:34:06.720Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T09:34:07.086Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T09:34:07.086Z] + sudo tee /etc/docker/daemon.new [2024-10-04T09:34:07.086Z] { [2024-10-04T09:34:07.086Z] "registry-mirrors": [ [2024-10-04T09:34:07.086Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T09:34:07.086Z] ], [2024-10-04T09:34:07.086Z] "bip": "10.250.0.254/24", [2024-10-04T09:34:07.086Z] "hosts": [ [2024-10-04T09:34:07.086Z] "tcp://0.0.0.0:5555", [2024-10-04T09:34:07.086Z] "unix:///var/run/docker.sock" [2024-10-04T09:34:07.086Z] ], [2024-10-04T09:34:07.086Z] "mtu": 1458, [2024-10-04T09:34:07.086Z] "selinux-enabled": true, [2024-10-04T09:34:07.086Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T09:34:07.086Z] } [Pipeline] sh [2024-10-04T09:34:07.426Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T09:34:07.766Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T09:34:26.045Z] provisioning config files... [2024-10-04T09:34:26.077Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/7@tmp/config6147634702996433366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:34:26.555Z] ---> ****-login.sh [2024-10-04T09:34:26.555Z] nexus3.edgexfoundry.org:10001 [2024-10-04T09:34:27.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:34:27.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:34:27.153Z] Configure a credential helper to remove this warning. See [2024-10-04T09:34:27.153Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:34:27.153Z] [2024-10-04T09:34:27.153Z] Login Succeeded [2024-10-04T09:34:27.153Z] nexus3.edgexfoundry.org:10002 [2024-10-04T09:34:27.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:34:27.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:34:27.704Z] Configure a credential helper to remove this warning. See [2024-10-04T09:34:27.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:34:27.704Z] [2024-10-04T09:34:27.704Z] Login Succeeded [2024-10-04T09:34:27.704Z] nexus3.edgexfoundry.org:10003 [2024-10-04T09:34:27.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:34:27.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:34:27.987Z] Configure a credential helper to remove this warning. See [2024-10-04T09:34:27.987Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:34:27.987Z] [2024-10-04T09:34:27.987Z] Login Succeeded [2024-10-04T09:34:27.987Z] nexus3.edgexfoundry.org:10004 [2024-10-04T09:34:28.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:34:28.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:34:28.531Z] Configure a credential helper to remove this warning. See [2024-10-04T09:34:28.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:34:28.531Z] [2024-10-04T09:34:28.531Z] Login Succeeded [2024-10-04T09:34:28.531Z] ****.io [2024-10-04T09:34:28.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:34:28.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:34:28.803Z] Configure a credential helper to remove this warning. See [2024-10-04T09:34:28.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:34:28.803Z] [2024-10-04T09:34:28.803Z] Login Succeeded [2024-10-04T09:34:28.803Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T09:34:28.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T09:34:29.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T09:34:29.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T09:34:29.280Z] ========================================================= [2024-10-04T09:34:29.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T09:34:29.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:34:29.689Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-04T09:34:29.964Z] Sending build context to Docker daemon 280.6kB [2024-10-04T09:34:29.964Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T09:34:29.964Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T09:34:30.239Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T09:34:30.240Z] cf04c63912e1: Pulling fs layer [2024-10-04T09:34:30.240Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T09:34:30.240Z] a37a00ec5f00: Pulling fs layer [2024-10-04T09:34:30.240Z] 50b3750afda1: Pulling fs layer [2024-10-04T09:34:30.240Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T09:34:30.240Z] 80978eb59214: Pulling fs layer [2024-10-04T09:34:30.240Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T09:34:30.240Z] c5a475d317c9: Pulling fs layer [2024-10-04T09:34:30.240Z] 50b3750afda1: Waiting [2024-10-04T09:34:30.240Z] 4f4fb700ef54: Waiting [2024-10-04T09:34:30.240Z] 80978eb59214: Waiting [2024-10-04T09:34:30.240Z] c9f46d7d2bd2: Waiting [2024-10-04T09:34:30.240Z] c5a475d317c9: Waiting [2024-10-04T09:34:30.240Z] 55b35a11ae5e: Download complete [2024-10-04T09:34:30.240Z] 50b3750afda1: Verifying Checksum [2024-10-04T09:34:30.240Z] 50b3750afda1: Download complete [2024-10-04T09:34:30.240Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T09:34:30.240Z] 4f4fb700ef54: Download complete [2024-10-04T09:34:30.240Z] 80978eb59214: Verifying Checksum [2024-10-04T09:34:30.240Z] 80978eb59214: Download complete [2024-10-04T09:34:30.240Z] cf04c63912e1: Verifying Checksum [2024-10-04T09:34:30.240Z] cf04c63912e1: Download complete [2024-10-04T09:34:30.845Z] c5a475d317c9: Verifying Checksum [2024-10-04T09:34:30.845Z] c5a475d317c9: Download complete [2024-10-04T09:34:31.454Z] cf04c63912e1: Pull complete [2024-10-04T09:34:32.062Z] 55b35a11ae5e: Pull complete [2024-10-04T09:34:32.657Z] a37a00ec5f00: Verifying Checksum [2024-10-04T09:34:32.657Z] a37a00ec5f00: Download complete [2024-10-04T09:34:33.249Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T09:34:33.249Z] c9f46d7d2bd2: Download complete [2024-10-04T09:34:48.275Z] a37a00ec5f00: Pull complete [2024-10-04T09:34:48.275Z] 50b3750afda1: Pull complete [2024-10-04T09:34:48.275Z] 4f4fb700ef54: Pull complete [2024-10-04T09:34:48.275Z] 80978eb59214: Pull complete [2024-10-04T09:34:54.957Z] c9f46d7d2bd2: Pull complete [2024-10-04T09:34:56.919Z] c5a475d317c9: Pull complete [2024-10-04T09:34:56.919Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T09:34:56.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T09:34:56.919Z] ---> be29e6b0f0d4 [2024-10-04T09:34:56.919Z] Step 3/10 : ARG MAKE=make build [2024-10-04T09:34:57.506Z] ---> Running in 994d354a4994 [2024-10-04T09:34:57.785Z] Removing intermediate container 994d354a4994 [2024-10-04T09:34:57.785Z] ---> aa3f574f2ae7 [2024-10-04T09:34:57.785Z] Step 4/10 : WORKDIR /device-s7 [2024-10-04T09:34:58.056Z] ---> Running in 30d9e43b600c [2024-10-04T09:34:58.327Z] Removing intermediate container 30d9e43b600c [2024-10-04T09:34:58.327Z] ---> 3f9d0d0c5c7e [2024-10-04T09:34:58.327Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-10-04T09:34:58.327Z] ---> Running in cf5b6d32f7ad [2024-10-04T09:34:58.603Z] Removing intermediate container cf5b6d32f7ad [2024-10-04T09:34:58.603Z] ---> 7cec80a55fe7 [2024-10-04T09:34:58.603Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-10-04T09:34:58.891Z] ---> Running in 71949e00e614 [2024-10-04T09:34:59.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T09:35:00.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T09:35:02.470Z] OK: 238 MiB in 54 packages [2024-10-04T09:35:03.140Z] Removing intermediate container 71949e00e614 [2024-10-04T09:35:03.140Z] ---> f1575c6d4e40 [2024-10-04T09:35:03.140Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T09:35:03.792Z] ---> 516e939af549 [2024-10-04T09:35:03.792Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T09:35:03.792Z] ---> Running in 34415a537737 [2024-10-04T09:36:11.801Z] Removing intermediate container 34415a537737 [2024-10-04T09:36:11.801Z] ---> 778678decfb3 [2024-10-04T09:36:11.801Z] Step 9/10 : COPY . . [2024-10-04T09:36:11.801Z] ---> 37715e26c999 [2024-10-04T09:36:11.801Z] Step 10/10 : RUN ${MAKE} [2024-10-04T09:36:11.801Z] ---> Running in 8e3b014750f5 [2024-10-04T09:36:11.801Z] noop [2024-10-04T09:36:11.801Z] Removing intermediate container 8e3b014750f5 [2024-10-04T09:36:11.801Z] ---> 909d7b832d16 [2024-10-04T09:36:11.801Z] Successfully built 909d7b832d16 [2024-10-04T09:36:11.801Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:36:12.217Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T09:36:12.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:36:12.429Z] prd-ubuntu20.04-docker-arm64-4c-16g-19944 does not seem to be running inside a container [2024-10-04T09:36:12.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@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-10-04T09:36:13.622Z] $ docker top 3c2257bfab7263f64638f2a70fb567b7e157a022e5b993a3fbc841763ac93660 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T09:36:14.455Z] + go version [2024-10-04T09:36:14.456Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T09:36:14.474Z] $ docker stop --time=1 3c2257bfab7263f64638f2a70fb567b7e157a022e5b993a3fbc841763ac93660 [2024-10-04T09:36:16.048Z] $ docker rm -f --volumes 3c2257bfab7263f64638f2a70fb567b7e157a022e5b993a3fbc841763ac93660 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:36:16.673Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T09:36:16.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:36:16.861Z] prd-ubuntu20.04-docker-arm64-4c-16g-19944 does not seem to be running inside a container [2024-10-04T09:36:16.928Z] $ 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/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@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-10-04T09:36:18.033Z] $ docker top a8e0da9f50eeeee29c7a7e0c3734f4e5f1105b3e63a268edcbc70ffd295ee6cc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T09:36:18.547Z] + git config --global --add safe.directory /w/workspace/device-s7/7 [Pipeline] fileExists [Pipeline] sh [2024-10-04T09:36:19.490Z] + make test [2024-10-04T09:36:19.490Z] go test -race -coverprofile=coverage.out ./... [2024-10-04T09:37:06.343Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-10-04T09:38:58.126Z] github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements [2024-10-04T09:38:58.126Z] github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements [2024-10-04T09:38:58.126Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T09:38:58.126Z] go vet ./... [2024-10-04T09:40:49.851Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T09:40:49.852Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T09:40:49.852Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T09:40:49.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T09:40:49.894Z] $ docker stop --time=1 a8e0da9f50eeeee29c7a7e0c3734f4e5f1105b3e63a268edcbc70ffd295ee6cc [2024-10-04T09:40:51.707Z] $ docker rm -f --volumes a8e0da9f50eeeee29c7a7e0c3734f4e5f1105b3e63a268edcbc70ffd295ee6cc [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T09:40:53.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T09:40:53.275Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T09:40:53.907Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T09:40:54.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T09:40:54.702Z] + ls -al . [2024-10-04T09:40:54.703Z] total 148 [2024-10-04T09:40:54.703Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 09:36 . [2024-10-04T09:40:54.703Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 09:33 .. [2024-10-04T09:40:54.703Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 09:34 .git [2024-10-04T09:40:54.703Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 09:34 .github [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 237 Oct 4 09:34 .gitignore [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 09:34 .golangci.yml [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 12211 Oct 4 09:34 Attribution.txt [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 09:34 Dockerfile [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 643 Oct 4 09:34 Jenkinsfile [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 10947 Oct 4 09:34 LICENSE [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 1903 Oct 4 09:34 Makefile [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 614 Oct 4 09:34 OWNERS.md [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 2393 Oct 4 09:34 README.md [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 4 07:47 VERSION [2024-10-04T09:40:54.703Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 09:34 bin [2024-10-04T09:40:54.703Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 09:34 cmd [2024-10-04T09:40:54.703Z] -rw-r--r-- 1 jenkins jenkins 17163 Oct 4 09:38 coverage.out [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 3644 Oct 4 09:34 go.mod [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 34418 Oct 4 09:34 go.sum [2024-10-04T09:40:54.703Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 09:34 internal [2024-10-04T09:40:54.703Z] -rw-rw-r-- 1 jenkins jenkins 223 Oct 4 09:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:40:55.086Z] + 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=e57816f4afcfc8db9a573db5c83bd892c807d408 --label arch=arm64 --label version=0.0.1-dev.2 . [2024-10-04T09:40:55.366Z] Sending build context to Docker daemon 298.5kB [2024-10-04T09:40:55.366Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T09:40:55.366Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-04T09:40:55.366Z] ---> 909d7b832d16 [2024-10-04T09:40:55.366Z] Step 3/24 : ARG MAKE=make build [2024-10-04T09:40:55.366Z] ---> Running in 99931facfc60 [2024-10-04T09:40:55.967Z] Removing intermediate container 99931facfc60 [2024-10-04T09:40:55.967Z] ---> e0ddf7788203 [2024-10-04T09:40:55.967Z] Step 4/24 : WORKDIR /device-s7 [2024-10-04T09:40:55.967Z] ---> Running in a8274ee320ee [2024-10-04T09:40:56.236Z] Removing intermediate container a8274ee320ee [2024-10-04T09:40:56.236Z] ---> 7135be668f1d [2024-10-04T09:40:56.236Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-10-04T09:40:56.236Z] ---> Running in 90cd675ea3f5 [2024-10-04T09:40:56.506Z] Removing intermediate container 90cd675ea3f5 [2024-10-04T09:40:56.506Z] ---> e419e8b51a20 [2024-10-04T09:40:56.506Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-10-04T09:40:56.797Z] ---> Running in 93511377fbd2 [2024-10-04T09:40:57.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T09:40:58.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T09:40:59.448Z] OK: 238 MiB in 54 packages [2024-10-04T09:41:00.406Z] Removing intermediate container 93511377fbd2 [2024-10-04T09:41:00.406Z] ---> 652405b4e4c2 [2024-10-04T09:41:00.406Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-04T09:41:00.674Z] ---> b7da090d1fac [2024-10-04T09:41:00.674Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T09:41:00.674Z] ---> Running in e5bd76a4fd84 [2024-10-04T09:41:02.621Z] Removing intermediate container e5bd76a4fd84 [2024-10-04T09:41:02.621Z] ---> ef1e0cff92a4 [2024-10-04T09:41:02.621Z] Step 9/24 : COPY . . [2024-10-04T09:41:03.208Z] ---> f2fea15378ee [2024-10-04T09:41:03.208Z] Step 10/24 : RUN ${MAKE} [2024-10-04T09:41:03.487Z] ---> Running in f348e8d3f80e [2024-10-04T09:41:04.456Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.1-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-10-04T09:43:26.156Z] Removing intermediate container f348e8d3f80e [2024-10-04T09:43:26.156Z] ---> 574e5ea93129 [2024-10-04T09:43:26.156Z] Step 11/24 : FROM alpine:3.20 [2024-10-04T09:43:26.156Z] 3.20: Pulling from library/alpine [2024-10-04T09:43:26.156Z] cf04c63912e1: Already exists [2024-10-04T09:43:26.156Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T09:43:26.157Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T09:43:26.157Z] ---> c157a85ed455 [2024-10-04T09:43:26.157Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-10-04T09:43:26.157Z] ---> Running in 31f43b542201 [2024-10-04T09:43:26.157Z] Removing intermediate container 31f43b542201 [2024-10-04T09:43:26.157Z] ---> 8a6d905f73f4 [2024-10-04T09:43:26.157Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-04T09:43:26.157Z] ---> Running in e81ac26cac6b [2024-10-04T09:43:26.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T09:43:26.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T09:43:26.157Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T09:43:26.157Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T09:43:26.157Z] OK: 9 MiB in 15 packages [2024-10-04T09:43:26.157Z] Removing intermediate container e81ac26cac6b [2024-10-04T09:43:26.157Z] ---> c172b4fe1c2d [2024-10-04T09:43:26.157Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-04T09:43:26.157Z] ---> Running in a688b9fe4519 [2024-10-04T09:43:26.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T09:43:26.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T09:43:26.157Z] Upgrading critical system libraries and apk-tools: [2024-10-04T09:43:26.157Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T09:43:26.157Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T09:43:26.157Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T09:43:26.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T09:43:26.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T09:43:26.157Z] OK: 9 MiB in 15 packages [2024-10-04T09:43:26.157Z] Removing intermediate container a688b9fe4519 [2024-10-04T09:43:26.157Z] ---> 53da87819d50 [2024-10-04T09:43:26.157Z] Step 15/24 : WORKDIR / [2024-10-04T09:43:26.157Z] ---> Running in 09e85d260032 [2024-10-04T09:43:26.157Z] Removing intermediate container 09e85d260032 [2024-10-04T09:43:26.157Z] ---> b82814e954da [2024-10-04T09:43:26.157Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-10-04T09:43:26.157Z] ---> 6e1c46221122 [2024-10-04T09:43:26.157Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-10-04T09:43:26.736Z] ---> 9105e731a730 [2024-10-04T09:43:26.736Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-10-04T09:43:27.320Z] ---> 789be17b5b85 [2024-10-04T09:43:27.320Z] Step 19/24 : EXPOSE 59994 [2024-10-04T09:43:27.320Z] ---> Running in de4ee9b136cb [2024-10-04T09:43:27.589Z] Removing intermediate container de4ee9b136cb [2024-10-04T09:43:27.589Z] ---> 4df3e58fc61c [2024-10-04T09:43:27.589Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-10-04T09:43:27.589Z] ---> Running in 1f75bf9e151f [2024-10-04T09:43:27.856Z] Removing intermediate container 1f75bf9e151f [2024-10-04T09:43:27.856Z] ---> addfb6bfe99f [2024-10-04T09:43:27.856Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T09:43:28.124Z] ---> Running in 9dbb07497955 [2024-10-04T09:43:28.392Z] Removing intermediate container 9dbb07497955 [2024-10-04T09:43:28.392Z] ---> 6d22e13ea2f2 [2024-10-04T09:43:28.392Z] Step 22/24 : LABEL arch=arm64 [2024-10-04T09:43:28.392Z] ---> Running in 633bf0b66ba8 [2024-10-04T09:43:28.661Z] Removing intermediate container 633bf0b66ba8 [2024-10-04T09:43:28.661Z] ---> 022177c7dfb4 [2024-10-04T09:43:28.661Z] Step 23/24 : LABEL git_sha=e57816f4afcfc8db9a573db5c83bd892c807d408 [2024-10-04T09:43:28.930Z] ---> Running in 911b03ee4025 [2024-10-04T09:43:29.200Z] Removing intermediate container 911b03ee4025 [2024-10-04T09:43:29.200Z] ---> cee642ae1ee6 [2024-10-04T09:43:29.200Z] Step 24/24 : LABEL version=0.0.1-dev.2 [2024-10-04T09:43:29.200Z] ---> Running in 986101b0d373 [2024-10-04T09:43:29.469Z] Removing intermediate container 986101b0d373 [2024-10-04T09:43:29.469Z] ---> ab7fca2b5d32 [2024-10-04T09:43:29.469Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T09:43:29.469Z] Successfully built ab7fca2b5d32 [2024-10-04T09:43:29.469Z] 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-10-04T09:43:29.804Z] provisioning config files... [2024-10-04T09:43:29.822Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/7@tmp/config15734859109681290600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:43:30.169Z] ---> ****-login.sh [2024-10-04T09:43:30.169Z] nexus3.edgexfoundry.org:10001 [2024-10-04T09:43:30.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:43:30.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:43:30.438Z] Configure a credential helper to remove this warning. See [2024-10-04T09:43:30.438Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:43:30.438Z] [2024-10-04T09:43:30.438Z] Login Succeeded [2024-10-04T09:43:30.438Z] nexus3.edgexfoundry.org:10002 [2024-10-04T09:43:30.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:43:30.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:43:30.706Z] Configure a credential helper to remove this warning. See [2024-10-04T09:43:30.706Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:43:30.706Z] [2024-10-04T09:43:30.706Z] Login Succeeded [2024-10-04T09:43:30.974Z] nexus3.edgexfoundry.org:10003 [2024-10-04T09:43:31.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:43:31.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:43:31.246Z] Configure a credential helper to remove this warning. See [2024-10-04T09:43:31.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:43:31.246Z] [2024-10-04T09:43:31.246Z] Login Succeeded [2024-10-04T09:43:31.246Z] nexus3.edgexfoundry.org:10004 [2024-10-04T09:43:31.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:43:31.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:43:31.515Z] Configure a credential helper to remove this warning. See [2024-10-04T09:43:31.515Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:43:31.515Z] [2024-10-04T09:43:31.515Z] Login Succeeded [2024-10-04T09:43:31.515Z] ****.io [2024-10-04T09:43:31.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:43:32.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:43:32.049Z] Configure a credential helper to remove this warning. See [2024-10-04T09:43:32.049Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:43:32.049Z] [2024-10-04T09:43:32.049Z] Login Succeeded [2024-10-04T09:43:32.049Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T09:43:32.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-04T09:43:32.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T09:43:32.165Z] [edgeXDocker.push] Tagging docker image device-s7-arm64 with the following tags: [2024-10-04T09:43:32.165Z] e57816f4afcfc8db9a573db5c83bd892c807d408 [2024-10-04T09:43:32.165Z] latest [2024-10-04T09:43:32.165Z] 0.0.1-dev.2 [2024-10-04T09:43:32.165Z] e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [2024-10-04T09:43:32.165Z] main [2024-10-04T09:43:32.165Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:32.557Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:32.923Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408 [2024-10-04T09:43:32.923Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-10-04T09:43:32.923Z] 01c23d449e52: Preparing [2024-10-04T09:43:32.923Z] 534a16905d16: Preparing [2024-10-04T09:43:32.923Z] 523a7191206f: Preparing [2024-10-04T09:43:32.923Z] 1a696b64d269: Preparing [2024-10-04T09:43:32.923Z] 2b651ab2c0c7: Preparing [2024-10-04T09:43:32.923Z] 16113d51b718: Preparing [2024-10-04T09:43:32.923Z] 16113d51b718: Waiting [2024-10-04T09:43:33.191Z] 523a7191206f: Pushed [2024-10-04T09:43:33.191Z] 2b651ab2c0c7: Pushed [2024-10-04T09:43:33.191Z] 01c23d449e52: Pushed [2024-10-04T09:43:33.191Z] 1a696b64d269: Pushed [2024-10-04T09:43:33.191Z] 16113d51b718: Layer already exists [2024-10-04T09:43:38.533Z] 534a16905d16: Pushed [2024-10-04T09:43:38.533Z] e57816f4afcfc8db9a573db5c83bd892c807d408: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:38.928Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:39.288Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [2024-10-04T09:43:39.288Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-10-04T09:43:39.288Z] 01c23d449e52: Preparing [2024-10-04T09:43:39.288Z] 534a16905d16: Preparing [2024-10-04T09:43:39.288Z] 523a7191206f: Preparing [2024-10-04T09:43:39.288Z] 1a696b64d269: Preparing [2024-10-04T09:43:39.288Z] 2b651ab2c0c7: Preparing [2024-10-04T09:43:39.288Z] 16113d51b718: Preparing [2024-10-04T09:43:39.288Z] 16113d51b718: Waiting [2024-10-04T09:43:39.288Z] 01c23d449e52: Layer already exists [2024-10-04T09:43:39.288Z] 1a696b64d269: Layer already exists [2024-10-04T09:43:39.288Z] 523a7191206f: Layer already exists [2024-10-04T09:43:39.288Z] 534a16905d16: Layer already exists [2024-10-04T09:43:39.288Z] 2b651ab2c0c7: Layer already exists [2024-10-04T09:43:39.288Z] 16113d51b718: Layer already exists [2024-10-04T09:43:39.554Z] latest: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:39.920Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:40.290Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.2 [2024-10-04T09:43:40.290Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-10-04T09:43:40.290Z] 01c23d449e52: Preparing [2024-10-04T09:43:40.290Z] 534a16905d16: Preparing [2024-10-04T09:43:40.290Z] 523a7191206f: Preparing [2024-10-04T09:43:40.290Z] 1a696b64d269: Preparing [2024-10-04T09:43:40.290Z] 2b651ab2c0c7: Preparing [2024-10-04T09:43:40.290Z] 16113d51b718: Preparing [2024-10-04T09:43:40.290Z] 16113d51b718: Waiting [2024-10-04T09:43:40.290Z] 523a7191206f: Layer already exists [2024-10-04T09:43:40.290Z] 1a696b64d269: Layer already exists [2024-10-04T09:43:40.290Z] 534a16905d16: Layer already exists [2024-10-04T09:43:40.290Z] 2b651ab2c0c7: Layer already exists [2024-10-04T09:43:40.290Z] 01c23d449e52: Layer already exists [2024-10-04T09:43:40.290Z] 16113d51b718: Layer already exists [2024-10-04T09:43:40.290Z] 0.0.1-dev.2: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:40.929Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:41.292Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [2024-10-04T09:43:41.292Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-10-04T09:43:41.292Z] 01c23d449e52: Preparing [2024-10-04T09:43:41.292Z] 534a16905d16: Preparing [2024-10-04T09:43:41.292Z] 523a7191206f: Preparing [2024-10-04T09:43:41.292Z] 1a696b64d269: Preparing [2024-10-04T09:43:41.292Z] 2b651ab2c0c7: Preparing [2024-10-04T09:43:41.292Z] 16113d51b718: Preparing [2024-10-04T09:43:41.292Z] 16113d51b718: Waiting [2024-10-04T09:43:41.292Z] 2b651ab2c0c7: Layer already exists [2024-10-04T09:43:41.292Z] 523a7191206f: Layer already exists [2024-10-04T09:43:41.292Z] 1a696b64d269: Layer already exists [2024-10-04T09:43:41.292Z] 534a16905d16: Layer already exists [2024-10-04T09:43:41.292Z] 01c23d449e52: Layer already exists [2024-10-04T09:43:41.292Z] 16113d51b718: Layer already exists [2024-10-04T09:43:41.292Z] e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:41.936Z] + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:42.308Z] + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:main [2024-10-04T09:43:42.308Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] [2024-10-04T09:43:42.308Z] 01c23d449e52: Preparing [2024-10-04T09:43:42.308Z] 534a16905d16: Preparing [2024-10-04T09:43:42.308Z] 523a7191206f: Preparing [2024-10-04T09:43:42.308Z] 1a696b64d269: Preparing [2024-10-04T09:43:42.308Z] 2b651ab2c0c7: Preparing [2024-10-04T09:43:42.308Z] 16113d51b718: Preparing [2024-10-04T09:43:42.308Z] 16113d51b718: Waiting [2024-10-04T09:43:42.308Z] 01c23d449e52: Layer already exists [2024-10-04T09:43:42.308Z] 2b651ab2c0c7: Layer already exists [2024-10-04T09:43:42.308Z] 1a696b64d269: Layer already exists [2024-10-04T09:43:42.308Z] 534a16905d16: Layer already exists [2024-10-04T09:43:42.308Z] 523a7191206f: Layer already exists [2024-10-04T09:43:42.308Z] 16113d51b718: Layer already exists [2024-10-04T09:43:42.575Z] main: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-10-04T09:43:42.676Z] ===================================================== [Pipeline] echo [2024-10-04T09:43:42.696Z] taggedImages: [2024-10-04T09:43:42.696Z] - nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408 [2024-10-04T09:43:42.696Z] - nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [2024-10-04T09:43:42.696Z] - nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.2 [2024-10-04T09:43:42.696Z] - nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [2024-10-04T09:43:42.696Z] - 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-10-04T09:43:43.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T09:43:43.126Z] [2024-10-04T09:43:43.126Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:43:43.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T09:43:43.468Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T09:43:43.468Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T09:43:43.468Z] 04944245beec: Pulling fs layer [2024-10-04T09:43:43.468Z] 699f458cf7ca: Pulling fs layer [2024-10-04T09:43:43.468Z] 765212b225bb: Pulling fs layer [2024-10-04T09:43:43.468Z] f23df028b6ca: Pulling fs layer [2024-10-04T09:43:43.468Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T09:43:43.468Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T09:43:43.468Z] 765212b225bb: Waiting [2024-10-04T09:43:43.468Z] f23df028b6ca: Waiting [2024-10-04T09:43:43.468Z] d65c8cfc05b1: Waiting [2024-10-04T09:43:43.468Z] 2437ff75d9bd: Waiting [2024-10-04T09:43:43.739Z] 04944245beec: Verifying Checksum [2024-10-04T09:43:43.739Z] 04944245beec: Download complete [2024-10-04T09:43:43.739Z] 765212b225bb: Verifying Checksum [2024-10-04T09:43:43.739Z] 765212b225bb: Download complete [2024-10-04T09:43:43.739Z] f23df028b6ca: Download complete [2024-10-04T09:43:43.739Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T09:43:43.739Z] d65c8cfc05b1: Download complete [2024-10-04T09:43:44.006Z] 699f458cf7ca: Download complete [2024-10-04T09:43:44.272Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T09:43:44.272Z] 8998bd30e6a1: Download complete [2024-10-04T09:43:46.848Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T09:43:46.848Z] 2437ff75d9bd: Download complete [2024-10-04T09:43:48.781Z] 8998bd30e6a1: Pull complete [2024-10-04T09:43:49.363Z] 04944245beec: Pull complete [2024-10-04T09:43:50.765Z] 699f458cf7ca: Pull complete [2024-10-04T09:43:51.033Z] 765212b225bb: Pull complete [2024-10-04T09:43:51.994Z] f23df028b6ca: Pull complete [2024-10-04T09:43:52.262Z] d65c8cfc05b1: Pull complete [2024-10-04T09:44:07.245Z] 2437ff75d9bd: Pull complete [2024-10-04T09:44:07.245Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T09:44:07.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T09:44:07.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:44:07.451Z] prd-ubuntu20.04-docker-arm64-4c-16g-19944 does not seem to be running inside a container [2024-10-04T09:44:07.513Z] $ 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/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@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-10-04T09:44:09.898Z] $ docker top 875a1185e8fc6708d2c53063162b55ac4891049814f47eb565c03181e8c87c50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:44:10.400Z] ---> job-cost.sh [2024-10-04T09:44:10.664Z] lf-activate-venv: SKIPPING [2024-10-04T09:44:10.664Z] INFO: No Stack... [2024-10-04T09:44:10.929Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T09:44:11.883Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T09:44:12.204Z] + cat /w/workspace/device-s7/7/archives/cost.csv [2024-10-04T09:44:12.204Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T09:44:12.261Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [2024-10-04T09:44:12.270Z] Resource [jenkins-edgexfoundry-device-s7-main-7-stack-cost] did not exist. Created. [2024-10-04T09:44:12.278Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T09:44:12.622Z] /w/workspace/device-s7/7@tmp/durable-81f81087/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T09:44:13.258Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T09:44:13.289Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T09:44:13.328Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T09:44:13.336Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T09:44:13.366Z] $ docker stop --time=1 875a1185e8fc6708d2c53063162b55ac4891049814f47eb565c03181e8c87c50 [2024-10-04T09:44:14.869Z] $ docker rm -f --volumes 875a1185e8fc6708d2c53063162b55ac4891049814f47eb565c03181e8c87c50 [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-10-04T09:44:15.454Z] provisioning config files... [2024-10-04T09:44:15.461Z] copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config12315799368064035223tmp [Pipeline] { [Pipeline] sh [2024-10-04T09:44:15.770Z] + set +x [2024-10-04T09:44:15.770Z] + bash -s -- [2024-10-04T09:44:15.770Z] + curl -s https://codecov.io/bash [2024-10-04T09:44:15.770Z] [2024-10-04T09:44:15.770Z] _____ _ [2024-10-04T09:44:15.770Z] / ____| | | [2024-10-04T09:44:15.770Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T09:44:15.770Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T09:44:15.770Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T09:44:15.770Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T09:44:15.770Z] Bash-1.0.6 [2024-10-04T09:44:15.770Z] [2024-10-04T09:44:15.770Z] [2024-10-04T09:44:15.770Z] ==> git version 2.25.1 found [2024-10-04T09:44:15.770Z] ==> 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-10-04T09:44:15.770Z] Release-Date: 2020-01-08 [2024-10-04T09:44:15.770Z] 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-10-04T09:44:15.770Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T09:44:15.770Z] ==> Jenkins CI detected. [2024-10-04T09:44:15.770Z] current dir:  /w/workspace/edgexfoundry_device-s7_main [2024-10-04T09:44:15.770Z] project root: . [2024-10-04T09:44:15.770Z] --> token set from env [2024-10-04T09:44:15.770Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T09:44:15.770Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T09:44:15.770Z] ==> Python coveragepy not found [2024-10-04T09:44:15.770Z] ==> Searching for coverage reports in: [2024-10-04T09:44:15.770Z] + . [2024-10-04T09:44:15.770Z] -> Found 1 reports [2024-10-04T09:44:15.770Z] ==> Detecting git/mercurial file structure [2024-10-04T09:44:16.029Z] ==> Reading reports [2024-10-04T09:44:16.029Z] + ./coverage.out bytes=17163 [2024-10-04T09:44:16.029Z] ==> Appending adjustments [2024-10-04T09:44:16.029Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T09:44:16.029Z] + Found adjustments [2024-10-04T09:44:16.029Z] ==> Gzipping contents [2024-10-04T09:44:16.029Z] 4.0K /tmp/codecov.Ip4kiM.gz [2024-10-04T09:44:16.029Z] ==> Uploading reports [2024-10-04T09:44:16.029Z] url: https://codecov.io [2024-10-04T09:44:16.029Z] query: branch=main&commit=e57816f4afcfc8db9a573db5c83bd892c807d408&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= [2024-10-04T09:44:16.029Z] -> Pinging Codecov [2024-10-04T09:44:16.029Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e57816f4afcfc8db9a573db5c83bd892c807d408&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= [2024-10-04T09:44:16.288Z] -> Uploading to [2024-10-04T09:44:16.288Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-s7/e57816f4afcfc8db9a573db5c83bd892c807d408/2c1161d0-be6a-4e85-985f-f7ee11a7b831.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T094416Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=05ef1795081d8649d79a6d93b62873302d2f38add56fa1dcdb3c375ad4abaa18 [2024-10-04T09:44:16.288Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T09:44:16.288Z] Dload Upload Total Spent Left Speed [2024-10-04T09:44:16.547Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2593 0 0 100 2593 0 11680 --:--:-- --:--:-- --:--:-- 11680 [2024-10-04T09:44:16.547Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] } [2024-10-04T09:44:16.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-10-04T09:44:16.902Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-10-04T09:44:16.919Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:44:17.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-04T09:44:17.228Z] [2024-10-04T09:44:17.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:44:17.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-04T09:44:17.535Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-10-04T09:44:17.535Z] 43c4264eed91: Already exists [2024-10-04T09:44:17.535Z] 4cc291be95ef: Already exists [2024-10-04T09:44:17.535Z] 2ac1f1163629: Already exists [2024-10-04T09:44:17.535Z] 5c3c966382ef: Already exists [2024-10-04T09:44:17.535Z] 4f4fb700ef54: Already exists [2024-10-04T09:44:17.535Z] d9c7d2e4e75e: Pulling fs layer [2024-10-04T09:44:17.535Z] 9c3e1370e548: Pulling fs layer [2024-10-04T09:44:17.794Z] d9c7d2e4e75e: Download complete [2024-10-04T09:44:18.054Z] d9c7d2e4e75e: Pull complete [2024-10-04T09:44:18.622Z] 9c3e1370e548: Verifying Checksum [2024-10-04T09:44:18.622Z] 9c3e1370e548: Download complete [2024-10-04T09:44:21.902Z] 9c3e1370e548: Pull complete [2024-10-04T09:44:21.902Z] Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b [2024-10-04T09:44:21.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-10-04T09:44:21.902Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:44:22.004Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T09:44:22.037Z] $ 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-10-04T09:44:24.992Z] $ docker top 0b651cab8f83e9dfd416ebec22c9c6a0f218930e9dc6ea30163b10beaadfc869 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T09:44:25.352Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] echo [2024-10-04T09:44:25.363Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-s7:main' [Pipeline] sh [2024-10-04T09:44:25.644Z] + set -o pipefail [2024-10-04T09:44:25.644Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-s7:main' [2024-10-04T09:44:32.211Z] [2024-10-04T09:44:32.211Z] Monitoring /w/workspace/edgexfoundry_device-s7_main (github.com/edgexfoundry/device-s7)... [2024-10-04T09:44:32.211Z] [2024-10-04T09:44:32.211Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9802e2c3-a805-43f9-b47e-5746baaac31c/history/4f280a1f-ec36-47be-877b-2853120095e4 [2024-10-04T09:44:32.211Z] [2024-10-04T09:44:32.211Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-10-04T09:44:32.211Z] [2024-10-04T09:44:32.211Z] [2024-10-04T09:44:32.211Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2024-10-04T09:44:32.211Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-10-04T09:44:32.226Z] $ docker stop --time=1 0b651cab8f83e9dfd416ebec22c9c6a0f218930e9dc6ea30163b10beaadfc869 [2024-10-04T09:44:37.039Z] $ docker rm -f --volumes 0b651cab8f83e9dfd416ebec22c9c6a0f218930e9dc6ea30163b10beaadfc869 [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-10-04T09:44:37.840Z] + git log --format=format:%s -1 e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] sh [2024-10-04T09:44:38.130Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T09:44:38.130Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:44:38.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T09:44:38.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:44:38.524Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T09:44:38.558Z] $ 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-10-04T09:44:39.051Z] $ docker top 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 -eo pid,comm [2024-10-04T09:44:39.092Z] 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-10-04T09:44:39.092Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T09:44:39.167Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T09:44:39.167Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T09:44:39.281Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T09:44:39.288Z] $ docker exec 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 ssh-agent [2024-10-04T09:44:39.389Z] SSH_AUTH_SOCK=/tmp/ssh-xKGxJqt46Ez1/agent.33 [2024-10-04T09:44:39.389Z] SSH_AGENT_PID=39 [2024-10-04T09:44:39.394Z] Running ssh-add (command line suppressed) [2024-10-04T09:44:39.511Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_16484258235645257106.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_16484258235645257106.key) [2024-10-04T09:44:39.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T09:44:39.819Z] + git semver tag [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:39,990 [run_tag] DEBUG tag force:False [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:39,990 [check_head_tag] DEBUG check head tag [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:39,990 [execute] INFO git cat-file --batch-check [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:39,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:39,994 [execute] INFO git cat-file --batch [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:39,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:39,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:39,998 [execute] INFO git tag -a v0.0.1-dev.2 -m v0.0.1-dev.2 [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:39,998 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.2', '-m', 'v0.0.1-dev.2'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=None) [2024-10-04T09:44:40.079Z] 2024-10-04 09:44:40,001 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-10-04T09:44:40.079Z] 0.0.1-dev.2 [Pipeline] } [2024-10-04T09:44:40.092Z] $ docker exec --env ******** --env ******** 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 ssh-agent -k [2024-10-04T09:44:40.191Z] unset SSH_AUTH_SOCK; [2024-10-04T09:44:40.192Z] unset SSH_AGENT_PID; [2024-10-04T09:44:40.192Z] echo Agent pid 39 killed; [2024-10-04T09:44:40.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T09:44:40.535Z] + git semver [Pipeline] } [2024-10-04T09:44:40.809Z] $ docker stop --time=1 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 [2024-10-04T09:44:42.096Z] $ docker rm -f --volumes 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:44:42.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-04T09:44:42.524Z] [2024-10-04T09:44:42.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:44:42.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-04T09:44:42.837Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-10-04T09:44:42.837Z] ab5ef0e58194: Pulling fs layer [2024-10-04T09:44:42.837Z] 9712f1f96733: Pulling fs layer [2024-10-04T09:44:42.837Z] 63f879dbbcfc: Pulling fs layer [2024-10-04T09:44:42.837Z] 0d9ebad4ef96: Pulling fs layer [2024-10-04T09:44:42.837Z] e9a5061849ea: Pulling fs layer [2024-10-04T09:44:42.837Z] d747dcd14b5f: Pulling fs layer [2024-10-04T09:44:42.837Z] 0d9ebad4ef96: Waiting [2024-10-04T09:44:42.837Z] e9a5061849ea: Waiting [2024-10-04T09:44:42.837Z] 2de7ff778b66: Pulling fs layer [2024-10-04T09:44:42.837Z] 2de7ff778b66: Waiting [2024-10-04T09:44:42.837Z] 9712f1f96733: Verifying Checksum [2024-10-04T09:44:42.837Z] 9712f1f96733: Download complete [2024-10-04T09:44:43.097Z] 63f879dbbcfc: Verifying Checksum [2024-10-04T09:44:43.097Z] 63f879dbbcfc: Download complete [2024-10-04T09:44:43.356Z] e9a5061849ea: Verifying Checksum [2024-10-04T09:44:43.356Z] e9a5061849ea: Download complete [2024-10-04T09:44:43.356Z] d747dcd14b5f: Verifying Checksum [2024-10-04T09:44:43.356Z] d747dcd14b5f: Download complete [2024-10-04T09:44:43.356Z] 0d9ebad4ef96: Verifying Checksum [2024-10-04T09:44:43.356Z] 0d9ebad4ef96: Download complete [2024-10-04T09:44:43.356Z] ab5ef0e58194: Download complete [2024-10-04T09:44:43.356Z] 2de7ff778b66: Verifying Checksum [2024-10-04T09:44:43.356Z] 2de7ff778b66: Download complete [2024-10-04T09:44:45.882Z] ab5ef0e58194: Pull complete [2024-10-04T09:44:45.882Z] 9712f1f96733: Pull complete [2024-10-04T09:44:46.446Z] 63f879dbbcfc: Pull complete [2024-10-04T09:44:49.726Z] 0d9ebad4ef96: Pull complete [2024-10-04T09:44:49.985Z] e9a5061849ea: Pull complete [2024-10-04T09:44:49.985Z] d747dcd14b5f: Pull complete [2024-10-04T09:44:50.918Z] 2de7ff778b66: Pull complete [2024-10-04T09:44:50.919Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-10-04T09:44:50.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-04T09:44:50.919Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:44:51.030Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T09:44:51.066Z] $ 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-10-04T09:44:57.338Z] $ docker top 4cb9d562fe4e802c544189fbd3eb4c2bd1be5dc08b896d269a4bdd5760f46479 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-10-04T09:44:57.417Z] provisioning config files... [2024-10-04T09:44:57.423Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config17865780713251763352tmp [2024-10-04T09:44:57.434Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config10277624459935322265tmp [2024-10-04T09:44:57.443Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config1990630331008548548tmp [Pipeline] { [Pipeline] echo [2024-10-04T09:44:57.473Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:44:57.767Z] ---> sigul-configuration.sh [2024-10-04T09:44:57.767Z] gpg: directory `/root/.gnupg' created [2024-10-04T09:44:57.767Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-10-04T09:44:57.767Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-10-04T09:44:57.767Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-10-04T09:44:57.767Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-10-04T09:44:57.767Z] gpg: CAST5 encrypted data [2024-10-04T09:44:57.767Z] gpg: encrypted with 1 passphrase [2024-10-04T09:44:57.767Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-10-04T09:44:58.064Z] + mkdir /home/jenkins [2024-10-04T09:44:58.064Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-10-04T09:44:58.359Z] + 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-10-04T09:44:58.372Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:44:58.664Z] ---> sigul-install.sh [2024-10-04T09:44:58.664Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-10-04T09:44:58.960Z] + git tag --list [2024-10-04T09:44:58.960Z] v0.0.0 [2024-10-04T09:44:58.960Z] v0.0.1-dev.1 [2024-10-04T09:44:58.960Z] v0.0.1-dev.2 [Pipeline] sh [2024-10-04T09:44:59.257Z] + lftools sign git-tag v0.0.1-dev.2 [2024-10-04T09:44:59.825Z] Signing Git tag with Sigul... [2024-10-04T09:44:59.825Z] Signing v0.0.1-dev.2 [Pipeline] echo [2024-10-04T09:45:00.405Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:45:00.697Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-10-04T09:45:00.704Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-10-04T09:45:00.743Z] $ docker stop --time=1 4cb9d562fe4e802c544189fbd3eb4c2bd1be5dc08b896d269a4bdd5760f46479 [2024-10-04T09:45:02.027Z] $ docker rm -f --volumes 4cb9d562fe4e802c544189fbd3eb4c2bd1be5dc08b896d269a4bdd5760f46479 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-10-04T09:45:02.495Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T09:45:02.495Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:45:02.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T09:45:02.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:45:02.880Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T09:45:02.913Z] $ 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-10-04T09:45:03.214Z] $ docker top 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 -eo pid,comm [2024-10-04T09:45:03.255Z] 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-10-04T09:45:03.255Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T09:45:03.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T09:45:03.316Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T09:45:03.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T09:45:03.432Z] $ docker exec 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 ssh-agent [2024-10-04T09:45:03.532Z] SSH_AUTH_SOCK=/tmp/ssh-rNTKzLLyEkI1/agent.32 [2024-10-04T09:45:03.532Z] SSH_AGENT_PID=38 [2024-10-04T09:45:03.536Z] Running ssh-add (command line suppressed) [2024-10-04T09:45:03.638Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17756710736511098652.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17756710736511098652.key) [2024-10-04T09:45:03.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T09:45:03.940Z] + git semver bump pre [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,109 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,109 [bump_version] DEBUG bumping version:0.0.1-dev.2 on axis:pre with prefix:dev [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,109 [bump_version] DEBUG bumped version:0.0.1-dev.3 [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,110 [write_version] DEBUG write version:0.0.1-dev.3 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:True [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,110 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,110 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,113 [execute] INFO git cat-file --batch-check [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,119 [execute] INFO git cat-file --batch [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T09:45:04.200Z] 2024-10-04 09:45:04,123 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-10-04T09:45:04.200Z] 0.0.1-dev.3 [Pipeline] } [2024-10-04T09:45:04.213Z] $ docker exec --env ******** --env ******** 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 ssh-agent -k [2024-10-04T09:45:04.300Z] unset SSH_AUTH_SOCK; [2024-10-04T09:45:04.301Z] unset SSH_AGENT_PID; [2024-10-04T09:45:04.301Z] echo Agent pid 38 killed; [2024-10-04T09:45:04.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T09:45:04.635Z] + git semver [Pipeline] } [2024-10-04T09:45:04.911Z] $ docker stop --time=1 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 [2024-10-04T09:45:06.748Z] $ docker rm -f --volumes 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T09:45:07.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T09:45:07.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:45:07.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T09:45:07.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:45:07.499Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T09:45:07.536Z] $ 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-10-04T09:45:07.847Z] $ docker top 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 -eo pid,comm [2024-10-04T09:45:07.891Z] 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-10-04T09:45:07.891Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T09:45:07.950Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T09:45:07.951Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T09:45:08.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T09:45:08.065Z] $ docker exec 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 ssh-agent [2024-10-04T09:45:08.170Z] SSH_AUTH_SOCK=/tmp/ssh-xJZom5rdSWnd/agent.32 [2024-10-04T09:45:08.170Z] SSH_AGENT_PID=38 [2024-10-04T09:45:08.175Z] Running ssh-add (command line suppressed) [2024-10-04T09:45:08.291Z] Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_4543939170236488656.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_4543939170236488656.key) [2024-10-04T09:45:08.301Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T09:45:08.593Z] + git semver push [2024-10-04T09:45:08.851Z] 2024-10-04 09:45:08,770 [run_push] DEBUG push [2024-10-04T09:45:08.851Z] 2024-10-04 09:45:08,771 [execute] INFO git cat-file --batch-check [2024-10-04T09:45:08.851Z] 2024-10-04 09:45:08,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T09:45:08.851Z] 2024-10-04 09:45:08,775 [execute] INFO git rev-list 10e6ca7e2f350defc3fbda7d4f985414a90dee6a -- [2024-10-04T09:45:08.851Z] 2024-10-04 09:45:08,775 [execute] DEBUG Popen(['git', 'rev-list', '10e6ca7e2f350defc3fbda7d4f985414a90dee6a', '--'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-10-04T09:45:08.851Z] 2024-10-04 09:45:08,780 [execute] INFO git fetch -v origin [2024-10-04T09:45:08.851Z] 2024-10-04 09:45:08,781 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-10-04T09:45:09.418Z] 2024-10-04 09:45:09,231 [run_push] DEBUG no remote changes detected [2024-10-04T09:45:09.418Z] 2024-10-04 09:45:09,231 [execute] INFO git push origin semver [2024-10-04T09:45:09.418Z] 2024-10-04 09:45:09,232 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-10-04T09:45:09.986Z] 2024-10-04 09:45:09,990 [run_push] DEBUG push all version tags [2024-10-04T09:45:09.987Z] 2024-10-04 09:45:09,990 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-10-04T09:45:10.244Z] 2024-10-04 09:45:09,991 [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-10-04T09:45:10.812Z] 2024-10-04 09:45:10,593 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main [2024-10-04T09:45:10.812Z] 0.0.1-dev.3 [Pipeline] } [2024-10-04T09:45:10.825Z] $ docker exec --env ******** --env ******** 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 ssh-agent -k [2024-10-04T09:45:11.001Z] unset SSH_AUTH_SOCK; [2024-10-04T09:45:11.001Z] unset SSH_AGENT_PID; [2024-10-04T09:45:11.001Z] echo Agent pid 38 killed; [2024-10-04T09:45:11.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T09:45:11.350Z] + git semver [Pipeline] } [2024-10-04T09:45:11.934Z] $ docker stop --time=1 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 [2024-10-04T09:45:13.216Z] $ docker rm -f --volumes 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 [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-10-04T09:45:13.965Z] + [ -d /w/workspace/edgexfoundry_device-s7_main/archives ] [2024-10-04T09:45:13.965Z] + ls -al /w/workspace/edgexfoundry_device-s7_main/archives [2024-10-04T09:45:13.965Z] total 16 [2024-10-04T09:45:13.965Z] drwxr-xr-x 3 root root 4096 Oct 4 07:50 . [2024-10-04T09:45:13.965Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 09:44 .. [2024-10-04T09:45:13.965Z] drwxr-xr-x 2 root root 4096 Oct 4 07:50 cost [2024-10-04T09:45:13.965Z] -rw-r--r-- 1 root root 79 Oct 4 07:50 cost.csv [2024-10-04T09:45:13.965Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_main/archives [2024-10-04T09:45:13.965Z] + ls -al /w/workspace/edgexfoundry_device-s7_main/archives [2024-10-04T09:45:13.965Z] total 16 [2024-10-04T09:45:13.965Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 07:50 . [2024-10-04T09:45:13.965Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 09:44 .. [2024-10-04T09:45:13.965Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 07:50 cost [2024-10-04T09:45:13.965Z] -rw-r--r-- 1 jenkins jenkins 79 Oct 4 07:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:45:14.256Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:45:15.111Z] ---> package-listing.sh [2024-10-04T09:45:15.112Z] ++ facter osfamily [2024-10-04T09:45:15.112Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T09:45:15.371Z] + OS_FAMILY=debian [2024-10-04T09:45:15.371Z] + workspace=/w/workspace/edgexfoundry_device-s7_main [2024-10-04T09:45:15.371Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T09:45:15.371Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T09:45:15.371Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T09:45:15.371Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T09:45:15.371Z] + '[' /w/workspace/edgexfoundry_device-s7_main ']' [2024-10-04T09:45:15.371Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T09:45:15.371Z] + case "${OS_FAMILY}" in [2024-10-04T09:45:15.371Z] + dpkg -l [2024-10-04T09:45:15.371Z] + grep '^ii' [2024-10-04T09:45:15.371Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T09:45:15.371Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T09:45:15.371Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T09:45:15.371Z] + '[' /w/workspace/edgexfoundry_device-s7_main ']' [2024-10-04T09:45:15.371Z] + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ [2024-10-04T09:45:15.371Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo [2024-10-04T09:45:15.383Z] 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-10-04T09:45:15.767Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:45:16.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T09:45:16.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:45:16.258Z] prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container [2024-10-04T09:45:16.295Z] $ 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-10-04T09:45:16.499Z] $ docker top 8d80b76df616ff7f5397fbe007afde6dc8f9ef82e7d27b7cedd5ab10e9aac7e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T09:45:16.847Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T09:45:17.135Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T09:45:17.419Z] + ls /var/log/sa-host [2024-10-04T09:45:17.419Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T09:45:17.704Z] provisioning config files... [2024-10-04T09:45:17.712Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config12961905143574563883tmp [Pipeline] { [Pipeline] echo [2024-10-04T09:45:17.732Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:45:18.020Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T09:45:18.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:45:18.381Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T09:45:18.390Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:45:18.675Z] ---> sudo-logs.sh [2024-10-04T09:45:18.675Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T09:45:18.710Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:45:18.992Z] ---> job-cost.sh [2024-10-04T09:45:18.992Z] lf-activate-venv: SKIPPING [2024-10-04T09:45:18.992Z] DEBUG: total: 0.2199999988079071 [2024-10-04T09:45:18.992Z] INFO: Retrieving Stack Cost... [2024-10-04T09:45:19.251Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T09:45:19.817Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T09:45:19.833Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:45:20.120Z] ---> logs-deploy.sh [2024-10-04T09:45:20.120Z] lf-activate-venv: SKIPPING [2024-10-04T09:45:20.120Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/7 [2024-10-04T09:45:20.120Z] INFO: archiving workspace using pattern(s): [2024-10-04T09:45:21.055Z] Archives upload complete. [2024-10-04T09:45:21.055Z] INFO: archiving logs to Nexus