Pull request #9 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of yiqisoft for edgexfoundry/device-s7 Loading trusted files from base branch main at 1b057092ee19ade1a8316e5cb795699e1e50525a rather than ca3c6fef86d15399994874e9b28bb0d668ad098d Obtained Jenkinsfile from 1b057092ee19ade1a8316e5cb795699e1e50525a 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-ssh870737884983604334.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh6494915586529130904.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/PR-9/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/PR-9/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14616579841992217558.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh1872742935712658613.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/PR-9/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/PR-9/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12493329727388925082.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1669’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1671 in /w/workspace/edgexfoundry_device-s7_PR-9 [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_PR-9 # 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 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit ca3c6fef86d15399994874e9b28bb0d668ad098d Merge succeeded, producing ca3c6fef86d15399994874e9b28bb0d668ad098d Checking out Revision ca3c6fef86d15399994874e9b28bb0d668ad098d (PR-9) > 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 remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca3c6fef86d15399994874e9b28bb0d668ad098d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca3c6fef86d15399994874e9b28bb0d668ad098d # timeout=10 Commit message: "fix: fix test process" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-02-25T09:42:01.772Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-25T09:42:01.850Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-25T09:42:01.872Z] ========================================================= [2024-02-25T09:42:01.872Z] EdgeX Global Pipelines Version Info [2024-02-25T09:42:01.872Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d0b3b46500a58795089dcd695830f2888fc472e1 # timeout=10 [2024-02-25T09:42:02.606Z] ------------------- [2024-02-25T09:42:02.607Z] stable info: [2024-02-25T09:42:02.607Z] ------------------- [2024-02-25T09:42:02.607Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-25T09:42:02.607Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T09:42:02.607Z] Message: update stable to v1.0.258 [2024-02-25T09:42:03.178Z] ------------------- [2024-02-25T09:42:03.178Z] experimental info: [2024-02-25T09:42:03.178Z] ------------------- [2024-02-25T09:42:03.178Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-25T09:42:03.178Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T09:42:03.178Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-25T09:42:03.266Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo [2024-02-25T09:42:03.286Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo [2024-02-25T09:42:03.316Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-25T09:42:03.343Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-25T09:42:03.373Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-25T09:42:03.396Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-25T09:42:03.425Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-25T09:42:03.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-25T09:42:03.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-25T09:42:03.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-25T09:42:03.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-25T09:42:03.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo [2024-02-25T09:42:03.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-25T09:42:03.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-25T09:42:03.663Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T09:42:03.695Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T09:42:03.723Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T09:42:03.753Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T09:42:03.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-25T09:42:03.816Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-25T09:42:03.851Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-25T09:42:03.890Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-25T09:42:03.925Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-25T09:42:03.967Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-25T09:42:04.006Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-25T09:42:04.044Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-25T09:42:04.077Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-25T09:42:04.123Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo [2024-02-25T09:42:04.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo [2024-02-25T09:42:04.181Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo [2024-02-25T09:42:04.212Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca3c6fef86d15399994874e9b28bb0d668ad098d [Pipeline] echo [2024-02-25T09:42:04.248Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca3c6fe [Pipeline] echo [2024-02-25T09:42:04.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T09:42:04.357Z] provisioning config files... [2024-02-25T09:42:04.374Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config8172413848314554536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:42:04.708Z] ---> ****-login.sh [2024-02-25T09:42:04.708Z] nexus3.edgexfoundry.org:10001 [2024-02-25T09:42:04.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:05.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:05.229Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:05.229Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:05.229Z] [2024-02-25T09:42:05.229Z] Login Succeeded [2024-02-25T09:42:05.229Z] nexus3.edgexfoundry.org:10002 [2024-02-25T09:42:05.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:05.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:05.229Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:05.230Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:05.230Z] [2024-02-25T09:42:05.230Z] Login Succeeded [2024-02-25T09:42:05.230Z] nexus3.edgexfoundry.org:10003 [2024-02-25T09:42:05.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:05.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:05.490Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:05.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:05.491Z] [2024-02-25T09:42:05.491Z] Login Succeeded [2024-02-25T09:42:05.491Z] nexus3.edgexfoundry.org:10004 [2024-02-25T09:42:05.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:05.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:05.491Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:05.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:05.491Z] [2024-02-25T09:42:05.491Z] Login Succeeded [2024-02-25T09:42:05.491Z] ****.io [2024-02-25T09:42:05.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:05.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:05.751Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:05.751Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:05.751Z] [2024-02-25T09:42:05.751Z] Login Succeeded [2024-02-25T09:42:05.751Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T09:42:05.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-25T09:42:06.244Z] + git rev-list -1 --merges ca3c6fef86d15399994874e9b28bb0d668ad098d~1..ca3c6fef86d15399994874e9b28bb0d668ad098d [Pipeline] echo [2024-02-25T09:42:06.270Z] -----------> git rev-list -1 --merges ca3c6fef86d15399994874e9b28bb0d668ad098d~1..ca3c6fef86d15399994874e9b28bb0d668ad098d ca3c6fef86d15399994874e9b28bb0d668ad098d [false] [Pipeline] sh [2024-02-25T09:42:06.570Z] + git log --format=format:%s -1 ca3c6fef86d15399994874e9b28bb0d668ad098d [Pipeline] echo [2024-02-25T09:42:06.586Z] ========================================================= [2024-02-25T09:42:06.586Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-25T09:42:06.586Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T09:42:06.981Z] + git log --format=format:%s -1 ca3c6fef86d15399994874e9b28bb0d668ad098d [Pipeline] echo [2024-02-25T09:42:06.992Z] [semverPrep] GIT_COMMIT: ca3c6fef86d15399994874e9b28bb0d668ad098d, Commit Message: fix: fix test process [Pipeline] echo [2024-02-25T09:42:07.016Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-25T09:42:07.429Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-25T09:42:07.429Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-25T09:42:07.429Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-25T09:42:07.429Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-25T09:42:07.429Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-25T09:42:07.429Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-25T09:42:07.429Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:42:07.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T09:42:07.858Z] [2024-02-25T09:42:07.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:42:08.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T09:42:08.173Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-25T09:42:08.173Z] b85a868b505f: Pulling fs layer [2024-02-25T09:42:08.173Z] e2be974225ed: Pulling fs layer [2024-02-25T09:42:08.173Z] 339a4e72a1f5: Pulling fs layer [2024-02-25T09:42:08.173Z] 988bab9f4d93: Pulling fs layer [2024-02-25T09:42:08.173Z] 1469e6f7b9e6: Pulling fs layer [2024-02-25T09:42:08.173Z] eaf3925da568: Pulling fs layer [2024-02-25T09:42:08.173Z] bab4dde63d76: Pulling fs layer [2024-02-25T09:42:08.173Z] bde34c3a00c8: Pulling fs layer [2024-02-25T09:42:08.173Z] b352a97aabf1: Pulling fs layer [2024-02-25T09:42:08.173Z] 4872d77fe225: Pulling fs layer [2024-02-25T09:42:08.173Z] 5851b861e8e6: Pulling fs layer [2024-02-25T09:42:08.173Z] bde34c3a00c8: Waiting [2024-02-25T09:42:08.173Z] 988bab9f4d93: Waiting [2024-02-25T09:42:08.173Z] bab4dde63d76: Waiting [2024-02-25T09:42:08.173Z] eaf3925da568: Waiting [2024-02-25T09:42:08.173Z] 4872d77fe225: Waiting [2024-02-25T09:42:08.173Z] 5851b861e8e6: Waiting [2024-02-25T09:42:08.173Z] b352a97aabf1: Waiting [2024-02-25T09:42:08.173Z] 1469e6f7b9e6: Waiting [2024-02-25T09:42:08.173Z] e2be974225ed: Verifying Checksum [2024-02-25T09:42:08.173Z] e2be974225ed: Download complete [2024-02-25T09:42:08.173Z] 988bab9f4d93: Verifying Checksum [2024-02-25T09:42:08.173Z] 988bab9f4d93: Download complete [2024-02-25T09:42:08.433Z] 1469e6f7b9e6: Verifying Checksum [2024-02-25T09:42:08.433Z] 1469e6f7b9e6: Download complete [2024-02-25T09:42:08.433Z] eaf3925da568: Verifying Checksum [2024-02-25T09:42:08.433Z] eaf3925da568: Download complete [2024-02-25T09:42:08.433Z] 339a4e72a1f5: Verifying Checksum [2024-02-25T09:42:08.433Z] 339a4e72a1f5: Download complete [2024-02-25T09:42:08.433Z] bde34c3a00c8: Verifying Checksum [2024-02-25T09:42:08.433Z] bde34c3a00c8: Download complete [2024-02-25T09:42:08.433Z] b352a97aabf1: Download complete [2024-02-25T09:42:08.433Z] 4872d77fe225: Download complete [2024-02-25T09:42:08.433Z] 5851b861e8e6: Verifying Checksum [2024-02-25T09:42:08.433Z] 5851b861e8e6: Download complete [2024-02-25T09:42:08.433Z] b85a868b505f: Verifying Checksum [2024-02-25T09:42:08.433Z] b85a868b505f: Download complete [2024-02-25T09:42:08.692Z] bab4dde63d76: Verifying Checksum [2024-02-25T09:42:08.692Z] bab4dde63d76: Download complete [2024-02-25T09:42:09.669Z] b85a868b505f: Pull complete [2024-02-25T09:42:09.933Z] e2be974225ed: Pull complete [2024-02-25T09:42:10.509Z] 339a4e72a1f5: Pull complete [2024-02-25T09:42:10.509Z] 988bab9f4d93: Pull complete [2024-02-25T09:42:10.769Z] 1469e6f7b9e6: Pull complete [2024-02-25T09:42:10.769Z] eaf3925da568: Pull complete [2024-02-25T09:42:12.672Z] bab4dde63d76: Pull complete [2024-02-25T09:42:12.672Z] bde34c3a00c8: Pull complete [2024-02-25T09:42:12.672Z] b352a97aabf1: Pull complete [2024-02-25T09:42:12.936Z] 4872d77fe225: Pull complete [2024-02-25T09:42:12.936Z] 5851b861e8e6: Pull complete [2024-02-25T09:42:12.936Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-25T09:42:12.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T09:42:12.936Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:42:13.132Z] prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container [2024-02-25T09:42:13.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-25T09:42:16.730Z] $ docker top 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 -eo pid,comm [2024-02-25T09:42:16.786Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-02-25T09:42:16.786Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-25T09:42:16.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T09:42:16.887Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T09:42:17.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T09:42:17.007Z] $ docker exec 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 ssh-agent [2024-02-25T09:42:17.135Z] SSH_AUTH_SOCK=/tmp/ssh-svhwCi7ERIiI/agent.32 [2024-02-25T09:42:17.135Z] SSH_AGENT_PID=38 [2024-02-25T09:42:17.141Z] Running ssh-add (command line suppressed) [2024-02-25T09:42:17.242Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_2164123207382582503.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_2164123207382582503.key) [2024-02-25T09:42:17.258Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T09:42:17.568Z] + git tag --points-at HEAD [Pipeline] } [2024-02-25T09:42:17.579Z] $ docker exec --env ******** --env ******** 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 ssh-agent -k [2024-02-25T09:42:17.669Z] unset SSH_AUTH_SOCK; [2024-02-25T09:42:17.670Z] unset SSH_AGENT_PID; [2024-02-25T09:42:17.670Z] echo Agent pid 38 killed; [2024-02-25T09:42:17.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-25T09:42:17.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T09:42:17.750Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T09:42:17.855Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T09:42:17.856Z] $ docker exec 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 ssh-agent [2024-02-25T09:42:17.961Z] SSH_AUTH_SOCK=/tmp/ssh-PpuCKRUptMRM/agent.70 [2024-02-25T09:42:17.961Z] SSH_AGENT_PID=76 [2024-02-25T09:42:17.966Z] Running ssh-add (command line suppressed) [2024-02-25T09:42:18.062Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_10858733453497660163.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_10858733453497660163.key) [2024-02-25T09:42:18.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T09:42:18.389Z] + git semver init [2024-02-25T09:42:18.648Z] 2024-02-25 09:42:18,561 [run_init] DEBUG init version:0.0.0 force:False [2024-02-25T09:42:18.648Z] 2024-02-25 09:42:18,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T09:42:18.648Z] 2024-02-25 09:42:18,562 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T09:42:18.648Z] 2024-02-25 09:42:18,562 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-9/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9, universal_newlines=False, shell=None, istream=None) [2024-02-25T09:42:19.217Z] 2024-02-25 09:42:19,166 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude [2024-02-25T09:42:19.217Z] 2024-02-25 09:42:19,167 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 with force:False [2024-02-25T09:42:19.217Z] 2024-02-25 09:42:19,167 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T09:42:19.217Z] 2024-02-25 09:42:19,171 [execute] INFO git cat-file --batch-check [2024-02-25T09:42:19.217Z] 2024-02-25 09:42:19,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) [2024-02-25T09:42:19.217Z] 2024-02-25 09:42:19,178 [execute] INFO git cat-file --batch [2024-02-25T09:42:19.217Z] 2024-02-25 09:42:19,178 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) [2024-02-25T09:42:19.217Z] 2024-02-25 09:42:19,183 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T09:42:19.217Z] 0.0.0 [Pipeline] } [2024-02-25T09:42:19.225Z] $ docker exec --env ******** --env ******** 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 ssh-agent -k [2024-02-25T09:42:19.316Z] unset SSH_AUTH_SOCK; [2024-02-25T09:42:19.317Z] unset SSH_AGENT_PID; [2024-02-25T09:42:19.317Z] echo Agent pid 76 killed; [2024-02-25T09:42:19.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-25T09:42:19.703Z] + git semver [Pipeline] } [2024-02-25T09:42:19.972Z] $ docker stop --time=1 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 [2024-02-25T09:42:21.270Z] $ docker rm -f --volumes 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T09:42:21.647Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-25T09:42:21.916Z] Stashed 1 file(s) [Pipeline] echo [2024-02-25T09:42:21.918Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T09:42:22.302Z] provisioning config files... [2024-02-25T09:42:22.317Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config16147346369630214985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:42:22.633Z] ---> ****-login.sh [2024-02-25T09:42:22.633Z] nexus3.edgexfoundry.org:10001 [2024-02-25T09:42:22.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:22.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:22.633Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:22.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:22.634Z] [2024-02-25T09:42:22.634Z] Login Succeeded [2024-02-25T09:42:22.634Z] nexus3.edgexfoundry.org:10002 [2024-02-25T09:42:22.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:22.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:22.634Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:22.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:22.634Z] [2024-02-25T09:42:22.634Z] Login Succeeded [2024-02-25T09:42:22.634Z] nexus3.edgexfoundry.org:10003 [2024-02-25T09:42:22.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:22.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:22.893Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:22.893Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:22.893Z] [2024-02-25T09:42:22.893Z] Login Succeeded [2024-02-25T09:42:22.893Z] nexus3.edgexfoundry.org:10004 [2024-02-25T09:42:22.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:22.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:22.893Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:22.893Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:22.893Z] [2024-02-25T09:42:22.893Z] Login Succeeded [2024-02-25T09:42:22.893Z] ****.io [2024-02-25T09:42:23.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:42:23.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:42:23.153Z] Configure a credential helper to remove this warning. See [2024-02-25T09:42:23.153Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:42:23.153Z] [2024-02-25T09:42:23.153Z] Login Succeeded [2024-02-25T09:42:23.153Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T09:42:23.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-25T09:42:23.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:42:23.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:42:23.389Z] ========================================================= [2024-02-25T09:42:23.389Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-25T09:42:23.389Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:42:23.790Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-02-25T09:42:23.790Z] Sending build context to Docker daemon 557.6kB [2024-02-25T09:42:23.790Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:42:23.790Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T09:42:23.790Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-25T09:42:23.790Z] 7264a8db6415: Pulling fs layer [2024-02-25T09:42:23.790Z] c4d48a809fc2: Pulling fs layer [2024-02-25T09:42:23.790Z] 4f1c88b9dad5: Pulling fs layer [2024-02-25T09:42:23.790Z] ad3a456e5733: Pulling fs layer [2024-02-25T09:42:23.790Z] 69c7f0334f64: Pulling fs layer [2024-02-25T09:42:23.790Z] 1f1c1a5573a3: Pulling fs layer [2024-02-25T09:42:23.790Z] ce7588e14bc9: Pulling fs layer [2024-02-25T09:42:23.790Z] b5e4710f87ac: Pulling fs layer [2024-02-25T09:42:23.790Z] 69c7f0334f64: Waiting [2024-02-25T09:42:23.790Z] 1f1c1a5573a3: Waiting [2024-02-25T09:42:23.790Z] ce7588e14bc9: Waiting [2024-02-25T09:42:23.790Z] b5e4710f87ac: Waiting [2024-02-25T09:42:23.790Z] ad3a456e5733: Waiting [2024-02-25T09:42:23.790Z] c4d48a809fc2: Download complete [2024-02-25T09:42:23.790Z] ad3a456e5733: Verifying Checksum [2024-02-25T09:42:23.790Z] ad3a456e5733: Download complete [2024-02-25T09:42:23.790Z] 69c7f0334f64: Verifying Checksum [2024-02-25T09:42:23.790Z] 69c7f0334f64: Download complete [2024-02-25T09:42:23.790Z] 7264a8db6415: Verifying Checksum [2024-02-25T09:42:23.790Z] 7264a8db6415: Download complete [2024-02-25T09:42:24.049Z] 1f1c1a5573a3: Verifying Checksum [2024-02-25T09:42:24.049Z] 1f1c1a5573a3: Download complete [2024-02-25T09:42:24.049Z] 7264a8db6415: Pull complete [2024-02-25T09:42:24.049Z] b5e4710f87ac: Verifying Checksum [2024-02-25T09:42:24.049Z] b5e4710f87ac: Download complete [2024-02-25T09:42:24.308Z] c4d48a809fc2: Pull complete [2024-02-25T09:42:24.565Z] 4f1c88b9dad5: Verifying Checksum [2024-02-25T09:42:24.565Z] 4f1c88b9dad5: Download complete [2024-02-25T09:42:24.827Z] ce7588e14bc9: Verifying Checksum [2024-02-25T09:42:24.827Z] ce7588e14bc9: Download complete [2024-02-25T09:42:28.112Z] 4f1c88b9dad5: Pull complete [2024-02-25T09:42:28.112Z] ad3a456e5733: Pull complete [2024-02-25T09:42:28.112Z] 69c7f0334f64: Pull complete [2024-02-25T09:42:28.112Z] 1f1c1a5573a3: Pull complete [2024-02-25T09:42:30.027Z] ce7588e14bc9: Pull complete [2024-02-25T09:42:30.602Z] b5e4710f87ac: Pull complete [2024-02-25T09:42:30.602Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-25T09:42:30.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-25T09:42:30.602Z] ---> 88b5674ff536 [2024-02-25T09:42:30.602Z] Step 3/10 : ARG MAKE=make build [2024-02-25T09:42:34.793Z] ---> Running in 67af98768409 [2024-02-25T09:42:34.793Z] Removing intermediate container 67af98768409 [2024-02-25T09:42:34.793Z] ---> 61bf9146954c [2024-02-25T09:42:34.793Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T09:42:34.793Z] ---> Running in 9077ae838be1 [2024-02-25T09:42:34.793Z] Removing intermediate container 9077ae838be1 [2024-02-25T09:42:34.793Z] ---> b88b9d209240 [2024-02-25T09:42:34.793Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:42:34.793Z] ---> Running in c1202f677b8c [2024-02-25T09:42:34.793Z] Removing intermediate container c1202f677b8c [2024-02-25T09:42:34.793Z] ---> f670b4871d34 [2024-02-25T09:42:34.793Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:42:34.793Z] ---> Running in a5a14cb8816f [2024-02-25T09:42:35.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:42:35.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:42:35.569Z] OK: 264 MiB in 52 packages [2024-02-25T09:42:35.828Z] Removing intermediate container a5a14cb8816f [2024-02-25T09:42:35.828Z] ---> 602c8587be55 [2024-02-25T09:42:35.828Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T09:42:36.087Z] ---> 9ea33c6018be [2024-02-25T09:42:36.087Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:42:36.087Z] ---> Running in 942173a0556d [2024-02-25T09:42:37.199Z] Still waiting to schedule task [2024-02-25T09:42:37.199Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-02-25T09:43:33.261Z] Removing intermediate container 942173a0556d [2024-02-25T09:43:33.261Z] ---> 41b42f70cedf [2024-02-25T09:43:33.261Z] Step 9/10 : COPY . . [2024-02-25T09:43:33.261Z] ---> 9024eccff9ae [2024-02-25T09:43:33.261Z] Step 10/10 : RUN ${MAKE} [2024-02-25T09:43:33.261Z] ---> Running in 9d3fa94688ca [2024-02-25T09:43:33.261Z] noop [2024-02-25T09:43:33.261Z] Removing intermediate container 9d3fa94688ca [2024-02-25T09:43:33.261Z] ---> be2bec2009bf [2024-02-25T09:43:33.261Z] Successfully built be2bec2009bf [2024-02-25T09:43:33.261Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:43:33.731Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T09:43:33.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:43:33.854Z] prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container [2024-02-25T09:43:33.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-25T09:43:34.222Z] $ docker top 0043c4ee60c6d0645135d9f3e4bba7e351fe771b10d552ecfd5bc82f52a522ae -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:43:34.618Z] + go version [2024-02-25T09:43:34.618Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-25T09:43:34.629Z] $ docker stop --time=1 0043c4ee60c6d0645135d9f3e4bba7e351fe771b10d552ecfd5bc82f52a522ae [2024-02-25T09:43:35.907Z] $ docker rm -f --volumes 0043c4ee60c6d0645135d9f3e4bba7e351fe771b10d552ecfd5bc82f52a522ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:43:36.528Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T09:43:36.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:43:36.645Z] prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container [2024-02-25T09:43:36.677Z] $ 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_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-25T09:43:36.997Z] $ docker top 79933fca71c180ac40e1afa5c619b562e9a8a07c130f5acb176cf8018cb38e17 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:43:37.381Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh [2024-02-25T09:43:37.704Z] + make test [2024-02-25T09:43:37.704Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T09:43:44.279Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T09:43:56.492Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T09:43:56.492Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T09:44:14.593Z] go vet ./... [2024-02-25T09:44:17.123Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T09:44:17.123Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T09:44:17.123Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T09:44:17.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T09:44:17.179Z] $ docker stop --time=1 79933fca71c180ac40e1afa5c619b562e9a8a07c130f5acb176cf8018cb38e17 [2024-02-25T09:44:22.159Z] $ docker rm -f --volumes 79933fca71c180ac40e1afa5c619b562e9a8a07c130f5acb176cf8018cb38e17 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T09:44:22.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T09:44:22.810Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-25T09:44:23.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T09:44:23.728Z] + ls -al . [2024-02-25T09:44:23.729Z] total 136 [2024-02-25T09:44:23.729Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:43 . [2024-02-25T09:44:23.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:41 .. [2024-02-25T09:44:23.729Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:43 .git [2024-02-25T09:44:23.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:41 .github [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:41 .gitignore [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:41 .golangci.yml [2024-02-25T09:44:23.729Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:42 .semver [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:41 Attribution.txt [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:41 Dockerfile [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:41 Jenkinsfile [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:41 LICENSE [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:41 Makefile [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:41 OWNERS.md [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 09:41 README.md [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:42 VERSION [2024-02-25T09:44:23.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:41 bin [2024-02-25T09:44:23.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:41 cmd [2024-02-25T09:44:23.729Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:43 coverage.out [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:41 go.mod [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:41 go.sum [2024-02-25T09:44:23.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:41 internal [2024-02-25T09:44:23.729Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:44:24.824Z] + 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=ca3c6fef86d15399994874e9b28bb0d668ad098d --label arch=amd64 --label version=0.0.0 . [2024-02-25T09:44:24.824Z] Sending build context to Docker daemon 558.6kB [2024-02-25T09:44:24.824Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:44:24.824Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T09:44:24.824Z] ---> be2bec2009bf [2024-02-25T09:44:24.824Z] Step 3/24 : ARG MAKE=make build [2024-02-25T09:44:24.824Z] ---> Running in 5d9edacd4c16 [2024-02-25T09:44:24.824Z] Removing intermediate container 5d9edacd4c16 [2024-02-25T09:44:24.824Z] ---> 7578db6e49f9 [2024-02-25T09:44:24.824Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T09:44:24.824Z] ---> Running in 10cc9330c829 [2024-02-25T09:44:24.824Z] Removing intermediate container 10cc9330c829 [2024-02-25T09:44:24.824Z] ---> 51a4032ca63d [2024-02-25T09:44:24.824Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:44:24.824Z] ---> Running in 71447cb142a9 [2024-02-25T09:44:24.824Z] Removing intermediate container 71447cb142a9 [2024-02-25T09:44:24.824Z] ---> f336d6760563 [2024-02-25T09:44:24.824Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:44:24.824Z] ---> Running in 2b7215a4da44 [2024-02-25T09:44:25.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:44:25.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:44:25.801Z] OK: 264 MiB in 52 packages [2024-02-25T09:44:26.333Z] Removing intermediate container 2b7215a4da44 [2024-02-25T09:44:26.333Z] ---> 1713f5e1cb44 [2024-02-25T09:44:26.333Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T09:44:26.333Z] ---> 0381ab468fd1 [2024-02-25T09:44:26.333Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:44:26.333Z] ---> Running in 30fe45a3521b [2024-02-25T09:44:26.937Z] Removing intermediate container 30fe45a3521b [2024-02-25T09:44:26.937Z] ---> c83e91d2a4de [2024-02-25T09:44:26.937Z] Step 9/24 : COPY . . [2024-02-25T09:44:27.264Z] ---> 94ea7a74b52a [2024-02-25T09:44:27.265Z] Step 10/24 : RUN ${MAKE} [2024-02-25T09:44:27.265Z] ---> Running in df37ac47475e [2024-02-25T09:44:27.265Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-02-25T09:44:32.833Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1672 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] ws [2024-02-25T09:44:32.870Z] Running in /w/workspace/device-s7/6 [Pipeline] { [Pipeline] checkout [2024-02-25T09:44:35.950Z] Selected Git installation does not exist. Using Default [2024-02-25T09:44:35.950Z] The recommended git tool is: NONE [2024-02-25T09:44:45.793Z] using credential edgex-jenkins-ssh [2024-02-25T09:44:45.824Z] Cloning the remote Git repository [2024-02-25T09:44:45.886Z] Cloning repository git@github.com:edgexfoundry/device-s7.git [2024-02-25T09:44:46.011Z] > git init /w/workspace/device-s7/6 # timeout=10 [2024-02-25T09:44:46.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T09:44:46.210Z] > git --version # timeout=10 [2024-02-25T09:44:46.246Z] > git --version # 'git version 2.25.1' [2024-02-25T09:44:46.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T09:44:46.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T09:44:47.260Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T09:44:47.321Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T09:44:48.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T09:44:48.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T09:44:48.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T09:44:48.719Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-02-25T09:44:49.247Z] Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit ca3c6fef86d15399994874e9b28bb0d668ad098d [2024-02-25T09:44:49.540Z] Merge succeeded, producing ca3c6fef86d15399994874e9b28bb0d668ad098d [2024-02-25T09:44:49.541Z] Checking out Revision ca3c6fef86d15399994874e9b28bb0d668ad098d (PR-9) [2024-02-25T09:44:50.229Z] Removing intermediate container df37ac47475e [2024-02-25T09:44:50.229Z] ---> 18f638cb7cc7 [2024-02-25T09:44:50.229Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T09:44:50.229Z] 3.18: Pulling from library/alpine [2024-02-25T09:44:50.229Z] 619be1103602: Pulling fs layer [2024-02-25T09:44:50.229Z] 619be1103602: Verifying Checksum [2024-02-25T09:44:50.229Z] 619be1103602: Download complete [2024-02-25T09:44:50.229Z] 619be1103602: Pull complete [2024-02-25T09:44:50.229Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T09:44:50.229Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T09:44:50.229Z] ---> d3782b16ccc9 [2024-02-25T09:44:50.229Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:44:50.229Z] ---> Running in 8d19fc72e1a1 [2024-02-25T09:44:50.229Z] Removing intermediate container 8d19fc72e1a1 [2024-02-25T09:44:50.229Z] ---> 4a6b478f528a [2024-02-25T09:44:50.229Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T09:44:50.229Z] ---> Running in 81f839b8bb34 [2024-02-25T09:44:50.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:44:50.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:44:50.229Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T09:44:50.229Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T09:44:50.229Z] OK: 7 MiB in 16 packages [2024-02-25T09:44:50.229Z] Removing intermediate container 81f839b8bb34 [2024-02-25T09:44:50.229Z] ---> 21cb8d1a225f [2024-02-25T09:44:50.229Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T09:44:50.229Z] ---> Running in 46ff7b5bc199 [2024-02-25T09:44:50.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:44:50.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:44:50.229Z] OK: 7 MiB in 16 packages [2024-02-25T09:44:50.229Z] Removing intermediate container 46ff7b5bc199 [2024-02-25T09:44:50.229Z] ---> 4540e40ae788 [2024-02-25T09:44:50.229Z] Step 15/24 : WORKDIR / [2024-02-25T09:44:50.229Z] ---> Running in 0c914b2d7591 [2024-02-25T09:44:50.229Z] Removing intermediate container 0c914b2d7591 [2024-02-25T09:44:50.229Z] ---> 9fbab29b6552 [2024-02-25T09:44:50.229Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-25T09:44:50.229Z] ---> 989b7e4bc50e [2024-02-25T09:44:50.229Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-25T09:44:49.273Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T09:44:49.361Z] > git checkout -f ca3c6fef86d15399994874e9b28bb0d668ad098d # timeout=10 [2024-02-25T09:44:49.439Z] > git remote # timeout=10 [2024-02-25T09:44:49.462Z] > git config --get remote.origin.url # timeout=10 [2024-02-25T09:44:49.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T09:44:49.497Z] > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 [2024-02-25T09:44:49.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-25T09:44:49.556Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T09:44:49.570Z] > git checkout -f ca3c6fef86d15399994874e9b28bb0d668ad098d # timeout=10 [2024-02-25T09:44:50.489Z] ---> 3c42905901d0 [2024-02-25T09:44:50.489Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-25T09:44:50.489Z] ---> 4ef6e1eda74f [2024-02-25T09:44:50.489Z] Step 19/24 : EXPOSE 59994 [2024-02-25T09:44:50.489Z] ---> Running in 0135bf77611a [2024-02-25T09:44:50.489Z] Removing intermediate container 0135bf77611a [2024-02-25T09:44:50.489Z] ---> 61b81962042b [2024-02-25T09:44:50.489Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-25T09:44:50.489Z] ---> Running in 6a7769537031 [2024-02-25T09:44:50.749Z] Removing intermediate container 6a7769537031 [2024-02-25T09:44:50.749Z] ---> 1e2d8f7550ca [2024-02-25T09:44:50.749Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-25T09:44:50.749Z] ---> Running in d2a2e5e4b684 [2024-02-25T09:44:50.749Z] Removing intermediate container d2a2e5e4b684 [2024-02-25T09:44:50.749Z] ---> 3737c9105645 [2024-02-25T09:44:50.749Z] Step 22/24 : LABEL arch=amd64 [2024-02-25T09:44:50.749Z] ---> Running in 276e5e8b7808 [2024-02-25T09:44:50.749Z] Removing intermediate container 276e5e8b7808 [2024-02-25T09:44:50.749Z] ---> 89e3f0208600 [2024-02-25T09:44:50.749Z] Step 23/24 : LABEL git_sha=ca3c6fef86d15399994874e9b28bb0d668ad098d [2024-02-25T09:44:51.008Z] ---> Running in 5ee1041bf9c9 [2024-02-25T09:44:51.008Z] Removing intermediate container 5ee1041bf9c9 [2024-02-25T09:44:51.008Z] ---> b2b0961d8809 [2024-02-25T09:44:51.008Z] Step 24/24 : LABEL version=0.0.0 [2024-02-25T09:44:51.008Z] ---> Running in 0d86166e446e [2024-02-25T09:44:51.008Z] Removing intermediate container 0d86166e446e [2024-02-25T09:44:51.008Z] ---> cb04ae2a1225 [2024-02-25T09:44:51.008Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-25T09:44:51.008Z] Successfully built cb04ae2a1225 [2024-02-25T09:44:51.008Z] Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:44:51.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:44:51.777Z] [2024-02-25T09:44:51.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:44:52.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:44:52.102Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-25T09:44:52.102Z] 5eb5b503b376: Pulling fs layer [2024-02-25T09:44:52.102Z] 5c69ac0246d0: Pulling fs layer [2024-02-25T09:44:52.102Z] ec43610c2a17: Pulling fs layer [2024-02-25T09:44:52.102Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-25T09:44:52.102Z] 33b1e0a273af: Pulling fs layer [2024-02-25T09:44:52.102Z] 5d3b04190fa2: Pulling fs layer [2024-02-25T09:44:52.102Z] 2f39f015ded8: Pulling fs layer [2024-02-25T09:44:52.102Z] 33b1e0a273af: Waiting [2024-02-25T09:44:52.102Z] 5d3b04190fa2: Waiting [2024-02-25T09:44:52.102Z] 2f39f015ded8: Waiting [2024-02-25T09:44:52.102Z] 3a2ae6a8a46f: Waiting [2024-02-25T09:44:52.102Z] 5c69ac0246d0: Download complete [2024-02-25T09:44:52.102Z] 3a2ae6a8a46f: Verifying Checksum [2024-02-25T09:44:52.102Z] 3a2ae6a8a46f: Download complete [2024-02-25T09:44:52.102Z] 33b1e0a273af: Verifying Checksum [2024-02-25T09:44:52.102Z] 33b1e0a273af: Download complete [2024-02-25T09:44:52.102Z] ec43610c2a17: Verifying Checksum [2024-02-25T09:44:52.102Z] ec43610c2a17: Download complete [2024-02-25T09:44:52.102Z] 5d3b04190fa2: Verifying Checksum [2024-02-25T09:44:52.102Z] 5d3b04190fa2: Download complete [2024-02-25T09:44:52.372Z] 5eb5b503b376: Verifying Checksum [2024-02-25T09:44:52.372Z] 5eb5b503b376: Download complete [2024-02-25T09:44:52.944Z] 2f39f015ded8: Download complete [2024-02-25T09:44:53.151Z] Commit message: "fix: fix test process" [2024-02-25T09:44:53.512Z] 5eb5b503b376: Pull complete [2024-02-25T09:44:53.512Z] 5c69ac0246d0: Pull complete [2024-02-25T09:44:53.577Z] [2024-02-25T09:44:53.577Z] GitHub has been notified of this commit’s build result [2024-02-25T09:44:53.577Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T09:44:54.077Z] ec43610c2a17: Pull complete [2024-02-25T09:44:54.336Z] 3a2ae6a8a46f: Pull complete [2024-02-25T09:44:54.595Z] 33b1e0a273af: Pull complete [2024-02-25T09:44:54.857Z] 5d3b04190fa2: Pull complete [2024-02-25T09:44:57.046Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-25T09:44:57.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-25T09:44:57.046Z] Dload Upload Total Spent Left Speed [2024-02-25T09:44:57.046Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh [2024-02-25T09:44:57.411Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-25T09:44:57.763Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-25T09:44:57.763Z] + sudo tee /etc/docker/daemon.new [2024-02-25T09:44:57.763Z] { [2024-02-25T09:44:57.763Z] "registry-mirrors": [ [2024-02-25T09:44:57.763Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-25T09:44:57.763Z] ], [2024-02-25T09:44:57.763Z] "bip": "10.250.0.254/24", [2024-02-25T09:44:57.763Z] "hosts": [ [2024-02-25T09:44:57.763Z] "tcp://0.0.0.0:5555", [2024-02-25T09:44:57.763Z] "unix:///var/run/docker.sock" [2024-02-25T09:44:57.763Z] ], [2024-02-25T09:44:57.763Z] "mtu": 1458, [2024-02-25T09:44:57.763Z] "selinux-enabled": true, [2024-02-25T09:44:57.763Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-25T09:44:57.763Z] } [Pipeline] sh [2024-02-25T09:44:58.144Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-25T09:44:58.505Z] + sudo service docker restart [2024-02-25T09:44:59.053Z] 2f39f015ded8: Pull complete [2024-02-25T09:44:59.053Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-25T09:44:59.053Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:44:59.053Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:44:59.244Z] prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container [2024-02-25T09:44:59.278Z] $ 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_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-25T09:45:03.786Z] $ docker top 89f38d02f2d13a9cb62da32ca10f0c9e57df37e2fad2ff4af58f7a83c97b46ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:45:04.343Z] ---> job-cost.sh [2024-02-25T09:45:04.343Z] lf-activate-venv: SKIPPING [2024-02-25T09:45:04.343Z] INFO: No Stack... [2024-02-25T09:45:05.308Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T09:45:05.567Z] INFO: Archiving Costs [Pipeline] sh [2024-02-25T09:45:05.858Z] + cat /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv [2024-02-25T09:45:05.858Z] + cut -d, -f6 [Pipeline] lock [2024-02-25T09:45:05.872Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [2024-02-25T09:45:05.882Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] did not exist. Created. [2024-02-25T09:45:05.887Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T09:45:06.250Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-25T09:45:06.312Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T09:45:06.337Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-25T09:45:06.419Z] $ docker stop --time=1 89f38d02f2d13a9cb62da32ca10f0c9e57df37e2fad2ff4af58f7a83c97b46ff [2024-02-25T09:45:07.570Z] $ docker rm -f --volumes 89f38d02f2d13a9cb62da32ca10f0c9e57df37e2fad2ff4af58f7a83c97b46ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T09:45:16.932Z] provisioning config files... [2024-02-25T09:45:16.961Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/6@tmp/config11297190369911374923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:45:17.425Z] ---> ****-login.sh [2024-02-25T09:45:17.425Z] nexus3.edgexfoundry.org:10001 [2024-02-25T09:45:17.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:45:17.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:45:17.965Z] Configure a credential helper to remove this warning. See [2024-02-25T09:45:17.965Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:45:17.965Z] [2024-02-25T09:45:17.965Z] Login Succeeded [2024-02-25T09:45:17.965Z] nexus3.edgexfoundry.org:10002 [2024-02-25T09:45:18.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:45:18.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:45:18.235Z] Configure a credential helper to remove this warning. See [2024-02-25T09:45:18.235Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:45:18.235Z] [2024-02-25T09:45:18.235Z] Login Succeeded [2024-02-25T09:45:18.508Z] nexus3.edgexfoundry.org:10003 [2024-02-25T09:45:18.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:45:18.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:45:18.784Z] Configure a credential helper to remove this warning. See [2024-02-25T09:45:18.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:45:18.784Z] [2024-02-25T09:45:18.784Z] Login Succeeded [2024-02-25T09:45:18.784Z] nexus3.edgexfoundry.org:10004 [2024-02-25T09:45:19.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:45:19.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:45:19.054Z] Configure a credential helper to remove this warning. See [2024-02-25T09:45:19.054Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:45:19.054Z] [2024-02-25T09:45:19.054Z] Login Succeeded [2024-02-25T09:45:19.054Z] ****.io [2024-02-25T09:45:19.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:45:19.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:45:19.593Z] Configure a credential helper to remove this warning. See [2024-02-25T09:45:19.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:45:19.593Z] [2024-02-25T09:45:19.593Z] Login Succeeded [2024-02-25T09:45:19.593Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T09:45:19.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-25T09:45:19.991Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:45:20.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:45:20.086Z] ========================================================= [2024-02-25T09:45:20.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-25T09:45:20.086Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:45:20.569Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-02-25T09:45:20.837Z] Sending build context to Docker daemon 418.8kB [2024-02-25T09:45:20.837Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:45:20.837Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T09:45:21.107Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-25T09:45:21.107Z] 9fda8d8052c6: Pulling fs layer [2024-02-25T09:45:21.107Z] 5d54e960e981: Pulling fs layer [2024-02-25T09:45:21.107Z] c4a7e357bf2a: Pulling fs layer [2024-02-25T09:45:21.107Z] f0e02332f6b5: Pulling fs layer [2024-02-25T09:45:21.107Z] 872ee5b61b7b: Pulling fs layer [2024-02-25T09:45:21.107Z] 0c6a40ed1a82: Pulling fs layer [2024-02-25T09:45:21.107Z] 94ae7d8d031c: Pulling fs layer [2024-02-25T09:45:21.107Z] 872ee5b61b7b: Waiting [2024-02-25T09:45:21.107Z] 0c6a40ed1a82: Waiting [2024-02-25T09:45:21.107Z] 94ae7d8d031c: Waiting [2024-02-25T09:45:21.107Z] f0e02332f6b5: Waiting [2024-02-25T09:45:21.107Z] 5d54e960e981: Download complete [2024-02-25T09:45:21.107Z] f0e02332f6b5: Verifying Checksum [2024-02-25T09:45:21.107Z] f0e02332f6b5: Download complete [2024-02-25T09:45:21.107Z] 872ee5b61b7b: Verifying Checksum [2024-02-25T09:45:21.107Z] 872ee5b61b7b: Download complete [2024-02-25T09:45:21.107Z] 9fda8d8052c6: Download complete [2024-02-25T09:45:21.695Z] 94ae7d8d031c: Verifying Checksum [2024-02-25T09:45:21.695Z] 94ae7d8d031c: Download complete [2024-02-25T09:45:22.663Z] c4a7e357bf2a: Verifying Checksum [2024-02-25T09:45:22.663Z] c4a7e357bf2a: Download complete [2024-02-25T09:45:23.629Z] 0c6a40ed1a82: Verifying Checksum [2024-02-25T09:45:23.629Z] 0c6a40ed1a82: Download complete [2024-02-25T09:45:26.215Z] 9fda8d8052c6: Pull complete [2024-02-25T09:45:26.805Z] 5d54e960e981: Pull complete [2024-02-25T09:45:41.825Z] c4a7e357bf2a: Pull complete [2024-02-25T09:45:41.825Z] f0e02332f6b5: Pull complete [2024-02-25T09:45:41.825Z] 872ee5b61b7b: Pull complete [2024-02-25T09:45:50.063Z] 0c6a40ed1a82: Pull complete [2024-02-25T09:45:51.473Z] 94ae7d8d031c: Pull complete [2024-02-25T09:45:51.473Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-25T09:45:51.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-25T09:45:51.473Z] ---> 86de565de09d [2024-02-25T09:45:51.473Z] Step 3/10 : ARG MAKE=make build [2024-02-25T09:45:52.435Z] ---> Running in 93bbdcc6fe7f [2024-02-25T09:45:52.435Z] Removing intermediate container 93bbdcc6fe7f [2024-02-25T09:45:52.435Z] ---> edfebecabbac [2024-02-25T09:45:52.435Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T09:45:52.706Z] ---> Running in 89693331fe20 [2024-02-25T09:45:52.974Z] Removing intermediate container 89693331fe20 [2024-02-25T09:45:52.974Z] ---> b2d622ae6d47 [2024-02-25T09:45:52.974Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:45:52.974Z] ---> Running in 59cbeaed8250 [2024-02-25T09:45:53.241Z] Removing intermediate container 59cbeaed8250 [2024-02-25T09:45:53.241Z] ---> 6496a1a516d6 [2024-02-25T09:45:53.241Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:45:53.241Z] ---> Running in 347abcde9b63 [2024-02-25T09:45:54.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:45:54.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:45:55.894Z] OK: 266 MiB in 52 packages [2024-02-25T09:45:56.855Z] Removing intermediate container 347abcde9b63 [2024-02-25T09:45:56.855Z] ---> 2153c008b036 [2024-02-25T09:45:56.855Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T09:45:57.121Z] ---> 6ce3d5a5efbf [2024-02-25T09:45:57.121Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:45:57.394Z] ---> Running in 28502a49d2f5 [2024-02-25T09:47:19.054Z] Removing intermediate container 28502a49d2f5 [2024-02-25T09:47:19.054Z] ---> dfc1e0e55118 [2024-02-25T09:47:19.054Z] Step 9/10 : COPY . . [2024-02-25T09:47:19.054Z] ---> b0f184b39912 [2024-02-25T09:47:19.054Z] Step 10/10 : RUN ${MAKE} [2024-02-25T09:47:19.054Z] ---> Running in 4ebb6bee95cc [2024-02-25T09:47:19.054Z] noop [2024-02-25T09:47:19.321Z] Removing intermediate container 4ebb6bee95cc [2024-02-25T09:47:19.321Z] ---> 1960e8513acc [2024-02-25T09:47:19.593Z] Successfully built 1960e8513acc [2024-02-25T09:47:19.593Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:47:20.040Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T09:47:20.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:47:20.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-1672 does not seem to be running inside a container [2024-02-25T09:47:20.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-02-25T09:47:25.582Z] $ docker top f7fd69f0b84df437b4ec53423123ea257b01b3f68bd160d85cdac6d3100660be -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:47:26.459Z] + go version [2024-02-25T09:47:26.459Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-25T09:47:26.488Z] $ docker stop --time=1 f7fd69f0b84df437b4ec53423123ea257b01b3f68bd160d85cdac6d3100660be [2024-02-25T09:47:28.086Z] $ docker rm -f --volumes f7fd69f0b84df437b4ec53423123ea257b01b3f68bd160d85cdac6d3100660be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:47:28.884Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T09:47:28.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:47:29.131Z] prd-ubuntu20.04-docker-arm64-4c-16g-1672 does not seem to be running inside a container [2024-02-25T09:47:29.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-02-25T09:47:30.409Z] $ docker top b8bf381d36f4e0701f30d0e4559839d242739af156722ddb7afcd6a06f780dd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:47:31.275Z] + git config --global --add safe.directory /w/workspace/device-s7/6 [Pipeline] fileExists [Pipeline] sh [2024-02-25T09:47:31.633Z] + make test [2024-02-25T09:47:31.899Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T09:48:04.104Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T09:49:40.712Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T09:49:40.712Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T09:49:40.712Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-25T09:49:40.712Z] go vet ./... [2024-02-25T09:51:17.344Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T09:51:17.344Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T09:51:17.344Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T09:51:17.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T09:51:17.432Z] $ docker stop --time=1 b8bf381d36f4e0701f30d0e4559839d242739af156722ddb7afcd6a06f780dd6 [2024-02-25T09:51:19.291Z] $ docker rm -f --volumes b8bf381d36f4e0701f30d0e4559839d242739af156722ddb7afcd6a06f780dd6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T09:51:20.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T09:51:20.929Z] Warning: overwriting stash ‘coverage-report’ [2024-02-25T09:51:21.353Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T09:51:22.104Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T09:51:22.422Z] + ls -al . [2024-02-25T09:51:22.422Z] total 132 [2024-02-25T09:51:22.422Z] drwxrwxr-x 7 jenkins jenkins 4096 Feb 25 09:47 . [2024-02-25T09:51:22.422Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:44 .. [2024-02-25T09:51:22.422Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:44 .git [2024-02-25T09:51:22.422Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:44 .github [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:44 .gitignore [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:44 .golangci.yml [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:44 Attribution.txt [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:44 Dockerfile [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:44 Jenkinsfile [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:44 LICENSE [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:44 Makefile [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:44 OWNERS.md [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 09:44 README.md [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:42 VERSION [2024-02-25T09:51:22.422Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:44 bin [2024-02-25T09:51:22.422Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:44 cmd [2024-02-25T09:51:22.422Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:47 coverage.out [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:44 go.mod [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:44 go.sum [2024-02-25T09:51:22.422Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:44 internal [2024-02-25T09:51:22.422Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:51:22.841Z] + docker build -t device-s7-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ca3c6fef86d15399994874e9b28bb0d668ad098d --label arch=arm64 --label version=0.0.0 . [2024-02-25T09:51:23.108Z] Sending build context to Docker daemon 419.8kB [2024-02-25T09:51:23.108Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:51:23.108Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T09:51:23.108Z] ---> 1960e8513acc [2024-02-25T09:51:23.108Z] Step 3/24 : ARG MAKE=make build [2024-02-25T09:51:23.376Z] ---> Running in e36e8d99c84f [2024-02-25T09:51:23.643Z] Removing intermediate container e36e8d99c84f [2024-02-25T09:51:23.643Z] ---> 39c57dd31ed7 [2024-02-25T09:51:23.643Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T09:51:23.643Z] ---> Running in 3d97218798ef [2024-02-25T09:51:23.911Z] Removing intermediate container 3d97218798ef [2024-02-25T09:51:23.911Z] ---> 9414a8692ad1 [2024-02-25T09:51:23.911Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:51:24.179Z] ---> Running in b866286f6ef7 [2024-02-25T09:51:24.454Z] Removing intermediate container b866286f6ef7 [2024-02-25T09:51:24.454Z] ---> 64472857aaa3 [2024-02-25T09:51:24.454Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:51:24.454Z] ---> Running in 7fd86b635d1c [2024-02-25T09:51:25.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:51:25.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:51:27.087Z] OK: 266 MiB in 52 packages [2024-02-25T09:51:27.671Z] Removing intermediate container 7fd86b635d1c [2024-02-25T09:51:27.671Z] ---> 5fe47b9d2b03 [2024-02-25T09:51:27.671Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T09:51:31.917Z] ---> 990052421a6f [2024-02-25T09:51:31.917Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:51:31.917Z] ---> Running in d71e11dd434f [2024-02-25T09:51:34.503Z] Removing intermediate container d71e11dd434f [2024-02-25T09:51:34.503Z] ---> f74aa988bab1 [2024-02-25T09:51:34.503Z] Step 9/24 : COPY . . [2024-02-25T09:51:35.596Z] ---> 03a30388fa53 [2024-02-25T09:51:35.596Z] Step 10/24 : RUN ${MAKE} [2024-02-25T09:51:35.596Z] ---> Running in 0963df273e5d [2024-02-25T09:51:36.593Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-02-25T09:53:28.285Z] Removing intermediate container 0963df273e5d [2024-02-25T09:53:28.285Z] ---> a9878604ebeb [2024-02-25T09:53:28.285Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T09:53:28.285Z] 3.18: Pulling from library/alpine [2024-02-25T09:53:28.285Z] c6b39de5b339: Pulling fs layer [2024-02-25T09:53:28.286Z] c6b39de5b339: Verifying Checksum [2024-02-25T09:53:28.286Z] c6b39de5b339: Download complete [2024-02-25T09:53:28.286Z] c6b39de5b339: Pull complete [2024-02-25T09:53:28.286Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T09:53:28.286Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T09:53:28.286Z] ---> 33abbf032149 [2024-02-25T09:53:28.286Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:53:28.286Z] ---> Running in a32fc06ad38b [2024-02-25T09:53:28.286Z] Removing intermediate container a32fc06ad38b [2024-02-25T09:53:28.286Z] ---> 4b204d8eeeec [2024-02-25T09:53:28.286Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T09:53:28.286Z] ---> Running in 204bab75243c [2024-02-25T09:53:28.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:53:28.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:53:28.286Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T09:53:28.286Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T09:53:28.286Z] OK: 8 MiB in 16 packages [2024-02-25T09:53:28.286Z] Removing intermediate container 204bab75243c [2024-02-25T09:53:28.286Z] ---> 133dea641643 [2024-02-25T09:53:28.286Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T09:53:28.286Z] ---> Running in f07ddc8e6e87 [2024-02-25T09:53:28.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:53:28.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:53:28.866Z] OK: 8 MiB in 16 packages [2024-02-25T09:53:29.821Z] Removing intermediate container f07ddc8e6e87 [2024-02-25T09:53:29.821Z] ---> 19dd26dabcdd [2024-02-25T09:53:29.821Z] Step 15/24 : WORKDIR / [2024-02-25T09:53:29.821Z] ---> Running in 4a63fb39235a [2024-02-25T09:53:30.086Z] Removing intermediate container 4a63fb39235a [2024-02-25T09:53:30.086Z] ---> b2f7e9c4c128 [2024-02-25T09:53:30.086Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-25T09:53:30.668Z] ---> 6df0ecefe782 [2024-02-25T09:53:30.668Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-25T09:53:32.078Z] ---> ab822b8243ed [2024-02-25T09:53:32.078Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-25T09:53:32.657Z] ---> 79abb34333b9 [2024-02-25T09:53:32.657Z] Step 19/24 : EXPOSE 59994 [2024-02-25T09:53:32.657Z] ---> Running in f38005230e23 [2024-02-25T09:53:32.922Z] Removing intermediate container f38005230e23 [2024-02-25T09:53:32.922Z] ---> f8b77afc4b2a [2024-02-25T09:53:32.922Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-25T09:53:32.922Z] ---> Running in 3fda4ae7eb29 [2024-02-25T09:53:33.193Z] Removing intermediate container 3fda4ae7eb29 [2024-02-25T09:53:33.193Z] ---> 5c348ebabf91 [2024-02-25T09:53:33.193Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-25T09:53:33.463Z] ---> Running in d53a6c6b00be [2024-02-25T09:53:33.729Z] Removing intermediate container d53a6c6b00be [2024-02-25T09:53:33.729Z] ---> 829012830eda [2024-02-25T09:53:33.729Z] Step 22/24 : LABEL arch=arm64 [2024-02-25T09:53:33.729Z] ---> Running in b319853c8708 [2024-02-25T09:53:33.994Z] Removing intermediate container b319853c8708 [2024-02-25T09:53:33.994Z] ---> 106990e90352 [2024-02-25T09:53:33.994Z] Step 23/24 : LABEL git_sha=ca3c6fef86d15399994874e9b28bb0d668ad098d [2024-02-25T09:53:33.994Z] ---> Running in b4ab3eb04e22 [2024-02-25T09:53:34.273Z] Removing intermediate container b4ab3eb04e22 [2024-02-25T09:53:34.273Z] ---> 8ee570cdb14e [2024-02-25T09:53:34.273Z] Step 24/24 : LABEL version=0.0.0 [2024-02-25T09:53:34.538Z] ---> Running in 4a0d3dfb6922 [2024-02-25T09:53:34.802Z] Removing intermediate container 4a0d3dfb6922 [2024-02-25T09:53:34.802Z] ---> 524f8464e02d [2024-02-25T09:53:34.802Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-25T09:53:34.802Z] Successfully built 524f8464e02d [2024-02-25T09:53:34.802Z] Successfully tagged device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:53:35.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T09:53:35.599Z] [2024-02-25T09:53:35.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:53:35.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T09:53:35.954Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-25T09:53:35.954Z] 8998bd30e6a1: Pulling fs layer [2024-02-25T09:53:35.954Z] 04944245beec: Pulling fs layer [2024-02-25T09:53:35.954Z] 699f458cf7ca: Pulling fs layer [2024-02-25T09:53:35.954Z] 765212b225bb: Pulling fs layer [2024-02-25T09:53:35.954Z] f23df028b6ca: Pulling fs layer [2024-02-25T09:53:35.954Z] d65c8cfc05b1: Pulling fs layer [2024-02-25T09:53:35.954Z] 2437ff75d9bd: Pulling fs layer [2024-02-25T09:53:35.954Z] 765212b225bb: Waiting [2024-02-25T09:53:35.954Z] f23df028b6ca: Waiting [2024-02-25T09:53:35.954Z] 2437ff75d9bd: Waiting [2024-02-25T09:53:36.220Z] 04944245beec: Verifying Checksum [2024-02-25T09:53:36.220Z] 04944245beec: Download complete [2024-02-25T09:53:36.220Z] 765212b225bb: Verifying Checksum [2024-02-25T09:53:36.220Z] 765212b225bb: Download complete [2024-02-25T09:53:36.220Z] f23df028b6ca: Verifying Checksum [2024-02-25T09:53:36.220Z] f23df028b6ca: Download complete [2024-02-25T09:53:36.220Z] d65c8cfc05b1: Verifying Checksum [2024-02-25T09:53:36.220Z] d65c8cfc05b1: Download complete [2024-02-25T09:53:36.220Z] 699f458cf7ca: Verifying Checksum [2024-02-25T09:53:36.220Z] 699f458cf7ca: Download complete [2024-02-25T09:53:36.804Z] 8998bd30e6a1: Download complete [2024-02-25T09:53:39.379Z] 2437ff75d9bd: Verifying Checksum [2024-02-25T09:53:39.379Z] 2437ff75d9bd: Download complete [2024-02-25T09:53:41.323Z] 8998bd30e6a1: Pull complete [2024-02-25T09:53:41.906Z] 04944245beec: Pull complete [2024-02-25T09:53:43.322Z] 699f458cf7ca: Pull complete [2024-02-25T09:53:43.589Z] 765212b225bb: Pull complete [2024-02-25T09:53:44.552Z] f23df028b6ca: Pull complete [2024-02-25T09:53:44.820Z] d65c8cfc05b1: Pull complete [2024-02-25T09:54:03.024Z] 2437ff75d9bd: Pull complete [2024-02-25T09:54:03.024Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-25T09:54:03.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T09:54:03.024Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:54:03.364Z] prd-ubuntu20.04-docker-arm64-4c-16g-1672 does not seem to be running inside a container [2024-02-25T09:54:03.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-02-25T09:54:06.133Z] $ docker top 8c8c001f0eb08a9ba04660b5c36eacfb85f6f2dbc89ae8f8dd11818f9dadbc9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:54:07.030Z] ---> job-cost.sh [2024-02-25T09:54:07.030Z] lf-activate-venv: SKIPPING [2024-02-25T09:54:07.030Z] INFO: No Stack... [2024-02-25T09:54:12.048Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-25T09:54:13.004Z] INFO: Archiving Costs [Pipeline] sh [2024-02-25T09:54:13.637Z] + cat /w/workspace/device-s7/6/archives/cost.csv [2024-02-25T09:54:13.637Z] + cut -d, -f6 [Pipeline] lock [2024-02-25T09:54:13.694Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [2024-02-25T09:54:13.701Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] did not exist. Created. [2024-02-25T09:54:13.706Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T09:54:14.420Z] /w/workspace/device-s7/6@tmp/durable-b2ac1950/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-25T09:54:15.226Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-25T09:54:15.283Z] Warning: overwriting stash ‘stack-cost’ [2024-02-25T09:54:15.325Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T09:54:15.332Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-25T09:54:15.433Z] $ docker stop --time=1 8c8c001f0eb08a9ba04660b5c36eacfb85f6f2dbc89ae8f8dd11818f9dadbc9d [2024-02-25T09:54:16.919Z] $ docker rm -f --volumes 8c8c001f0eb08a9ba04660b5c36eacfb85f6f2dbc89ae8f8dd11818f9dadbc9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-02-25T09:54:18.158Z] provisioning config files... [2024-02-25T09:54:18.158Z] not able to provide the file [ManagedFile: id=device-s7-codecov-token, targetLocation=null, variable=CODECOV_TOKEN_FILE], can't be resolved by any provider - maybe it got deleted by an administrator? [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-02-25T09:54:20.162Z] + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] [2024-02-25T09:54:20.162Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T09:54:20.162Z] total 16 [2024-02-25T09:54:20.162Z] drwxr-xr-x 3 root root 4096 Feb 25 09:45 . [2024-02-25T09:54:20.162Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:45 .. [2024-02-25T09:54:20.162Z] drwxr-xr-x 2 root root 4096 Feb 25 09:45 cost [2024-02-25T09:54:20.162Z] -rw-r--r-- 1 root root 79 Feb 25 09:45 cost.csv [2024-02-25T09:54:20.162Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T09:54:20.162Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T09:54:20.162Z] total 16 [2024-02-25T09:54:20.162Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:45 . [2024-02-25T09:54:20.162Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:45 .. [2024-02-25T09:54:20.162Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 09:45 cost [2024-02-25T09:54:20.162Z] -rw-r--r-- 1 jenkins jenkins 79 Feb 25 09:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:54:20.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:54:21.315Z] ---> package-listing.sh [2024-02-25T09:54:21.315Z] ++ facter osfamily [2024-02-25T09:54:21.315Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-25T09:54:21.574Z] + OS_FAMILY=debian [2024-02-25T09:54:21.574Z] + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 [2024-02-25T09:54:21.574Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-25T09:54:21.574Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-25T09:54:21.574Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-25T09:54:21.574Z] + PACKAGES=/tmp/packages_start.txt [2024-02-25T09:54:21.574Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T09:54:21.574Z] + PACKAGES=/tmp/packages_end.txt [2024-02-25T09:54:21.574Z] + case "${OS_FAMILY}" in [2024-02-25T09:54:21.574Z] + dpkg -l [2024-02-25T09:54:21.574Z] + grep '^ii' [2024-02-25T09:54:21.574Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-25T09:54:21.574Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-25T09:54:21.574Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-25T09:54:21.574Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T09:54:21.574Z] + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [2024-02-25T09:54:21.574Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [Pipeline] echo [2024-02-25T09:54:21.587Z] 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_PR-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-02-25T09:54:21.867Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:54:22.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:54:22.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:54:22.366Z] prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container [2024-02-25T09:54:22.398Z] $ 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_PR-9/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_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-25T09:54:22.589Z] $ docker top a7f91a70d45675c9bbd2c4d7e90a9cc2d153394d464bd7293fc7adb5f4cd6f04 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:54:23.017Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-25T09:54:23.303Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-25T09:54:23.592Z] + ls /var/log/sa-host [2024-02-25T09:54:23.592Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T09:54:23.782Z] provisioning config files... [2024-02-25T09:54:23.791Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config4462380270537385714tmp [Pipeline] { [Pipeline] echo [2024-02-25T09:54:23.880Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:54:24.169Z] ---> create-netrc.sh [Pipeline] } [2024-02-25T09:54:24.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:54:24.606Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-25T09:54:24.617Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:54:24.904Z] ---> sudo-logs.sh [2024-02-25T09:54:24.904Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-25T09:54:24.988Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:54:25.275Z] ---> job-cost.sh [2024-02-25T09:54:25.275Z] lf-activate-venv: SKIPPING [2024-02-25T09:54:25.275Z] DEBUG: total: 0.2199999988079071 [2024-02-25T09:54:25.275Z] INFO: Retrieving Stack Cost... [2024-02-25T09:54:25.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T09:54:25.793Z] INFO: Archiving Costs [Pipeline] echo [2024-02-25T09:54:25.806Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:54:26.091Z] ---> logs-deploy.sh [2024-02-25T09:54:26.091Z] lf-activate-venv: SKIPPING [2024-02-25T09:54:26.091Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/6 [2024-02-25T09:54:26.091Z] INFO: archiving workspace using pattern(s): [2024-02-25T09:54:27.030Z] Archives upload complete. [2024-02-25T09:54:27.030Z] INFO: archiving logs to Nexus