Pull request #439 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4+9e152f0eea3cbe8e1fbe8298102668336ecdbf0d (05a835963de83ca84e44cb603ddc1dcb12ff07ea) 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-ssh16436505300266697536.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6313514693365834174.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-onvif-camera/branches/PR-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18322320653563615387.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-onvif-camera/branches/PR-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5018605512940024834.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh18218607665294726425.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-onvif-camera/branches/PR-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11255398530308776891.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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-onvif-camera-settings PROJECT: device-onvif-camera 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-onvif-camera 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: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4207 in /w/workspace/undry_device-onvif-camera_PR-439 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-439 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 Merge succeeded, producing 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 Checking out Revision 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 (PR-439) Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 1.1.1 to 1.1.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 # 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 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-06-24T03:19:14.030Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-06-24T03:19:14.265Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-06-24T03:19:14.404Z] ========================================================= [2024-06-24T03:19:14.404Z] EdgeX Global Pipelines Version Info [2024-06-24T03:19:14.404Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:19:15.166Z] ------------------- [2024-06-24T03:19:15.166Z] stable info: [2024-06-24T03:19:15.166Z] ------------------- [2024-06-24T03:19:15.166Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-24T03:19:15.166Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-24T03:19:15.166Z] Message: update stable to v1.0.260 [2024-06-24T03:19:15.736Z] ------------------- [2024-06-24T03:19:15.736Z] experimental info: [2024-06-24T03:19:15.736Z] ------------------- [2024-06-24T03:19:15.736Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-06-24T03:19:15.736Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-06-24T03:19:15.736Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-06-24T03:19:15.964Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-06-24T03:19:16.027Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-06-24T03:19:16.090Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-06-24T03:19:16.148Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-06-24T03:19:16.213Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-06-24T03:19:16.274Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-06-24T03:19:16.333Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-06-24T03:19:16.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-06-24T03:19:16.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-06-24T03:19:16.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-06-24T03:19:16.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-06-24T03:19:16.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-06-24T03:19:16.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-06-24T03:19:16.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-06-24T03:19:16.895Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-06-24T03:19:16.957Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-06-24T03:19:17.019Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-06-24T03:19:17.082Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-06-24T03:19:17.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-06-24T03:19:17.207Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-06-24T03:19:17.268Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-06-24T03:19:17.332Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-06-24T03:19:17.394Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-06-24T03:19:17.457Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-06-24T03:19:17.516Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-06-24T03:19:17.576Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-06-24T03:19:17.642Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-06-24T03:19:17.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo [2024-06-24T03:19:17.772Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo [2024-06-24T03:19:17.828Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo [2024-06-24T03:19:17.889Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] echo [2024-06-24T03:19:17.950Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45fa7d0 [Pipeline] echo [2024-06-24T03:19:18.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-24T03:19:18.175Z] provisioning config files... [2024-06-24T03:19:18.195Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-439@tmp/config16151940722924582942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:19:18.585Z] ---> ****-login.sh [2024-06-24T03:19:18.585Z] nexus3.edgexfoundry.org:10001 [2024-06-24T03:19:18.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:18.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:18.846Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:18.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:18.846Z] [2024-06-24T03:19:18.846Z] Login Succeeded [2024-06-24T03:19:18.846Z] nexus3.edgexfoundry.org:10002 [2024-06-24T03:19:19.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:19.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:19.106Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:19.106Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:19.106Z] [2024-06-24T03:19:19.106Z] Login Succeeded [2024-06-24T03:19:19.106Z] nexus3.edgexfoundry.org:10003 [2024-06-24T03:19:19.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:19.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:19.106Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:19.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:19.107Z] [2024-06-24T03:19:19.107Z] Login Succeeded [2024-06-24T03:19:19.107Z] nexus3.edgexfoundry.org:10004 [2024-06-24T03:19:19.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:19.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:19.370Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:19.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:19.370Z] [2024-06-24T03:19:19.370Z] Login Succeeded [2024-06-24T03:19:19.370Z] ****.io [2024-06-24T03:19:19.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:19.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:19.631Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:19.631Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:19.631Z] [2024-06-24T03:19:19.631Z] Login Succeeded [2024-06-24T03:19:19.631Z] ---> ****-login.sh ends [Pipeline] } [2024-06-24T03:19:19.664Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-06-24T03:19:20.368Z] + git rev-list -1 --merges 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4~1..45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] echo [2024-06-24T03:19:20.415Z] -----------> git rev-list -1 --merges 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4~1..45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [false] [Pipeline] sh [2024-06-24T03:19:20.737Z] + git log --format=format:%s -1 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] echo [2024-06-24T03:19:20.783Z] ========================================================= [2024-06-24T03:19:20.783Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-06-24T03:19:20.783Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-24T03:19:21.249Z] + git log --format=format:%s -1 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] echo [2024-06-24T03:19:21.289Z] [semverPrep] GIT_COMMIT: 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 1.1.1 to 1.1.2 [Pipeline] echo [2024-06-24T03:19:21.332Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-06-24T03:19:21.786Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-06-24T03:19:21.786Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-06-24T03:19:21.786Z] + [ -e /tmp/ssh_known_hosts ] [2024-06-24T03:19:21.786Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-06-24T03:19:21.786Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-06-24T03:19:21.786Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-06-24T03:19:21.786Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:19:22.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-24T03:19:22.312Z] [2024-06-24T03:19:22.312Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:19:22.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-24T03:19:22.722Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-06-24T03:19:22.722Z] b85a868b505f: Pulling fs layer [2024-06-24T03:19:22.722Z] e2be974225ed: Pulling fs layer [2024-06-24T03:19:22.722Z] 339a4e72a1f5: Pulling fs layer [2024-06-24T03:19:22.722Z] 988bab9f4d93: Pulling fs layer [2024-06-24T03:19:22.722Z] 1469e6f7b9e6: Pulling fs layer [2024-06-24T03:19:22.722Z] eaf3925da568: Pulling fs layer [2024-06-24T03:19:22.722Z] bab4dde63d76: Pulling fs layer [2024-06-24T03:19:22.722Z] bde34c3a00c8: Pulling fs layer [2024-06-24T03:19:22.722Z] b352a97aabf1: Pulling fs layer [2024-06-24T03:19:22.722Z] 4872d77fe225: Pulling fs layer [2024-06-24T03:19:22.722Z] 5851b861e8e6: Pulling fs layer [2024-06-24T03:19:22.722Z] 1469e6f7b9e6: Waiting [2024-06-24T03:19:22.722Z] eaf3925da568: Waiting [2024-06-24T03:19:22.722Z] bab4dde63d76: Waiting [2024-06-24T03:19:22.722Z] bde34c3a00c8: Waiting [2024-06-24T03:19:22.722Z] b352a97aabf1: Waiting [2024-06-24T03:19:22.722Z] 5851b861e8e6: Waiting [2024-06-24T03:19:22.722Z] 4872d77fe225: Waiting [2024-06-24T03:19:22.722Z] 988bab9f4d93: Waiting [2024-06-24T03:19:22.722Z] e2be974225ed: Verifying Checksum [2024-06-24T03:19:22.722Z] e2be974225ed: Download complete [2024-06-24T03:19:22.722Z] 988bab9f4d93: Verifying Checksum [2024-06-24T03:19:22.722Z] 988bab9f4d93: Download complete [2024-06-24T03:19:22.984Z] 1469e6f7b9e6: Verifying Checksum [2024-06-24T03:19:22.984Z] 1469e6f7b9e6: Download complete [2024-06-24T03:19:22.984Z] 339a4e72a1f5: Verifying Checksum [2024-06-24T03:19:22.984Z] 339a4e72a1f5: Download complete [2024-06-24T03:19:22.984Z] eaf3925da568: Verifying Checksum [2024-06-24T03:19:22.984Z] eaf3925da568: Download complete [2024-06-24T03:19:22.984Z] bde34c3a00c8: Download complete [2024-06-24T03:19:22.984Z] b352a97aabf1: Download complete [2024-06-24T03:19:22.984Z] 4872d77fe225: Download complete [2024-06-24T03:19:22.984Z] 5851b861e8e6: Verifying Checksum [2024-06-24T03:19:22.984Z] 5851b861e8e6: Download complete [2024-06-24T03:19:22.984Z] b85a868b505f: Verifying Checksum [2024-06-24T03:19:22.984Z] b85a868b505f: Download complete [2024-06-24T03:19:23.243Z] bab4dde63d76: Verifying Checksum [2024-06-24T03:19:23.243Z] bab4dde63d76: Download complete [2024-06-24T03:19:24.182Z] b85a868b505f: Pull complete [2024-06-24T03:19:24.183Z] e2be974225ed: Pull complete [2024-06-24T03:19:24.751Z] 339a4e72a1f5: Pull complete [2024-06-24T03:19:24.751Z] 988bab9f4d93: Pull complete [2024-06-24T03:19:25.012Z] 1469e6f7b9e6: Pull complete [2024-06-24T03:19:25.012Z] eaf3925da568: Pull complete [2024-06-24T03:19:26.917Z] bab4dde63d76: Pull complete [2024-06-24T03:19:26.917Z] bde34c3a00c8: Pull complete [2024-06-24T03:19:26.917Z] b352a97aabf1: Pull complete [2024-06-24T03:19:26.917Z] 4872d77fe225: Pull complete [2024-06-24T03:19:26.917Z] 5851b861e8e6: Pull complete [2024-06-24T03:19:26.917Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-06-24T03:19:26.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-06-24T03:19:26.917Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T03:19:27.230Z] prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container [2024-06-24T03:19:27.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-06-24T03:19:29.549Z] $ docker top eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 -eo pid,comm [2024-06-24T03:19:29.598Z] 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-06-24T03:19:29.598Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-06-24T03:19:29.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-24T03:19:29.788Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-24T03:19:29.893Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-24T03:19:29.896Z] $ docker exec eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 ssh-agent [2024-06-24T03:19:30.011Z] SSH_AUTH_SOCK=/tmp/ssh-g7K40j4J3UTB/agent.32 [2024-06-24T03:19:30.011Z] SSH_AGENT_PID=38 [2024-06-24T03:19:30.018Z] Running ssh-add (command line suppressed) [2024-06-24T03:19:30.110Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-439@tmp/private_key_15124046611422659049.key (/w/workspace/undry_device-onvif-camera_PR-439@tmp/private_key_15124046611422659049.key) [2024-06-24T03:19:30.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-24T03:19:30.472Z] + git tag --points-at HEAD [Pipeline] } [2024-06-24T03:19:30.501Z] $ docker exec --env ******** --env ******** eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 ssh-agent -k [2024-06-24T03:19:30.599Z] unset SSH_AUTH_SOCK; [2024-06-24T03:19:30.600Z] unset SSH_AGENT_PID; [2024-06-24T03:19:30.600Z] echo Agent pid 38 killed; [2024-06-24T03:19:30.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-06-24T03:19:30.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-06-24T03:19:30.724Z] [ssh-agent] Looking for ssh-agent implementation... [2024-06-24T03:19:30.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-06-24T03:19:30.828Z] $ docker exec eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 ssh-agent [2024-06-24T03:19:30.922Z] SSH_AUTH_SOCK=/tmp/ssh-jxu6NME0xZHp/agent.71 [2024-06-24T03:19:30.922Z] SSH_AGENT_PID=77 [2024-06-24T03:19:30.926Z] Running ssh-add (command line suppressed) [2024-06-24T03:19:31.025Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-439@tmp/private_key_15430545741540808981.key (/w/workspace/undry_device-onvif-camera_PR-439@tmp/private_key_15430545741540808981.key) [2024-06-24T03:19:31.037Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-06-24T03:19:31.383Z] + git semver init [2024-06-24T03:19:31.643Z] 2024-06-24 03:19:31,558 [run_init] DEBUG init version:0.0.0 force:False [2024-06-24T03:19:31.643Z] 2024-06-24 03:19:31,559 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-439/.semver [2024-06-24T03:19:31.643Z] 2024-06-24 03:19:31,559 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-439/.semver [2024-06-24T03:19:31.643Z] 2024-06-24 03:19:31,560 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-439/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-439, universal_newlines=False, shell=None, istream=None) [2024-06-24T03:19:33.024Z] 2024-06-24 03:19:32,971 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-439/.git/info/exclude [2024-06-24T03:19:33.024Z] 2024-06-24 03:19:32,971 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-439/.semver/PR-439 with force:False [2024-06-24T03:19:33.024Z] 2024-06-24 03:19:32,972 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-439/.semver/PR-439 [2024-06-24T03:19:33.024Z] 2024-06-24 03:19:32,976 [execute] INFO git cat-file --batch-check [2024-06-24T03:19:33.024Z] 2024-06-24 03:19:32,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-439/.semver, universal_newlines=False, shell=None, istream=) [2024-06-24T03:19:33.024Z] 2024-06-24 03:19:32,982 [execute] INFO git cat-file --batch [2024-06-24T03:19:33.024Z] 2024-06-24 03:19:32,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-439/.semver, universal_newlines=False, shell=None, istream=) [2024-06-24T03:19:33.024Z] 2024-06-24 03:19:32,986 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-439/.semver/PR-439 [2024-06-24T03:19:33.024Z] 0.0.0 [Pipeline] } [2024-06-24T03:19:33.055Z] $ docker exec --env ******** --env ******** eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 ssh-agent -k [2024-06-24T03:19:33.159Z] unset SSH_AUTH_SOCK; [2024-06-24T03:19:33.159Z] unset SSH_AGENT_PID; [2024-06-24T03:19:33.159Z] echo Agent pid 77 killed; [2024-06-24T03:19:33.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-06-24T03:19:33.634Z] + git semver [Pipeline] } [2024-06-24T03:19:33.926Z] $ docker stop --time=1 eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 [2024-06-24T03:19:35.261Z] $ docker rm -f --volumes eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 [Pipeline] // withDockerContainer [Pipeline] sh [2024-06-24T03:19:35.682Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-06-24T03:19:36.017Z] Stashed 1 file(s) [Pipeline] echo [2024-06-24T03:19:36.044Z] [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-06-24T03:19:36.800Z] provisioning config files... [2024-06-24T03:19:36.810Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-439@tmp/config8584188086095937788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:19:37.188Z] ---> ****-login.sh [2024-06-24T03:19:37.188Z] nexus3.edgexfoundry.org:10001 [2024-06-24T03:19:37.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:37.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:37.188Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:37.188Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:37.188Z] [2024-06-24T03:19:37.188Z] Login Succeeded [2024-06-24T03:19:37.188Z] nexus3.edgexfoundry.org:10002 [2024-06-24T03:19:37.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:37.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:37.188Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:37.188Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:37.188Z] [2024-06-24T03:19:37.188Z] Login Succeeded [2024-06-24T03:19:37.189Z] nexus3.edgexfoundry.org:10003 [2024-06-24T03:19:37.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:37.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:37.450Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:37.450Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:37.450Z] [2024-06-24T03:19:37.450Z] Login Succeeded [2024-06-24T03:19:37.450Z] nexus3.edgexfoundry.org:10004 [2024-06-24T03:19:37.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:37.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:37.450Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:37.450Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:37.450Z] [2024-06-24T03:19:37.450Z] Login Succeeded [2024-06-24T03:19:37.450Z] ****.io [2024-06-24T03:19:37.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:19:37.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:19:37.709Z] Configure a credential helper to remove this warning. See [2024-06-24T03:19:37.709Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:19:37.709Z] [2024-06-24T03:19:37.709Z] Login Succeeded [2024-06-24T03:19:37.709Z] ---> ****-login.sh ends [Pipeline] } [2024-06-24T03:19:37.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-24T03:19:37.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-24T03:19:38.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-24T03:19:38.105Z] ========================================================= [2024-06-24T03:19:38.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-06-24T03:19:38.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:19:38.655Z] + 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-06-24T03:19:38.655Z] Sending build context to Docker daemon 37.77MB [2024-06-24T03:19:38.655Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-06-24T03:19:38.655Z] Step 2/13 : FROM ${BASE} AS builder [2024-06-24T03:19:38.921Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-06-24T03:19:38.921Z] 619be1103602: Pulling fs layer [2024-06-24T03:19:38.921Z] 7862e08f4a3e: Pulling fs layer [2024-06-24T03:19:38.921Z] 5df492c9dc93: Pulling fs layer [2024-06-24T03:19:38.921Z] 7629e6793208: Pulling fs layer [2024-06-24T03:19:38.921Z] 4f4fb700ef54: Pulling fs layer [2024-06-24T03:19:38.921Z] fb5054dd5b73: Pulling fs layer [2024-06-24T03:19:38.921Z] eeca6798cff9: Pulling fs layer [2024-06-24T03:19:38.921Z] aa269ceb94a6: Pulling fs layer [2024-06-24T03:19:38.921Z] ada007ff1a6a: Pulling fs layer [2024-06-24T03:19:38.921Z] 4f4fb700ef54: Waiting [2024-06-24T03:19:38.921Z] fb5054dd5b73: Waiting [2024-06-24T03:19:38.921Z] eeca6798cff9: Waiting [2024-06-24T03:19:38.921Z] aa269ceb94a6: Waiting [2024-06-24T03:19:38.921Z] ada007ff1a6a: Waiting [2024-06-24T03:19:38.921Z] 7629e6793208: Waiting [2024-06-24T03:19:38.921Z] 7862e08f4a3e: Download complete [2024-06-24T03:19:38.921Z] 7629e6793208: Verifying Checksum [2024-06-24T03:19:38.921Z] 7629e6793208: Download complete [2024-06-24T03:19:38.921Z] 4f4fb700ef54: Verifying Checksum [2024-06-24T03:19:38.921Z] 4f4fb700ef54: Download complete [2024-06-24T03:19:38.921Z] 619be1103602: Verifying Checksum [2024-06-24T03:19:38.921Z] 619be1103602: Download complete [2024-06-24T03:19:38.921Z] fb5054dd5b73: Verifying Checksum [2024-06-24T03:19:38.921Z] fb5054dd5b73: Download complete [2024-06-24T03:19:38.921Z] eeca6798cff9: Verifying Checksum [2024-06-24T03:19:38.921Z] eeca6798cff9: Download complete [2024-06-24T03:19:39.179Z] 619be1103602: Pull complete [2024-06-24T03:19:39.179Z] ada007ff1a6a: Verifying Checksum [2024-06-24T03:19:39.179Z] ada007ff1a6a: Download complete [2024-06-24T03:19:39.179Z] 7862e08f4a3e: Pull complete [2024-06-24T03:19:39.437Z] 5df492c9dc93: Verifying Checksum [2024-06-24T03:19:39.437Z] 5df492c9dc93: Download complete [2024-06-24T03:19:39.695Z] aa269ceb94a6: Verifying Checksum [2024-06-24T03:19:39.696Z] aa269ceb94a6: Download complete [2024-06-24T03:19:42.984Z] 5df492c9dc93: Pull complete [2024-06-24T03:19:42.984Z] 7629e6793208: Pull complete [2024-06-24T03:19:42.984Z] 4f4fb700ef54: Pull complete [2024-06-24T03:19:42.984Z] fb5054dd5b73: Pull complete [2024-06-24T03:19:42.984Z] eeca6798cff9: Pull complete [2024-06-24T03:19:44.894Z] aa269ceb94a6: Pull complete [2024-06-24T03:19:45.462Z] ada007ff1a6a: Pull complete [2024-06-24T03:19:45.723Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-06-24T03:19:45.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-06-24T03:19:45.723Z] ---> f489d0715acc [2024-06-24T03:19:45.723Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-06-24T03:19:51.580Z] Still waiting to schedule task [2024-06-24T03:19:51.581Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-06-24T03:19:52.306Z] ---> Running in 056ef567021b [2024-06-24T03:19:53.242Z] Removing intermediate container 056ef567021b [2024-06-24T03:19:53.243Z] ---> cba022ec5c9e [2024-06-24T03:19:53.243Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-24T03:19:53.812Z] ---> Running in be9b97660b5c [2024-06-24T03:19:54.072Z] Removing intermediate container be9b97660b5c [2024-06-24T03:19:54.072Z] ---> b0a7fb54e3ab [2024-06-24T03:19:54.072Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-06-24T03:19:54.641Z] ---> Running in e0b09e653e07 [2024-06-24T03:19:55.210Z] Removing intermediate container e0b09e653e07 [2024-06-24T03:19:55.210Z] ---> 376217b31730 [2024-06-24T03:19:55.210Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-06-24T03:19:55.485Z] ---> Running in 8ae826ca2b3f [2024-06-24T03:19:56.056Z] Removing intermediate container 8ae826ca2b3f [2024-06-24T03:19:56.056Z] ---> a11e35c67b8b [2024-06-24T03:19:56.056Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-06-24T03:19:56.625Z] ---> Running in 06f8f6a6664b [2024-06-24T03:19:57.194Z] Removing intermediate container 06f8f6a6664b [2024-06-24T03:19:57.194Z] ---> af0fa48b91f5 [2024-06-24T03:19:57.194Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-24T03:19:57.454Z] ---> Running in 1c358901473b [2024-06-24T03:19:58.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-06-24T03:19:58.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-06-24T03:19:58.544Z] OK: 264 MiB in 52 packages [2024-06-24T03:19:59.485Z] Removing intermediate container 1c358901473b [2024-06-24T03:19:59.485Z] ---> a64b4a9b8a41 [2024-06-24T03:19:59.485Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-06-24T03:20:00.053Z] ---> Running in 8d8ae4673c15 [2024-06-24T03:20:00.053Z] Removing intermediate container 8d8ae4673c15 [2024-06-24T03:20:00.053Z] ---> 43b9e54096f1 [2024-06-24T03:20:00.053Z] Step 10/13 : COPY go.mod vendor* ./ [2024-06-24T03:20:00.314Z] ---> 01bac14139eb [2024-06-24T03:20:00.314Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-24T03:20:00.314Z] ---> Running in 371d2a18ba87 [2024-06-24T03:21:08.032Z] Removing intermediate container 371d2a18ba87 [2024-06-24T03:21:08.032Z] ---> 06f962d9972f [2024-06-24T03:21:08.032Z] Step 12/13 : COPY . . [2024-06-24T03:21:08.032Z] ---> 77ef8f0fdbd5 [2024-06-24T03:21:08.032Z] Step 13/13 : RUN ${MAKE} [2024-06-24T03:21:08.032Z] ---> Running in 08c474c8b017 [2024-06-24T03:21:08.032Z] noop [2024-06-24T03:21:08.032Z] Removing intermediate container 08c474c8b017 [2024-06-24T03:21:08.032Z] ---> 216df9406608 [2024-06-24T03:21:08.032Z] Successfully built 216df9406608 [2024-06-24T03:21:08.032Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:21:08.507Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-24T03:21:08.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T03:21:08.679Z] prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container [2024-06-24T03:21:08.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@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 ******** ci-base-image-x86_64 cat [2024-06-24T03:21:09.077Z] $ docker top 3b2bd25aead9905d921b18109cdadcc16b6d87926cc8637fd741ec678264d7c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T03:21:09.503Z] + go version [2024-06-24T03:21:09.504Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-06-24T03:21:09.577Z] $ docker stop --time=1 3b2bd25aead9905d921b18109cdadcc16b6d87926cc8637fd741ec678264d7c4 [2024-06-24T03:21:10.863Z] $ docker rm -f --volumes 3b2bd25aead9905d921b18109cdadcc16b6d87926cc8637fd741ec678264d7c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:21:11.666Z] + docker inspect -f . ci-base-image-x86_64 [2024-06-24T03:21:11.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T03:21:11.847Z] prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container [2024-06-24T03:21:11.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@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 ******** ci-base-image-x86_64 cat [2024-06-24T03:21:12.223Z] $ docker top 55cbd5e0d1a203fc0c14cf05fb0cada05fedcd29fa8cfe37d6ecd59c86e3a285 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T03:21:12.635Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-439 [Pipeline] fileExists [Pipeline] sh [2024-06-24T03:21:13.018Z] + make test [2024-06-24T03:21:13.018Z] go test ./... -coverprofile=coverage.out ./... [2024-06-24T03:21:14.395Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-06-24T03:21:26.597Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2024-06-24T03:21:26.597Z] internal/driver/driver.go:333:18: assignment mismatch: 1 variable but wsdiscovery.GetAvailableDevicesAtSpecificEthernetInterface returns 2 values [2024-06-24T03:21:27.762Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4208 in /w/workspace/undry_device-onvif-camera_PR-439 [Pipeline] { [Pipeline] ws [2024-06-24T03:21:27.831Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-06-24T03:21:30.938Z] The recommended git tool is: git [2024-06-24T03:21:33.156Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-06-24T03:21:33.156Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2024-06-24T03:21:35.055Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.093s coverage: 86.5% of statements [2024-06-24T03:21:35.055Z] FAIL [2024-06-24T03:21:35.055Z] make: *** [Makefile:60: unittest] Error 1 [Pipeline] } [2024-06-24T03:21:35.117Z] $ docker stop --time=1 55cbd5e0d1a203fc0c14cf05fb0cada05fedcd29fa8cfe37d6ecd59c86e3a285 [2024-06-24T03:21:35.381Z] using credential edgex-jenkins-ssh [2024-06-24T03:21:35.404Z] Cloning the remote Git repository [2024-06-24T03:21:35.444Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-06-24T03:21:35.529Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-06-24T03:21:35.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-06-24T03:21:35.665Z] > git --version # timeout=10 [2024-06-24T03:21:35.684Z] > git --version # 'git version 2.25.1' [2024-06-24T03:21:35.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-24T03:21:35.815Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-24T03:21:38.564Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-06-24T03:21:38.593Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-06-24T03:21:39.418Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-06-24T03:21:39.451Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-06-24T03:21:39.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-24T03:21:39.473Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-06-24T03:21:39.882Z] $ docker rm -f --volumes 55cbd5e0d1a203fc0c14cf05fb0cada05fedcd29fa8cfe37d6ecd59c86e3a285 [2024-06-24T03:21:39.949Z] Merging remotes/origin/main commit 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2024-06-24T03:21:40.307Z] Merge succeeded, producing 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [2024-06-24T03:21:40.308Z] Checking out Revision 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 (PR-439) [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [2024-06-24T03:21:40.997Z] Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 1.1.1 to 1.1.2" [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-06-24T03:21:41.038Z] > git --version # timeout=10 [2024-06-24T03:21:41.063Z] > git --version # 'git version 2.25.1' [2024-06-24T03:21:41.076Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-06-24T03:21:39.970Z] > git config core.sparsecheckout # timeout=10 [2024-06-24T03:21:40.039Z] > git checkout -f 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 # timeout=10 [2024-06-24T03:21:40.206Z] > git remote # timeout=10 [2024-06-24T03:21:40.221Z] > git config --get remote.origin.url # timeout=10 [2024-06-24T03:21:40.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-06-24T03:21:40.265Z] > git merge 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 [2024-06-24T03:21:40.290Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-06-24T03:21:40.310Z] > git config core.sparsecheckout # timeout=10 [2024-06-24T03:21:40.329Z] > git checkout -f 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 # timeout=10 [Pipeline] sh [2024-06-24T03:21:41.391Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-24T03:21:41.391Z] [2024-06-24T03:21:41.391Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:21:41.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-24T03:21:41.799Z] latest: Pulling from edgex-lftools-log-publisher [2024-06-24T03:21:41.799Z] 5eb5b503b376: Pulling fs layer [2024-06-24T03:21:41.799Z] 5c69ac0246d0: Pulling fs layer [2024-06-24T03:21:41.799Z] ec43610c2a17: Pulling fs layer [2024-06-24T03:21:41.799Z] 3a2ae6a8a46f: Pulling fs layer [2024-06-24T03:21:41.799Z] 33b1e0a273af: Pulling fs layer [2024-06-24T03:21:41.799Z] 5d3b04190fa2: Pulling fs layer [2024-06-24T03:21:41.799Z] 2f39f015ded8: Pulling fs layer [2024-06-24T03:21:41.799Z] 33b1e0a273af: Waiting [2024-06-24T03:21:41.799Z] 5d3b04190fa2: Waiting [2024-06-24T03:21:41.799Z] 2f39f015ded8: Waiting [2024-06-24T03:21:41.799Z] 3a2ae6a8a46f: Waiting [2024-06-24T03:21:41.799Z] 5c69ac0246d0: Verifying Checksum [2024-06-24T03:21:41.799Z] 5c69ac0246d0: Download complete [2024-06-24T03:21:41.799Z] 3a2ae6a8a46f: Verifying Checksum [2024-06-24T03:21:41.799Z] 3a2ae6a8a46f: Download complete [2024-06-24T03:21:41.799Z] 33b1e0a273af: Verifying Checksum [2024-06-24T03:21:41.799Z] 33b1e0a273af: Download complete [2024-06-24T03:21:42.058Z] 5d3b04190fa2: Verifying Checksum [2024-06-24T03:21:42.058Z] 5d3b04190fa2: Download complete [2024-06-24T03:21:42.058Z] ec43610c2a17: Verifying Checksum [2024-06-24T03:21:42.058Z] ec43610c2a17: Download complete [2024-06-24T03:21:42.058Z] 5eb5b503b376: Download complete [2024-06-24T03:21:42.623Z] 2f39f015ded8: Download complete [2024-06-24T03:21:43.202Z] 5eb5b503b376: Pull complete [2024-06-24T03:21:43.458Z] 5c69ac0246d0: Pull complete [2024-06-24T03:21:43.717Z] ec43610c2a17: Pull complete [2024-06-24T03:21:43.977Z] 3a2ae6a8a46f: Pull complete [2024-06-24T03:21:43.977Z] 33b1e0a273af: Pull complete [2024-06-24T03:21:44.236Z] 5d3b04190fa2: Pull complete [2024-06-24T03:21:45.311Z] [2024-06-24T03:21:45.311Z] GitHub has been notified of this commit’s build result [2024-06-24T03:21:45.311Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-06-24T03:21:46.183Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-06-24T03:21:46.183Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-24T03:21:46.183Z] Dload Upload Total Spent Left Speed [2024-06-24T03:21:46.183Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 94323 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh [2024-06-24T03:21:46.534Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-06-24T03:21:46.879Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-06-24T03:21:46.879Z] + sudo tee /etc/docker/daemon.new [2024-06-24T03:21:46.879Z] { [2024-06-24T03:21:46.879Z] "registry-mirrors": [ [2024-06-24T03:21:46.879Z] "https://nexus3.edgexfoundry.org:10001" [2024-06-24T03:21:46.879Z] ], [2024-06-24T03:21:46.879Z] "bip": "10.250.0.254/24", [2024-06-24T03:21:46.879Z] "hosts": [ [2024-06-24T03:21:46.879Z] "tcp://0.0.0.0:5555", [2024-06-24T03:21:46.879Z] "unix:///var/run/docker.sock" [2024-06-24T03:21:46.879Z] ], [2024-06-24T03:21:46.879Z] "mtu": 1458, [2024-06-24T03:21:46.879Z] "selinux-enabled": true, [2024-06-24T03:21:46.879Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-06-24T03:21:46.879Z] } [Pipeline] sh [2024-06-24T03:21:47.247Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-06-24T03:21:47.601Z] + sudo service docker restart [2024-06-24T03:21:48.426Z] 2f39f015ded8: Pull complete [2024-06-24T03:21:48.426Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-06-24T03:21:48.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-24T03:21:48.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T03:21:48.868Z] prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container [2024-06-24T03:21:48.912Z] $ 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/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-24T03:21:51.458Z] $ docker top 10fcfb589f09ae9969955445bdfadb3b79f773bd00632d25ebccc29aab5cc2c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:21:51.945Z] ---> job-cost.sh [2024-06-24T03:21:51.945Z] lf-activate-venv: SKIPPING [2024-06-24T03:21:51.945Z] INFO: No Stack... [2024-06-24T03:21:52.205Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-24T03:21:52.466Z] INFO: Archiving Costs [Pipeline] sh [2024-06-24T03:21:52.792Z] + cat /w/workspace/undry_device-onvif-camera_PR-439/archives/cost.csv [2024-06-24T03:21:52.792Z] + cut -d, -f6 [Pipeline] lock [2024-06-24T03:21:52.841Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [2024-06-24T03:21:52.848Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] did not exist. Created. [2024-06-24T03:21:52.855Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-24T03:21:53.269Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-06-24T03:21:53.336Z] Stashed 1 file(s) [Pipeline] } [2024-06-24T03:21:53.361Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-24T03:21:53.456Z] $ docker stop --time=1 10fcfb589f09ae9969955445bdfadb3b79f773bd00632d25ebccc29aab5cc2c0 [2024-06-24T03:21:54.606Z] $ docker rm -f --volumes 10fcfb589f09ae9969955445bdfadb3b79f773bd00632d25ebccc29aab5cc2c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-24T03:21:55.024Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-24T03:22:05.936Z] provisioning config files... [2024-06-24T03:22:05.962Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config14235383465465178230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:22:06.460Z] ---> ****-login.sh [2024-06-24T03:22:06.460Z] nexus3.edgexfoundry.org:10001 [2024-06-24T03:22:06.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:22:07.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:22:07.004Z] Configure a credential helper to remove this warning. See [2024-06-24T03:22:07.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:22:07.004Z] [2024-06-24T03:22:07.004Z] Login Succeeded [2024-06-24T03:22:07.004Z] nexus3.edgexfoundry.org:10002 [2024-06-24T03:22:07.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:22:07.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:22:07.541Z] Configure a credential helper to remove this warning. See [2024-06-24T03:22:07.541Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:22:07.541Z] [2024-06-24T03:22:07.541Z] Login Succeeded [2024-06-24T03:22:07.541Z] nexus3.edgexfoundry.org:10003 [2024-06-24T03:22:07.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:22:07.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:22:07.813Z] Configure a credential helper to remove this warning. See [2024-06-24T03:22:07.814Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:22:07.814Z] [2024-06-24T03:22:07.814Z] Login Succeeded [2024-06-24T03:22:07.814Z] nexus3.edgexfoundry.org:10004 [2024-06-24T03:22:08.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:22:08.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:22:08.085Z] Configure a credential helper to remove this warning. See [2024-06-24T03:22:08.085Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:22:08.085Z] [2024-06-24T03:22:08.085Z] Login Succeeded [2024-06-24T03:22:08.085Z] ****.io [2024-06-24T03:22:08.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-24T03:22:08.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-06-24T03:22:08.619Z] Configure a credential helper to remove this warning. See [2024-06-24T03:22:08.619Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-06-24T03:22:08.619Z] [2024-06-24T03:22:08.619Z] Login Succeeded [2024-06-24T03:22:08.619Z] ---> ****-login.sh ends [Pipeline] } [2024-06-24T03:22:08.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-06-24T03:22:09.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-24T03:22:09.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-06-24T03:22:09.192Z] ========================================================= [2024-06-24T03:22:09.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-06-24T03:22:09.192Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:22:10.315Z] + 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-06-24T03:22:10.901Z] Sending build context to Docker daemon 22.29MB [2024-06-24T03:22:10.901Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-06-24T03:22:10.901Z] Step 2/13 : FROM ${BASE} AS builder [2024-06-24T03:22:11.170Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-06-24T03:22:11.170Z] c6b39de5b339: Pulling fs layer [2024-06-24T03:22:11.170Z] a69c41024577: Pulling fs layer [2024-06-24T03:22:11.170Z] d6de4b400683: Pulling fs layer [2024-06-24T03:22:11.170Z] 35cb2a7552d0: Pulling fs layer [2024-06-24T03:22:11.170Z] 4f4fb700ef54: Pulling fs layer [2024-06-24T03:22:11.170Z] 464afbd9ba4c: Pulling fs layer [2024-06-24T03:22:11.170Z] 00f215d4a9da: Pulling fs layer [2024-06-24T03:22:11.170Z] d496ad576159: Pulling fs layer [2024-06-24T03:22:11.170Z] 464afbd9ba4c: Waiting [2024-06-24T03:22:11.170Z] 35cb2a7552d0: Waiting [2024-06-24T03:22:11.170Z] 00f215d4a9da: Waiting [2024-06-24T03:22:11.170Z] d496ad576159: Waiting [2024-06-24T03:22:11.170Z] a69c41024577: Verifying Checksum [2024-06-24T03:22:11.170Z] a69c41024577: Download complete [2024-06-24T03:22:11.170Z] 35cb2a7552d0: Verifying Checksum [2024-06-24T03:22:11.170Z] 35cb2a7552d0: Download complete [2024-06-24T03:22:11.170Z] 4f4fb700ef54: Verifying Checksum [2024-06-24T03:22:11.170Z] 4f4fb700ef54: Download complete [2024-06-24T03:22:11.170Z] 464afbd9ba4c: Download complete [2024-06-24T03:22:11.170Z] c6b39de5b339: Verifying Checksum [2024-06-24T03:22:11.170Z] c6b39de5b339: Download complete [2024-06-24T03:22:11.757Z] d496ad576159: Verifying Checksum [2024-06-24T03:22:11.757Z] d496ad576159: Download complete [2024-06-24T03:22:12.341Z] c6b39de5b339: Pull complete [2024-06-24T03:22:12.620Z] a69c41024577: Pull complete [2024-06-24T03:22:13.209Z] d6de4b400683: Download complete [2024-06-24T03:22:14.174Z] 00f215d4a9da: Verifying Checksum [2024-06-24T03:22:14.174Z] 00f215d4a9da: Download complete [2024-06-24T03:22:26.508Z] d6de4b400683: Pull complete [2024-06-24T03:22:26.508Z] 35cb2a7552d0: Pull complete [2024-06-24T03:22:26.508Z] 4f4fb700ef54: Pull complete [2024-06-24T03:22:26.508Z] 464afbd9ba4c: Pull complete [2024-06-24T03:22:34.725Z] 00f215d4a9da: Pull complete [2024-06-24T03:22:36.147Z] d496ad576159: Pull complete [2024-06-24T03:22:36.147Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-06-24T03:22:36.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-06-24T03:22:36.147Z] ---> f246e2811388 [2024-06-24T03:22:36.147Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-06-24T03:22:36.736Z] ---> Running in 0a58b2c7e89c [2024-06-24T03:22:37.004Z] Removing intermediate container 0a58b2c7e89c [2024-06-24T03:22:37.004Z] ---> 84aadc09f5bd [2024-06-24T03:22:37.004Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-06-24T03:22:37.004Z] ---> Running in a8296fa1db28 [2024-06-24T03:22:37.271Z] Removing intermediate container a8296fa1db28 [2024-06-24T03:22:37.271Z] ---> 89e1ae7d9d2c [2024-06-24T03:22:37.271Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-06-24T03:22:37.271Z] ---> Running in 0af61b4f6fd1 [2024-06-24T03:22:37.542Z] Removing intermediate container 0af61b4f6fd1 [2024-06-24T03:22:37.542Z] ---> 9596dc01db68 [2024-06-24T03:22:37.542Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-06-24T03:22:37.809Z] ---> Running in 590b991b6efb [2024-06-24T03:22:38.076Z] Removing intermediate container 590b991b6efb [2024-06-24T03:22:38.076Z] ---> 25bc92c1defc [2024-06-24T03:22:38.076Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-06-24T03:22:38.076Z] ---> Running in cc92cce5459f [2024-06-24T03:22:38.343Z] Removing intermediate container cc92cce5459f [2024-06-24T03:22:38.343Z] ---> 31656893d20e [2024-06-24T03:22:38.343Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-06-24T03:22:38.343Z] ---> Running in 25d50e3607cd [2024-06-24T03:22:39.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-06-24T03:22:40.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-06-24T03:22:40.982Z] OK: 266 MiB in 52 packages [2024-06-24T03:22:41.567Z] Removing intermediate container 25d50e3607cd [2024-06-24T03:22:41.567Z] ---> cdec1888215c [2024-06-24T03:22:41.567Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-06-24T03:22:41.831Z] ---> Running in 5ae95211013d [2024-06-24T03:22:42.097Z] Removing intermediate container 5ae95211013d [2024-06-24T03:22:42.097Z] ---> ea7ee90f0192 [2024-06-24T03:22:42.097Z] Step 10/13 : COPY go.mod vendor* ./ [2024-06-24T03:22:43.054Z] ---> 42971f87beaa [2024-06-24T03:22:43.054Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-06-24T03:22:43.054Z] ---> Running in 8f92b6741afe [2024-06-24T03:24:34.708Z] Removing intermediate container 8f92b6741afe [2024-06-24T03:24:34.708Z] ---> e6516fa6b956 [2024-06-24T03:24:34.708Z] Step 12/13 : COPY . . [2024-06-24T03:24:34.708Z] ---> 5db8e08f9a22 [2024-06-24T03:24:34.708Z] Step 13/13 : RUN ${MAKE} [2024-06-24T03:24:34.708Z] ---> Running in 106df13b85dd [2024-06-24T03:24:34.708Z] noop [2024-06-24T03:24:34.708Z] Removing intermediate container 106df13b85dd [2024-06-24T03:24:34.708Z] ---> 957b79bed71e [2024-06-24T03:24:34.708Z] Successfully built 957b79bed71e [2024-06-24T03:24:34.708Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:24:35.213Z] + docker inspect -f . ci-base-image-arm64 [2024-06-24T03:24:35.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T03:24:35.505Z] prd-ubuntu20.04-docker-arm64-4c-16g-4208 does not seem to be running inside a container [2024-06-24T03:24:35.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2024-06-24T03:24:36.744Z] $ docker top a111d651920a6880846f99d7c538d677332c3f5c4c2ebe1dc0460690c94d4f55 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T03:24:37.645Z] + go version [2024-06-24T03:24:37.645Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-06-24T03:24:37.683Z] $ docker stop --time=1 a111d651920a6880846f99d7c538d677332c3f5c4c2ebe1dc0460690c94d4f55 [2024-06-24T03:24:39.255Z] $ docker rm -f --volumes a111d651920a6880846f99d7c538d677332c3f5c4c2ebe1dc0460690c94d4f55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:24:40.220Z] + docker inspect -f . ci-base-image-arm64 [2024-06-24T03:24:40.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T03:24:40.495Z] prd-ubuntu20.04-docker-arm64-4c-16g-4208 does not seem to be running inside a container [2024-06-24T03:24:40.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2024-06-24T03:24:41.662Z] $ docker top 3a1136ede0c99b30e9d3416ea9189a3268ae5be92542bb22407949ec3e6dfdbb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T03:24:42.224Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-06-24T03:24:42.891Z] + make test [2024-06-24T03:24:42.891Z] go test ./... -coverprofile=coverage.out ./... [2024-06-24T03:24:49.532Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-06-24T03:27:11.474Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2024-06-24T03:27:11.474Z] internal/driver/driver.go:333:18: assignment mismatch: 1 variable but wsdiscovery.GetAvailableDevicesAtSpecificEthernetInterface returns 2 values [2024-06-24T03:28:33.118Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-06-24T03:28:33.118Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2024-06-24T03:28:55.226Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.648s coverage: 86.5% of statements [2024-06-24T03:28:55.226Z] FAIL [2024-06-24T03:28:55.226Z] make: *** [Makefile:60: unittest] Error 1 [Pipeline] } [2024-06-24T03:28:55.279Z] $ docker stop --time=1 3a1136ede0c99b30e9d3416ea9189a3268ae5be92542bb22407949ec3e6dfdbb [2024-06-24T03:28:57.161Z] $ docker rm -f --volumes 3a1136ede0c99b30e9d3416ea9189a3268ae5be92542bb22407949ec3e6dfdbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:28:59.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-24T03:28:59.645Z] [2024-06-24T03:28:59.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:29:00.085Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-24T03:29:00.350Z] arm64: Pulling from edgex-lftools-log-publisher [2024-06-24T03:29:00.350Z] 8998bd30e6a1: Pulling fs layer [2024-06-24T03:29:00.350Z] 04944245beec: Pulling fs layer [2024-06-24T03:29:00.350Z] 699f458cf7ca: Pulling fs layer [2024-06-24T03:29:00.350Z] 765212b225bb: Pulling fs layer [2024-06-24T03:29:00.350Z] f23df028b6ca: Pulling fs layer [2024-06-24T03:29:00.350Z] d65c8cfc05b1: Pulling fs layer [2024-06-24T03:29:00.350Z] 2437ff75d9bd: Pulling fs layer [2024-06-24T03:29:00.350Z] 765212b225bb: Waiting [2024-06-24T03:29:00.350Z] f23df028b6ca: Waiting [2024-06-24T03:29:00.350Z] d65c8cfc05b1: Waiting [2024-06-24T03:29:00.350Z] 2437ff75d9bd: Waiting [2024-06-24T03:29:00.350Z] 04944245beec: Verifying Checksum [2024-06-24T03:29:00.350Z] 04944245beec: Download complete [2024-06-24T03:29:00.350Z] 765212b225bb: Verifying Checksum [2024-06-24T03:29:00.350Z] 765212b225bb: Download complete [2024-06-24T03:29:00.350Z] f23df028b6ca: Verifying Checksum [2024-06-24T03:29:00.350Z] f23df028b6ca: Download complete [2024-06-24T03:29:00.350Z] d65c8cfc05b1: Verifying Checksum [2024-06-24T03:29:00.350Z] d65c8cfc05b1: Download complete [2024-06-24T03:29:00.615Z] 699f458cf7ca: Verifying Checksum [2024-06-24T03:29:00.615Z] 699f458cf7ca: Download complete [2024-06-24T03:29:01.195Z] 8998bd30e6a1: Verifying Checksum [2024-06-24T03:29:01.195Z] 8998bd30e6a1: Download complete [2024-06-24T03:29:03.762Z] 2437ff75d9bd: Verifying Checksum [2024-06-24T03:29:03.762Z] 2437ff75d9bd: Download complete [2024-06-24T03:29:05.693Z] 8998bd30e6a1: Pull complete [2024-06-24T03:29:05.958Z] 04944245beec: Pull complete [2024-06-24T03:29:07.361Z] 699f458cf7ca: Pull complete [2024-06-24T03:29:07.625Z] 765212b225bb: Pull complete [2024-06-24T03:29:08.580Z] f23df028b6ca: Pull complete [2024-06-24T03:29:08.580Z] d65c8cfc05b1: Pull complete [2024-06-24T03:29:26.770Z] 2437ff75d9bd: Pull complete [2024-06-24T03:29:26.770Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-06-24T03:29:26.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-06-24T03:29:26.770Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T03:29:27.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-4208 does not seem to be running inside a container [2024-06-24T03:29:27.229Z] $ 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-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-06-24T03:29:29.720Z] $ docker top 41376019b897acc295d1adee4b57a2df4010c6c5c5407df265d962f26913dc6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:29:30.630Z] ---> job-cost.sh [2024-06-24T03:29:30.630Z] lf-activate-venv: SKIPPING [2024-06-24T03:29:30.630Z] INFO: No Stack... [2024-06-24T03:29:30.892Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-06-24T03:29:31.841Z] INFO: Archiving Costs [Pipeline] sh [2024-06-24T03:29:32.526Z] + cat+ /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-06-24T03:29:32.526Z] cut -d, -f6 [Pipeline] lock [2024-06-24T03:29:32.609Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [2024-06-24T03:29:32.617Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] did not exist. Created. [2024-06-24T03:29:32.625Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-06-24T03:29:33.398Z] /w/workspace/device-onvif-camera/1@tmp/durable-77376ab2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-06-24T03:29:34.071Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-06-24T03:29:34.114Z] Warning: overwriting stash ‘stack-cost’ [2024-06-24T03:29:34.516Z] Stashed 1 file(s) [Pipeline] } [2024-06-24T03:29:34.540Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-06-24T03:29:34.644Z] $ docker stop --time=1 41376019b897acc295d1adee4b57a2df4010c6c5c5407df265d962f26913dc6f [2024-06-24T03:29:36.123Z] $ docker rm -f --volumes 41376019b897acc295d1adee4b57a2df4010c6c5c5407df265d962f26913dc6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-06-24T03:29:37.004Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-06-24T03:29:39.757Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-439/archives ] [2024-06-24T03:29:39.757Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-439/archives [2024-06-24T03:29:39.757Z] total 16 [2024-06-24T03:29:39.757Z] drwxr-xr-x 3 root root 4096 Jun 24 03:21 . [2024-06-24T03:29:39.757Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 03:21 .. [2024-06-24T03:29:39.757Z] drwxr-xr-x 2 root root 4096 Jun 24 03:21 cost [2024-06-24T03:29:39.757Z] -rw-r--r-- 1 root root 91 Jun 24 03:21 cost.csv [2024-06-24T03:29:39.757Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-439/archives [2024-06-24T03:29:39.757Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-439/archives [2024-06-24T03:29:39.757Z] total 16 [2024-06-24T03:29:39.757Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 03:21 . [2024-06-24T03:29:39.757Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 03:21 .. [2024-06-24T03:29:39.757Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 03:21 cost [2024-06-24T03:29:39.757Z] -rw-r--r-- 1 jenkins jenkins 91 Jun 24 03:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:29:40.101Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:29:41.016Z] ---> package-listing.sh [2024-06-24T03:29:41.016Z] ++ facter osfamily [2024-06-24T03:29:41.016Z] ++ tr '[:upper:]' '[:lower:]' [2024-06-24T03:29:41.276Z] + OS_FAMILY=debian [2024-06-24T03:29:41.276Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-439 [2024-06-24T03:29:41.276Z] + START_PACKAGES=/tmp/packages_start.txt [2024-06-24T03:29:41.276Z] + END_PACKAGES=/tmp/packages_end.txt [2024-06-24T03:29:41.276Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-06-24T03:29:41.276Z] + PACKAGES=/tmp/packages_start.txt [2024-06-24T03:29:41.276Z] + '[' /w/workspace/undry_device-onvif-camera_PR-439 ']' [2024-06-24T03:29:41.276Z] + PACKAGES=/tmp/packages_end.txt [2024-06-24T03:29:41.276Z] + case "${OS_FAMILY}" in [2024-06-24T03:29:41.276Z] + dpkg -l [2024-06-24T03:29:41.276Z] + grep '^ii' [2024-06-24T03:29:41.276Z] + '[' -f /tmp/packages_start.txt ']' [2024-06-24T03:29:41.276Z] + '[' -f /tmp/packages_end.txt ']' [2024-06-24T03:29:41.276Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-06-24T03:29:41.276Z] + '[' /w/workspace/undry_device-onvif-camera_PR-439 ']' [2024-06-24T03:29:41.276Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-439/archives/ [2024-06-24T03:29:41.276Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-439/archives/ [Pipeline] echo [2024-06-24T03:29:41.323Z] 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/undry_device-onvif-camera_PR-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-06-24T03:29:41.626Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-06-24T03:29:42.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-06-24T03:29:42.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-06-24T03:29:42.448Z] prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container [2024-06-24T03:29:42.494Z] $ 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/undry_device-onvif-camera_PR-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-06-24T03:29:42.698Z] $ docker top 7eadcf4154e6526e78828d4b71cdeb5ba6695695b89898f8eea0ffda031acc5e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-06-24T03:29:43.102Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-06-24T03:29:43.423Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-06-24T03:29:43.740Z] + ls /var/log/sa-host [2024-06-24T03:29:43.740Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-06-24T03:29:44.000Z] provisioning config files... [2024-06-24T03:29:44.009Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-439@tmp/config2247317111923269081tmp [Pipeline] { [Pipeline] echo [2024-06-24T03:29:44.180Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:29:44.501Z] ---> create-netrc.sh [Pipeline] } [2024-06-24T03:29:44.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:29:44.972Z] ---> python-tools-install.sh [Pipeline] echo [2024-06-24T03:29:45.010Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:29:45.337Z] ---> sudo-logs.sh [2024-06-24T03:29:45.337Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-06-24T03:29:45.454Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:29:45.780Z] ---> job-cost.sh [2024-06-24T03:29:45.780Z] lf-activate-venv: SKIPPING [2024-06-24T03:29:45.780Z] DEBUG: total: 0.2199999988079071 [2024-06-24T03:29:45.780Z] INFO: Retrieving Stack Cost... [2024-06-24T03:29:46.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-06-24T03:29:46.609Z] INFO: Archiving Costs [Pipeline] echo [2024-06-24T03:29:46.654Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-06-24T03:29:46.980Z] ---> logs-deploy.sh [2024-06-24T03:29:46.980Z] lf-activate-venv: SKIPPING [2024-06-24T03:29:46.980Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-439/1 [2024-06-24T03:29:46.980Z] INFO: archiving workspace using pattern(s): [2024-06-24T03:29:47.919Z] Archives upload complete. [2024-06-24T03:29:47.919Z] INFO: archiving logs to Nexus