Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 65edf8a757f1f5a62012993d005a31caf2899e12 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-ssh2358564029416991317.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh17204625862686722311.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh4834422886143614675.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh8865921376672164203.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-ssh3966737017834442.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 ‘prd-ubuntu20.04-docker-8c-8g-6055’ Running on prd-ubuntu20.04-docker-8c-8g-6061 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 65edf8a757f1f5a62012993d005a31caf2899e12 (main) Commit message: "Merge pull request #57 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.26" > 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 65edf8a757f1f5a62012993d005a31caf2899e12 # timeout=10 > git rev-list --no-walk 165b80fb05d57052a3c15902199294117d426607 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:22:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:22:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:22:12 ========================================================= 01:22:12 EdgeX Global Pipelines Version Info 01:22:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:22:13 ------------------- 01:22:13 stable info: 01:22:13 ------------------- 01:22:13 Commited By: Ginny Guan ginny@iotechsys.com 01:22:13 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:22:13 Message: update stable to v1.0.274 01:22:14 ------------------- 01:22:14 experimental info: 01:22:14 ------------------- 01:22:14 Commited By: **** collab-it+edgex@linuxfoundation.org 01:22:14 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 01:22:14 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:22:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:22:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:22:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:22:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:22:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:22:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:22:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:22:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65edf8a757f1f5a62012993d005a31caf2899e12 [Pipeline] echo 01:22:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65edf8a [Pipeline] echo 01:22:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:22:15 provisioning config files... 01:22:15 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config16251866763438174778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:15 ---> ****-login.sh 01:22:15 nexus3.edgexfoundry.org:10001 01:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:15 01:22:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:22:15 Configure a credential helper to remove this warning. See 01:22:15 https://docs.****.com/go/credential-store/ 01:22:15 01:22:15 Login Succeeded 01:22:15 nexus3.edgexfoundry.org:10002 01:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:16 01:22:16 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:22:16 Configure a credential helper to remove this warning. See 01:22:16 https://docs.****.com/go/credential-store/ 01:22:16 01:22:16 Login Succeeded 01:22:16 nexus3.edgexfoundry.org:10003 01:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:16 01:22:16 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:22:16 Configure a credential helper to remove this warning. See 01:22:16 https://docs.****.com/go/credential-store/ 01:22:16 01:22:16 Login Succeeded 01:22:16 nexus3.edgexfoundry.org:10004 01:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:16 01:22:16 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:22:16 Configure a credential helper to remove this warning. See 01:22:16 https://docs.****.com/go/credential-store/ 01:22:16 01:22:16 Login Succeeded 01:22:16 ****.io 01:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:16 01:22:16 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:22:16 Configure a credential helper to remove this warning. See 01:22:16 https://docs.****.com/go/credential-store/ 01:22:16 01:22:16 Login Succeeded 01:22:16 ---> ****-login.sh ends [Pipeline] } 01:22:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:22:16 + git rev-list -1 --merges 65edf8a757f1f5a62012993d005a31caf2899e12~1..65edf8a757f1f5a62012993d005a31caf2899e12 [Pipeline] echo 01:22:16 -----------> git rev-list -1 --merges 65edf8a757f1f5a62012993d005a31caf2899e12~1..65edf8a757f1f5a62012993d005a31caf2899e12 65edf8a757f1f5a62012993d005a31caf2899e12 01:22:16 65edf8a757f1f5a62012993d005a31caf2899e12 [false] [Pipeline] sh 01:22:17 + git log --format=format:%s -1 65edf8a757f1f5a62012993d005a31caf2899e12 [Pipeline] echo 01:22:17 ========================================================= 01:22:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:22:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:22:17 + git log --format=format:%s -1 65edf8a757f1f5a62012993d005a31caf2899e12 [Pipeline] echo 01:22:17 [semverPrep] GIT_COMMIT: 65edf8a757f1f5a62012993d005a31caf2899e12, Commit Message: Merge pull request #57 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.26 [Pipeline] echo 01:22:17 [semverPrep] This is not a build commit. [Pipeline] sh 01:22:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:22:17 + grep -v github /etc/ssh/ssh_known_hosts 01:22:17 + [ -e /tmp/ssh_known_hosts ] 01:22:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:22:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:22:17 + sudo tee -a /etc/ssh/ssh_known_hosts 01:22:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:22:18 01:22:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:22:18 0.1.4: Pulling from edgex-devops/py-git-semver 01:22:18 3dae71ba6b94: Pulling fs layer 01:22:18 6bf1a483ea7c: Pulling fs layer 01:22:18 f5dfc541a4d3: Pulling fs layer 01:22:18 461d9e800cba: Pulling fs layer 01:22:18 80192f66455f: Pulling fs layer 01:22:18 2e8e34ca0e6c: Pulling fs layer 01:22:18 a29436f7fd5d: Pulling fs layer 01:22:18 923cac83aea3: Pulling fs layer 01:22:18 25ad8b0a4227: Pulling fs layer 01:22:18 db01528c6b51: Pulling fs layer 01:22:18 28988de357af: Pulling fs layer 01:22:18 461d9e800cba: Waiting 01:22:18 80192f66455f: Waiting 01:22:18 2e8e34ca0e6c: Waiting 01:22:18 a29436f7fd5d: Waiting 01:22:18 923cac83aea3: Waiting 01:22:18 25ad8b0a4227: Waiting 01:22:18 db01528c6b51: Waiting 01:22:18 28988de357af: Waiting 01:22:18 6bf1a483ea7c: Verifying Checksum 01:22:18 6bf1a483ea7c: Download complete 01:22:18 461d9e800cba: Download complete 01:22:18 80192f66455f: Download complete 01:22:18 f5dfc541a4d3: Download complete 01:22:18 3dae71ba6b94: Verifying Checksum 01:22:18 3dae71ba6b94: Download complete 01:22:18 923cac83aea3: Verifying Checksum 01:22:18 923cac83aea3: Download complete 01:22:19 25ad8b0a4227: Verifying Checksum 01:22:19 25ad8b0a4227: Download complete 01:22:19 db01528c6b51: Verifying Checksum 01:22:19 db01528c6b51: Download complete 01:22:19 28988de357af: Verifying Checksum 01:22:19 28988de357af: Download complete 01:22:19 a29436f7fd5d: Verifying Checksum 01:22:19 a29436f7fd5d: Download complete 01:22:19 2e8e34ca0e6c: Verifying Checksum 01:22:19 2e8e34ca0e6c: Download complete 01:22:20 3dae71ba6b94: Pull complete 01:22:20 6bf1a483ea7c: Pull complete 01:22:21 f5dfc541a4d3: Pull complete 01:22:21 461d9e800cba: Pull complete 01:22:21 80192f66455f: Pull complete 01:22:25 2e8e34ca0e6c: Pull complete 01:22:26 a29436f7fd5d: Pull complete 01:22:26 923cac83aea3: Pull complete 01:22:26 25ad8b0a4227: Pull complete 01:22:26 db01528c6b51: Pull complete 01:22:26 28988de357af: Pull complete 01:22:26 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:22:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:22:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:26 prd-ubuntu20.04-docker-8c-8g-6061 does not seem to be running inside a container 01:22:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:22:28 $ docker top 629a563c55029b84b46475152de54ae3a7e226a1996a97d8113f5b9e43be4e72 -eo pid,comm 01:22:28 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). 01:22:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:22:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:22:28 [ssh-agent] Looking for ssh-agent implementation... 01:22:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:22:29 $ docker exec 629a563c55029b84b46475152de54ae3a7e226a1996a97d8113f5b9e43be4e72 ssh-agent 01:22:29 SSH_AUTH_SOCK=/tmp/ssh-cwCVmMPLVHMk/agent.32 01:22:29 SSH_AGENT_PID=38 01:22:29 Running ssh-add (command line suppressed) 01:22:29 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_14980137924738468891.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_14980137924738468891.key) 01:22:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:22:29 + git tag --points-at HEAD [Pipeline] } 01:22:29 $ docker exec --env ******** --env ******** 629a563c55029b84b46475152de54ae3a7e226a1996a97d8113f5b9e43be4e72 ssh-agent -k 01:22:29 unset SSH_AUTH_SOCK; 01:22:29 unset SSH_AGENT_PID; 01:22:29 echo Agent pid 38 killed; 01:22:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:22:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:22:29 [ssh-agent] Looking for ssh-agent implementation... 01:22:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:22:29 $ docker exec 629a563c55029b84b46475152de54ae3a7e226a1996a97d8113f5b9e43be4e72 ssh-agent 01:22:30 SSH_AUTH_SOCK=/tmp/ssh-9jqtPkaIxEUl/agent.72 01:22:30 SSH_AGENT_PID=78 01:22:30 Running ssh-add (command line suppressed) 01:22:30 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_14541596929805976759.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_14541596929805976759.key) 01:22:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:22:30 + git semver init 01:22:30 2025-08-01 01:22:30,658 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:22:30 2025-08-01 01:22:30,663 [run_init] DEBUG init version:0.0.0 force:False 01:22:30 2025-08-01 01:22:30,664 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_main/.semver 01:22:30 2025-08-01 01:22:30,664 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_main/.semver 01:22:30 2025-08-01 01:22:30,664 [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, stdin=None, shell=False, universal_newlines=False) 01:22:32 2025-08-01 01:22:31,659 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_main/.git/info/exclude 01:22:32 2025-08-01 01:22:31,660 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:False 01:22:32 2025-08-01 01:22:31,660 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 01:22:32 2025-08-01 01:22:31,660 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 01:22:32 4.1.0-dev.3 [Pipeline] } 01:22:32 $ docker exec --env ******** --env ******** 629a563c55029b84b46475152de54ae3a7e226a1996a97d8113f5b9e43be4e72 ssh-agent -k 01:22:32 unset SSH_AUTH_SOCK; 01:22:32 unset SSH_AGENT_PID; 01:22:32 echo Agent pid 78 killed; 01:22:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:22:32 + git semver [Pipeline] } 01:22:33 $ docker stop --time=1 629a563c55029b84b46475152de54ae3a7e226a1996a97d8113f5b9e43be4e72 01:22:34 $ docker rm -f --volumes 629a563c55029b84b46475152de54ae3a7e226a1996a97d8113f5b9e43be4e72 [Pipeline] // withDockerContainer [Pipeline] sh 01:22:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:22:35 Stashed 1 file(s) [Pipeline] echo 01:22:35 [edgeXSemver]: initialized semver on version 4.1.0-dev.3 [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 01:22:35 provisioning config files... 01:22:35 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config10181419839277847638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:35 ---> ****-login.sh 01:22:35 nexus3.edgexfoundry.org:10001 01:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:35 Login Succeeded 01:22:35 nexus3.edgexfoundry.org:10002 01:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:35 Login Succeeded 01:22:35 nexus3.edgexfoundry.org:10003 01:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:35 Login Succeeded 01:22:35 nexus3.edgexfoundry.org:10004 01:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:35 Login Succeeded 01:22:35 ****.io 01:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:22:36 Login Succeeded 01:22:36 ---> ****-login.sh ends [Pipeline] } 01:22:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:22:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:22:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:22:36 ========================================================= 01:22:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:22:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:36 + 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 . 01:22:37 #0 building with "default" instance using docker driver 01:22:37 01:22:37 #1 [internal] load build definition from Dockerfile 01:22:37 #1 transferring dockerfile: 1.62kB done 01:22:37 #1 DONE 0.0s 01:22:37 01:22:37 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:22:37 #2 DONE 0.1s 01:22:37 01:22:37 #3 [internal] load .dockerignore 01:22:37 #3 transferring context: 2B done 01:22:37 #3 DONE 0.0s 01:22:37 01:22:37 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 01:22:37 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 0.0s done 01:22:37 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 01:22:37 #4 ... 01:22:37 01:22:37 #5 [internal] load build context 01:22:37 #5 transferring context: 15.86MB 0.2s done 01:22:37 #5 DONE 0.2s 01:22:37 01:22:37 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 01:22:37 #4 sha256:e873195afa03f66c4477d62a47bde445cf4ea723c241a30f98137b48a10af2e9 2.08kB / 2.08kB done 01:22:37 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 01:22:37 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s 01:22:37 #4 sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 685B / 685B done 01:22:37 #4 sha256:ea6120ae94a0356f97603cf7c451f67990211a3e020e5a30d412335b108fdc34 4.22kB / 4.22kB done 01:22:37 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.1s done 01:22:37 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 3.15MB / 74.06MB 0.1s 01:22:37 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 01:22:37 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 01:22:37 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 30.41MB / 74.06MB 0.3s 01:22:37 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 01:22:37 #4 sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 2.38MB / 2.38MB 0.2s done 01:22:37 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 6.29MB / 100.52MB 0.3s 01:22:37 #4 sha256:8213a616a21b5155355248bdcdb47b1049aac55141930530c39a6268e6623549 440B / 440B 0.1s done 01:22:37 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 1.05MB / 13.29MB 0.3s 01:22:37 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 47.19MB / 74.06MB 0.4s 01:22:37 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 12.58MB / 100.52MB 0.4s 01:22:37 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 7.34MB / 13.29MB 0.4s 01:22:37 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.1s done 01:22:37 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 68.16MB / 74.06MB 0.5s 01:22:37 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 19.92MB / 100.52MB 0.5s 01:22:37 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 13.29MB / 13.29MB 0.5s 01:22:38 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.6s done 01:22:38 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 53.48MB / 100.52MB 0.7s 01:22:38 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 13.29MB / 13.29MB 0.5s done 01:22:38 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 76.55MB / 100.52MB 0.8s 01:22:38 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 0.1s 01:22:38 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 100.52MB / 100.52MB 0.9s 01:22:38 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 100.52MB / 100.52MB 1.1s done 01:22:43 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 5.0s done 01:22:43 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 01:22:43 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 01:22:43 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:22:43 #4 extracting sha256:8213a616a21b5155355248bdcdb47b1049aac55141930530c39a6268e6623549 done 01:22:43 #4 extracting sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 01:22:43 #4 extracting sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 0.0s done 01:22:43 #4 extracting sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 0.1s 01:22:46 #4 extracting sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 2.7s done 01:22:46 #4 extracting sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 0.1s 01:22:46 #4 extracting sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 0.5s done 01:22:46 #4 DONE 9.5s 01:22:46 01:22:46 #6 [builder 2/7] WORKDIR /device-s7 01:22:48 #6 DONE 1.3s 01:22:48 01:22:48 #7 [builder 3/7] RUN apk add --update --no-cache make git gcc libc-dev 01:22:48 #7 0.220 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:22:48 #7 0.412 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:22:48 #7 0.767 OK: 248 MiB in 58 packages 01:22:49 #7 DONE 0.9s 01:22:49 01:22:49 #8 [builder 4/7] COPY go.mod vendor* ./ 01:22:49 #8 DONE 0.0s 01:22:49 01:22:49 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:22:50 Still waiting to schedule task 01:22:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6059’ 01:23:45 #9 DONE 54.3s 01:23:45 01:23:45 #10 [builder 6/7] COPY . . 01:23:45 #10 DONE 0.1s 01:23:45 01:23:45 #11 [builder 7/7] RUN echo noop 01:23:45 #11 0.201 noop 01:23:45 #11 DONE 0.3s 01:23:45 01:23:45 #12 exporting to image 01:23:45 #12 exporting layers 01:23:52 #12 exporting layers 7.8s done 01:23:52 #12 writing image sha256:472f044e1e5fb6aae714df4c3aa8f2f5cc96190bd3126ae0ba2e2855a2c0a4cd done 01:23:52 #12 naming to docker.io/library/ci-base-image-x86_64 done 01:23:52 #12 DONE 7.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:52 + docker inspect -f . ci-base-image-x86_64 01:23:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:23:52 prd-ubuntu20.04-docker-8c-8g-6061 does not seem to be running inside a container 01:23:52 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:23:52 $ docker top a8828b817ce0a5c1cc55926fb90c5bbc2c39543c939e23e5f32cf06d1ea9f0c2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:23:53 + go version 01:23:53 go version go1.23.9 linux/amd64 [Pipeline] } 01:23:53 $ docker stop --time=1 a8828b817ce0a5c1cc55926fb90c5bbc2c39543c939e23e5f32cf06d1ea9f0c2 01:23:54 $ docker rm -f --volumes a8828b817ce0a5c1cc55926fb90c5bbc2c39543c939e23e5f32cf06d1ea9f0c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:54 + docker inspect -f . ci-base-image-x86_64 01:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:23:55 prd-ubuntu20.04-docker-8c-8g-6061 does not seem to be running inside a container 01:23:55 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:23:55 $ docker top b6da7ae9893c2a7082908b53f7c7f45caccedf6134929d27216f5d8adba36df5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:23:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] fileExists [Pipeline] sh 01:23:55 + make test 01:23:55 go test -race -coverprofile=coverage.out ./... 01:24:04 ? github.com/edgexfoundry/device-s7 [no test files] 01:24:26 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 01:24:26 ok github.com/edgexfoundry/device-s7/internal/driver 1.025s coverage: 6.8% of statements 01:24:59 go vet ./... 01:25:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:25:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:25:00 ./bin/test-attribution-txt.sh [Pipeline] echo 01:25:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:25:01 $ docker stop --time=1 b6da7ae9893c2a7082908b53f7c7f45caccedf6134929d27216f5d8adba36df5 01:25:03 $ docker rm -f --volumes b6da7ae9893c2a7082908b53f7c7f45caccedf6134929d27216f5d8adba36df5 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:25:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:25:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:25:04 + ls -al . 01:25:04 total 220 01:25:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 01:23 . 01:25:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 01:22 .. 01:25:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 01:24 .git 01:25:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:22 .github 01:25:04 -rw-rw-r-- 1 jenkins jenkins 237 Aug 1 01:22 .gitignore 01:25:04 -rw-rw-r-- 1 jenkins jenkins 42 Aug 1 01:22 .golangci.yml 01:25:04 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 01:22 .semver 01:25:04 -rw-rw-r-- 1 jenkins jenkins 20318 Aug 1 01:22 Attribution.txt 01:25:04 -rw-rw-r-- 1 jenkins jenkins 1668 Aug 1 01:22 CHANGLOG.md 01:25:04 -rw-rw-r-- 1 jenkins jenkins 1579 Aug 1 01:22 Dockerfile 01:25:04 -rw-rw-r-- 1 jenkins jenkins 643 Aug 1 01:22 Jenkinsfile 01:25:04 -rw-rw-r-- 1 jenkins jenkins 10947 Aug 1 01:22 LICENSE 01:25:04 -rw-rw-r-- 1 jenkins jenkins 1903 Aug 1 01:22 Makefile 01:25:04 -rw-rw-r-- 1 jenkins jenkins 614 Aug 1 01:22 OWNERS.md 01:25:04 -rw-rw-r-- 1 jenkins jenkins 2393 Aug 1 01:22 README.md 01:25:04 -rw-rw-r-- 1 jenkins jenkins 11 Aug 1 01:22 VERSION 01:25:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:22 bin 01:25:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:22 cmd 01:25:04 -rw-r--r-- 1 jenkins jenkins 19094 Aug 1 01:24 coverage.out 01:25:04 -rw-rw-r-- 1 jenkins jenkins 6103 Aug 1 01:22 go.mod 01:25:04 -rw-rw-r-- 1 jenkins jenkins 86990 Aug 1 01:22 go.sum 01:25:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:22 internal 01:25:04 -rw-rw-r-- 1 jenkins jenkins 223 Aug 1 01:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:05 + 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=65edf8a757f1f5a62012993d005a31caf2899e12 --label arch=amd64 --label version=4.1.0-dev.3 . 01:25:05 #0 building with "default" instance using docker driver 01:25:05 01:25:05 #1 [internal] load build definition from Dockerfile 01:25:05 #1 transferring dockerfile: 1.62kB done 01:25:05 #1 DONE 0.0s 01:25:05 01:25:05 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 01:25:05 #2 DONE 0.0s 01:25:05 01:25:05 #3 [internal] load metadata for docker.io/library/alpine:3.20 01:25:09 #3 DONE 4.3s 01:25:09 01:25:09 #4 [internal] load .dockerignore 01:25:09 #4 transferring context: 2B done 01:25:09 #4 DONE 0.0s 01:25:09 01:25:09 #5 [internal] load build context 01:25:09 #5 transferring context: 27.56kB 0.0s done 01:25:09 #5 DONE 0.0s 01:25:09 01:25:09 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 01:25:09 #6 DONE 0.1s 01:25:09 01:25:09 #7 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 01:25:09 #7 resolve docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 0.0s done 01:25:09 #7 sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 9.22kB / 9.22kB done 01:25:09 #7 sha256:f25ebd2af60b9de8e26e5100fe6f493beb81bff010f27e84f223ad19886a78f0 1.02kB / 1.02kB done 01:25:09 #7 sha256:411bc66a7adb849165d4e733707efe59d6b5edf8b4d96506cb6a1e31ba270199 581B / 581B done 01:25:09 #7 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0B / 3.62MB 0.1s 01:25:09 #7 ... 01:25:09 01:25:09 #8 [builder 2/7] WORKDIR /device-s7 01:25:09 #8 DONE 0.0s 01:25:09 01:25:09 #7 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 01:25:10 #7 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.4s done 01:25:10 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 01:25:10 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.1s done 01:25:10 #7 DONE 0.6s 01:25:10 01:25:10 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 01:25:10 #9 0.200 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:25:10 #9 ... 01:25:10 01:25:10 #10 [builder 3/7] RUN apk add --update --no-cache make git gcc libc-dev 01:25:10 #10 0.209 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:25:10 #10 0.369 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:25:10 #10 0.713 OK: 248 MiB in 58 packages 01:25:10 #10 DONE 0.8s 01:25:10 01:25:10 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 01:25:10 #9 0.276 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:25:10 #9 ... 01:25:10 01:25:10 #11 [builder 4/7] COPY go.mod vendor* ./ 01:25:10 #11 DONE 0.0s 01:25:10 01:25:10 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 01:25:10 #9 0.564 (1/1) Installing dumb-init (1.2.5-r3) 01:25:10 #9 0.619 Executing busybox-1.36.1-r29.trigger 01:25:10 #9 0.624 OK: 8 MiB in 15 packages 01:25:10 #9 DONE 0.7s 01:25:10 01:25:10 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:10 #12 DONE 0.5s 01:25:10 01:25:10 #13 [stage-1 3/7] RUN apk --no-cache upgrade 01:25:11 #13 ... 01:25:11 01:25:11 #14 [builder 6/7] COPY . . 01:25:11 #14 DONE 0.1s 01:25:11 01:25:11 #13 [stage-1 3/7] RUN apk --no-cache upgrade 01:25:11 #13 0.348 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:25:11 #13 0.430 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:25:11 #13 0.730 OK: 8 MiB in 15 packages 01:25:11 #13 DONE 0.8s 01:25:11 01:25:11 #15 [builder 7/7] RUN make build 01:25:11 #15 0.247 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=4.1.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.26" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 01:25:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6064 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] ws 01:25:32 Running in /w/workspace/device-s7/25 [Pipeline] { [Pipeline] checkout 01:25:32 Selected Git installation does not exist. Using Default 01:25:32 The recommended git tool is: NONE 01:25:38 using credential edgex-jenkins-ssh 01:25:38 Cloning the remote Git repository 01:25:38 #15 DONE 23.7s 01:25:38 01:25:38 #16 [stage-1 4/7] COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 01:25:38 #16 DONE 0.0s 01:25:38 01:25:38 #17 [stage-1 5/7] COPY --from=builder /device-s7/cmd/device-s7 /device-s7 01:25:38 #17 DONE 0.1s 01:25:38 01:25:38 #18 [stage-1 6/7] COPY --from=builder /device-s7/cmd/res /res 01:25:38 #18 DONE 0.0s 01:25:38 01:25:38 #19 exporting to image 01:25:38 #19 exporting layers 0.1s done 01:25:38 #19 writing image sha256:6f6cbea8e428b3b7170e53a997ac00491f9d789d785e98cd235c7f9cf401f7ca done 01:25:38 #19 naming to docker.io/library/device-s7 done 01:25:38 #19 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:38 provisioning config files... 01:25:38 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config4960998149467891672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:38 ---> ****-login.sh 01:25:38 nexus3.edgexfoundry.org:10001 01:25:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:38 Login Succeeded 01:25:38 nexus3.edgexfoundry.org:10002 01:25:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:38 Login Succeeded 01:25:38 nexus3.edgexfoundry.org:10003 01:25:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:39 Login Succeeded 01:25:39 nexus3.edgexfoundry.org:10004 01:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:39 Login Succeeded 01:25:39 ****.io 01:25:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:38 Cloning repository git@github.com:edgexfoundry/device-s7.git 01:25:38 > git init /w/workspace/device-s7/25 # timeout=10 01:25:38 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 01:25:38 > git --version # timeout=10 01:25:38 > git --version # 'git version 2.25.1' 01:25:38 using GIT_SSH to set credentials SSH Credentials for GitHub 01:25:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:25:39 Login Succeeded 01:25:39 ---> ****-login.sh ends [Pipeline] } 01:25:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:25:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:25:39 [edgeXDocker.push] Tagging docker image device-s7 with the following tags: 01:25:39 65edf8a757f1f5a62012993d005a31caf2899e12 01:25:39 latest 01:25:39 4.1.0-dev.3 01:25:39 65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3 01:25:39 main 01:25:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:39 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:40 + docker push nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12 01:25:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 01:25:40 88e806fcd38b: Preparing 01:25:40 c71386a0c0ab: Preparing 01:25:40 fd42ff25c24c: Preparing 01:25:40 1a690c0f1b77: Preparing 01:25:40 dcdfeef8ca90: Preparing 01:25:40 097100c76c15: Preparing 01:25:40 097100c76c15: Waiting 01:25:40 1a690c0f1b77: Pushed 01:25:40 dcdfeef8ca90: Pushed 01:25:40 097100c76c15: Layer already exists 01:25:40 88e806fcd38b: Pushed 01:25:40 fd42ff25c24c: Pushed 01:25:40 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 01:25:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:25:41 Avoid second fetch 01:25:41 Checking out Revision 65edf8a757f1f5a62012993d005a31caf2899e12 (main) 01:25:41 > git config core.sparsecheckout # timeout=10 01:25:41 > git checkout -f 65edf8a757f1f5a62012993d005a31caf2899e12 # timeout=10 01:25:42 Commit message: "Merge pull request #57 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.1.0-dev.26" 01:25:45 c71386a0c0ab: Pushed 01:25:45 65edf8a757f1f5a62012993d005a31caf2899e12: digest: sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:45 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:46 + docker push nexus3.edgexfoundry.org:10004/device-s7:latest 01:25:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 01:25:46 88e806fcd38b: Preparing 01:25:46 c71386a0c0ab: Preparing 01:25:46 fd42ff25c24c: Preparing 01:25:46 1a690c0f1b77: Preparing 01:25:46 dcdfeef8ca90: Preparing 01:25:46 097100c76c15: Preparing 01:25:46 097100c76c15: Waiting 01:25:46 88e806fcd38b: Layer already exists 01:25:46 dcdfeef8ca90: Layer already exists 01:25:46 c71386a0c0ab: Layer already exists 01:25:46 1a690c0f1b77: Layer already exists 01:25:46 fd42ff25c24c: Layer already exists 01:25:46 097100c76c15: Layer already exists 01:25:46 latest: digest: sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:25:46 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:46 + docker push nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3 01:25:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 01:25:46 88e806fcd38b: Preparing 01:25:46 c71386a0c0ab: Preparing 01:25:46 fd42ff25c24c: Preparing 01:25:46 1a690c0f1b77: Preparing 01:25:46 dcdfeef8ca90: Preparing 01:25:46 097100c76c15: Preparing 01:25:46 097100c76c15: Waiting 01:25:46 fd42ff25c24c: Layer already exists 01:25:46 88e806fcd38b: Layer already exists 01:25:46 c71386a0c0ab: Layer already exists 01:25:46 dcdfeef8ca90: Layer already exists 01:25:46 1a690c0f1b77: Layer already exists 01:25:46 097100c76c15: Layer already exists 01:25:46 4.1.0-dev.3: digest: sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 size: 1573 [Pipeline] } 01:25:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:25:46 % Total % Received % Xferd Average Speed Time Time Time Current 01:25:46 Dload Upload Total Spent Left Speed 01:25:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14 100 14 0 0 65 0 --:--:-- --:--:-- --:--:-- 65 [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 01:25:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:25:47 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:47 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 01:25:47 /etc/docker/daemon.json 01:25:47 { 01:25:47 "registry-mirrors": [ 01:25:47 "https://nexus3.edgexfoundry.org:10001" 01:25:47 ], 01:25:47 "bip": "10.250.0.254/24", 01:25:47 "hosts": [ 01:25:47 "tcp://0.0.0.0:5555", 01:25:47 "unix:///var/run/docker.sock" 01:25:47 ], 01:25:47 "mtu": 1458, 01:25:47 "selinux-enabled": true, 01:25:47 "seccomp-profile": "/etc/docker/seccomp.json" 01:25:47 } [Pipeline] sh 01:25:47 + docker push nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3 01:25:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 01:25:47 88e806fcd38b: Preparing 01:25:47 c71386a0c0ab: Preparing 01:25:47 fd42ff25c24c: Preparing 01:25:47 1a690c0f1b77: Preparing 01:25:47 dcdfeef8ca90: Preparing 01:25:47 097100c76c15: Preparing 01:25:47 097100c76c15: Waiting 01:25:47 88e806fcd38b: Layer already exists 01:25:47 1a690c0f1b77: Layer already exists 01:25:47 dcdfeef8ca90: Layer already exists 01:25:47 c71386a0c0ab: Layer already exists 01:25:47 fd42ff25c24c: Layer already exists 01:25:47 097100c76c15: Layer already exists 01:25:47 65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3: digest: sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:25:48 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:48 + sudo service docker restart 01:25:48 + docker push nexus3.edgexfoundry.org:10004/device-s7:main 01:25:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 01:25:48 88e806fcd38b: Preparing 01:25:48 c71386a0c0ab: Preparing 01:25:48 fd42ff25c24c: Preparing 01:25:48 1a690c0f1b77: Preparing 01:25:48 dcdfeef8ca90: Preparing 01:25:48 097100c76c15: Preparing 01:25:48 097100c76c15: Waiting 01:25:48 1a690c0f1b77: Layer already exists 01:25:48 dcdfeef8ca90: Layer already exists 01:25:48 88e806fcd38b: Layer already exists 01:25:48 fd42ff25c24c: Layer already exists 01:25:48 c71386a0c0ab: Layer already exists 01:25:48 097100c76c15: Layer already exists 01:25:48 main: digest: sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:25:48 ===================================================== [Pipeline] echo 01:25:48 taggedImages: 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:latest 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] echo 01:25:48 ========================================================= 01:25:48 [edgeXBuildMultiArch] RAW Config: 01:25:48 images: 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:latest 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3 01:25:48 - nexus3.edgexfoundry.org:10004/device-s7:main 01:25:48 settingsFile: 01:25:48 device-s7-settings 01:25:48 ========================================================= [Pipeline] node 01:26:03 Still waiting to schedule task 01:26:03 All nodes of label ‘centos7-docker-4c-2g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:06 provisioning config files... 01:26:06 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/25@tmp/config2886264404100241497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:07 ---> ****-login.sh 01:26:07 nexus3.edgexfoundry.org:10001 01:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:07 Configure a credential helper to remove this warning. See 01:26:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:07 01:26:07 Login Succeeded 01:26:07 nexus3.edgexfoundry.org:10002 01:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:08 Configure a credential helper to remove this warning. See 01:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:08 01:26:08 Login Succeeded 01:26:08 nexus3.edgexfoundry.org:10003 01:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:08 Configure a credential helper to remove this warning. See 01:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:08 01:26:08 Login Succeeded 01:26:08 nexus3.edgexfoundry.org:10004 01:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:08 Configure a credential helper to remove this warning. See 01:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:08 01:26:08 Login Succeeded 01:26:08 ****.io 01:26:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:09 Configure a credential helper to remove this warning. See 01:26:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:09 01:26:09 Login Succeeded 01:26:09 ---> ****-login.sh ends [Pipeline] } 01:26:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:26:09 ========================================================= 01:26:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:26:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:10 + 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 . 01:26:10 Sending build context to Docker daemon 8.072MB 01:26:10 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 01:26:10 Step 2/10 : FROM ${BASE} AS builder 01:26:10 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:26:10 94e9d8af2201: Pulling fs layer 01:26:10 a6c56e8762df: Pulling fs layer 01:26:10 f0f3c8884826: Pulling fs layer 01:26:10 c7e7622c144d: Pulling fs layer 01:26:10 4f4fb700ef54: Pulling fs layer 01:26:10 e8859aadc426: Pulling fs layer 01:26:10 b4813487a9f6: Pulling fs layer 01:26:10 502a3d64fb4b: Pulling fs layer 01:26:10 4f4fb700ef54: Waiting 01:26:10 e8859aadc426: Waiting 01:26:10 b4813487a9f6: Waiting 01:26:10 502a3d64fb4b: Waiting 01:26:10 c7e7622c144d: Waiting 01:26:10 a6c56e8762df: Verifying Checksum 01:26:10 a6c56e8762df: Download complete 01:26:10 c7e7622c144d: Verifying Checksum 01:26:10 c7e7622c144d: Download complete 01:26:10 4f4fb700ef54: Verifying Checksum 01:26:10 4f4fb700ef54: Download complete 01:26:10 e8859aadc426: Verifying Checksum 01:26:10 e8859aadc426: Download complete 01:26:10 94e9d8af2201: Download complete 01:26:11 502a3d64fb4b: Verifying Checksum 01:26:11 502a3d64fb4b: Download complete 01:26:11 94e9d8af2201: Pull complete 01:26:12 a6c56e8762df: Pull complete 01:26:12 f0f3c8884826: Verifying Checksum 01:26:12 f0f3c8884826: Download complete 01:26:13 b4813487a9f6: Verifying Checksum 01:26:13 b4813487a9f6: Download complete 01:26:28 f0f3c8884826: Pull complete 01:26:28 c7e7622c144d: Pull complete 01:26:28 4f4fb700ef54: Pull complete 01:26:28 e8859aadc426: Pull complete 01:26:36 b4813487a9f6: Pull complete 01:26:38 502a3d64fb4b: Pull complete 01:26:38 Digest: sha256:ccce412edaf9646599052987b87cd187cc8535800fd55ebf268fc97f1e5e6dde 01:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:26:38 ---> 3bb21d53e231 01:26:38 Step 3/10 : ARG MAKE=make build 01:26:39 ---> Running in 0059775c919a 01:26:39 Removing intermediate container 0059775c919a 01:26:39 ---> c17ae560262f 01:26:39 Step 4/10 : WORKDIR /device-s7 01:26:39 ---> Running in 1221dfc367e2 01:26:40 Removing intermediate container 1221dfc367e2 01:26:40 ---> 13c265de4508 01:26:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 01:26:40 ---> Running in 5af74b8d918b 01:26:40 Removing intermediate container 5af74b8d918b 01:26:40 ---> 41f63bc4d2b9 01:26:40 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 01:26:40 ---> Running in c98a0b2470b0 01:26:40 Decoding seccomp profile failed: invalid character ':' after top-level value [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:26:41 01:26:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:26:42 arm64: Pulling from edgex-lftools-log-publisher 01:26:42 8998bd30e6a1: Pulling fs layer 01:26:42 04944245beec: Pulling fs layer 01:26:42 699f458cf7ca: Pulling fs layer 01:26:42 765212b225bb: Pulling fs layer 01:26:42 f23df028b6ca: Pulling fs layer 01:26:42 d65c8cfc05b1: Pulling fs layer 01:26:42 2437ff75d9bd: Pulling fs layer 01:26:42 f23df028b6ca: Waiting 01:26:42 d65c8cfc05b1: Waiting 01:26:42 2437ff75d9bd: Waiting 01:26:42 765212b225bb: Waiting 01:26:42 04944245beec: Verifying Checksum 01:26:42 04944245beec: Download complete 01:26:42 765212b225bb: Verifying Checksum 01:26:42 765212b225bb: Download complete 01:26:42 f23df028b6ca: Verifying Checksum 01:26:42 f23df028b6ca: Download complete 01:26:42 d65c8cfc05b1: Verifying Checksum 01:26:42 d65c8cfc05b1: Download complete 01:26:42 699f458cf7ca: Verifying Checksum 01:26:42 699f458cf7ca: Download complete 01:26:42 8998bd30e6a1: Verifying Checksum 01:26:42 8998bd30e6a1: Download complete 01:26:45 2437ff75d9bd: Verifying Checksum 01:26:45 2437ff75d9bd: Download complete 01:26:47 8998bd30e6a1: Pull complete 01:26:48 04944245beec: Pull complete 01:26:49 699f458cf7ca: Pull complete 01:26:49 765212b225bb: Pull complete 01:26:50 f23df028b6ca: Pull complete 01:26:51 d65c8cfc05b1: Pull complete 01:26:52 Running on prd-centos7-docker-4c-2g-6067 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:53 provisioning config files... 01:26:53 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config11913664361181384478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:57 ---> ****-login.sh 01:26:57 nexus3.edgexfoundry.org:10001 01:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:57 Configure a credential helper to remove this warning. See 01:26:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:57 01:26:57 Login Succeeded 01:26:57 nexus3.edgexfoundry.org:10002 01:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:57 Configure a credential helper to remove this warning. See 01:26:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:57 01:26:57 Login Succeeded 01:26:57 nexus3.edgexfoundry.org:10003 01:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:57 Configure a credential helper to remove this warning. See 01:26:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:57 01:26:57 Login Succeeded 01:26:57 nexus3.edgexfoundry.org:10004 01:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:57 Configure a credential helper to remove this warning. See 01:26:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:57 01:26:57 Login Succeeded 01:26:57 ****.io 01:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:57 Configure a credential helper to remove this warning. See 01:26:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:57 01:26:57 Login Succeeded 01:26:57 ---> ****-login.sh ends [Pipeline] } 01:26:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:26:57 + docker buildx ls 01:26:57 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:26:57 default * docker 01:26:57 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:26:58 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 01:26:58 edgex-builder [Pipeline] sh 01:26:58 + docker buildx inspect --bootstrap 01:26:58 #1 [internal] booting buildkit 01:26:58 #1 pulling image moby/buildkit:buildx-stable-1 01:27:02 #1 pulling image moby/buildkit:buildx-stable-1 3.9s done 01:27:02 #1 creating container buildx_buildkit_edgex-builder0 01:27:03 #1 creating container buildx_buildkit_edgex-builder0 1.5s done 01:27:03 #1 DONE 5.4s 01:27:03 Name: edgex-builder 01:27:03 Driver: docker-container 01:27:03 01:27:03 Nodes: 01:27:03 Name: edgex-builder0 01:27:03 Endpoint: unix:///var/run/docker.sock 01:27:03 Status: running 01:27:03 Buildkit: v0.22.0 01:27:03 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 01:27:04 + docker buildx ls 01:27:04 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:27:04 edgex-builder * docker-container 01:27:04 edgex-builder0 unix:///var/run/docker.sock running v0.22.0 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:27:04 default docker 01:27:04 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:27:04 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12' 01:27:04 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12 --push - 01:27:04 #1 [internal] load build definition from Dockerfile 01:27:04 #1 transferring dockerfile: 194B done 01:27:04 #1 DONE 0.0s 01:27:04 01:27:04 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12 01:27:04 #2 DONE 0.1s 01:27:04 01:27:04 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12 01:27:04 #3 DONE 0.1s 01:27:04 01:27:04 #4 [internal] load .dockerignore 01:27:04 #4 transferring context: 2B done 01:27:04 #4 DONE 0.0s 01:27:04 01:27:04 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:04 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 0.0s done 01:27:04 #5 DONE 0.0s 01:27:04 01:27:04 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:04 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 0.0s done 01:27:04 #6 DONE 0.1s 01:27:04 01:27:04 #7 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 01:27:04 #7 DONE 0.0s 01:27:04 01:27:04 #8 exporting to image 01:27:04 #8 exporting layers done 01:27:04 #8 exporting manifest sha256:1a60339351ff549466c8a7efca20ea9bdd9baee38175423872847e5a3689cd18 0.0s done 01:27:04 #8 exporting config sha256:6f6cbea8e428b3b7170e53a997ac00491f9d789d785e98cd235c7f9cf401f7ca done 01:27:04 #8 exporting manifest sha256:23dedf57346f79a39026c654d03d4bc7cd4ddef7a612ba1c01cbc47d802903af done 01:27:04 #8 exporting config sha256:828e7753a777df650750ba1d2971004858932ef561643f3eb9fb78c64340f0b2 done 01:27:04 #8 exporting manifest list sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f done 01:27:04 #8 pushing layers 0.1s done 01:27:04 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12@sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f 01:27:04 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:27:04 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12@sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f 0.1s done 01:27:04 #8 DONE 0.2s 01:27:04 01:27:04 1 warning found (use --debug to expand): 01:27:04  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:27:05 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:latest' 01:27:05 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:latest --push - 01:27:05 #1 [internal] load build definition from Dockerfile 01:27:05 #1 transferring dockerfile: 160B done 01:27:05 #1 DONE 0.0s 01:27:05 01:27:05 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:latest 01:27:05 #2 DONE 0.0s 01:27:05 01:27:05 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:latest 01:27:05 #3 DONE 0.0s 01:27:05 01:27:05 #4 [internal] load .dockerignore 01:27:05 #4 transferring context: 2B done 01:27:05 #4 DONE 0.0s 01:27:05 01:27:05 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:05 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 done 01:27:05 #5 DONE 0.0s 01:27:05 01:27:05 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:05 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 0.0s done 01:27:05 #6 CACHED 01:27:05 01:27:05 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:05 #5 CACHED 01:27:05 01:27:05 #7 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 01:27:05 #7 DONE 0.0s 01:27:05 01:27:05 #8 exporting to image 01:27:05 #8 exporting layers done 01:27:05 #8 exporting manifest sha256:1a60339351ff549466c8a7efca20ea9bdd9baee38175423872847e5a3689cd18 done 01:27:05 #8 exporting config sha256:6f6cbea8e428b3b7170e53a997ac00491f9d789d785e98cd235c7f9cf401f7ca done 01:27:05 #8 exporting manifest sha256:23dedf57346f79a39026c654d03d4bc7cd4ddef7a612ba1c01cbc47d802903af done 01:27:05 #8 exporting config sha256:828e7753a777df650750ba1d2971004858932ef561643f3eb9fb78c64340f0b2 done 01:27:05 #8 exporting manifest list sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f done 01:27:05 #8 pushing layers 0.0s done 01:27:05 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f 0.1s done 01:27:05 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:27:05 #8 DONE 0.1s 01:27:05 01:27:05 1 warning found (use --debug to expand): 01:27:05  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:27:05 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3' 01:27:05 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3 --push - 01:27:05 #1 [internal] load build definition from Dockerfile 01:27:05 #1 transferring dockerfile: 165B done 01:27:05 #1 DONE 0.0s 01:27:05 01:27:05 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3 01:27:05 #2 DONE 0.0s 01:27:05 01:27:05 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3 01:27:05 #3 DONE 0.0s 01:27:05 01:27:05 #4 [internal] load .dockerignore 01:27:05 #4 transferring context: 2B done 01:27:05 #4 DONE 0.0s 01:27:05 01:27:05 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:05 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 0.0s done 01:27:05 #5 CACHED 01:27:05 01:27:05 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:05 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 0.0s done 01:27:05 #6 CACHED 01:27:05 01:27:05 #7 exporting to image 01:27:05 #7 exporting layers 01:27:05 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:27:05 #7 exporting layers done 01:27:05 #7 exporting manifest sha256:1a60339351ff549466c8a7efca20ea9bdd9baee38175423872847e5a3689cd18 done 01:27:05 #7 exporting config sha256:6f6cbea8e428b3b7170e53a997ac00491f9d789d785e98cd235c7f9cf401f7ca done 01:27:05 #7 exporting manifest sha256:23dedf57346f79a39026c654d03d4bc7cd4ddef7a612ba1c01cbc47d802903af done 01:27:05 #7 exporting config sha256:828e7753a777df650750ba1d2971004858932ef561643f3eb9fb78c64340f0b2 done 01:27:05 #7 exporting manifest list sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f done 01:27:05 #7 pushing layers 0.0s done 01:27:05 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.3@sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f 0.1s done 01:27:05 #7 DONE 0.1s 01:27:05 01:27:05 #8 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 01:27:05 #8 DONE 0.0s 01:27:05 01:27:05 1 warning found (use --debug to expand): 01:27:05  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:27:06 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3' 01:27:06 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3 --push - 01:27:06 #1 [internal] load build definition from Dockerfile 01:27:06 #1 transferring dockerfile: 206B done 01:27:06 #1 DONE 0.0s 01:27:06 01:27:06 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3 01:27:06 #2 DONE 0.0s 01:27:06 01:27:06 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3 01:27:06 #3 DONE 0.0s 01:27:06 01:27:06 #4 [internal] load .dockerignore 01:27:06 #4 transferring context: 2B done 01:27:06 #4 DONE 0.0s 01:27:06 01:27:06 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:06 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 0.0s done 01:27:06 #5 DONE 0.0s 01:27:06 01:27:06 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:06 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 0.0s done 01:27:06 #6 CACHED 01:27:06 01:27:06 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:06 #5 CACHED 01:27:06 01:27:06 #7 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 01:27:06 #7 DONE 0.0s 01:27:06 01:27:06 #8 exporting to image 01:27:06 #8 exporting layers done 01:27:06 #8 exporting manifest sha256:1a60339351ff549466c8a7efca20ea9bdd9baee38175423872847e5a3689cd18 done 01:27:06 #8 exporting config sha256:6f6cbea8e428b3b7170e53a997ac00491f9d789d785e98cd235c7f9cf401f7ca done 01:27:06 #8 exporting manifest sha256:23dedf57346f79a39026c654d03d4bc7cd4ddef7a612ba1c01cbc47d802903af done 01:27:06 #8 exporting config sha256:828e7753a777df650750ba1d2971004858932ef561643f3eb9fb78c64340f0b2 done 01:27:06 #8 exporting manifest list sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f done 01:27:06 #8 pushing layers 0.0s done 01:27:06 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:65edf8a757f1f5a62012993d005a31caf2899e12-4.1.0-dev.3@sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f 0.1s done 01:27:06 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:27:06 #8 DONE 0.1s 01:27:06 01:27:06 1 warning found (use --debug to expand): 01:27:06  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:27:06 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:main' 01:27:06 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:main --push - 01:27:06 #1 [internal] load build definition from Dockerfile 01:27:06 #1 transferring dockerfile: 158B done 01:27:06 #1 DONE 0.0s 01:27:06 01:27:06 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:main 01:27:06 #2 DONE 0.0s 01:27:06 01:27:06 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:main 01:27:06 #3 DONE 0.0s 01:27:06 01:27:06 #4 [internal] load .dockerignore 01:27:06 #4 transferring context: 2B done 01:27:06 #4 DONE 0.0s 01:27:06 01:27:06 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:main@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:06 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:main@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 0.0s done 01:27:06 #5 CACHED 01:27:06 01:27:06 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:main@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 01:27:06 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:main@sha256:0ea27503577111fdc799f2c50b59eca8cee31345f21bcf646146072544d490b0 0.0s done 01:27:07 #6 CACHED 01:27:07 01:27:07 #7 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 01:27:07 #7 DONE 0.0s 01:27:07 01:27:07 #8 exporting to image 01:27:07 #8 exporting layers done 01:27:07 #8 exporting manifest sha256:1a60339351ff549466c8a7efca20ea9bdd9baee38175423872847e5a3689cd18 done 01:27:07 #8 exporting config sha256:6f6cbea8e428b3b7170e53a997ac00491f9d789d785e98cd235c7f9cf401f7ca done 01:27:07 #8 exporting manifest sha256:23dedf57346f79a39026c654d03d4bc7cd4ddef7a612ba1c01cbc47d802903af done 01:27:07 #8 exporting config sha256:828e7753a777df650750ba1d2971004858932ef561643f3eb9fb78c64340f0b2 done 01:27:07 #8 exporting manifest list sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f done 01:27:07 #8 pushing layers 0.0s done 01:27:07 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:main@sha256:d470e4ba6dea942e34f19368f567e95b9233dc6172cfac1a67b27b312aa17f7f 0.1s done 01:27:07 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:27:07 #8 DONE 0.1s 01:27:07 01:27:07 1 warning found (use --debug to expand): 01:27:07  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:27:07 + '[' -d /w/workspace/edgexfoundry_device-s7_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:27:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:27:08 ---> package-listing.sh 01:27:08 ++ facter osfamily 01:27:08 ++ tr '[:upper:]' '[:lower:]' 01:27:08 + OS_FAMILY=redhat 01:27:08 + workspace=/w/workspace/edgexfoundry_device-s7_main 01:27:08 + START_PACKAGES=/tmp/packages_start.txt 01:27:08 + END_PACKAGES=/tmp/packages_end.txt 01:27:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:27:08 + PACKAGES=/tmp/packages_start.txt 01:27:08 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 01:27:08 + PACKAGES=/tmp/packages_end.txt 01:27:08 + case "${OS_FAMILY}" in 01:27:08 + sort 01:27:08 + rpm -qa 01:27:09 + '[' -f /tmp/packages_start.txt ']' 01:27:09 + '[' -f /tmp/packages_end.txt ']' 01:27:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:27:09 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 01:27:09 + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ 01:27:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo 01:27:09 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 01:27:09 2437ff75d9bd: Pull complete 01:27:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:27:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:09 + facter operatingsystem 01:27:09 prd-ubuntu20.04-docker-arm64-4c-16g-6064 does not seem to be running inside a container 01:27:09 $ 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/25 -v /w/workspace/device-s7/25:/w/workspace/device-s7/25:rw,z -v /w/workspace/device-s7/25@tmp:/w/workspace/device-s7/25@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 01:27:12 $ docker top 0d75a5bde575e586edb20e000b8b98a8faca529baa9aec20defc97b4f067ac33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:12 01:27:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:13 ---> job-cost.sh 01:27:13 lf-activate-venv: SKIPPING 01:27:13 INFO: No Stack... 01:27:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:13 latest: Pulling from edgex-lftools-log-publisher 01:27:13 5eb5b503b376: Pulling fs layer 01:27:13 5c69ac0246d0: Pulling fs layer 01:27:13 ec43610c2a17: Pulling fs layer 01:27:13 3a2ae6a8a46f: Pulling fs layer 01:27:13 33b1e0a273af: Pulling fs layer 01:27:13 5d3b04190fa2: Pulling fs layer 01:27:13 2f39f015ded8: Pulling fs layer 01:27:13 33b1e0a273af: Waiting 01:27:13 5d3b04190fa2: Waiting 01:27:13 2f39f015ded8: Waiting 01:27:13 3a2ae6a8a46f: Waiting 01:27:13 5c69ac0246d0: Download complete 01:27:13 3a2ae6a8a46f: Verifying Checksum 01:27:13 3a2ae6a8a46f: Download complete 01:27:13 33b1e0a273af: Verifying Checksum 01:27:13 33b1e0a273af: Download complete 01:27:13 ec43610c2a17: Verifying Checksum 01:27:13 ec43610c2a17: Download complete 01:27:13 5d3b04190fa2: Verifying Checksum 01:27:13 5d3b04190fa2: Download complete 01:27:13 5eb5b503b376: Verifying Checksum 01:27:13 5eb5b503b376: Download complete 01:27:14 2f39f015ded8: Verifying Checksum 01:27:14 2f39f015ded8: Download complete 01:27:14 INFO: Retrieving Pricing Info for: v3-standard-4 01:27:14 5eb5b503b376: Pull complete 01:27:14 5c69ac0246d0: Pull complete 01:27:15 INFO: Archiving Costs [Pipeline] sh 01:27:15 ec43610c2a17: Pull complete 01:27:15 3a2ae6a8a46f: Pull complete 01:27:15 33b1e0a273af: Pull complete 01:27:15 + cat /w/workspace/device-s7/25/archives/cost.csv 01:27:15 + cut -d, -f6 [Pipeline] lock 01:27:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-25-stack-cost] 01:27:15 Resource [jenkins-edgexfoundry-device-s7-main-25-stack-cost] did not exist. Created. 01:27:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:27:15 5d3b04190fa2: Pull complete 01:27:16 + echo total: 0.10999999940395355 [Pipeline] stash 01:27:16 Stashed 1 file(s) [Pipeline] } 01:27:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 01:27:16 $ docker stop --time=1 0d75a5bde575e586edb20e000b8b98a8faca529baa9aec20defc97b4f067ac33 01:27:18 $ docker rm -f --volumes 0d75a5bde575e586edb20e000b8b98a8faca529baa9aec20defc97b4f067ac33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:27:18 Failed in branch arm64 01:27:20 2f39f015ded8: Pull complete 01:27:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:27:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:20 prd-centos7-docker-4c-2g-6067 does not seem to be running inside a container 01:27:20 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:27:23 $ docker top dc17251244576f0afd1e1602fcaed4896becefaff906d01da60ba73ca5169f3f -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:23 + touch /tmp/pre-build-complete [Pipeline] sh 01:27:24 + mkdir -p /var/log/sysstat [Pipeline] sh 01:27:24 + ls /var/log/sa-host 01:27:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:24 provisioning config files... 01:27:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config13941440665600182374tmp [Pipeline] { [Pipeline] echo 01:27:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:27:25 ---> create-netrc.sh [Pipeline] } 01:27:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:27:25 ---> python-tools-install.sh [Pipeline] echo 01:27:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:27:25 ---> sudo-logs.sh 01:27:25 Archiving 'sudo' log.. 01:27:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-6067.novalocal: Name or service not known 01:27:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-6067.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:27:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:27:26 ---> job-cost.sh 01:27:26 lf-activate-venv: SKIPPING 01:27:26 DEBUG: total: 0.10999999940395355 01:27:26 INFO: Retrieving Stack Cost... 01:27:28 INFO: Retrieving Pricing Info for: v3-standard-2 01:27:28 INFO: Archiving Costs [Pipeline] echo 01:27:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:27:28 ---> logs-deploy.sh 01:27:28 lf-activate-venv: SKIPPING 01:27:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/25 01:27:28 INFO: archiving workspace using pattern(s): 01:27:29 Archives upload complete. 01:27:29 INFO: archiving logs to Nexus 01:27:30 ---> uname -a: 01:27:30 Linux prd-centos7-docker-4c-2g-6067.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 01:27:30 01:27:30 01:27:30 ---> lscpu: 01:27:30 Architecture: x86_64 01:27:30 CPU op-mode(s): 32-bit, 64-bit 01:27:30 Byte Order: Little Endian 01:27:30 Address sizes: 40 bits physical, 48 bits virtual 01:27:30 CPU(s): 2 01:27:30 On-line CPU(s) list: 0,1 01:27:30 Thread(s) per core: 1 01:27:30 Core(s) per socket: 1 01:27:30 Socket(s): 2 01:27:30 NUMA node(s): 1 01:27:30 Vendor ID: AuthenticAMD 01:27:30 CPU family: 23 01:27:30 Model: 49 01:27:30 Model name: AMD EPYC-Rome Processor 01:27:30 Stepping: 0 01:27:30 CPU MHz: 2799.998 01:27:30 BogoMIPS: 5599.99 01:27:30 Virtualization: AMD-V 01:27:30 Hypervisor vendor: KVM 01:27:30 Virtualization type: full 01:27:30 L1d cache: 64 KiB 01:27:30 L1i cache: 64 KiB 01:27:30 L2 cache: 1 MiB 01:27:30 L3 cache: 32 MiB 01:27:30 NUMA node0 CPU(s): 0,1 01:27:30 Vulnerability Itlb multihit: Not affected 01:27:30 Vulnerability L1tf: Not affected 01:27:30 Vulnerability Mds: Not affected 01:27:30 Vulnerability Meltdown: Not affected 01:27:30 Vulnerability Mmio stale data: Not affected 01:27:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:27:30 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:27:30 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:27:30 Vulnerability Srbds: Not affected 01:27:30 Vulnerability Tsx async abort: Not affected 01:27:30 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 01:27:30 01:27:30 01:27:30 ---> nproc: 01:27:30 2 01:27:30 01:27:30 01:27:30 ---> df -h: 01:27:30 Filesystem Size Used Avail Use% Mounted on 01:27:30 overlay 40G 7.3G 33G 19% / 01:27:30 tmpfs 64M 0 64M 0% /dev 01:27:30 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:27:30 shm 64M 0 64M 0% /dev/shm 01:27:30 /dev/vda1 40G 7.3G 33G 19% /facter-os 01:27:30 01:27:30 01:27:30 Cannot open /var/log/sysstat/sa01: No such file or directory 01:27:30 Please check if data collecting is enabled 01:27:30 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:27:30 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 01:27:30 $ docker stop --time=1 dc17251244576f0afd1e1602fcaed4896becefaff906d01da60ba73ca5169f3f 01:27:31 $ docker rm -f --volumes dc17251244576f0afd1e1602fcaed4896becefaff906d01da60ba73ca5169f3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 01:27:31 [WS-CLEANUP] Deleting project workspace... 01:27:31 [WS-CLEANUP] Deferred wipeout is used... 01:27:31 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [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 01:27:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:32 01:27:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:32 latest: Pulling from edgex-lftools-log-publisher 01:27:32 5eb5b503b376: Pulling fs layer 01:27:32 5c69ac0246d0: Pulling fs layer 01:27:32 ec43610c2a17: Pulling fs layer 01:27:32 3a2ae6a8a46f: Pulling fs layer 01:27:32 33b1e0a273af: Pulling fs layer 01:27:32 5d3b04190fa2: Pulling fs layer 01:27:32 2f39f015ded8: Pulling fs layer 01:27:32 3a2ae6a8a46f: Waiting 01:27:32 5d3b04190fa2: Waiting 01:27:32 33b1e0a273af: Waiting 01:27:32 2f39f015ded8: Waiting 01:27:32 5c69ac0246d0: Verifying Checksum 01:27:32 5c69ac0246d0: Download complete 01:27:32 3a2ae6a8a46f: Verifying Checksum 01:27:32 3a2ae6a8a46f: Download complete 01:27:32 33b1e0a273af: Verifying Checksum 01:27:32 33b1e0a273af: Download complete 01:27:32 5d3b04190fa2: Verifying Checksum 01:27:32 5d3b04190fa2: Download complete 01:27:32 ec43610c2a17: Verifying Checksum 01:27:32 ec43610c2a17: Download complete 01:27:32 5eb5b503b376: Download complete 01:27:33 2f39f015ded8: Verifying Checksum 01:27:33 2f39f015ded8: Download complete 01:27:34 5eb5b503b376: Pull complete 01:27:34 5c69ac0246d0: Pull complete 01:27:35 ec43610c2a17: Pull complete 01:27:35 3a2ae6a8a46f: Pull complete 01:27:35 33b1e0a273af: Pull complete 01:27:35 5d3b04190fa2: Pull complete 01:27:42 2f39f015ded8: Pull complete 01:27:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:27:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:42 prd-ubuntu20.04-docker-8c-8g-6061 does not seem to be running inside a container 01:27:42 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:27:43 $ docker top e8dd9d50663acb6b2ffc42613451af9bc6deb38e9f33b7eb0168192005cb903b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:43 ---> job-cost.sh 01:27:43 lf-activate-venv: SKIPPING 01:27:43 INFO: No Stack... 01:27:43 INFO: Retrieving Pricing Info for: v3-standard-8 01:27:43 INFO: Archiving Costs [Pipeline] sh 01:27:44 + cat /w/workspace/edgexfoundry_device-s7_main/archives/cost.csv 01:27:44 + cut -d, -f6 [Pipeline] lock 01:27:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-25-stack-cost] 01:27:44 Resource [jenkins-edgexfoundry-device-s7-main-25-stack-cost] did not exist. Created. 01:27:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:27:44 /w/workspace/edgexfoundry_device-s7_main@tmp/durable-011837e4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:27:44 + echo total: 0.2199999988079071 [Pipeline] stash 01:27:44 Warning: overwriting stash ‘stack-cost’ 01:27:44 Stashed 1 file(s) [Pipeline] } 01:27:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 01:27:44 $ docker stop --time=1 e8dd9d50663acb6b2ffc42613451af9bc6deb38e9f33b7eb0168192005cb903b 01:27:46 $ docker rm -f --volumes e8dd9d50663acb6b2ffc42613451af9bc6deb38e9f33b7eb0168192005cb903b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 01:27:47 + [ -d /w/workspace/edgexfoundry_device-s7_main/archives ] 01:27:47 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 01:27:47 total 16 01:27:47 drwxr-xr-x 3 root root 4096 Aug 1 01:27 . 01:27:47 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 01:27 .. 01:27:47 drwxr-xr-x 2 root root 4096 Aug 1 01:27 cost 01:27:47 -rw-r--r-- 1 root root 80 Aug 1 01:27 cost.csv 01:27:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_main/archives 01:27:47 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 01:27:47 total 16 01:27:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 01:27 . 01:27:47 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 01:27 .. 01:27:47 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 01:27 cost 01:27:47 -rw-r--r-- 1 jenkins jenkins 80 Aug 1 01:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:27:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:27:48 ---> package-listing.sh 01:27:48 ++ facter osfamily 01:27:48 ++ tr '[:upper:]' '[:lower:]' 01:27:48 + OS_FAMILY=debian 01:27:48 + workspace=/w/workspace/edgexfoundry_device-s7_main 01:27:48 + START_PACKAGES=/tmp/packages_start.txt 01:27:48 + END_PACKAGES=/tmp/packages_end.txt 01:27:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:27:48 + PACKAGES=/tmp/packages_start.txt 01:27:48 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 01:27:48 + PACKAGES=/tmp/packages_end.txt 01:27:48 + case "${OS_FAMILY}" in 01:27:48 + dpkg -l 01:27:48 + grep '^ii' 01:27:48 + '[' -f /tmp/packages_start.txt ']' 01:27:48 + '[' -f /tmp/packages_end.txt ']' 01:27:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:27:48 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 01:27:48 + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ 01:27:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo 01:27:48 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 01:27:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:49 prd-ubuntu20.04-docker-8c-8g-6061 does not seem to be running inside a container 01:27:49 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:27:49 $ docker top 60965319117cfa888ebfd10bbb6e7a87586e5a8285b18ca15d074134e131b2c5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:50 + touch /tmp/pre-build-complete [Pipeline] sh 01:27:50 + mkdir -p /var/log/sysstat [Pipeline] sh 01:27:50 + ls /var/log/sa-host 01:27:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:50 provisioning config files... 01:27:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config571527115450047752tmp [Pipeline] { [Pipeline] echo 01:27:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:27:50 ---> create-netrc.sh [Pipeline] } 01:27:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:27:51 ---> python-tools-install.sh [Pipeline] echo 01:27:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:27:51 ---> sudo-logs.sh 01:27:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:27:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:27:51 ---> job-cost.sh 01:27:51 lf-activate-venv: SKIPPING 01:27:51 DEBUG: total: 0.2199999988079071 01:27:51 INFO: Retrieving Stack Cost... 01:27:51 INFO: Retrieving Pricing Info for: v3-standard-8 01:27:52 INFO: Archiving Costs [Pipeline] echo 01:27:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:27:52 ---> logs-deploy.sh 01:27:52 lf-activate-venv: SKIPPING 01:27:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/25 01:27:52 INFO: archiving workspace using pattern(s): 01:27:53 Archives upload complete. 01:27:53 INFO: archiving logs to Nexus