Pull request #468 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 10cf6573b4b293eb468576dd30ad7461766af843+39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 (4c0ce9e5e28a7a2f204a12a95a109234a7bb1ce6) 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-ssh4964233637982847032.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2422130652241007047.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh 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-468/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-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13162188009779559905.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-468/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10544242408286058599.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh9453819314944821861.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-468/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-468/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1768589470855670570.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23568 in /w/workspace/undry_device-onvif-camera_PR-468 [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-468 # 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 Merging remotes/origin/main commit 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 into PR head commit 10cf6573b4b293eb468576dd30ad7461766af843 Merge succeeded, producing 10cf6573b4b293eb468576dd30ad7461766af843 Checking out Revision 10cf6573b4b293eb468576dd30ad7461766af843 (PR-468) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10cf6573b4b293eb468576dd30ad7461766af843 # 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 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10cf6573b4b293eb468576dd30ad7461766af843 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-23T03:10:39.342Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-23T03:10:39.558Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-23T03:10:39.698Z] ========================================================= [2024-10-23T03:10:39.698Z] EdgeX Global Pipelines Version Info [2024-10-23T03:10:39.698Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:10:40.846Z] ------------------- [2024-10-23T03:10:40.847Z] stable info: [2024-10-23T03:10:40.847Z] ------------------- [2024-10-23T03:10:40.847Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-23T03:10:40.847Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-23T03:10:40.847Z] Message: update stable to v1.0.265 [2024-10-23T03:10:41.112Z] ------------------- [2024-10-23T03:10:41.112Z] experimental info: [2024-10-23T03:10:41.112Z] ------------------- [2024-10-23T03:10:41.112Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-23T03:10:41.112Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-23T03:10:41.112Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-23T03:10:41.349Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-10-23T03:10:41.418Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-10-23T03:10:41.480Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-23T03:10:41.544Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-23T03:10:41.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-23T03:10:41.673Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-23T03:10:41.742Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-23T03:10:41.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-23T03:10:41.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-23T03:10:41.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-23T03:10:41.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-23T03:10:42.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-10-23T03:10:42.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-23T03:10:42.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-23T03:10:42.261Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-23T03:10:42.318Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-23T03:10:42.381Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-23T03:10:42.445Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-23T03:10:42.508Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-23T03:10:42.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-23T03:10:42.641Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-23T03:10:42.704Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-10-23T03:10:42.766Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-23T03:10:42.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-23T03:10:42.900Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-23T03:10:42.962Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-23T03:10:43.025Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-23T03:10:43.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-468 [Pipeline] echo [2024-10-23T03:10:43.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-468 [Pipeline] echo [2024-10-23T03:10:43.211Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-468 [Pipeline] echo [2024-10-23T03:10:43.286Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10cf6573b4b293eb468576dd30ad7461766af843 [Pipeline] echo [2024-10-23T03:10:43.346Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10cf657 [Pipeline] echo [2024-10-23T03:10:43.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T03:10:43.590Z] provisioning config files... [2024-10-23T03:10:43.603Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-468@tmp/config10673506938667371429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:10:44.017Z] ---> ****-login.sh [2024-10-23T03:10:44.017Z] nexus3.edgexfoundry.org:10001 [2024-10-23T03:10:44.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:10:44.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:10:44.278Z] Configure a credential helper to remove this warning. See [2024-10-23T03:10:44.278Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:10:44.278Z] [2024-10-23T03:10:44.278Z] Login Succeeded [2024-10-23T03:10:44.278Z] nexus3.edgexfoundry.org:10002 [2024-10-23T03:10:44.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:10:44.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:10:44.537Z] Configure a credential helper to remove this warning. See [2024-10-23T03:10:44.537Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:10:44.537Z] [2024-10-23T03:10:44.537Z] Login Succeeded [2024-10-23T03:10:44.538Z] nexus3.edgexfoundry.org:10003 [2024-10-23T03:10:44.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:10:44.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:10:44.538Z] Configure a credential helper to remove this warning. See [2024-10-23T03:10:44.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:10:44.538Z] [2024-10-23T03:10:44.538Z] Login Succeeded [2024-10-23T03:10:44.538Z] nexus3.edgexfoundry.org:10004 [2024-10-23T03:10:44.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:10:44.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:10:44.800Z] Configure a credential helper to remove this warning. See [2024-10-23T03:10:44.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:10:44.800Z] [2024-10-23T03:10:44.801Z] Login Succeeded [2024-10-23T03:10:44.801Z] ****.io [2024-10-23T03:10:44.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:10:44.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:10:44.801Z] Configure a credential helper to remove this warning. See [2024-10-23T03:10:44.801Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:10:44.801Z] [2024-10-23T03:10:44.801Z] Login Succeeded [2024-10-23T03:10:44.808Z] ---> ****-login.sh ends [Pipeline] } [2024-10-23T03:10:44.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-23T03:10:45.525Z] + git rev-list -1 --merges 10cf6573b4b293eb468576dd30ad7461766af843~1..10cf6573b4b293eb468576dd30ad7461766af843 [Pipeline] echo [2024-10-23T03:10:45.570Z] -----------> git rev-list -1 --merges 10cf6573b4b293eb468576dd30ad7461766af843~1..10cf6573b4b293eb468576dd30ad7461766af843 10cf6573b4b293eb468576dd30ad7461766af843 [false] [Pipeline] sh [2024-10-23T03:10:45.897Z] + git log --format=format:%s -1 10cf6573b4b293eb468576dd30ad7461766af843 [Pipeline] echo [2024-10-23T03:10:45.941Z] ========================================================= [2024-10-23T03:10:45.941Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-23T03:10:45.941Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-23T03:10:46.401Z] + git log --format=format:%s -1 10cf6573b4b293eb468576dd30ad7461766af843 [Pipeline] echo [2024-10-23T03:10:46.445Z] [semverPrep] GIT_COMMIT: 10cf6573b4b293eb468576dd30ad7461766af843, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-23T03:10:46.486Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-23T03:10:46.900Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-23T03:10:46.900Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-23T03:10:46.900Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-23T03:10:46.900Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-23T03:10:46.900Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-23T03:10:46.900Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-23T03:10:46.901Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:10:47.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-23T03:10:47.335Z] [2024-10-23T03:10:47.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:10:47.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-23T03:10:47.715Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-23T03:10:47.715Z] b85a868b505f: Pulling fs layer [2024-10-23T03:10:47.715Z] e2be974225ed: Pulling fs layer [2024-10-23T03:10:47.715Z] 339a4e72a1f5: Pulling fs layer [2024-10-23T03:10:47.715Z] 988bab9f4d93: Pulling fs layer [2024-10-23T03:10:47.715Z] 1469e6f7b9e6: Pulling fs layer [2024-10-23T03:10:47.715Z] eaf3925da568: Pulling fs layer [2024-10-23T03:10:47.715Z] bab4dde63d76: Pulling fs layer [2024-10-23T03:10:47.715Z] bde34c3a00c8: Pulling fs layer [2024-10-23T03:10:47.715Z] b352a97aabf1: Pulling fs layer [2024-10-23T03:10:47.715Z] 4872d77fe225: Pulling fs layer [2024-10-23T03:10:47.715Z] 5851b861e8e6: Pulling fs layer [2024-10-23T03:10:47.715Z] 988bab9f4d93: Waiting [2024-10-23T03:10:47.715Z] bab4dde63d76: Waiting [2024-10-23T03:10:47.715Z] eaf3925da568: Waiting [2024-10-23T03:10:47.715Z] bde34c3a00c8: Waiting [2024-10-23T03:10:47.715Z] b352a97aabf1: Waiting [2024-10-23T03:10:47.715Z] 1469e6f7b9e6: Waiting [2024-10-23T03:10:47.715Z] 4872d77fe225: Waiting [2024-10-23T03:10:47.715Z] e2be974225ed: Download complete [2024-10-23T03:10:47.715Z] 988bab9f4d93: Verifying Checksum [2024-10-23T03:10:47.715Z] 988bab9f4d93: Download complete [2024-10-23T03:10:47.715Z] 339a4e72a1f5: Verifying Checksum [2024-10-23T03:10:47.716Z] 1469e6f7b9e6: Verifying Checksum [2024-10-23T03:10:47.716Z] 339a4e72a1f5: Download complete [2024-10-23T03:10:47.716Z] 1469e6f7b9e6: Download complete [2024-10-23T03:10:47.716Z] eaf3925da568: Verifying Checksum [2024-10-23T03:10:47.716Z] eaf3925da568: Download complete [2024-10-23T03:10:47.974Z] bde34c3a00c8: Verifying Checksum [2024-10-23T03:10:47.974Z] bde34c3a00c8: Download complete [2024-10-23T03:10:47.974Z] b352a97aabf1: Verifying Checksum [2024-10-23T03:10:47.974Z] b352a97aabf1: Download complete [2024-10-23T03:10:47.974Z] 4872d77fe225: Download complete [2024-10-23T03:10:47.974Z] 5851b861e8e6: Verifying Checksum [2024-10-23T03:10:47.974Z] 5851b861e8e6: Download complete [2024-10-23T03:10:47.974Z] b85a868b505f: Verifying Checksum [2024-10-23T03:10:47.974Z] b85a868b505f: Download complete [2024-10-23T03:10:48.233Z] bab4dde63d76: Verifying Checksum [2024-10-23T03:10:48.233Z] bab4dde63d76: Download complete [2024-10-23T03:10:49.170Z] b85a868b505f: Pull complete [2024-10-23T03:10:49.170Z] e2be974225ed: Pull complete [2024-10-23T03:10:49.738Z] 339a4e72a1f5: Pull complete [2024-10-23T03:10:49.738Z] 988bab9f4d93: Pull complete [2024-10-23T03:10:49.997Z] 1469e6f7b9e6: Pull complete [2024-10-23T03:10:49.997Z] eaf3925da568: Pull complete [2024-10-23T03:10:51.918Z] bab4dde63d76: Pull complete [2024-10-23T03:10:51.918Z] bde34c3a00c8: Pull complete [2024-10-23T03:10:51.918Z] b352a97aabf1: Pull complete [2024-10-23T03:10:51.918Z] 4872d77fe225: Pull complete [2024-10-23T03:10:51.918Z] 5851b861e8e6: Pull complete [2024-10-23T03:10:51.918Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-23T03:10:51.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-23T03:10:51.918Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T03:10:52.191Z] prd-ubuntu20.04-docker-8c-8g-23568 does not seem to be running inside a container [2024-10-23T03:10:52.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-468 -v /w/workspace/undry_device-onvif-camera_PR-468:/w/workspace/undry_device-onvif-camera_PR-468:rw,z -v /w/workspace/undry_device-onvif-camera_PR-468@tmp:/w/workspace/undry_device-onvif-camera_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-23T03:10:54.933Z] $ docker top 8d2e2a5e65cf73bfb82adeb7a8e91790677be55e5bda630e6182d7ccade28538 -eo pid,comm [2024-10-23T03:10:54.985Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-23T03:10:54.985Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-23T03:10:55.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-23T03:10:55.157Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-23T03:10:55.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-23T03:10:55.265Z] $ docker exec 8d2e2a5e65cf73bfb82adeb7a8e91790677be55e5bda630e6182d7ccade28538 ssh-agent [2024-10-23T03:10:55.357Z] SSH_AUTH_SOCK=/tmp/ssh-ZtGS8p6z949X/agent.31 [2024-10-23T03:10:55.357Z] SSH_AGENT_PID=37 [2024-10-23T03:10:55.364Z] Running ssh-add (command line suppressed) [2024-10-23T03:10:55.457Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-468@tmp/private_key_7304960844314426510.key (/w/workspace/undry_device-onvif-camera_PR-468@tmp/private_key_7304960844314426510.key) [2024-10-23T03:10:55.472Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-23T03:10:55.817Z] + git tag --points-at HEAD [Pipeline] } [2024-10-23T03:10:55.844Z] $ docker exec --env ******** --env ******** 8d2e2a5e65cf73bfb82adeb7a8e91790677be55e5bda630e6182d7ccade28538 ssh-agent -k [2024-10-23T03:10:55.944Z] unset SSH_AUTH_SOCK; [2024-10-23T03:10:55.944Z] unset SSH_AGENT_PID; [2024-10-23T03:10:55.945Z] echo Agent pid 37 killed; [2024-10-23T03:10:55.952Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-23T03:10:56.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-23T03:10:56.068Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-23T03:10:56.170Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-23T03:10:56.173Z] $ docker exec 8d2e2a5e65cf73bfb82adeb7a8e91790677be55e5bda630e6182d7ccade28538 ssh-agent [2024-10-23T03:10:56.275Z] SSH_AUTH_SOCK=/tmp/ssh-HrpNdVM9rGHm/agent.70 [2024-10-23T03:10:56.275Z] SSH_AGENT_PID=76 [2024-10-23T03:10:56.280Z] Running ssh-add (command line suppressed) [2024-10-23T03:10:56.373Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-468@tmp/private_key_13097473679140395905.key (/w/workspace/undry_device-onvif-camera_PR-468@tmp/private_key_13097473679140395905.key) [2024-10-23T03:10:56.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-23T03:10:56.741Z] + git semver init [2024-10-23T03:10:57.012Z] 2024-10-23 03:10:56,917 [run_init] DEBUG init version:0.0.0 force:False [2024-10-23T03:10:57.012Z] 2024-10-23 03:10:56,918 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-468/.semver [2024-10-23T03:10:57.012Z] 2024-10-23 03:10:56,918 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-468/.semver [2024-10-23T03:10:57.012Z] 2024-10-23 03:10:56,918 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-468/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-468, universal_newlines=False, shell=None, istream=None) [2024-10-23T03:10:58.399Z] 2024-10-23 03:10:58,150 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-468/.git/info/exclude [2024-10-23T03:10:58.399Z] 2024-10-23 03:10:58,150 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-468/.semver/PR-468 with force:False [2024-10-23T03:10:58.399Z] 2024-10-23 03:10:58,151 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-468/.semver/PR-468 [2024-10-23T03:10:58.399Z] 2024-10-23 03:10:58,155 [execute] INFO git cat-file --batch-check [2024-10-23T03:10:58.399Z] 2024-10-23 03:10:58,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-468/.semver, universal_newlines=False, shell=None, istream=) [2024-10-23T03:10:58.399Z] 2024-10-23 03:10:58,161 [execute] INFO git cat-file --batch [2024-10-23T03:10:58.399Z] 2024-10-23 03:10:58,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-468/.semver, universal_newlines=False, shell=None, istream=) [2024-10-23T03:10:58.399Z] 2024-10-23 03:10:58,167 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-468/.semver/PR-468 [2024-10-23T03:10:58.399Z] 0.0.0 [Pipeline] } [2024-10-23T03:10:58.428Z] $ docker exec --env ******** --env ******** 8d2e2a5e65cf73bfb82adeb7a8e91790677be55e5bda630e6182d7ccade28538 ssh-agent -k [2024-10-23T03:10:58.521Z] unset SSH_AUTH_SOCK; [2024-10-23T03:10:58.526Z] unset SSH_AGENT_PID; [2024-10-23T03:10:58.527Z] echo Agent pid 76 killed; [2024-10-23T03:10:58.532Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-23T03:10:59.003Z] + git semver [Pipeline] } [2024-10-23T03:10:59.296Z] $ docker stop --time=1 8d2e2a5e65cf73bfb82adeb7a8e91790677be55e5bda630e6182d7ccade28538 [2024-10-23T03:11:00.555Z] $ docker rm -f --volumes 8d2e2a5e65cf73bfb82adeb7a8e91790677be55e5bda630e6182d7ccade28538 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-23T03:11:00.984Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-23T03:11:01.288Z] Stashed 1 file(s) [Pipeline] echo [2024-10-23T03:11:01.317Z] [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-10-23T03:11:02.074Z] provisioning config files... [2024-10-23T03:11:02.085Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-468@tmp/config13587792896876291962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:11:02.460Z] ---> ****-login.sh [2024-10-23T03:11:02.460Z] nexus3.edgexfoundry.org:10001 [2024-10-23T03:11:02.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:11:02.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:11:02.460Z] Configure a credential helper to remove this warning. See [2024-10-23T03:11:02.460Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:11:02.460Z] [2024-10-23T03:11:02.460Z] Login Succeeded [2024-10-23T03:11:02.460Z] nexus3.edgexfoundry.org:10002 [2024-10-23T03:11:02.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:11:02.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:11:02.460Z] Configure a credential helper to remove this warning. See [2024-10-23T03:11:02.461Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:11:02.461Z] [2024-10-23T03:11:02.461Z] Login Succeeded [2024-10-23T03:11:02.461Z] nexus3.edgexfoundry.org:10003 [2024-10-23T03:11:02.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:11:02.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:11:02.722Z] Configure a credential helper to remove this warning. See [2024-10-23T03:11:02.722Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:11:02.722Z] [2024-10-23T03:11:02.722Z] Login Succeeded [2024-10-23T03:11:02.722Z] nexus3.edgexfoundry.org:10004 [2024-10-23T03:11:02.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:11:02.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:11:02.722Z] Configure a credential helper to remove this warning. See [2024-10-23T03:11:02.722Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:11:02.722Z] [2024-10-23T03:11:02.722Z] Login Succeeded [2024-10-23T03:11:02.722Z] ****.io [2024-10-23T03:11:02.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:11:02.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:11:02.984Z] Configure a credential helper to remove this warning. See [2024-10-23T03:11:02.984Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:11:02.984Z] [2024-10-23T03:11:02.984Z] Login Succeeded [2024-10-23T03:11:02.984Z] ---> ****-login.sh ends [Pipeline] } [2024-10-23T03:11:03.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-23T03:11:03.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T03:11:03.320Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T03:11:03.369Z] ========================================================= [2024-10-23T03:11:03.369Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-23T03:11:03.369Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:11:03.901Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-23T03:11:03.901Z] Sending build context to Docker daemon 36.77MB [2024-10-23T03:11:03.901Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-23T03:11:03.901Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-23T03:11:04.160Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-23T03:11:04.160Z] 43c4264eed91: Pulling fs layer [2024-10-23T03:11:04.160Z] 4cc291be95ef: Pulling fs layer [2024-10-23T03:11:04.160Z] 2ac1f1163629: Pulling fs layer [2024-10-23T03:11:04.160Z] 5c3c966382ef: Pulling fs layer [2024-10-23T03:11:04.160Z] 4f4fb700ef54: Pulling fs layer [2024-10-23T03:11:04.160Z] 5d5c8e513c77: Pulling fs layer [2024-10-23T03:11:04.160Z] 9f66e0745190: Pulling fs layer [2024-10-23T03:11:04.160Z] f49a43e4bbc0: Pulling fs layer [2024-10-23T03:11:04.160Z] 561ebcabdf7f: Pulling fs layer [2024-10-23T03:11:04.160Z] 9f66e0745190: Waiting [2024-10-23T03:11:04.160Z] f49a43e4bbc0: Waiting [2024-10-23T03:11:04.160Z] 5c3c966382ef: Waiting [2024-10-23T03:11:04.160Z] 4f4fb700ef54: Waiting [2024-10-23T03:11:04.160Z] 5d5c8e513c77: Waiting [2024-10-23T03:11:04.160Z] 4cc291be95ef: Verifying Checksum [2024-10-23T03:11:04.160Z] 4cc291be95ef: Download complete [2024-10-23T03:11:04.160Z] 5c3c966382ef: Verifying Checksum [2024-10-23T03:11:04.160Z] 5c3c966382ef: Download complete [2024-10-23T03:11:04.160Z] 4f4fb700ef54: Verifying Checksum [2024-10-23T03:11:04.160Z] 4f4fb700ef54: Download complete [2024-10-23T03:11:04.160Z] 5d5c8e513c77: Verifying Checksum [2024-10-23T03:11:04.160Z] 5d5c8e513c77: Download complete [2024-10-23T03:11:04.160Z] 43c4264eed91: Download complete [2024-10-23T03:11:04.160Z] 9f66e0745190: Verifying Checksum [2024-10-23T03:11:04.160Z] 9f66e0745190: Download complete [2024-10-23T03:11:04.418Z] 43c4264eed91: Pull complete [2024-10-23T03:11:04.418Z] 4cc291be95ef: Pull complete [2024-10-23T03:11:04.677Z] 2ac1f1163629: Download complete [2024-10-23T03:11:04.936Z] f49a43e4bbc0: Verifying Checksum [2024-10-23T03:11:04.936Z] f49a43e4bbc0: Download complete [2024-10-23T03:11:08.218Z] 2ac1f1163629: Pull complete [2024-10-23T03:11:08.218Z] 5c3c966382ef: Pull complete [2024-10-23T03:11:08.218Z] 4f4fb700ef54: Pull complete [2024-10-23T03:11:08.218Z] 5d5c8e513c77: Pull complete [2024-10-23T03:11:08.218Z] 9f66e0745190: Pull complete [2024-10-23T03:11:10.756Z] f49a43e4bbc0: Pull complete [2024-10-23T03:11:10.756Z] 561ebcabdf7f: Pull complete [2024-10-23T03:11:10.756Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-23T03:11:10.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-23T03:11:10.756Z] ---> 3a752c3f9dda [2024-10-23T03:11:10.756Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-23T03:11:14.962Z] ---> Running in b256f9831181 [2024-10-23T03:11:14.962Z] Removing intermediate container b256f9831181 [2024-10-23T03:11:14.962Z] ---> 913902563494 [2024-10-23T03:11:14.962Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-23T03:11:14.962Z] ---> Running in 58e0de33b82a [2024-10-23T03:11:14.962Z] Removing intermediate container 58e0de33b82a [2024-10-23T03:11:14.962Z] ---> 7d98fdf08375 [2024-10-23T03:11:14.962Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-23T03:11:14.962Z] ---> Running in af8a93e67b20 [2024-10-23T03:11:14.962Z] Removing intermediate container af8a93e67b20 [2024-10-23T03:11:14.962Z] ---> f3c7963b1974 [2024-10-23T03:11:14.962Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-23T03:11:15.221Z] ---> Running in 4c11d2f8fe87 [2024-10-23T03:11:15.221Z] Removing intermediate container 4c11d2f8fe87 [2024-10-23T03:11:15.221Z] ---> 58b1153a47ca [2024-10-23T03:11:15.221Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-23T03:11:15.221Z] ---> Running in b5746caa4489 [2024-10-23T03:11:15.221Z] Removing intermediate container b5746caa4489 [2024-10-23T03:11:15.221Z] ---> f43e8e6db389 [2024-10-23T03:11:15.221Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-23T03:11:15.221Z] ---> Running in 8fe8f8ed09d0 [2024-10-23T03:11:15.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T03:11:15.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T03:11:16.308Z] OK: 246 MiB in 54 packages [2024-10-23T03:11:16.308Z] Removing intermediate container 8fe8f8ed09d0 [2024-10-23T03:11:16.308Z] ---> b8cb3ef1c94e [2024-10-23T03:11:16.308Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-23T03:11:16.568Z] ---> Running in 244be42bf88e [2024-10-23T03:11:16.568Z] Removing intermediate container 244be42bf88e [2024-10-23T03:11:16.568Z] ---> 37894bed3520 [2024-10-23T03:11:16.568Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-23T03:11:16.568Z] ---> e41e7636f2d2 [2024-10-23T03:11:16.568Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-23T03:11:16.568Z] ---> Running in f84555a40545 [2024-10-23T03:11:16.849Z] Still waiting to schedule task [2024-10-23T03:11:16.849Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-23T03:12:12.807Z] Removing intermediate container f84555a40545 [2024-10-23T03:12:12.807Z] ---> d4d7d39f6590 [2024-10-23T03:12:12.807Z] Step 12/13 : COPY . . [2024-10-23T03:12:13.750Z] ---> b983f48a8a20 [2024-10-23T03:12:13.750Z] Step 13/13 : RUN ${MAKE} [2024-10-23T03:12:13.750Z] ---> Running in ad447c93f3d2 [2024-10-23T03:12:13.750Z] noop [2024-10-23T03:12:14.011Z] Removing intermediate container ad447c93f3d2 [2024-10-23T03:12:14.011Z] ---> d547002c8d7d [2024-10-23T03:12:14.011Z] Successfully built d547002c8d7d [2024-10-23T03:12:14.011Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:12:14.583Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-23T03:12:14.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T03:12:14.872Z] prd-ubuntu20.04-docker-8c-8g-23568 does not seem to be running inside a container [2024-10-23T03:12:14.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-468 -v /w/workspace/undry_device-onvif-camera_PR-468:/w/workspace/undry_device-onvif-camera_PR-468:rw,z -v /w/workspace/undry_device-onvif-camera_PR-468@tmp:/w/workspace/undry_device-onvif-camera_PR-468@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 ******** ci-base-image-x86_64 cat [2024-10-23T03:12:15.247Z] $ docker top 73f82659ccf9e3486f375e766c1e6549f8d179639903842f851909e120202bf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T03:12:15.651Z] + go version [2024-10-23T03:12:15.651Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-23T03:12:15.687Z] $ docker stop --time=1 73f82659ccf9e3486f375e766c1e6549f8d179639903842f851909e120202bf7 [2024-10-23T03:12:16.969Z] $ docker rm -f --volumes 73f82659ccf9e3486f375e766c1e6549f8d179639903842f851909e120202bf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:12:17.756Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-23T03:12:17.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T03:12:17.926Z] prd-ubuntu20.04-docker-8c-8g-23568 does not seem to be running inside a container [2024-10-23T03:12:17.959Z] $ 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-468 -v /w/workspace/undry_device-onvif-camera_PR-468:/w/workspace/undry_device-onvif-camera_PR-468:rw,z -v /w/workspace/undry_device-onvif-camera_PR-468@tmp:/w/workspace/undry_device-onvif-camera_PR-468@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 ******** ci-base-image-x86_64 cat [2024-10-23T03:12:18.277Z] $ docker top 3af8ac30287504366aad0318be6cf1b6ee6eeb6874ba0a4f192aa5d1fc43e810 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T03:12:18.685Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-468 [Pipeline] fileExists [Pipeline] sh [2024-10-23T03:12:19.066Z] + make test [2024-10-23T03:12:19.066Z] go test ./... -coverprofile=coverage.out ./... [2024-10-23T03:12:20.445Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-23T03:12:38.522Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-23T03:12:38.522Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-23T03:12:40.427Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.4% of statements [2024-10-23T03:12:40.687Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.390s coverage: 86.5% of statements [2024-10-23T03:12:52.880Z] go vet ./... [2024-10-23T03:12:57.311Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23569 in /w/workspace/undry_device-onvif-camera_PR-468 [Pipeline] { [Pipeline] ws [2024-10-23T03:12:57.382Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-10-23T03:12:57.482Z] The recommended git tool is: git [2024-10-23T03:12:58.145Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-23T03:12:58.145Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-23T03:12:58.145Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-23T03:12:58.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-23T03:12:58.230Z] $ docker stop --time=1 3af8ac30287504366aad0318be6cf1b6ee6eeb6874ba0a4f192aa5d1fc43e810 [2024-10-23T03:13:02.687Z] using credential edgex-jenkins-ssh [2024-10-23T03:13:02.708Z] Cloning the remote Git repository [2024-10-23T03:13:03.559Z] $ docker rm -f --volumes 3af8ac30287504366aad0318be6cf1b6ee6eeb6874ba0a4f192aa5d1fc43e810 [2024-10-23T03:13:02.756Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-23T03:13:02.843Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-10-23T03:13:02.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-23T03:13:02.975Z] > git --version # timeout=10 [2024-10-23T03:13:03.006Z] > git --version # 'git version 2.25.1' [2024-10-23T03:13:03.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-23T03:13:03.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-23T03:13:04.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-23T03:13:04.311Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-23T03:13:05.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-23T03:13:05.490Z] + ls -al . [2024-10-23T03:13:05.490Z] total 328 [2024-10-23T03:13:05.490Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 03:12 . [2024-10-23T03:13:05.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 03:10 .. [2024-10-23T03:13:05.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 03:12 .git [2024-10-23T03:13:05.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 03:10 .github [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 23 03:10 .gitignore [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 23 03:10 .golangci.yml [2024-10-23T03:13:05.490Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 03:10 .semver [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 23 03:10 Attribution.txt [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 23 03:10 CHANGELOG.md [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 23 03:10 Dockerfile [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 03:10 GOVERNANCE.md [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 23 03:10 Jenkinsfile [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 23 03:10 LICENSE [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 3420 Oct 23 03:10 Makefile [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 23 03:10 OWNERS.md [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 23 03:10 README.md [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 03:11 VERSION [2024-10-23T03:13:05.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 03:10 bin [2024-10-23T03:13:05.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 03:10 cmd [2024-10-23T03:13:05.490Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 23 03:12 coverage.out [2024-10-23T03:13:05.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 03:10 doc [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 23 03:10 go.mod [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 23 03:10 go.sum [2024-10-23T03:13:05.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 03:10 internal [2024-10-23T03:13:05.490Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 23 03:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:13:05.920Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=10cf6573b4b293eb468576dd30ad7461766af843 --label arch=amd64 --label version=0.0.0 . [2024-10-23T03:13:05.920Z] Sending build context to Docker daemon 36.86MB [2024-10-23T03:13:05.920Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-23T03:13:05.920Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-23T03:13:05.920Z] ---> d547002c8d7d [2024-10-23T03:13:05.920Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-23T03:13:05.722Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-23T03:13:05.744Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-23T03:13:06.858Z] ---> Running in 1ba39f547d16 [2024-10-23T03:13:06.858Z] Removing intermediate container 1ba39f547d16 [2024-10-23T03:13:06.858Z] ---> ebcf2a8bb94f [2024-10-23T03:13:06.858Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-23T03:13:06.858Z] ---> Running in f1f9381cd392 [2024-10-23T03:13:06.858Z] Removing intermediate container f1f9381cd392 [2024-10-23T03:13:06.858Z] ---> d436dd14a273 [2024-10-23T03:13:06.858Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-23T03:13:06.858Z] ---> Running in c968fa5f3c1f [2024-10-23T03:13:06.858Z] Removing intermediate container c968fa5f3c1f [2024-10-23T03:13:06.858Z] ---> 1f2834461047 [2024-10-23T03:13:06.858Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-23T03:13:06.858Z] ---> Running in 12fa99b3668d [2024-10-23T03:13:07.119Z] Removing intermediate container 12fa99b3668d [2024-10-23T03:13:07.119Z] ---> 2cfe65f472cd [2024-10-23T03:13:07.119Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-23T03:13:07.119Z] ---> Running in 99b971ec9b20 [2024-10-23T03:13:07.119Z] Removing intermediate container 99b971ec9b20 [2024-10-23T03:13:07.119Z] ---> 904ecdf97db9 [2024-10-23T03:13:07.119Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-23T03:13:07.119Z] ---> Running in 8974d73b16c6 [2024-10-23T03:13:07.123Z] Merging remotes/origin/main commit 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 into PR head commit 10cf6573b4b293eb468576dd30ad7461766af843 [2024-10-23T03:13:07.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T03:13:07.521Z] Merge succeeded, producing 10cf6573b4b293eb468576dd30ad7461766af843 [2024-10-23T03:13:07.522Z] Checking out Revision 10cf6573b4b293eb468576dd30ad7461766af843 (PR-468) [2024-10-23T03:13:07.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T03:13:06.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-23T03:13:06.624Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-23T03:13:06.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-23T03:13:06.651Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/468/head:refs/remotes/origin/PR-468 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-23T03:13:07.145Z] > git config core.sparsecheckout # timeout=10 [2024-10-23T03:13:07.216Z] > git checkout -f 10cf6573b4b293eb468576dd30ad7461766af843 # timeout=10 [2024-10-23T03:13:07.398Z] > git remote # timeout=10 [2024-10-23T03:13:07.428Z] > git config --get remote.origin.url # timeout=10 [2024-10-23T03:13:07.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-23T03:13:07.479Z] > git merge 39018d7ded4a28dbd8d8757660121fa1d6e0fcb6 # timeout=10 [2024-10-23T03:13:07.505Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-23T03:13:07.528Z] > git config core.sparsecheckout # timeout=10 [2024-10-23T03:13:07.541Z] > git checkout -f 10cf6573b4b293eb468576dd30ad7461766af843 # timeout=10 [2024-10-23T03:13:07.896Z] OK: 246 MiB in 54 packages [2024-10-23T03:13:08.155Z] Removing intermediate container 8974d73b16c6 [2024-10-23T03:13:08.155Z] ---> a72cf49e3658 [2024-10-23T03:13:08.155Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-23T03:13:08.155Z] ---> Running in b4c825738a5c [2024-10-23T03:13:08.155Z] Removing intermediate container b4c825738a5c [2024-10-23T03:13:08.155Z] ---> 6ef386e507e4 [2024-10-23T03:13:08.155Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-23T03:13:08.231Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-23T03:13:08.280Z] > git --version # timeout=10 [2024-10-23T03:13:08.293Z] > git --version # 'git version 2.25.1' [2024-10-23T03:13:08.309Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-23T03:13:08.413Z] ---> cd2f0069631c [2024-10-23T03:13:08.413Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-23T03:13:08.413Z] ---> Running in 57d0571c1a00 [2024-10-23T03:13:08.997Z] Removing intermediate container 57d0571c1a00 [2024-10-23T03:13:08.997Z] ---> 51fccdb7e304 [2024-10-23T03:13:08.997Z] Step 12/27 : COPY . . [2024-10-23T03:13:10.383Z] ---> 14490d8aa6c5 [2024-10-23T03:13:10.383Z] Step 13/27 : RUN ${MAKE} [2024-10-23T03:13:10.383Z] ---> Running in 5591299d96c2 [2024-10-23T03:13:10.642Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.48" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-23T03:13:13.228Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-23T03:13:13.228Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-23T03:13:13.228Z] Dload Upload Total Spent Left Speed [2024-10-23T03:13:18.317Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 100 12828 100 12828 0 0 2503 0 0:00:05 0:00:05 --:--:-- 3190 [Pipeline] sh [2024-10-23T03:13:18.663Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-23T03:13:19.012Z] + sudo tee /etc/docker/daemon.new [2024-10-23T03:13:19.012Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-23T03:13:19.012Z] { [2024-10-23T03:13:19.012Z] "registry-mirrors": [ [2024-10-23T03:13:19.012Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-23T03:13:19.012Z] ], [2024-10-23T03:13:19.012Z] "bip": "10.250.0.254/24", [2024-10-23T03:13:19.012Z] "hosts": [ [2024-10-23T03:13:19.012Z] "tcp://0.0.0.0:5555", [2024-10-23T03:13:19.012Z] "unix:///var/run/docker.sock" [2024-10-23T03:13:19.012Z] ], [2024-10-23T03:13:19.012Z] "mtu": 1458, [2024-10-23T03:13:19.012Z] "selinux-enabled": true, [2024-10-23T03:13:19.012Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-23T03:13:19.012Z] } [Pipeline] sh [2024-10-23T03:13:19.355Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-23T03:13:19.697Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T03:13:38.011Z] provisioning config files... [2024-10-23T03:13:38.039Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config18137043033022711589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:13:38.533Z] ---> ****-login.sh [2024-10-23T03:13:38.533Z] nexus3.edgexfoundry.org:10001 [2024-10-23T03:13:39.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:13:39.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:13:39.126Z] Configure a credential helper to remove this warning. See [2024-10-23T03:13:39.126Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:13:39.126Z] [2024-10-23T03:13:39.126Z] Login Succeeded [2024-10-23T03:13:39.126Z] nexus3.edgexfoundry.org:10002 [2024-10-23T03:13:39.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:13:39.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:13:39.667Z] Configure a credential helper to remove this warning. See [2024-10-23T03:13:39.667Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:13:39.667Z] [2024-10-23T03:13:39.667Z] Login Succeeded [2024-10-23T03:13:39.667Z] nexus3.edgexfoundry.org:10003 [2024-10-23T03:13:39.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:13:39.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:13:39.939Z] Configure a credential helper to remove this warning. See [2024-10-23T03:13:39.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:13:39.939Z] [2024-10-23T03:13:39.939Z] Login Succeeded [2024-10-23T03:13:39.939Z] nexus3.edgexfoundry.org:10004 [2024-10-23T03:13:40.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:13:40.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:13:40.208Z] Configure a credential helper to remove this warning. See [2024-10-23T03:13:40.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:13:40.208Z] [2024-10-23T03:13:40.208Z] Login Succeeded [2024-10-23T03:13:40.208Z] ****.io [2024-10-23T03:13:40.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T03:13:40.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T03:13:40.747Z] Configure a credential helper to remove this warning. See [2024-10-23T03:13:40.747Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T03:13:40.747Z] [2024-10-23T03:13:40.747Z] Login Succeeded [2024-10-23T03:13:40.747Z] ---> ****-login.sh ends [Pipeline] } [2024-10-23T03:13:40.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-23T03:13:41.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T03:13:41.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T03:13:41.382Z] ========================================================= [2024-10-23T03:13:41.382Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-23T03:13:41.382Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:13:41.958Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-23T03:13:42.545Z] Sending build context to Docker daemon 21.8MB [2024-10-23T03:13:42.545Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-23T03:13:42.545Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-23T03:13:42.815Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-23T03:13:42.815Z] cf04c63912e1: Pulling fs layer [2024-10-23T03:13:42.815Z] 55b35a11ae5e: Pulling fs layer [2024-10-23T03:13:42.815Z] a37a00ec5f00: Pulling fs layer [2024-10-23T03:13:42.815Z] 50b3750afda1: Pulling fs layer [2024-10-23T03:13:42.815Z] 4f4fb700ef54: Pulling fs layer [2024-10-23T03:13:42.815Z] 80978eb59214: Pulling fs layer [2024-10-23T03:13:42.815Z] c9f46d7d2bd2: Pulling fs layer [2024-10-23T03:13:42.815Z] c5a475d317c9: Pulling fs layer [2024-10-23T03:13:42.815Z] 4f4fb700ef54: Waiting [2024-10-23T03:13:42.815Z] 80978eb59214: Waiting [2024-10-23T03:13:42.815Z] c9f46d7d2bd2: Waiting [2024-10-23T03:13:42.815Z] 50b3750afda1: Waiting [2024-10-23T03:13:42.815Z] c5a475d317c9: Waiting [2024-10-23T03:13:42.815Z] 55b35a11ae5e: Download complete [2024-10-23T03:13:42.815Z] 50b3750afda1: Download complete [2024-10-23T03:13:42.815Z] 4f4fb700ef54: Download complete [2024-10-23T03:13:42.815Z] 80978eb59214: Verifying Checksum [2024-10-23T03:13:42.815Z] 80978eb59214: Download complete [2024-10-23T03:13:42.815Z] cf04c63912e1: Verifying Checksum [2024-10-23T03:13:42.815Z] cf04c63912e1: Download complete [2024-10-23T03:13:43.403Z] c5a475d317c9: Verifying Checksum [2024-10-23T03:13:43.403Z] c5a475d317c9: Download complete [2024-10-23T03:13:43.990Z] cf04c63912e1: Pull complete [2024-10-23T03:13:44.581Z] 55b35a11ae5e: Pull complete [2024-10-23T03:13:44.851Z] a37a00ec5f00: Verifying Checksum [2024-10-23T03:13:44.851Z] a37a00ec5f00: Download complete [2024-10-23T03:13:45.818Z] c9f46d7d2bd2: Verifying Checksum [2024-10-23T03:13:45.818Z] c9f46d7d2bd2: Download complete [2024-10-23T03:13:49.360Z] Removing intermediate container 5591299d96c2 [2024-10-23T03:13:49.360Z] ---> 1fada81267bf [2024-10-23T03:13:49.360Z] Step 14/27 : FROM alpine:3.20 [2024-10-23T03:13:49.360Z] 3.20: Pulling from library/alpine [2024-10-23T03:13:49.360Z] 43c4264eed91: Already exists [2024-10-23T03:13:49.360Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-23T03:13:49.360Z] Status: Downloaded newer image for alpine:3.20 [2024-10-23T03:13:49.360Z] ---> 91ef0af61f39 [2024-10-23T03:13:49.360Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-23T03:13:49.360Z] ---> Running in 92e921692bd7 [2024-10-23T03:13:49.360Z] Removing intermediate container 92e921692bd7 [2024-10-23T03:13:49.360Z] ---> 4b671e261ca9 [2024-10-23T03:13:49.360Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-23T03:13:49.360Z] ---> Running in de0ea1351df3 [2024-10-23T03:13:49.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T03:13:49.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T03:13:49.360Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-23T03:13:49.360Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T03:13:49.360Z] OK: 8 MiB in 15 packages [2024-10-23T03:13:49.360Z] Removing intermediate container de0ea1351df3 [2024-10-23T03:13:49.360Z] ---> 94df612b4e26 [2024-10-23T03:13:49.360Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-23T03:13:49.360Z] ---> Running in 444858e3de61 [2024-10-23T03:13:49.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T03:13:49.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T03:13:49.360Z] Upgrading critical system libraries and apk-tools: [2024-10-23T03:13:49.360Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-23T03:13:49.360Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T03:13:49.360Z] Continuing the upgrade transaction with new apk-tools: [2024-10-23T03:13:49.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-23T03:13:49.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-23T03:13:49.360Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-23T03:13:49.360Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-23T03:13:49.360Z] OK: 8 MiB in 15 packages [2024-10-23T03:13:49.360Z] Removing intermediate container 444858e3de61 [2024-10-23T03:13:49.360Z] ---> ad47b691f99d [2024-10-23T03:13:49.360Z] Step 18/27 : WORKDIR / [2024-10-23T03:13:49.360Z] ---> Running in 77def43d143f [2024-10-23T03:13:49.360Z] Removing intermediate container 77def43d143f [2024-10-23T03:13:49.360Z] ---> f8d5f096b4b9 [2024-10-23T03:13:49.360Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-23T03:13:49.360Z] ---> a0f3fc1c4214 [2024-10-23T03:13:49.360Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-23T03:13:49.360Z] ---> 3e18828eec13 [2024-10-23T03:13:49.360Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-23T03:13:49.360Z] ---> bf2348c8a65c [2024-10-23T03:13:49.360Z] Step 22/27 : EXPOSE 59984 [2024-10-23T03:13:49.360Z] ---> Running in 1ed21da7bc67 [2024-10-23T03:13:49.360Z] Removing intermediate container 1ed21da7bc67 [2024-10-23T03:13:49.360Z] ---> fbe052e509ed [2024-10-23T03:13:49.360Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-23T03:13:49.360Z] ---> Running in 311531ce55df [2024-10-23T03:13:49.360Z] Removing intermediate container 311531ce55df [2024-10-23T03:13:49.360Z] ---> 7c8ef1c984e0 [2024-10-23T03:13:49.360Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-23T03:13:49.360Z] ---> Running in 29ca1a22e8cb [2024-10-23T03:13:49.360Z] Removing intermediate container 29ca1a22e8cb [2024-10-23T03:13:49.360Z] ---> eea7fa9b29d5 [2024-10-23T03:13:49.360Z] Step 25/27 : LABEL arch=amd64 [2024-10-23T03:13:49.360Z] ---> Running in 8e887dca9c15 [2024-10-23T03:13:49.360Z] Removing intermediate container 8e887dca9c15 [2024-10-23T03:13:49.360Z] ---> 267fc7108616 [2024-10-23T03:13:49.360Z] Step 26/27 : LABEL git_sha=10cf6573b4b293eb468576dd30ad7461766af843 [2024-10-23T03:13:49.360Z] ---> Running in 537e6ff0408f [2024-10-23T03:13:49.360Z] Removing intermediate container 537e6ff0408f [2024-10-23T03:13:49.360Z] ---> 08cf734b516a [2024-10-23T03:13:49.360Z] Step 27/27 : LABEL version=0.0.0 [2024-10-23T03:13:49.360Z] ---> Running in b0404a2bcd6f [2024-10-23T03:13:49.360Z] Removing intermediate container b0404a2bcd6f [2024-10-23T03:13:49.360Z] ---> 9aa34a8bf3f4 [2024-10-23T03:13:49.360Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-23T03:13:49.360Z] Successfully built 9aa34a8bf3f4 [2024-10-23T03:13:49.360Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:13:50.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T03:13:50.456Z] [2024-10-23T03:13:50.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:13:50.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T03:13:50.856Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-23T03:13:50.856Z] 5eb5b503b376: Pulling fs layer [2024-10-23T03:13:50.856Z] 5c69ac0246d0: Pulling fs layer [2024-10-23T03:13:50.856Z] ec43610c2a17: Pulling fs layer [2024-10-23T03:13:50.856Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-23T03:13:50.856Z] 33b1e0a273af: Pulling fs layer [2024-10-23T03:13:50.856Z] 5d3b04190fa2: Pulling fs layer [2024-10-23T03:13:50.856Z] 2f39f015ded8: Pulling fs layer [2024-10-23T03:13:50.856Z] 5d3b04190fa2: Waiting [2024-10-23T03:13:50.856Z] 2f39f015ded8: Waiting [2024-10-23T03:13:50.856Z] 33b1e0a273af: Waiting [2024-10-23T03:13:50.856Z] 3a2ae6a8a46f: Waiting [2024-10-23T03:13:50.856Z] 5c69ac0246d0: Verifying Checksum [2024-10-23T03:13:50.856Z] 5c69ac0246d0: Download complete [2024-10-23T03:13:50.856Z] 3a2ae6a8a46f: Download complete [2024-10-23T03:13:50.856Z] 33b1e0a273af: Verifying Checksum [2024-10-23T03:13:50.856Z] 33b1e0a273af: Download complete [2024-10-23T03:13:50.856Z] 5d3b04190fa2: Download complete [2024-10-23T03:13:50.856Z] ec43610c2a17: Verifying Checksum [2024-10-23T03:13:50.856Z] ec43610c2a17: Download complete [2024-10-23T03:13:51.114Z] 5eb5b503b376: Verifying Checksum [2024-10-23T03:13:51.115Z] 5eb5b503b376: Download complete [2024-10-23T03:13:51.683Z] 2f39f015ded8: Download complete [2024-10-23T03:13:52.259Z] 5eb5b503b376: Pull complete [2024-10-23T03:13:52.259Z] 5c69ac0246d0: Pull complete [2024-10-23T03:13:52.828Z] ec43610c2a17: Pull complete [2024-10-23T03:13:52.828Z] 3a2ae6a8a46f: Pull complete [2024-10-23T03:13:52.828Z] 33b1e0a273af: Pull complete [2024-10-23T03:13:53.086Z] 5d3b04190fa2: Pull complete [2024-10-23T03:13:57.276Z] 2f39f015ded8: Pull complete [2024-10-23T03:13:57.276Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-23T03:13:57.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T03:13:57.276Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T03:13:57.560Z] prd-ubuntu20.04-docker-8c-8g-23568 does not seem to be running inside a container [2024-10-23T03:13:57.592Z] $ 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-468 -v /w/workspace/undry_device-onvif-camera_PR-468:/w/workspace/undry_device-onvif-camera_PR-468:rw,z -v /w/workspace/undry_device-onvif-camera_PR-468@tmp:/w/workspace/undry_device-onvif-camera_PR-468@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-10-23T03:14:00.876Z] a37a00ec5f00: Pull complete [2024-10-23T03:14:00.876Z] 50b3750afda1: Pull complete [2024-10-23T03:14:00.876Z] 4f4fb700ef54: Pull complete [2024-10-23T03:14:00.876Z] 80978eb59214: Pull complete [2024-10-23T03:14:02.012Z] $ docker top 7b0067194977715f4b040c0416c1fc210d321e515d844d882ab57ea11ee1eeff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:14:02.547Z] ---> job-cost.sh [2024-10-23T03:14:02.547Z] lf-activate-venv: SKIPPING [2024-10-23T03:14:02.547Z] INFO: No Stack... [2024-10-23T03:14:02.807Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-23T03:14:03.068Z] INFO: Archiving Costs [Pipeline] sh [2024-10-23T03:14:03.394Z] + cat /w/workspace/undry_device-onvif-camera_PR-468/archives/cost.csv [2024-10-23T03:14:03.394Z] + cut -d, -f6 [Pipeline] lock [2024-10-23T03:14:03.444Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-468-1-stack-cost] [2024-10-23T03:14:03.477Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-468-1-stack-cost] did not exist. Created. [2024-10-23T03:14:03.485Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-468-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-23T03:14:03.939Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-23T03:14:04.000Z] Stashed 1 file(s) [Pipeline] } [2024-10-23T03:14:04.038Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-468-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-23T03:14:04.140Z] $ docker stop --time=1 7b0067194977715f4b040c0416c1fc210d321e515d844d882ab57ea11ee1eeff [2024-10-23T03:14:05.298Z] $ docker rm -f --volumes 7b0067194977715f4b040c0416c1fc210d321e515d844d882ab57ea11ee1eeff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-23T03:14:07.544Z] c9f46d7d2bd2: Pull complete [2024-10-23T03:14:08.962Z] c5a475d317c9: Pull complete [2024-10-23T03:14:08.962Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-23T03:14:08.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-23T03:14:08.962Z] ---> be29e6b0f0d4 [2024-10-23T03:14:08.962Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-23T03:14:10.919Z] ---> Running in e2bbbe2fa653 [2024-10-23T03:14:11.192Z] Removing intermediate container e2bbbe2fa653 [2024-10-23T03:14:11.192Z] ---> 607b82f38f9e [2024-10-23T03:14:11.192Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-23T03:14:11.192Z] ---> Running in 443a49e2da08 [2024-10-23T03:14:11.461Z] Removing intermediate container 443a49e2da08 [2024-10-23T03:14:11.461Z] ---> a6abff25a986 [2024-10-23T03:14:11.461Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-23T03:14:11.461Z] ---> Running in f0533164af37 [2024-10-23T03:14:11.732Z] Removing intermediate container f0533164af37 [2024-10-23T03:14:11.732Z] ---> c4b2f8def646 [2024-10-23T03:14:11.732Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-23T03:14:12.005Z] ---> Running in 0917f3807f5c [2024-10-23T03:14:12.276Z] Removing intermediate container 0917f3807f5c [2024-10-23T03:14:12.276Z] ---> a7cbe5b8fe8d [2024-10-23T03:14:12.276Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-23T03:14:12.276Z] ---> Running in ce57d0007b4d [2024-10-23T03:14:12.545Z] Removing intermediate container ce57d0007b4d [2024-10-23T03:14:12.545Z] ---> 80896c6d3f44 [2024-10-23T03:14:12.545Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-23T03:14:12.815Z] ---> Running in 89ea7643e815 [2024-10-23T03:14:14.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T03:14:14.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T03:14:15.653Z] OK: 238 MiB in 54 packages [2024-10-23T03:14:16.239Z] Removing intermediate container 89ea7643e815 [2024-10-23T03:14:16.239Z] ---> aab2a7f3cf71 [2024-10-23T03:14:16.239Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-23T03:14:16.505Z] ---> Running in 197134dee18e [2024-10-23T03:14:16.772Z] Removing intermediate container 197134dee18e [2024-10-23T03:14:16.772Z] ---> df11c78fa723 [2024-10-23T03:14:16.772Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-23T03:14:17.039Z] ---> 4109d798713b [2024-10-23T03:14:17.039Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-23T03:14:17.039Z] ---> Running in e3277f8bda57 [2024-10-23T03:16:23.709Z] Removing intermediate container e3277f8bda57 [2024-10-23T03:16:23.709Z] ---> 79ccfaffd159 [2024-10-23T03:16:23.709Z] Step 12/13 : COPY . . [2024-10-23T03:16:23.709Z] ---> 296747443dd4 [2024-10-23T03:16:23.709Z] Step 13/13 : RUN ${MAKE} [2024-10-23T03:16:23.709Z] ---> Running in 8858ba652172 [2024-10-23T03:16:23.709Z] noop [2024-10-23T03:16:23.709Z] Removing intermediate container 8858ba652172 [2024-10-23T03:16:23.709Z] ---> 4060dd70bc1f [2024-10-23T03:16:23.709Z] Successfully built 4060dd70bc1f [2024-10-23T03:16:23.709Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:16:24.264Z] + docker inspect -f . ci-base-image-arm64 [2024-10-23T03:16:24.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T03:16:24.589Z] prd-ubuntu20.04-docker-arm64-4c-16g-23569 does not seem to be running inside a container [2024-10-23T03:16:24.659Z] $ 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-10-23T03:16:25.889Z] $ docker top 1e84fbf137f5db1adc579c289c9072b253983464056fbe56e578264d72d7091a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T03:16:26.804Z] + go version [2024-10-23T03:16:26.805Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-23T03:16:26.844Z] $ docker stop --time=1 1e84fbf137f5db1adc579c289c9072b253983464056fbe56e578264d72d7091a [2024-10-23T03:16:28.464Z] $ docker rm -f --volumes 1e84fbf137f5db1adc579c289c9072b253983464056fbe56e578264d72d7091a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:16:29.456Z] + docker inspect -f . ci-base-image-arm64 [2024-10-23T03:16:29.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T03:16:29.741Z] prd-ubuntu20.04-docker-arm64-4c-16g-23569 does not seem to be running inside a container [2024-10-23T03:16:29.807Z] $ 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-10-23T03:16:30.932Z] $ docker top 84638d3da655c13243887d6dee12cb95617a67a2986a2c699b3b46c24722391d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T03:16:31.510Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-10-23T03:16:32.232Z] + make test [2024-10-23T03:16:32.232Z] go test ./... -coverprofile=coverage.out ./... [2024-10-23T03:16:37.563Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-23T03:19:59.657Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-23T03:20:06.324Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-23T03:20:08.280Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.183s coverage: 31.4% of statements [2024-10-23T03:20:30.386Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.069s coverage: 86.5% of statements [2024-10-23T03:20:31.792Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-23T03:20:31.792Z] go vet ./... [2024-10-23T03:21:28.203Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-23T03:21:28.203Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-23T03:21:28.203Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-23T03:21:28.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-23T03:21:28.306Z] $ docker stop --time=1 84638d3da655c13243887d6dee12cb95617a67a2986a2c699b3b46c24722391d [2024-10-23T03:21:30.285Z] $ docker rm -f --volumes 84638d3da655c13243887d6dee12cb95617a67a2986a2c699b3b46c24722391d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-23T03:21:32.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-23T03:21:32.066Z] Warning: overwriting stash ‘coverage-report’ [2024-10-23T03:21:32.622Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-23T03:21:33.290Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-23T03:21:33.635Z] + ls -al . [2024-10-23T03:21:33.635Z] total 324 [2024-10-23T03:21:33.635Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 03:16 . [2024-10-23T03:21:33.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 03:13 .. [2024-10-23T03:21:33.635Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 03:13 .git [2024-10-23T03:21:33.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 03:13 .github [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 23 03:13 .gitignore [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 23 03:13 .golangci.yml [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 23 03:13 Attribution.txt [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 23 03:13 CHANGELOG.md [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 23 03:13 Dockerfile [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 03:13 GOVERNANCE.md [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 23 03:13 Jenkinsfile [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 23 03:13 LICENSE [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 3420 Oct 23 03:13 Makefile [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 23 03:13 OWNERS.md [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 23 03:13 README.md [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 03:11 VERSION [2024-10-23T03:21:33.635Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 03:13 bin [2024-10-23T03:21:33.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 03:13 cmd [2024-10-23T03:21:33.635Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 23 03:20 coverage.out [2024-10-23T03:21:33.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 03:13 doc [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 23 03:13 go.mod [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 23 03:13 go.sum [2024-10-23T03:21:33.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 03:13 internal [2024-10-23T03:21:33.635Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 23 03:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:21:34.081Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=10cf6573b4b293eb468576dd30ad7461766af843 --label arch=arm64 --label version=0.0.0 . [2024-10-23T03:21:34.671Z] Sending build context to Docker daemon 21.89MB [2024-10-23T03:21:34.671Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-23T03:21:34.671Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-23T03:21:34.671Z] ---> 4060dd70bc1f [2024-10-23T03:21:34.671Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-23T03:21:34.937Z] ---> Running in 71fe7331ecd5 [2024-10-23T03:21:35.206Z] Removing intermediate container 71fe7331ecd5 [2024-10-23T03:21:35.206Z] ---> acc5e323d41a [2024-10-23T03:21:35.206Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-23T03:21:35.206Z] ---> Running in 2f3c23c22bb0 [2024-10-23T03:21:35.788Z] Removing intermediate container 2f3c23c22bb0 [2024-10-23T03:21:35.788Z] ---> bce9fa3ce956 [2024-10-23T03:21:35.788Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-23T03:21:35.788Z] ---> Running in a09c880b2d4c [2024-10-23T03:21:36.061Z] Removing intermediate container a09c880b2d4c [2024-10-23T03:21:36.061Z] ---> 2491d61bbef9 [2024-10-23T03:21:36.061Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-23T03:21:36.061Z] ---> Running in 922277ae5c95 [2024-10-23T03:21:36.332Z] Removing intermediate container 922277ae5c95 [2024-10-23T03:21:36.332Z] ---> 9e0ff14fcf09 [2024-10-23T03:21:36.332Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-23T03:21:36.332Z] ---> Running in 32ed1da84bbe [2024-10-23T03:21:36.602Z] Removing intermediate container 32ed1da84bbe [2024-10-23T03:21:36.603Z] ---> 3ab610d27525 [2024-10-23T03:21:36.603Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-23T03:21:36.871Z] ---> Running in 47eeafd61e05 [2024-10-23T03:21:37.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T03:21:38.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T03:21:39.519Z] OK: 238 MiB in 54 packages [2024-10-23T03:21:40.484Z] Removing intermediate container 47eeafd61e05 [2024-10-23T03:21:40.484Z] ---> ad9f1b5a9b11 [2024-10-23T03:21:40.484Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-23T03:21:40.484Z] ---> Running in 44a7e8ad08d6 [2024-10-23T03:21:40.762Z] Removing intermediate container 44a7e8ad08d6 [2024-10-23T03:21:40.762Z] ---> 2cbd64313bf5 [2024-10-23T03:21:40.762Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-23T03:21:41.347Z] ---> 2224305e8d04 [2024-10-23T03:21:41.347Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-23T03:21:41.614Z] ---> Running in ce6eec186fe1 [2024-10-23T03:21:44.188Z] Removing intermediate container ce6eec186fe1 [2024-10-23T03:21:44.188Z] ---> 198eba2a9869 [2024-10-23T03:21:44.188Z] Step 12/27 : COPY . . [2024-10-23T03:21:45.610Z] ---> 826865c4d683 [2024-10-23T03:21:45.610Z] Step 13/27 : RUN ${MAKE} [2024-10-23T03:21:45.610Z] ---> Running in ae776e0b43e5 [2024-10-23T03:21:46.577Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.48" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-10-23T03:25:23.336Z] Removing intermediate container ae776e0b43e5 [2024-10-23T03:25:23.336Z] ---> 3f469f9ddc61 [2024-10-23T03:25:23.336Z] Step 14/27 : FROM alpine:3.20 [2024-10-23T03:25:23.336Z] 3.20: Pulling from library/alpine [2024-10-23T03:25:23.336Z] cf04c63912e1: Already exists [2024-10-23T03:25:23.336Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-23T03:25:23.336Z] Status: Downloaded newer image for alpine:3.20 [2024-10-23T03:25:23.336Z] ---> c157a85ed455 [2024-10-23T03:25:23.336Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-23T03:25:23.336Z] ---> Running in f031bd7fdba1 [2024-10-23T03:25:23.336Z] Removing intermediate container f031bd7fdba1 [2024-10-23T03:25:23.336Z] ---> 71b362ec345f [2024-10-23T03:25:23.336Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-23T03:25:23.336Z] ---> Running in b10d2e8cf6f1 [2024-10-23T03:25:23.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T03:25:23.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T03:25:23.336Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-23T03:25:23.336Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T03:25:23.336Z] OK: 9 MiB in 15 packages [2024-10-23T03:25:23.336Z] Removing intermediate container b10d2e8cf6f1 [2024-10-23T03:25:23.336Z] ---> 3609edec915b [2024-10-23T03:25:23.336Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-23T03:25:23.336Z] ---> Running in e47b47be4a3c [2024-10-23T03:25:23.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T03:25:23.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T03:25:23.336Z] Upgrading critical system libraries and apk-tools: [2024-10-23T03:25:23.336Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-23T03:25:23.336Z] Executing busybox-1.36.1-r29.trigger [2024-10-23T03:25:23.336Z] Continuing the upgrade transaction with new apk-tools: [2024-10-23T03:25:23.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-23T03:25:23.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-23T03:25:23.336Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-23T03:25:23.336Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-23T03:25:23.336Z] OK: 9 MiB in 15 packages [2024-10-23T03:25:24.299Z] Removing intermediate container e47b47be4a3c [2024-10-23T03:25:24.299Z] ---> 3b54a15cae14 [2024-10-23T03:25:24.299Z] Step 18/27 : WORKDIR / [2024-10-23T03:25:24.299Z] ---> Running in 36213ef39d22 [2024-10-23T03:25:24.577Z] Removing intermediate container 36213ef39d22 [2024-10-23T03:25:24.577Z] ---> 94fa6095720f [2024-10-23T03:25:24.577Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-23T03:25:27.161Z] ---> 16fce370b274 [2024-10-23T03:25:27.161Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-23T03:25:27.427Z] ---> 909edaf70368 [2024-10-23T03:25:27.427Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-23T03:25:27.693Z] ---> 351976ce97ae [2024-10-23T03:25:27.693Z] Step 22/27 : EXPOSE 59984 [2024-10-23T03:25:27.960Z] ---> Running in 179f5f61c5c6 [2024-10-23T03:25:28.226Z] Removing intermediate container 179f5f61c5c6 [2024-10-23T03:25:28.226Z] ---> 262959b42af8 [2024-10-23T03:25:28.226Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-23T03:25:28.226Z] ---> Running in 1bee0403d9c6 [2024-10-23T03:25:28.494Z] Removing intermediate container 1bee0403d9c6 [2024-10-23T03:25:28.494Z] ---> c26f28ec4327 [2024-10-23T03:25:28.494Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-23T03:25:28.494Z] ---> Running in 805ab30c378f [2024-10-23T03:25:29.077Z] Removing intermediate container 805ab30c378f [2024-10-23T03:25:29.077Z] ---> 5a2b2971116d [2024-10-23T03:25:29.077Z] Step 25/27 : LABEL arch=arm64 [2024-10-23T03:25:29.077Z] ---> Running in 8f9e43fb9b05 [2024-10-23T03:25:29.343Z] Removing intermediate container 8f9e43fb9b05 [2024-10-23T03:25:29.343Z] ---> 84e694fe356e [2024-10-23T03:25:29.343Z] Step 26/27 : LABEL git_sha=10cf6573b4b293eb468576dd30ad7461766af843 [2024-10-23T03:25:29.343Z] ---> Running in ec5ab81f84f3 [2024-10-23T03:25:29.609Z] Removing intermediate container ec5ab81f84f3 [2024-10-23T03:25:29.609Z] ---> 404b6168b2e2 [2024-10-23T03:25:29.609Z] Step 27/27 : LABEL version=0.0.0 [2024-10-23T03:25:29.609Z] ---> Running in 886ce4a3e711 [2024-10-23T03:25:29.873Z] Removing intermediate container 886ce4a3e711 [2024-10-23T03:25:29.873Z] ---> d1a7940843e5 [2024-10-23T03:25:29.873Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-23T03:25:30.137Z] Successfully built d1a7940843e5 [2024-10-23T03:25:30.137Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:25:31.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-23T03:25:31.079Z] [2024-10-23T03:25:31.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:25:31.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-23T03:25:31.493Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-23T03:25:31.493Z] 8998bd30e6a1: Pulling fs layer [2024-10-23T03:25:31.493Z] 04944245beec: Pulling fs layer [2024-10-23T03:25:31.493Z] 699f458cf7ca: Pulling fs layer [2024-10-23T03:25:31.493Z] 765212b225bb: Pulling fs layer [2024-10-23T03:25:31.493Z] f23df028b6ca: Pulling fs layer [2024-10-23T03:25:31.493Z] d65c8cfc05b1: Pulling fs layer [2024-10-23T03:25:31.493Z] 2437ff75d9bd: Pulling fs layer [2024-10-23T03:25:31.493Z] 765212b225bb: Waiting [2024-10-23T03:25:31.493Z] f23df028b6ca: Waiting [2024-10-23T03:25:31.493Z] d65c8cfc05b1: Waiting [2024-10-23T03:25:31.493Z] 2437ff75d9bd: Waiting [2024-10-23T03:25:31.759Z] 04944245beec: Verifying Checksum [2024-10-23T03:25:31.760Z] 04944245beec: Download complete [2024-10-23T03:25:31.760Z] 765212b225bb: Verifying Checksum [2024-10-23T03:25:31.760Z] 765212b225bb: Download complete [2024-10-23T03:25:31.760Z] f23df028b6ca: Download complete [2024-10-23T03:25:31.760Z] d65c8cfc05b1: Verifying Checksum [2024-10-23T03:25:31.760Z] d65c8cfc05b1: Download complete [2024-10-23T03:25:31.760Z] 699f458cf7ca: Download complete [2024-10-23T03:25:32.347Z] 8998bd30e6a1: Verifying Checksum [2024-10-23T03:25:32.347Z] 8998bd30e6a1: Download complete [2024-10-23T03:25:34.286Z] 2437ff75d9bd: Verifying Checksum [2024-10-23T03:25:34.286Z] 2437ff75d9bd: Download complete [2024-10-23T03:25:36.227Z] 8998bd30e6a1: Pull complete [2024-10-23T03:25:36.810Z] 04944245beec: Pull complete [2024-10-23T03:25:38.212Z] 699f458cf7ca: Pull complete [2024-10-23T03:25:38.477Z] 765212b225bb: Pull complete [2024-10-23T03:25:39.059Z] f23df028b6ca: Pull complete [2024-10-23T03:25:39.324Z] d65c8cfc05b1: Pull complete [2024-10-23T03:25:57.555Z] 2437ff75d9bd: Pull complete [2024-10-23T03:25:57.555Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-23T03:25:57.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-23T03:25:57.555Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T03:25:57.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-23569 does not seem to be running inside a container [2024-10-23T03:25:57.964Z] $ 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-10-23T03:26:00.631Z] $ docker top 5ddd0231218f9ba9aa2c8c3a8eb9656f5b642a6da157daf302fabeb98a9b954c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:26:01.552Z] ---> job-cost.sh [2024-10-23T03:26:01.553Z] lf-activate-venv: SKIPPING [2024-10-23T03:26:01.553Z] INFO: No Stack... [2024-10-23T03:26:02.134Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-23T03:26:02.741Z] INFO: Archiving Costs [Pipeline] sh [2024-10-23T03:26:03.094Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-10-23T03:26:03.094Z] + cut -d, -f6 [Pipeline] lock [2024-10-23T03:26:03.437Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-468-1-stack-cost] [2024-10-23T03:26:03.466Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-468-1-stack-cost] did not exist. Created. [2024-10-23T03:26:03.473Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-468-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-23T03:26:04.230Z] /w/workspace/device-onvif-camera/1@tmp/durable-92d45a12/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-23T03:26:04.896Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-23T03:26:04.936Z] Warning: overwriting stash ‘stack-cost’ [2024-10-23T03:26:04.999Z] Stashed 1 file(s) [Pipeline] } [2024-10-23T03:26:05.019Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-468-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-23T03:26:05.123Z] $ docker stop --time=1 5ddd0231218f9ba9aa2c8c3a8eb9656f5b642a6da157daf302fabeb98a9b954c [2024-10-23T03:26:06.633Z] $ docker rm -f --volumes 5ddd0231218f9ba9aa2c8c3a8eb9656f5b642a6da157daf302fabeb98a9b954c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-23T03:26:08.020Z] provisioning config files... [2024-10-23T03:26:08.027Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-468@tmp/config4679651070588017848tmp [Pipeline] { [Pipeline] sh [2024-10-23T03:26:08.391Z] + set +x [2024-10-23T03:26:08.392Z] + bash -s -- [2024-10-23T03:26:08.392Z] + curl -s https://codecov.io/bash [2024-10-23T03:26:08.392Z] [2024-10-23T03:26:08.392Z] _____ _ [2024-10-23T03:26:08.392Z] / ____| | | [2024-10-23T03:26:08.392Z] | | ___ __| | ___ ___ _____ __ [2024-10-23T03:26:08.392Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-23T03:26:08.392Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-23T03:26:08.392Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-23T03:26:08.392Z] Bash-1.0.6 [2024-10-23T03:26:08.392Z] [2024-10-23T03:26:08.392Z] [2024-10-23T03:26:08.392Z] ==> git version 2.25.1 found [2024-10-23T03:26:08.392Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-23T03:26:08.392Z] Release-Date: 2020-01-08 [2024-10-23T03:26:08.392Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-23T03:26:08.392Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-23T03:26:08.392Z] ==> Jenkins CI detected. [2024-10-23T03:26:08.392Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-468 [2024-10-23T03:26:08.392Z] project root: . [2024-10-23T03:26:08.392Z] --> token set from env [2024-10-23T03:26:08.392Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-23T03:26:08.392Z] ==> Running gcov in . (disable via -X gcov) [2024-10-23T03:26:08.392Z] ==> Python coveragepy not found [2024-10-23T03:26:08.392Z] ==> Searching for coverage reports in: [2024-10-23T03:26:08.392Z] + . [2024-10-23T03:26:08.392Z] -> Found 1 reports [2024-10-23T03:26:08.392Z] ==> Detecting git/mercurial file structure [2024-10-23T03:26:08.655Z] ==> Reading reports [2024-10-23T03:26:08.655Z] + ./coverage.out bytes=92292 [2024-10-23T03:26:08.655Z] ==> Appending adjustments [2024-10-23T03:26:08.655Z] https://docs.codecov.io/docs/fixing-reports [2024-10-23T03:26:08.655Z] + Found adjustments [2024-10-23T03:26:08.655Z] ==> Gzipping contents [2024-10-23T03:26:08.655Z] 12K /tmp/codecov.bNJmjn.gz [2024-10-23T03:26:08.655Z] ==> Uploading reports [2024-10-23T03:26:08.655Z] url: https://codecov.io [2024-10-23T03:26:08.655Z] query: branch=PR-468&commit=10cf6573b4b293eb468576dd30ad7461766af843&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-468%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=468&job=&cmd_args= [2024-10-23T03:26:08.655Z] -> Pinging Codecov [2024-10-23T03:26:08.655Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-468&commit=10cf6573b4b293eb468576dd30ad7461766af843&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-468%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=468&job=&cmd_args= [2024-10-23T03:26:08.918Z] -> Uploading to [2024-10-23T03:26:08.918Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/10cf6573b4b293eb468576dd30ad7461766af843/97c20fe1-fe28-4b3a-aeaf-4522b0abbcf6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241023%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241023T032608Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=74cd78db2562524f2daefc219bb7b83102c3c07a2a06707cd0850b0ec91aeedf [2024-10-23T03:26:08.918Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-23T03:26:08.918Z] Dload Upload Total Spent Left Speed [2024-10-23T03:26:09.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 46971 --:--:-- --:--:-- --:--:-- 46971 [2024-10-23T03:26:09.181Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/10cf6573b4b293eb468576dd30ad7461766af843 [Pipeline] } [2024-10-23T03:26:09.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-23T03:26:11.818Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-468/archives ] [2024-10-23T03:26:11.818Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-468/archives [2024-10-23T03:26:11.818Z] total 16 [2024-10-23T03:26:11.818Z] drwxr-xr-x 3 root root 4096 Oct 23 03:14 . [2024-10-23T03:26:11.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 03:14 .. [2024-10-23T03:26:11.819Z] drwxr-xr-x 2 root root 4096 Oct 23 03:14 cost [2024-10-23T03:26:11.819Z] -rw-r--r-- 1 root root 91 Oct 23 03:14 cost.csv [2024-10-23T03:26:11.819Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-468/archives [2024-10-23T03:26:11.819Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-468/archives [2024-10-23T03:26:11.819Z] total 16 [2024-10-23T03:26:11.819Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 03:14 . [2024-10-23T03:26:11.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 03:14 .. [2024-10-23T03:26:11.819Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 23 03:14 cost [2024-10-23T03:26:11.819Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 23 03:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:26:12.164Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:26:13.079Z] ---> package-listing.sh [2024-10-23T03:26:13.079Z] ++ facter osfamily [2024-10-23T03:26:13.079Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-23T03:26:13.341Z] + OS_FAMILY=debian [2024-10-23T03:26:13.341Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-468 [2024-10-23T03:26:13.341Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-23T03:26:13.341Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-23T03:26:13.341Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-23T03:26:13.341Z] + PACKAGES=/tmp/packages_start.txt [2024-10-23T03:26:13.341Z] + '[' /w/workspace/undry_device-onvif-camera_PR-468 ']' [2024-10-23T03:26:13.341Z] + PACKAGES=/tmp/packages_end.txt [2024-10-23T03:26:13.341Z] + case "${OS_FAMILY}" in [2024-10-23T03:26:13.341Z] + dpkg -l [2024-10-23T03:26:13.341Z] + grep '^ii' [2024-10-23T03:26:13.341Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-23T03:26:13.341Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-23T03:26:13.341Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-23T03:26:13.341Z] + '[' /w/workspace/undry_device-onvif-camera_PR-468 ']' [2024-10-23T03:26:13.341Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-468/archives/ [2024-10-23T03:26:13.341Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-468/archives/ [Pipeline] echo [2024-10-23T03:26:13.383Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-468/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-23T03:26:13.683Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T03:26:14.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T03:26:14.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T03:26:14.507Z] prd-ubuntu20.04-docker-8c-8g-23568 does not seem to be running inside a container [2024-10-23T03:26:14.538Z] $ 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-468/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-468 -v /w/workspace/undry_device-onvif-camera_PR-468:/w/workspace/undry_device-onvif-camera_PR-468:rw,z -v /w/workspace/undry_device-onvif-camera_PR-468@tmp:/w/workspace/undry_device-onvif-camera_PR-468@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-23T03:26:14.733Z] $ docker top 505ff567b394f25dd92fa4358a937c7e744a7abdbfe600d7c3e7c2dadd0556a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T03:26:15.174Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-23T03:26:15.544Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-23T03:26:15.976Z] + ls /var/log/sa-host [2024-10-23T03:26:15.976Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T03:26:16.246Z] provisioning config files... [2024-10-23T03:26:16.271Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-468@tmp/config495873582332302242tmp [Pipeline] { [Pipeline] echo [2024-10-23T03:26:16.332Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:26:16.704Z] ---> create-netrc.sh [Pipeline] } [2024-10-23T03:26:16.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:26:17.178Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-23T03:26:17.221Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:26:17.564Z] ---> sudo-logs.sh [2024-10-23T03:26:17.564Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-23T03:26:17.670Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:26:18.000Z] ---> job-cost.sh [2024-10-23T03:26:18.000Z] lf-activate-venv: SKIPPING [2024-10-23T03:26:18.000Z] DEBUG: total: 0.2199999988079071 [2024-10-23T03:26:18.000Z] INFO: Retrieving Stack Cost... [2024-10-23T03:26:18.569Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-23T03:26:18.828Z] INFO: Archiving Costs [Pipeline] echo [2024-10-23T03:26:18.872Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T03:26:19.198Z] ---> logs-deploy.sh [2024-10-23T03:26:19.198Z] lf-activate-venv: SKIPPING [2024-10-23T03:26:19.198Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-468/1 [2024-10-23T03:26:19.198Z] INFO: archiving workspace using pattern(s): [2024-10-23T03:26:20.134Z] Archives upload complete. [2024-10-23T03:26:20.134Z] INFO: archiving logs to Nexus