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 a9a6f66d479947a211bd01278a262dd7d70af05d 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-ssh6682202641293163974.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-ssh5679045715226614081.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-ssh16650633643948654844.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-ssh7043746770353642365.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-ssh11750639596589178753.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1664 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 a9a6f66d479947a211bd01278a262dd7d70af05d Merge succeeded, producing a9a6f66d479947a211bd01278a262dd7d70af05d Checking out Revision a9a6f66d479947a211bd01278a262dd7d70af05d (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 a9a6f66d479947a211bd01278a262dd7d70af05d # 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 a9a6f66d479947a211bd01278a262dd7d70af05d # 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-25T08:45:56.537Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-25T08:45:56.630Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-25T08:45:56.665Z] ========================================================= [2024-02-25T08:45:56.665Z] EdgeX Global Pipelines Version Info [2024-02-25T08:45:56.665Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e75c90b1475714c717795b89534b21aa4be905b7 # timeout=10 [2024-02-25T08:45:57.394Z] ------------------- [2024-02-25T08:45:57.394Z] stable info: [2024-02-25T08:45:57.394Z] ------------------- [2024-02-25T08:45:57.394Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-25T08:45:57.394Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T08:45:57.394Z] Message: update stable to v1.0.258 [2024-02-25T08:45:57.969Z] ------------------- [2024-02-25T08:45:57.969Z] experimental info: [2024-02-25T08:45:57.969Z] ------------------- [2024-02-25T08:45:57.969Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-25T08:45:57.970Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T08:45:57.970Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-25T08:45:58.059Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo [2024-02-25T08:45:58.083Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo [2024-02-25T08:45:58.107Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-25T08:45:58.135Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-25T08:45:58.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-25T08:45:58.189Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-25T08:45:58.219Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-25T08:45:58.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-25T08:45:58.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-25T08:45:58.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-25T08:45:58.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-25T08:45:58.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo [2024-02-25T08:45:58.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-25T08:45:58.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-25T08:45:58.538Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T08:45:58.573Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T08:45:58.603Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T08:45:58.631Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T08:45:58.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-25T08:45:58.693Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-25T08:45:58.725Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-25T08:45:58.762Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-25T08:45:58.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-25T08:45:58.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-25T08:45:58.875Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-25T08:45:58.914Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-25T08:45:58.952Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-25T08:45:58.993Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo [2024-02-25T08:45:59.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo [2024-02-25T08:45:59.064Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo [2024-02-25T08:45:59.101Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a9a6f66d479947a211bd01278a262dd7d70af05d [Pipeline] echo [2024-02-25T08:45:59.137Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a9a6f66 [Pipeline] echo [2024-02-25T08:45:59.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T08:45:59.260Z] provisioning config files... [2024-02-25T08:45:59.275Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config14026797225367537564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:45:59.616Z] ---> ****-login.sh [2024-02-25T08:45:59.616Z] nexus3.edgexfoundry.org:10001 [2024-02-25T08:45:59.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:00.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:00.148Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:00.148Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:00.148Z] [2024-02-25T08:46:00.148Z] Login Succeeded [2024-02-25T08:46:00.148Z] nexus3.edgexfoundry.org:10002 [2024-02-25T08:46:00.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:00.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:00.148Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:00.148Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:00.148Z] [2024-02-25T08:46:00.148Z] Login Succeeded [2024-02-25T08:46:00.148Z] nexus3.edgexfoundry.org:10003 [2024-02-25T08:46:00.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:00.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:00.411Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:00.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:00.411Z] [2024-02-25T08:46:00.411Z] Login Succeeded [2024-02-25T08:46:00.411Z] nexus3.edgexfoundry.org:10004 [2024-02-25T08:46:00.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:00.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:00.411Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:00.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:00.411Z] [2024-02-25T08:46:00.411Z] Login Succeeded [2024-02-25T08:46:00.411Z] ****.io [2024-02-25T08:46:00.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:00.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:00.672Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:00.672Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:00.672Z] [2024-02-25T08:46:00.672Z] Login Succeeded [2024-02-25T08:46:00.672Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T08:46:00.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-25T08:46:01.185Z] + git rev-list -1 --merges a9a6f66d479947a211bd01278a262dd7d70af05d~1..a9a6f66d479947a211bd01278a262dd7d70af05d [Pipeline] echo [2024-02-25T08:46:01.218Z] -----------> git rev-list -1 --merges a9a6f66d479947a211bd01278a262dd7d70af05d~1..a9a6f66d479947a211bd01278a262dd7d70af05d a9a6f66d479947a211bd01278a262dd7d70af05d [false] [Pipeline] sh [2024-02-25T08:46:01.527Z] + git log --format=format:%s -1 a9a6f66d479947a211bd01278a262dd7d70af05d [Pipeline] echo [2024-02-25T08:46:01.542Z] ========================================================= [2024-02-25T08:46:01.542Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-25T08:46:01.542Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T08:46:01.918Z] + git log --format=format:%s -1 a9a6f66d479947a211bd01278a262dd7d70af05d [Pipeline] echo [2024-02-25T08:46:01.929Z] [semverPrep] GIT_COMMIT: a9a6f66d479947a211bd01278a262dd7d70af05d, Commit Message: fix: fix test process [Pipeline] echo [2024-02-25T08:46:01.951Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-25T08:46:02.353Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-25T08:46:02.353Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-25T08:46:02.353Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-25T08:46:02.353Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-25T08:46:02.353Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-25T08:46:02.353Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-25T08:46:02.353Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:46:02.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T08:46:02.779Z] [2024-02-25T08:46:02.779Z] 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-25T08:46:03.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T08:46:03.095Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-25T08:46:03.095Z] b85a868b505f: Pulling fs layer [2024-02-25T08:46:03.095Z] e2be974225ed: Pulling fs layer [2024-02-25T08:46:03.095Z] 339a4e72a1f5: Pulling fs layer [2024-02-25T08:46:03.095Z] 988bab9f4d93: Pulling fs layer [2024-02-25T08:46:03.095Z] 1469e6f7b9e6: Pulling fs layer [2024-02-25T08:46:03.095Z] eaf3925da568: Pulling fs layer [2024-02-25T08:46:03.095Z] bab4dde63d76: Pulling fs layer [2024-02-25T08:46:03.095Z] bde34c3a00c8: Pulling fs layer [2024-02-25T08:46:03.095Z] b352a97aabf1: Pulling fs layer [2024-02-25T08:46:03.095Z] 4872d77fe225: Pulling fs layer [2024-02-25T08:46:03.095Z] 5851b861e8e6: Pulling fs layer [2024-02-25T08:46:03.095Z] bab4dde63d76: Waiting [2024-02-25T08:46:03.095Z] bde34c3a00c8: Waiting [2024-02-25T08:46:03.095Z] b352a97aabf1: Waiting [2024-02-25T08:46:03.095Z] 4872d77fe225: Waiting [2024-02-25T08:46:03.095Z] 5851b861e8e6: Waiting [2024-02-25T08:46:03.095Z] 988bab9f4d93: Waiting [2024-02-25T08:46:03.095Z] 1469e6f7b9e6: Waiting [2024-02-25T08:46:03.095Z] eaf3925da568: Waiting [2024-02-25T08:46:03.095Z] e2be974225ed: Verifying Checksum [2024-02-25T08:46:03.095Z] e2be974225ed: Download complete [2024-02-25T08:46:03.095Z] 988bab9f4d93: Verifying Checksum [2024-02-25T08:46:03.095Z] 988bab9f4d93: Download complete [2024-02-25T08:46:03.095Z] 1469e6f7b9e6: Verifying Checksum [2024-02-25T08:46:03.095Z] 1469e6f7b9e6: Download complete [2024-02-25T08:46:03.355Z] eaf3925da568: Download complete [2024-02-25T08:46:03.355Z] 339a4e72a1f5: Verifying Checksum [2024-02-25T08:46:03.355Z] 339a4e72a1f5: Download complete [2024-02-25T08:46:03.355Z] bde34c3a00c8: Verifying Checksum [2024-02-25T08:46:03.355Z] bde34c3a00c8: Download complete [2024-02-25T08:46:03.355Z] b352a97aabf1: Verifying Checksum [2024-02-25T08:46:03.355Z] b352a97aabf1: Download complete [2024-02-25T08:46:03.355Z] 4872d77fe225: Verifying Checksum [2024-02-25T08:46:03.355Z] 4872d77fe225: Download complete [2024-02-25T08:46:03.355Z] 5851b861e8e6: Verifying Checksum [2024-02-25T08:46:03.355Z] 5851b861e8e6: Download complete [2024-02-25T08:46:03.355Z] b85a868b505f: Verifying Checksum [2024-02-25T08:46:03.355Z] b85a868b505f: Download complete [2024-02-25T08:46:03.615Z] bab4dde63d76: Verifying Checksum [2024-02-25T08:46:03.615Z] bab4dde63d76: Download complete [2024-02-25T08:46:04.554Z] b85a868b505f: Pull complete [2024-02-25T08:46:04.813Z] e2be974225ed: Pull complete [2024-02-25T08:46:05.383Z] 339a4e72a1f5: Pull complete [2024-02-25T08:46:05.383Z] 988bab9f4d93: Pull complete [2024-02-25T08:46:05.642Z] 1469e6f7b9e6: Pull complete [2024-02-25T08:46:05.642Z] eaf3925da568: Pull complete [2024-02-25T08:46:07.548Z] bab4dde63d76: Pull complete [2024-02-25T08:46:07.548Z] bde34c3a00c8: Pull complete [2024-02-25T08:46:07.548Z] b352a97aabf1: Pull complete [2024-02-25T08:46:07.808Z] 4872d77fe225: Pull complete [2024-02-25T08:46:07.808Z] 5851b861e8e6: Pull complete [2024-02-25T08:46:07.808Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-25T08:46:07.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T08:46:07.808Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T08:46:08.009Z] prd-ubuntu20.04-docker-8c-8g-1664 does not seem to be running inside a container [2024-02-25T08:46:08.042Z] $ 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-25T08:46:11.773Z] $ docker top 28a2fc0b0f2e4d3eeff6c1ead3690a208bd9e57a2e8034cc5b745e719a98f5a1 -eo pid,comm [2024-02-25T08:46:11.825Z] 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-25T08:46:11.825Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-25T08:46:11.913Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T08:46:11.913Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T08:46:12.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T08:46:12.028Z] $ docker exec 28a2fc0b0f2e4d3eeff6c1ead3690a208bd9e57a2e8034cc5b745e719a98f5a1 ssh-agent [2024-02-25T08:46:12.131Z] SSH_AUTH_SOCK=/tmp/ssh-4LjTglZVItQd/agent.32 [2024-02-25T08:46:12.131Z] SSH_AGENT_PID=38 [2024-02-25T08:46:12.137Z] Running ssh-add (command line suppressed) [2024-02-25T08:46:12.248Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_18365945125248584785.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_18365945125248584785.key) [2024-02-25T08:46:12.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T08:46:12.563Z] + git tag --points-at HEAD [Pipeline] } [2024-02-25T08:46:12.578Z] $ docker exec --env ******** --env ******** 28a2fc0b0f2e4d3eeff6c1ead3690a208bd9e57a2e8034cc5b745e719a98f5a1 ssh-agent -k [2024-02-25T08:46:12.687Z] unset SSH_AUTH_SOCK; [2024-02-25T08:46:12.687Z] unset SSH_AGENT_PID; [2024-02-25T08:46:12.687Z] echo Agent pid 38 killed; [2024-02-25T08:46:12.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-25T08:46:12.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T08:46:12.767Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T08:46:12.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T08:46:12.878Z] $ docker exec 28a2fc0b0f2e4d3eeff6c1ead3690a208bd9e57a2e8034cc5b745e719a98f5a1 ssh-agent [2024-02-25T08:46:12.975Z] SSH_AUTH_SOCK=/tmp/ssh-O5NnkP95ElPK/agent.70 [2024-02-25T08:46:12.975Z] SSH_AGENT_PID=76 [2024-02-25T08:46:12.980Z] Running ssh-add (command line suppressed) [2024-02-25T08:46:13.086Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_7939489873126606500.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_7939489873126606500.key) [2024-02-25T08:46:13.094Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T08:46:13.396Z] + git semver init [2024-02-25T08:46:13.655Z] 2024-02-25 08:46:13,570 [run_init] DEBUG init version:0.0.0 force:False [2024-02-25T08:46:13.655Z] 2024-02-25 08:46:13,571 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T08:46:13.655Z] 2024-02-25 08:46:13,571 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T08:46:13.655Z] 2024-02-25 08:46:13,571 [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-25T08:46:14.222Z] 2024-02-25 08:46:14,212 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude [2024-02-25T08:46:14.222Z] 2024-02-25 08:46:14,213 [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-25T08:46:14.222Z] 2024-02-25 08:46:14,213 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T08:46:14.222Z] 2024-02-25 08:46:14,216 [execute] INFO git cat-file --batch-check [2024-02-25T08:46:14.222Z] 2024-02-25 08:46:14,217 [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-25T08:46:14.222Z] 2024-02-25 08:46:14,223 [execute] INFO git cat-file --batch [2024-02-25T08:46:14.222Z] 2024-02-25 08:46:14,223 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) [2024-02-25T08:46:14.481Z] 2024-02-25 08:46:14,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T08:46:14.481Z] 0.0.0 [Pipeline] } [2024-02-25T08:46:14.495Z] $ docker exec --env ******** --env ******** 28a2fc0b0f2e4d3eeff6c1ead3690a208bd9e57a2e8034cc5b745e719a98f5a1 ssh-agent -k [2024-02-25T08:46:14.598Z] unset SSH_AUTH_SOCK; [2024-02-25T08:46:14.598Z] unset SSH_AGENT_PID; [2024-02-25T08:46:14.598Z] echo Agent pid 76 killed; [2024-02-25T08:46:14.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-25T08:46:14.975Z] + git semver [Pipeline] } [2024-02-25T08:46:15.253Z] $ docker stop --time=1 28a2fc0b0f2e4d3eeff6c1ead3690a208bd9e57a2e8034cc5b745e719a98f5a1 [2024-02-25T08:46:16.564Z] $ docker rm -f --volumes 28a2fc0b0f2e4d3eeff6c1ead3690a208bd9e57a2e8034cc5b745e719a98f5a1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T08:46:16.933Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-25T08:46:17.183Z] Stashed 1 file(s) [Pipeline] echo [2024-02-25T08:46:17.186Z] [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-25T08:46:17.580Z] provisioning config files... [2024-02-25T08:46:17.589Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config4427256029383845762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:46:17.914Z] ---> ****-login.sh [2024-02-25T08:46:17.914Z] nexus3.edgexfoundry.org:10001 [2024-02-25T08:46:17.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:17.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:17.915Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:17.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:17.915Z] [2024-02-25T08:46:17.915Z] Login Succeeded [2024-02-25T08:46:17.915Z] nexus3.edgexfoundry.org:10002 [2024-02-25T08:46:17.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:17.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:17.915Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:17.915Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:17.915Z] [2024-02-25T08:46:17.915Z] Login Succeeded [2024-02-25T08:46:17.915Z] nexus3.edgexfoundry.org:10003 [2024-02-25T08:46:18.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:18.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:18.175Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:18.175Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:18.175Z] [2024-02-25T08:46:18.175Z] Login Succeeded [2024-02-25T08:46:18.175Z] nexus3.edgexfoundry.org:10004 [2024-02-25T08:46:18.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:18.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:18.176Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:18.176Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:18.176Z] [2024-02-25T08:46:18.176Z] Login Succeeded [2024-02-25T08:46:18.176Z] ****.io [2024-02-25T08:46:18.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:46:18.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:46:18.435Z] Configure a credential helper to remove this warning. See [2024-02-25T08:46:18.435Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:46:18.435Z] [2024-02-25T08:46:18.435Z] Login Succeeded [2024-02-25T08:46:18.435Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T08:46:18.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-25T08:46:18.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T08:46:18.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T08:46:18.678Z] ========================================================= [2024-02-25T08:46:18.678Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-25T08:46:18.678Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:46:19.084Z] + 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-25T08:46:19.085Z] Sending build context to Docker daemon 537.1kB [2024-02-25T08:46:19.085Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T08:46:19.085Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T08:46:19.085Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-25T08:46:19.085Z] 7264a8db6415: Pulling fs layer [2024-02-25T08:46:19.085Z] c4d48a809fc2: Pulling fs layer [2024-02-25T08:46:19.085Z] 4f1c88b9dad5: Pulling fs layer [2024-02-25T08:46:19.085Z] ad3a456e5733: Pulling fs layer [2024-02-25T08:46:19.085Z] 69c7f0334f64: Pulling fs layer [2024-02-25T08:46:19.085Z] 1f1c1a5573a3: Pulling fs layer [2024-02-25T08:46:19.085Z] ce7588e14bc9: Pulling fs layer [2024-02-25T08:46:19.085Z] ad3a456e5733: Waiting [2024-02-25T08:46:19.085Z] 69c7f0334f64: Waiting [2024-02-25T08:46:19.085Z] b5e4710f87ac: Pulling fs layer [2024-02-25T08:46:19.085Z] ce7588e14bc9: Waiting [2024-02-25T08:46:19.085Z] b5e4710f87ac: Waiting [2024-02-25T08:46:19.085Z] c4d48a809fc2: Download complete [2024-02-25T08:46:19.085Z] ad3a456e5733: Verifying Checksum [2024-02-25T08:46:19.085Z] ad3a456e5733: Download complete [2024-02-25T08:46:19.085Z] 69c7f0334f64: Download complete [2024-02-25T08:46:19.085Z] 7264a8db6415: Verifying Checksum [2024-02-25T08:46:19.085Z] 7264a8db6415: Download complete [2024-02-25T08:46:19.342Z] 1f1c1a5573a3: Verifying Checksum [2024-02-25T08:46:19.342Z] 1f1c1a5573a3: Download complete [2024-02-25T08:46:19.342Z] 7264a8db6415: Pull complete [2024-02-25T08:46:19.342Z] b5e4710f87ac: Verifying Checksum [2024-02-25T08:46:19.342Z] b5e4710f87ac: Download complete [2024-02-25T08:46:19.600Z] c4d48a809fc2: Pull complete [2024-02-25T08:46:19.600Z] 4f1c88b9dad5: Download complete [2024-02-25T08:46:20.166Z] ce7588e14bc9: Verifying Checksum [2024-02-25T08:46:20.166Z] ce7588e14bc9: Download complete [2024-02-25T08:46:23.466Z] 4f1c88b9dad5: Pull complete [2024-02-25T08:46:23.466Z] ad3a456e5733: Pull complete [2024-02-25T08:46:23.466Z] 69c7f0334f64: Pull complete [2024-02-25T08:46:23.466Z] 1f1c1a5573a3: Pull complete [2024-02-25T08:46:26.000Z] ce7588e14bc9: Pull complete [2024-02-25T08:46:26.000Z] b5e4710f87ac: Pull complete [2024-02-25T08:46:26.000Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-25T08:46:26.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-25T08:46:26.000Z] ---> 88b5674ff536 [2024-02-25T08:46:26.000Z] Step 3/10 : ARG MAKE=make build [2024-02-25T08:46:31.279Z] ---> Running in bc538e59245e [2024-02-25T08:46:31.279Z] Removing intermediate container bc538e59245e [2024-02-25T08:46:31.279Z] ---> 52eb37a8007b [2024-02-25T08:46:31.279Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T08:46:31.279Z] ---> Running in 66a5b459a489 [2024-02-25T08:46:31.279Z] Removing intermediate container 66a5b459a489 [2024-02-25T08:46:31.279Z] ---> d911e96604c5 [2024-02-25T08:46:31.279Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T08:46:31.279Z] ---> Running in eace3e1db243 [2024-02-25T08:46:31.279Z] Removing intermediate container eace3e1db243 [2024-02-25T08:46:31.279Z] ---> 3d6c39b7d2b2 [2024-02-25T08:46:31.279Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T08:46:31.279Z] ---> Running in 4ef7dfd20dcf [2024-02-25T08:46:31.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T08:46:31.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T08:46:32.060Z] OK: 264 MiB in 52 packages [2024-02-25T08:46:32.322Z] Removing intermediate container 4ef7dfd20dcf [2024-02-25T08:46:32.322Z] ---> 083ed074e896 [2024-02-25T08:46:32.322Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T08:46:32.479Z] Still waiting to schedule task [2024-02-25T08:46:32.480Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-02-25T08:46:32.583Z] ---> 46bbcb5b3ef8 [2024-02-25T08:46:32.583Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T08:46:32.583Z] ---> Running in 7b2822e06ecb [2024-02-25T08:47:19.293Z] Removing intermediate container 7b2822e06ecb [2024-02-25T08:47:19.293Z] ---> c12472f1e8f1 [2024-02-25T08:47:19.293Z] Step 9/10 : COPY . . [2024-02-25T08:47:19.293Z] ---> f0fa5c0f9894 [2024-02-25T08:47:19.293Z] Step 10/10 : RUN ${MAKE} [2024-02-25T08:47:19.293Z] ---> Running in ef4c200a46b9 [2024-02-25T08:47:19.293Z] noop [2024-02-25T08:47:19.293Z] Removing intermediate container ef4c200a46b9 [2024-02-25T08:47:19.293Z] ---> 058f359b2c1e [2024-02-25T08:47:19.293Z] Successfully built 058f359b2c1e [2024-02-25T08:47:19.293Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:47:19.675Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T08:47:19.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T08:47:19.792Z] prd-ubuntu20.04-docker-8c-8g-1664 does not seem to be running inside a container [2024-02-25T08:47:19.824Z] $ 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-25T08:47:20.158Z] $ docker top 0acf9b38f37c47febb5d5d310d761016daf196db22d97c1c174d4ea293e7cf25 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T08:47:20.543Z] + go version [2024-02-25T08:47:20.543Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-25T08:47:20.558Z] $ docker stop --time=1 0acf9b38f37c47febb5d5d310d761016daf196db22d97c1c174d4ea293e7cf25 [2024-02-25T08:47:21.813Z] $ docker rm -f --volumes 0acf9b38f37c47febb5d5d310d761016daf196db22d97c1c174d4ea293e7cf25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:47:22.385Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T08:47:22.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T08:47:22.508Z] prd-ubuntu20.04-docker-8c-8g-1664 does not seem to be running inside a container [2024-02-25T08:47:22.546Z] $ 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-25T08:47:22.881Z] $ docker top bdb916e18f4a041f85c69ee5d851bc0605c6b1dcb4b03494fe31f47ba158a2d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T08:47:23.268Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh [2024-02-25T08:47:23.590Z] + make test [2024-02-25T08:47:23.590Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T08:47:30.168Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T08:47:42.366Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T08:47:42.366Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T08:48:00.450Z] go vet ./... [2024-02-25T08:48:03.731Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T08:48:03.731Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T08:48:03.731Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T08:48:03.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T08:48:03.783Z] $ docker stop --time=1 bdb916e18f4a041f85c69ee5d851bc0605c6b1dcb4b03494fe31f47ba158a2d1 [2024-02-25T08:48:08.200Z] $ docker rm -f --volumes bdb916e18f4a041f85c69ee5d851bc0605c6b1dcb4b03494fe31f47ba158a2d1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T08:48:08.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T08:48:08.830Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-25T08:48:09.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T08:48:09.722Z] + ls -al . [2024-02-25T08:48:09.722Z] total 124 [2024-02-25T08:48:09.722Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 08:47 . [2024-02-25T08:48:09.722Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 08:45 .. [2024-02-25T08:48:09.722Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 08:47 .git [2024-02-25T08:48:09.722Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 08:45 .github [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 08:45 .gitignore [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 08:45 .golangci.yml [2024-02-25T08:48:09.722Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 08:46 .semver [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 08:45 Attribution.txt [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 1550 Feb 25 08:45 Dockerfile [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 08:45 Jenkinsfile [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 08:45 Makefile [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 08:45 OWNERS.md [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 08:45 README.md [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 08:46 VERSION [2024-02-25T08:48:09.722Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 08:45 bin [2024-02-25T08:48:09.722Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 08:45 cmd [2024-02-25T08:48:09.722Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 08:47 coverage.out [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 08:45 go.mod [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 08:45 go.sum [2024-02-25T08:48:09.722Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 08:45 internal [2024-02-25T08:48:09.722Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 08:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:48:10.099Z] + 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=a9a6f66d479947a211bd01278a262dd7d70af05d --label arch=amd64 --label version=0.0.0 . [2024-02-25T08:48:10.100Z] Sending build context to Docker daemon 538.1kB [2024-02-25T08:48:10.100Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T08:48:10.100Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T08:48:10.100Z] ---> 058f359b2c1e [2024-02-25T08:48:10.100Z] Step 3/24 : ARG MAKE=make build [2024-02-25T08:48:10.359Z] ---> Running in b45aa47a23d5 [2024-02-25T08:48:10.359Z] Removing intermediate container b45aa47a23d5 [2024-02-25T08:48:10.359Z] ---> 8129905b716f [2024-02-25T08:48:10.359Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T08:48:10.359Z] ---> Running in d34ae800ce1c [2024-02-25T08:48:10.359Z] Removing intermediate container d34ae800ce1c [2024-02-25T08:48:10.359Z] ---> a0c2ff84e6a2 [2024-02-25T08:48:10.359Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T08:48:10.359Z] ---> Running in 57bce798fdfc [2024-02-25T08:48:10.616Z] Removing intermediate container 57bce798fdfc [2024-02-25T08:48:10.616Z] ---> e45448d0bf29 [2024-02-25T08:48:10.616Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T08:48:10.616Z] ---> Running in ed273c1b2ccb [2024-02-25T08:48:10.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T08:48:10.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T08:48:11.132Z] OK: 264 MiB in 52 packages [2024-02-25T08:48:11.698Z] Removing intermediate container ed273c1b2ccb [2024-02-25T08:48:11.698Z] ---> 564cec160b42 [2024-02-25T08:48:11.698Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T08:48:11.698Z] ---> b1b940e394d0 [2024-02-25T08:48:11.698Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T08:48:11.698Z] ---> Running in ef65887162cb [2024-02-25T08:48:12.633Z] Removing intermediate container ef65887162cb [2024-02-25T08:48:12.634Z] ---> 0cbdee63df1b [2024-02-25T08:48:12.634Z] Step 9/24 : COPY . . [2024-02-25T08:48:12.634Z] ---> 997154e60a4e [2024-02-25T08:48:12.634Z] Step 10/24 : RUN ${MAKE} [2024-02-25T08:48:12.893Z] ---> Running in 62316ab95f7f [2024-02-25T08:48:13.152Z] 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-25T08:48:27.054Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1665 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] ws [2024-02-25T08:48:27.091Z] Running in /w/workspace/device-s7/3 [Pipeline] { [Pipeline] checkout [2024-02-25T08:48:30.172Z] Selected Git installation does not exist. Using Default [2024-02-25T08:48:30.172Z] The recommended git tool is: NONE [2024-02-25T08:48:35.088Z] Removing intermediate container 62316ab95f7f [2024-02-25T08:48:35.088Z] ---> 772be51b1e61 [2024-02-25T08:48:35.088Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T08:48:35.088Z] 3.18: Pulling from library/alpine [2024-02-25T08:48:35.088Z] 619be1103602: Pulling fs layer [2024-02-25T08:48:35.088Z] 619be1103602: Download complete [2024-02-25T08:48:35.088Z] 619be1103602: Pull complete [2024-02-25T08:48:35.088Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T08:48:35.088Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T08:48:35.088Z] ---> d3782b16ccc9 [2024-02-25T08:48:35.088Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T08:48:35.088Z] ---> Running in 4aa4c9c32c05 [2024-02-25T08:48:35.088Z] Removing intermediate container 4aa4c9c32c05 [2024-02-25T08:48:35.088Z] ---> 55bd7c27aa80 [2024-02-25T08:48:35.088Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T08:48:35.088Z] ---> Running in 2fa438a40e2c [2024-02-25T08:48:35.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T08:48:35.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T08:48:35.088Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T08:48:35.088Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T08:48:35.088Z] OK: 7 MiB in 16 packages [2024-02-25T08:48:35.088Z] Removing intermediate container 2fa438a40e2c [2024-02-25T08:48:35.088Z] ---> b5cda1b593f1 [2024-02-25T08:48:35.088Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T08:48:35.088Z] ---> Running in d791fac6688e [2024-02-25T08:48:35.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T08:48:35.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T08:48:35.606Z] OK: 7 MiB in 16 packages [2024-02-25T08:48:36.174Z] Removing intermediate container d791fac6688e [2024-02-25T08:48:36.174Z] ---> 2da637c9157a [2024-02-25T08:48:36.174Z] Step 15/24 : WORKDIR / [2024-02-25T08:48:36.174Z] ---> Running in dc4c6f2fad32 [2024-02-25T08:48:36.174Z] Removing intermediate container dc4c6f2fad32 [2024-02-25T08:48:36.174Z] ---> ea5bf3068a81 [2024-02-25T08:48:36.174Z] Step 16/24 : COPY --from=builder /device-s7/cmd/Attribution.txt /Attribution.txt [2024-02-25T08:48:36.174Z] COPY failed: stat device-s7/cmd/Attribution.txt: file does not exist [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:48:36.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T08:48:36.854Z] [2024-02-25T08:48:36.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:48:37.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T08:48:37.183Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-25T08:48:37.183Z] 5eb5b503b376: Pulling fs layer [2024-02-25T08:48:37.183Z] 5c69ac0246d0: Pulling fs layer [2024-02-25T08:48:37.183Z] ec43610c2a17: Pulling fs layer [2024-02-25T08:48:37.183Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-25T08:48:37.183Z] 33b1e0a273af: Pulling fs layer [2024-02-25T08:48:37.183Z] 5d3b04190fa2: Pulling fs layer [2024-02-25T08:48:37.183Z] 2f39f015ded8: Pulling fs layer [2024-02-25T08:48:37.183Z] 3a2ae6a8a46f: Waiting [2024-02-25T08:48:37.183Z] 33b1e0a273af: Waiting [2024-02-25T08:48:37.183Z] 5d3b04190fa2: Waiting [2024-02-25T08:48:37.183Z] 5c69ac0246d0: Download complete [2024-02-25T08:48:37.183Z] 3a2ae6a8a46f: Verifying Checksum [2024-02-25T08:48:37.183Z] 3a2ae6a8a46f: Download complete [2024-02-25T08:48:37.183Z] 33b1e0a273af: Verifying Checksum [2024-02-25T08:48:37.183Z] 33b1e0a273af: Download complete [2024-02-25T08:48:37.183Z] ec43610c2a17: Verifying Checksum [2024-02-25T08:48:37.183Z] ec43610c2a17: Download complete [2024-02-25T08:48:37.183Z] 5d3b04190fa2: Download complete [2024-02-25T08:48:37.440Z] 5eb5b503b376: Verifying Checksum [2024-02-25T08:48:37.440Z] 5eb5b503b376: Download complete [2024-02-25T08:48:38.004Z] 2f39f015ded8: Download complete [2024-02-25T08:48:38.571Z] 5eb5b503b376: Pull complete [2024-02-25T08:48:38.571Z] 5c69ac0246d0: Pull complete [2024-02-25T08:48:38.829Z] ec43610c2a17: Pull complete [2024-02-25T08:48:38.829Z] 3a2ae6a8a46f: Pull complete [2024-02-25T08:48:39.086Z] 33b1e0a273af: Pull complete [2024-02-25T08:48:39.345Z] 5d3b04190fa2: Pull complete [2024-02-25T08:48:40.968Z] using credential edgex-jenkins-ssh [2024-02-25T08:48:41.000Z] Cloning the remote Git repository [2024-02-25T08:48:41.052Z] Cloning repository git@github.com:edgexfoundry/device-s7.git [2024-02-25T08:48:41.157Z] > git init /w/workspace/device-s7/3 # timeout=10 [2024-02-25T08:48:41.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T08:48:41.540Z] > git --version # timeout=10 [2024-02-25T08:48:41.608Z] > git --version # 'git version 2.25.1' [2024-02-25T08:48:41.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T08:48:41.954Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T08:48:43.529Z] 2f39f015ded8: Pull complete [2024-02-25T08:48:43.529Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-25T08:48:43.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T08:48:43.529Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T08:48:43.711Z] prd-ubuntu20.04-docker-8c-8g-1664 does not seem to be running inside a container [2024-02-25T08:48:42.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T08:48:42.672Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T08:48:43.746Z] $ 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-25T08:48:44.606Z] Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit a9a6f66d479947a211bd01278a262dd7d70af05d [2024-02-25T08:48:44.998Z] Merge succeeded, producing a9a6f66d479947a211bd01278a262dd7d70af05d [2024-02-25T08:48:44.999Z] Checking out Revision a9a6f66d479947a211bd01278a262dd7d70af05d (PR-9) [2024-02-25T08:48:44.001Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T08:48:44.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T08:48:44.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T08:48:44.083Z] > 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-25T08:48:44.634Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T08:48:44.718Z] > git checkout -f a9a6f66d479947a211bd01278a262dd7d70af05d # timeout=10 [2024-02-25T08:48:44.823Z] > git remote # timeout=10 [2024-02-25T08:48:44.860Z] > git config --get remote.origin.url # timeout=10 [2024-02-25T08:48:44.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T08:48:44.921Z] > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 [2024-02-25T08:48:44.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-25T08:48:45.004Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T08:48:45.024Z] > git checkout -f a9a6f66d479947a211bd01278a262dd7d70af05d # timeout=10 [2024-02-25T08:48:47.783Z] $ docker top 22cc32d77b12acdce27fc9915f560a04c028c893540a5a01bf590e5095b398ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:48:48.236Z] ---> job-cost.sh [2024-02-25T08:48:48.237Z] lf-activate-venv: SKIPPING [2024-02-25T08:48:48.237Z] INFO: No Stack... [2024-02-25T08:48:48.496Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T08:48:48.589Z] Commit message: "fix: fix test process" [2024-02-25T08:48:48.971Z] [2024-02-25T08:48:48.971Z] GitHub has been notified of this commit’s build result [2024-02-25T08:48:48.971Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-02-25T08:48:49.066Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T08:48:49.370Z] + cat /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv [2024-02-25T08:48:49.370Z] + cut -d, -f6 [Pipeline] lock [2024-02-25T08:48:49.467Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-3-stack-cost] [2024-02-25T08:48:49.477Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-3-stack-cost] did not exist. Created. [2024-02-25T08:48:49.484Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T08:48:49.748Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-25T08:48:49.748Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-25T08:48:49.748Z] Dload Upload Total Spent Left Speed [2024-02-25T08:48:49.748Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98676 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh [2024-02-25T08:48:49.839Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-25T08:48:49.919Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T08:48:49.929Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-25T08:48:50.002Z] $ docker stop --time=1 22cc32d77b12acdce27fc9915f560a04c028c893540a5a01bf590e5095b398ed [2024-02-25T08:48:50.087Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2024-02-25T08:48:51.172Z] $ docker rm -f --volumes 22cc32d77b12acdce27fc9915f560a04c028c893540a5a01bf590e5095b398ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-02-25T08:48:51.618Z] Failed in branch amd64 [2024-02-25T08:48:51.659Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-25T08:48:51.659Z] + sudo tee /etc/docker/daemon.new [2024-02-25T08:48:51.659Z] { [2024-02-25T08:48:51.659Z] "registry-mirrors": [ [2024-02-25T08:48:51.659Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-25T08:48:51.659Z] ], [2024-02-25T08:48:51.659Z] "bip": "10.250.0.254/24", [2024-02-25T08:48:51.659Z] "hosts": [ [2024-02-25T08:48:51.659Z] "tcp://0.0.0.0:5555", [2024-02-25T08:48:51.659Z] "unix:///var/run/docker.sock" [2024-02-25T08:48:51.659Z] ], [2024-02-25T08:48:51.659Z] "mtu": 1458, [2024-02-25T08:48:51.659Z] "selinux-enabled": true, [2024-02-25T08:48:51.659Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-25T08:48:51.659Z] } [Pipeline] sh [2024-02-25T08:48:51.992Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-25T08:48:52.313Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T08:49:10.584Z] provisioning config files... [2024-02-25T08:49:10.607Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/3@tmp/config977813017651756835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:49:11.060Z] ---> ****-login.sh [2024-02-25T08:49:11.060Z] nexus3.edgexfoundry.org:10001 [2024-02-25T08:49:11.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:49:11.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:49:11.605Z] Configure a credential helper to remove this warning. See [2024-02-25T08:49:11.605Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:49:11.605Z] [2024-02-25T08:49:11.605Z] Login Succeeded [2024-02-25T08:49:11.605Z] nexus3.edgexfoundry.org:10002 [2024-02-25T08:49:11.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:49:12.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:49:12.152Z] Configure a credential helper to remove this warning. See [2024-02-25T08:49:12.152Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:49:12.152Z] [2024-02-25T08:49:12.152Z] Login Succeeded [2024-02-25T08:49:12.152Z] nexus3.edgexfoundry.org:10003 [2024-02-25T08:49:12.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:49:12.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:49:12.422Z] Configure a credential helper to remove this warning. See [2024-02-25T08:49:12.422Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:49:12.422Z] [2024-02-25T08:49:12.422Z] Login Succeeded [2024-02-25T08:49:12.422Z] nexus3.edgexfoundry.org:10004 [2024-02-25T08:49:12.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:49:12.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:49:12.689Z] Configure a credential helper to remove this warning. See [2024-02-25T08:49:12.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:49:12.690Z] [2024-02-25T08:49:12.690Z] Login Succeeded [2024-02-25T08:49:12.690Z] ****.io [2024-02-25T08:49:12.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:49:13.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:49:13.229Z] Configure a credential helper to remove this warning. See [2024-02-25T08:49:13.229Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:49:13.229Z] [2024-02-25T08:49:13.229Z] Login Succeeded [2024-02-25T08:49:13.229Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T08:49:13.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-25T08:49:13.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T08:49:13.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T08:49:13.705Z] ========================================================= [2024-02-25T08:49:13.705Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-25T08:49:13.705Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:49:14.163Z] + 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-25T08:49:14.433Z] Sending build context to Docker daemon 398.3kB [2024-02-25T08:49:14.433Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T08:49:14.433Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T08:49:14.703Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-25T08:49:14.703Z] 9fda8d8052c6: Pulling fs layer [2024-02-25T08:49:14.703Z] 5d54e960e981: Pulling fs layer [2024-02-25T08:49:14.703Z] c4a7e357bf2a: Pulling fs layer [2024-02-25T08:49:14.703Z] f0e02332f6b5: Pulling fs layer [2024-02-25T08:49:14.703Z] 872ee5b61b7b: Pulling fs layer [2024-02-25T08:49:14.703Z] 0c6a40ed1a82: Pulling fs layer [2024-02-25T08:49:14.703Z] 94ae7d8d031c: Pulling fs layer [2024-02-25T08:49:14.703Z] 872ee5b61b7b: Waiting [2024-02-25T08:49:14.703Z] 0c6a40ed1a82: Waiting [2024-02-25T08:49:14.703Z] f0e02332f6b5: Waiting [2024-02-25T08:49:14.703Z] 94ae7d8d031c: Waiting [2024-02-25T08:49:14.703Z] 5d54e960e981: Verifying Checksum [2024-02-25T08:49:14.703Z] 5d54e960e981: Download complete [2024-02-25T08:49:14.703Z] f0e02332f6b5: Verifying Checksum [2024-02-25T08:49:14.703Z] f0e02332f6b5: Download complete [2024-02-25T08:49:14.703Z] 872ee5b61b7b: Verifying Checksum [2024-02-25T08:49:14.703Z] 872ee5b61b7b: Download complete [2024-02-25T08:49:14.703Z] 9fda8d8052c6: Verifying Checksum [2024-02-25T08:49:14.703Z] 9fda8d8052c6: Download complete [2024-02-25T08:49:15.287Z] 94ae7d8d031c: Verifying Checksum [2024-02-25T08:49:15.287Z] 94ae7d8d031c: Download complete [2024-02-25T08:49:15.561Z] 9fda8d8052c6: Pull complete [2024-02-25T08:49:16.524Z] c4a7e357bf2a: Verifying Checksum [2024-02-25T08:49:16.524Z] c4a7e357bf2a: Download complete [2024-02-25T08:49:17.126Z] 0c6a40ed1a82: Verifying Checksum [2024-02-25T08:49:17.126Z] 0c6a40ed1a82: Download complete [2024-02-25T08:49:20.466Z] 5d54e960e981: Pull complete [2024-02-25T08:49:35.474Z] c4a7e357bf2a: Pull complete [2024-02-25T08:49:35.474Z] f0e02332f6b5: Pull complete [2024-02-25T08:49:35.474Z] 872ee5b61b7b: Pull complete [2024-02-25T08:49:43.693Z] 0c6a40ed1a82: Pull complete [2024-02-25T08:49:45.645Z] 94ae7d8d031c: Pull complete [2024-02-25T08:49:45.645Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-25T08:49:45.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-25T08:49:45.645Z] ---> 86de565de09d [2024-02-25T08:49:45.645Z] Step 3/10 : ARG MAKE=make build [2024-02-25T08:49:47.063Z] ---> Running in 11cacfac5403 [2024-02-25T08:49:50.405Z] Removing intermediate container 11cacfac5403 [2024-02-25T08:49:50.405Z] ---> a5d85505b542 [2024-02-25T08:49:50.405Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T08:49:50.405Z] ---> Running in a79baacfd1d4 [2024-02-25T08:49:50.674Z] Removing intermediate container a79baacfd1d4 [2024-02-25T08:49:50.674Z] ---> 49496c295656 [2024-02-25T08:49:50.674Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T08:49:50.946Z] ---> Running in a1eb8953b4b9 [2024-02-25T08:49:51.212Z] Removing intermediate container a1eb8953b4b9 [2024-02-25T08:49:51.212Z] ---> cd1425e17621 [2024-02-25T08:49:51.212Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T08:49:51.212Z] ---> Running in db904d721e9f [2024-02-25T08:49:52.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T08:49:52.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T08:49:54.043Z] OK: 266 MiB in 52 packages [2024-02-25T08:49:54.644Z] Removing intermediate container db904d721e9f [2024-02-25T08:49:54.644Z] ---> d905bb8c6bcc [2024-02-25T08:49:54.644Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T08:49:55.238Z] ---> eb158214731a [2024-02-25T08:49:55.238Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T08:49:55.238Z] ---> Running in 95de47882a5a [2024-02-25T08:51:16.883Z] Removing intermediate container 95de47882a5a [2024-02-25T08:51:16.883Z] ---> ac318fe50b89 [2024-02-25T08:51:16.883Z] Step 9/10 : COPY . . [2024-02-25T08:51:16.883Z] ---> 1a4a8fd1ee44 [2024-02-25T08:51:16.883Z] Step 10/10 : RUN ${MAKE} [2024-02-25T08:51:16.883Z] ---> Running in f4695350fc67 [2024-02-25T08:51:16.883Z] noop [2024-02-25T08:51:17.470Z] Removing intermediate container f4695350fc67 [2024-02-25T08:51:17.470Z] ---> 119bc9126d88 [2024-02-25T08:51:17.470Z] Successfully built 119bc9126d88 [2024-02-25T08:51:17.470Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:51:17.902Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T08:51:17.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T08:51:18.162Z] prd-ubuntu20.04-docker-arm64-4c-16g-1665 does not seem to be running inside a container [2024-02-25T08:51:18.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/3 -v /w/workspace/device-s7/3:/w/workspace/device-s7/3:rw,z -v /w/workspace/device-s7/3@tmp:/w/workspace/device-s7/3@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-25T08:51:19.298Z] $ docker top bd02b4bc5c01e72f95cb6654df35b3fa14cd20b338dd431e497403f20c88a8d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T08:51:20.171Z] + go version [2024-02-25T08:51:20.171Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-25T08:51:20.187Z] $ docker stop --time=1 bd02b4bc5c01e72f95cb6654df35b3fa14cd20b338dd431e497403f20c88a8d0 [2024-02-25T08:51:21.763Z] $ docker rm -f --volumes bd02b4bc5c01e72f95cb6654df35b3fa14cd20b338dd431e497403f20c88a8d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:51:22.606Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T08:51:22.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T08:51:22.833Z] prd-ubuntu20.04-docker-arm64-4c-16g-1665 does not seem to be running inside a container [2024-02-25T08:51:22.888Z] $ 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/3 -v /w/workspace/device-s7/3:/w/workspace/device-s7/3:rw,z -v /w/workspace/device-s7/3@tmp:/w/workspace/device-s7/3@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-25T08:51:24.015Z] $ docker top 1bc8a48005260519054443a19e92cb18a022317601c8806d0124e7af7368e2e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T08:51:24.585Z] + git config --global --add safe.directory /w/workspace/device-s7/3 [Pipeline] fileExists [Pipeline] sh [2024-02-25T08:51:24.948Z] + make test [2024-02-25T08:51:25.216Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T08:51:57.483Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T08:53:19.094Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T08:53:19.094Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T08:53:19.094Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-25T08:53:19.094Z] go vet ./... [2024-02-25T08:54:55.737Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T08:54:55.737Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T08:54:55.737Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T08:54:55.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T08:54:55.822Z] $ docker stop --time=1 1bc8a48005260519054443a19e92cb18a022317601c8806d0124e7af7368e2e2 [2024-02-25T08:54:58.593Z] $ docker rm -f --volumes 1bc8a48005260519054443a19e92cb18a022317601c8806d0124e7af7368e2e2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T08:55:00.207Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T08:55:00.225Z] Warning: overwriting stash ‘coverage-report’ [2024-02-25T08:55:00.675Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T08:55:01.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T08:55:01.575Z] + ls -al . [2024-02-25T08:55:01.575Z] total 120 [2024-02-25T08:55:01.575Z] drwxrwxr-x 7 jenkins jenkins 4096 Feb 25 08:51 . [2024-02-25T08:55:01.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 08:48 .. [2024-02-25T08:55:01.575Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 08:48 .git [2024-02-25T08:55:01.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 08:48 .github [2024-02-25T08:55:01.575Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 08:48 .gitignore [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 08:48 .golangci.yml [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 08:48 Attribution.txt [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 1550 Feb 25 08:48 Dockerfile [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 08:48 Jenkinsfile [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 08:48 Makefile [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 08:48 OWNERS.md [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 08:48 README.md [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 08:46 VERSION [2024-02-25T08:55:01.576Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 08:48 bin [2024-02-25T08:55:01.576Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 08:48 cmd [2024-02-25T08:55:01.576Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 08:51 coverage.out [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 08:48 go.mod [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 08:48 go.sum [2024-02-25T08:55:01.576Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 08:48 internal [2024-02-25T08:55:01.576Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 08:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:55:01.985Z] + 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=a9a6f66d479947a211bd01278a262dd7d70af05d --label arch=arm64 --label version=0.0.0 . [2024-02-25T08:55:02.255Z] Sending build context to Docker daemon 399.4kB [2024-02-25T08:55:02.255Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T08:55:02.255Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T08:55:02.255Z] ---> 119bc9126d88 [2024-02-25T08:55:02.255Z] Step 3/24 : ARG MAKE=make build [2024-02-25T08:55:02.521Z] ---> Running in b18b3ddb4cff [2024-02-25T08:55:02.789Z] Removing intermediate container b18b3ddb4cff [2024-02-25T08:55:02.789Z] ---> 258e5e28bab5 [2024-02-25T08:55:02.789Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T08:55:02.789Z] ---> Running in 5bb89ca69a80 [2024-02-25T08:55:03.056Z] Removing intermediate container 5bb89ca69a80 [2024-02-25T08:55:03.056Z] ---> 2c494cddf36e [2024-02-25T08:55:03.056Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T08:55:03.056Z] ---> Running in 0c1e86347d7b [2024-02-25T08:55:03.328Z] Removing intermediate container 0c1e86347d7b [2024-02-25T08:55:03.328Z] ---> bc4c5644d956 [2024-02-25T08:55:03.328Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T08:55:03.595Z] ---> Running in c4439608d7c5 [2024-02-25T08:55:04.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T08:55:04.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T08:55:05.872Z] OK: 266 MiB in 52 packages [2024-02-25T08:55:06.856Z] Removing intermediate container c4439608d7c5 [2024-02-25T08:55:06.856Z] ---> 62abda8ef17a [2024-02-25T08:55:06.856Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T08:55:07.463Z] ---> 57a111d18357 [2024-02-25T08:55:07.463Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T08:55:07.463Z] ---> Running in 60f50159bcd2 [2024-02-25T08:55:12.828Z] Removing intermediate container 60f50159bcd2 [2024-02-25T08:55:12.829Z] ---> 30bbf8dd7d70 [2024-02-25T08:55:12.829Z] Step 9/24 : COPY . . [2024-02-25T08:55:12.829Z] ---> 2bc47c15c0e3 [2024-02-25T08:55:12.829Z] Step 10/24 : RUN ${MAKE} [2024-02-25T08:55:12.829Z] ---> Running in b34de79c1b86 [2024-02-25T08:55:13.802Z] 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-25T08:57:06.719Z] Removing intermediate container b34de79c1b86 [2024-02-25T08:57:06.719Z] ---> 965415ca83c5 [2024-02-25T08:57:06.719Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T08:57:06.719Z] 3.18: Pulling from library/alpine [2024-02-25T08:57:06.719Z] c6b39de5b339: Pulling fs layer [2024-02-25T08:57:06.719Z] c6b39de5b339: Download complete [2024-02-25T08:57:06.719Z] c6b39de5b339: Pull complete [2024-02-25T08:57:06.719Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T08:57:06.719Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T08:57:06.719Z] ---> 33abbf032149 [2024-02-25T08:57:06.719Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T08:57:06.719Z] ---> Running in 335d4f5cf6ff [2024-02-25T08:57:06.985Z] Removing intermediate container 335d4f5cf6ff [2024-02-25T08:57:06.985Z] ---> 29a88e47d08d [2024-02-25T08:57:06.985Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T08:57:06.985Z] ---> Running in 9ecc19de59db [2024-02-25T08:57:07.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T08:57:08.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T08:57:09.494Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T08:57:09.494Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T08:57:09.494Z] OK: 8 MiB in 16 packages [2024-02-25T08:57:11.431Z] Removing intermediate container 9ecc19de59db [2024-02-25T08:57:11.431Z] ---> 66bdfdb1b08a [2024-02-25T08:57:11.431Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T08:57:11.698Z] ---> Running in 2d9d459f77e7 [2024-02-25T08:57:12.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T08:57:12.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T08:57:13.637Z] OK: 8 MiB in 16 packages [2024-02-25T08:57:14.592Z] Removing intermediate container 2d9d459f77e7 [2024-02-25T08:57:14.592Z] ---> 14607979b265 [2024-02-25T08:57:14.592Z] Step 15/24 : WORKDIR / [2024-02-25T08:57:14.592Z] ---> Running in a1e8482fed0f [2024-02-25T08:57:14.859Z] Removing intermediate container a1e8482fed0f [2024-02-25T08:57:14.859Z] ---> 8141d19861a1 [2024-02-25T08:57:14.859Z] Step 16/24 : COPY --from=builder /device-s7/cmd/Attribution.txt /Attribution.txt [2024-02-25T08:57:14.859Z] COPY failed: stat device-s7/cmd/Attribution.txt: file does not exist [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:57:15.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T08:57:15.680Z] [2024-02-25T08:57:15.680Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:57:16.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T08:57:16.037Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-25T08:57:16.037Z] 8998bd30e6a1: Pulling fs layer [2024-02-25T08:57:16.037Z] 04944245beec: Pulling fs layer [2024-02-25T08:57:16.037Z] 699f458cf7ca: Pulling fs layer [2024-02-25T08:57:16.037Z] 765212b225bb: Pulling fs layer [2024-02-25T08:57:16.037Z] f23df028b6ca: Pulling fs layer [2024-02-25T08:57:16.037Z] d65c8cfc05b1: Pulling fs layer [2024-02-25T08:57:16.037Z] 2437ff75d9bd: Pulling fs layer [2024-02-25T08:57:16.037Z] f23df028b6ca: Waiting [2024-02-25T08:57:16.037Z] d65c8cfc05b1: Waiting [2024-02-25T08:57:16.037Z] 2437ff75d9bd: Waiting [2024-02-25T08:57:16.037Z] 765212b225bb: Waiting [2024-02-25T08:57:16.302Z] 04944245beec: Verifying Checksum [2024-02-25T08:57:16.302Z] 04944245beec: Download complete [2024-02-25T08:57:16.302Z] 765212b225bb: Download complete [2024-02-25T08:57:16.302Z] f23df028b6ca: Verifying Checksum [2024-02-25T08:57:16.302Z] f23df028b6ca: Download complete [2024-02-25T08:57:16.302Z] d65c8cfc05b1: Verifying Checksum [2024-02-25T08:57:16.302Z] d65c8cfc05b1: Download complete [2024-02-25T08:57:16.302Z] 699f458cf7ca: Verifying Checksum [2024-02-25T08:57:16.302Z] 699f458cf7ca: Download complete [2024-02-25T08:57:16.881Z] 8998bd30e6a1: Verifying Checksum [2024-02-25T08:57:16.881Z] 8998bd30e6a1: Download complete [2024-02-25T08:57:19.455Z] 2437ff75d9bd: Verifying Checksum [2024-02-25T08:57:19.455Z] 2437ff75d9bd: Download complete [2024-02-25T08:57:21.404Z] 8998bd30e6a1: Pull complete [2024-02-25T08:57:25.650Z] 04944245beec: Pull complete [2024-02-25T08:57:26.610Z] 699f458cf7ca: Pull complete [2024-02-25T08:57:26.878Z] 765212b225bb: Pull complete [2024-02-25T08:57:27.837Z] f23df028b6ca: Pull complete [2024-02-25T08:57:27.837Z] d65c8cfc05b1: Pull complete [2024-02-25T08:57:46.047Z] 2437ff75d9bd: Pull complete [2024-02-25T08:57:46.047Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-25T08:57:46.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T08:57:46.047Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T08:57:46.351Z] prd-ubuntu20.04-docker-arm64-4c-16g-1665 does not seem to be running inside a container [2024-02-25T08:57:46.410Z] $ 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/3 -v /w/workspace/device-s7/3:/w/workspace/device-s7/3:rw,z -v /w/workspace/device-s7/3@tmp:/w/workspace/device-s7/3@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-25T08:57:48.972Z] $ docker top 45691d4dec735d1c01e6f7b8278254758a545b00762eb4df58c67ca3f6c816fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:57:49.874Z] ---> job-cost.sh [2024-02-25T08:57:49.874Z] lf-activate-venv: SKIPPING [2024-02-25T08:57:49.874Z] INFO: No Stack... [2024-02-25T08:57:50.138Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-25T08:57:51.094Z] INFO: Archiving Costs [Pipeline] sh [2024-02-25T08:57:51.726Z] + cat /w/workspace/device-s7/3/archives/cost.csv [2024-02-25T08:57:51.726Z] + cut -d, -f6 [Pipeline] lock [2024-02-25T08:57:51.760Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-3-stack-cost] [2024-02-25T08:57:51.766Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-3-stack-cost] did not exist. Created. [2024-02-25T08:57:51.771Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T08:57:52.167Z] /w/workspace/device-s7/3@tmp/durable-b167507e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-25T08:57:53.068Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-25T08:57:53.082Z] Warning: overwriting stash ‘stack-cost’ [2024-02-25T08:57:53.125Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T08:57:53.161Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-25T08:57:53.253Z] $ docker stop --time=1 45691d4dec735d1c01e6f7b8278254758a545b00762eb4df58c67ca3f6c816fe [2024-02-25T08:57:54.862Z] $ docker rm -f --volumes 45691d4dec735d1c01e6f7b8278254758a545b00762eb4df58c67ca3f6c816fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-02-25T08:57:55.642Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [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-25T08:57:57.590Z] + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] [2024-02-25T08:57:57.591Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T08:57:57.591Z] total 16 [2024-02-25T08:57:57.591Z] drwxr-xr-x 3 root root 4096 Feb 25 08:48 . [2024-02-25T08:57:57.591Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 08:48 .. [2024-02-25T08:57:57.591Z] drwxr-xr-x 2 root root 4096 Feb 25 08:48 cost [2024-02-25T08:57:57.591Z] -rw-r--r-- 1 root root 79 Feb 25 08:48 cost.csv [2024-02-25T08:57:57.591Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T08:57:57.591Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T08:57:57.591Z] total 16 [2024-02-25T08:57:57.591Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 08:48 . [2024-02-25T08:57:57.591Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 08:48 .. [2024-02-25T08:57:57.591Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 08:48 cost [2024-02-25T08:57:57.591Z] -rw-r--r-- 1 jenkins jenkins 79 Feb 25 08:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:57:57.881Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:57:58.742Z] ---> package-listing.sh [2024-02-25T08:57:58.742Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-25T08:57:58.742Z] ++ facter osfamily [2024-02-25T08:57:59.001Z] + OS_FAMILY=debian [2024-02-25T08:57:59.001Z] + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 [2024-02-25T08:57:59.001Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-25T08:57:59.001Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-25T08:57:59.001Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-25T08:57:59.001Z] + PACKAGES=/tmp/packages_start.txt [2024-02-25T08:57:59.001Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T08:57:59.001Z] + PACKAGES=/tmp/packages_end.txt [2024-02-25T08:57:59.001Z] + case "${OS_FAMILY}" in [2024-02-25T08:57:59.001Z] + dpkg -l [2024-02-25T08:57:59.001Z] + grep '^ii' [2024-02-25T08:57:59.001Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-25T08:57:59.001Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-25T08:57:59.001Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-25T08:57:59.001Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T08:57:59.001Z] + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [2024-02-25T08:57:59.001Z] + 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-25T08:57:59.013Z] 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-25T08:57:59.293Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:57:59.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T08:57:59.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T08:58:00.038Z] prd-ubuntu20.04-docker-8c-8g-1664 does not seem to be running inside a container [2024-02-25T08:58:00.065Z] $ 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-25T08:58:00.248Z] $ docker top 3e7ee40e19922a50185458571d2dcb3235be6d683426116f5a6d0c730d55345c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T08:58:00.663Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-25T08:58:00.949Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-25T08:58:01.233Z] + ls /var/log/sa-host [2024-02-25T08:58:01.233Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T08:58:01.421Z] provisioning config files... [2024-02-25T08:58:01.427Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config11239128185628838322tmp [Pipeline] { [Pipeline] echo [2024-02-25T08:58:01.511Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:58:01.803Z] ---> create-netrc.sh [Pipeline] } [2024-02-25T08:58:01.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:58:02.215Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-25T08:58:02.226Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:58:02.512Z] ---> sudo-logs.sh [2024-02-25T08:58:02.512Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-25T08:58:02.581Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:58:02.871Z] ---> job-cost.sh [2024-02-25T08:58:02.871Z] lf-activate-venv: SKIPPING [2024-02-25T08:58:02.871Z] DEBUG: total: 0.2199999988079071 [2024-02-25T08:58:02.871Z] INFO: Retrieving Stack Cost... [2024-02-25T08:58:03.440Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T08:58:03.700Z] INFO: Archiving Costs [Pipeline] echo [2024-02-25T08:58:03.713Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:58:03.997Z] ---> logs-deploy.sh [2024-02-25T08:58:03.997Z] lf-activate-venv: SKIPPING [2024-02-25T08:58:03.997Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/3 [2024-02-25T08:58:03.997Z] INFO: archiving workspace using pattern(s): [2024-02-25T08:58:04.931Z] Archives upload complete. [2024-02-25T08:58:04.932Z] INFO: archiving logs to Nexus