Pull request #395 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa09b8c8026d287f88d4e0443554263ac289f543+7c6ce31d4e4e68ee53203d0b85754cc148e5691f (874555d046af608825da99f283d893f1978287b0) 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-ssh10354429876985232714.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12023861182367938144.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-395/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-395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7405720173020955746.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-395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6597605085910212387.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh13906535344647323384.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-395/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-395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7845477467500646366.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9639 in /w/workspace/undry_device-onvif-camera_PR-395 [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-395 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7c6ce31d4e4e68ee53203d0b85754cc148e5691f into PR head commit fa09b8c8026d287f88d4e0443554263ac289f543 Merge succeeded, producing fa09b8c8026d287f88d4e0443554263ac289f543 Checking out Revision fa09b8c8026d287f88d4e0443554263ac289f543 (PR-395) Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.6 to 1.0.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > git config core.sparsecheckout # timeout=10 > git checkout -f fa09b8c8026d287f88d4e0443554263ac289f543 # 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 7c6ce31d4e4e68ee53203d0b85754cc148e5691f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa09b8c8026d287f88d4e0443554263ac289f543 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-20T03:47:42.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-20T03:47:42.749Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-20T03:47:42.859Z] ========================================================= [2023-10-20T03:47:42.859Z] EdgeX Global Pipelines Version Info [2023-10-20T03:47:42.859Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:47:43.598Z] ------------------- [2023-10-20T03:47:43.598Z] stable info: [2023-10-20T03:47:43.598Z] ------------------- [2023-10-20T03:47:43.598Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-20T03:47:43.598Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-20T03:47:43.598Z] Message: update stable to v1.0.254 [2023-10-20T03:47:44.169Z] ------------------- [2023-10-20T03:47:44.169Z] experimental info: [2023-10-20T03:47:44.169Z] ------------------- [2023-10-20T03:47:44.170Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-20T03:47:44.170Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-20T03:47:44.170Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-20T03:47:44.446Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-10-20T03:47:44.483Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-10-20T03:47:44.521Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-20T03:47:44.561Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-20T03:47:44.606Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-20T03:47:44.645Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-20T03:47:44.686Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-20T03:47:44.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-20T03:47:44.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-20T03:47:44.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-20T03:47:44.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-20T03:47:44.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-10-20T03:47:44.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-20T03:47:44.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-20T03:47:45.014Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-20T03:47:45.053Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-20T03:47:45.093Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-20T03:47:45.130Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-20T03:47:45.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-20T03:47:45.218Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-20T03:47:45.256Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-20T03:47:45.301Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-10-20T03:47:45.346Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-20T03:47:45.387Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-20T03:47:45.430Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-20T03:47:45.466Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-20T03:47:45.505Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-20T03:47:45.548Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-395 [Pipeline] echo [2023-10-20T03:47:45.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-395 [Pipeline] echo [2023-10-20T03:47:45.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-395 [Pipeline] echo [2023-10-20T03:47:45.671Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa09b8c8026d287f88d4e0443554263ac289f543 [Pipeline] echo [2023-10-20T03:47:45.715Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa09b8c [Pipeline] echo [2023-10-20T03:47:45.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-20T03:47:45.854Z] provisioning config files... [2023-10-20T03:47:45.866Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-395@tmp/config8140126710735387863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:47:46.209Z] ---> docker-login.sh [2023-10-20T03:47:46.209Z] nexus3.edgexfoundry.org:10001 [2023-10-20T03:47:46.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:47:46.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:47:46.471Z] Configure a credential helper to remove this warning. See [2023-10-20T03:47:46.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:47:46.471Z] [2023-10-20T03:47:46.471Z] Login Succeeded [2023-10-20T03:47:46.471Z] nexus3.edgexfoundry.org:10002 [2023-10-20T03:47:46.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:47:46.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:47:46.732Z] Configure a credential helper to remove this warning. See [2023-10-20T03:47:46.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:47:46.732Z] [2023-10-20T03:47:46.732Z] Login Succeeded [2023-10-20T03:47:46.732Z] nexus3.edgexfoundry.org:10003 [2023-10-20T03:47:46.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:47:46.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:47:46.732Z] Configure a credential helper to remove this warning. See [2023-10-20T03:47:46.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:47:46.732Z] [2023-10-20T03:47:46.732Z] Login Succeeded [2023-10-20T03:47:46.732Z] nexus3.edgexfoundry.org:10004 [2023-10-20T03:47:46.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:47:46.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:47:46.732Z] Configure a credential helper to remove this warning. See [2023-10-20T03:47:46.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:47:46.732Z] [2023-10-20T03:47:46.732Z] Login Succeeded [2023-10-20T03:47:46.732Z] docker.io [2023-10-20T03:47:46.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:47:47.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:47:47.252Z] Configure a credential helper to remove this warning. See [2023-10-20T03:47:47.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:47:47.252Z] [2023-10-20T03:47:47.252Z] Login Succeeded [2023-10-20T03:47:47.252Z] ---> docker-login.sh ends [Pipeline] } [2023-10-20T03:47:47.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-20T03:47:47.930Z] + git rev-list -1 --merges fa09b8c8026d287f88d4e0443554263ac289f543~1..fa09b8c8026d287f88d4e0443554263ac289f543 [Pipeline] echo [2023-10-20T03:47:47.988Z] -----------> git rev-list -1 --merges fa09b8c8026d287f88d4e0443554263ac289f543~1..fa09b8c8026d287f88d4e0443554263ac289f543 fa09b8c8026d287f88d4e0443554263ac289f543 [false] [Pipeline] sh [2023-10-20T03:47:48.293Z] + git log --format=format:%s -1 fa09b8c8026d287f88d4e0443554263ac289f543 [Pipeline] echo [2023-10-20T03:47:48.329Z] ========================================================= [2023-10-20T03:47:48.329Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-20T03:47:48.329Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-20T03:47:48.752Z] + git log --format=format:%s -1 fa09b8c8026d287f88d4e0443554263ac289f543 [Pipeline] echo [2023-10-20T03:47:48.783Z] [semverPrep] GIT_COMMIT: fa09b8c8026d287f88d4e0443554263ac289f543, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 0.1.6 to 1.0.0 [Pipeline] echo [2023-10-20T03:47:48.814Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-20T03:47:49.240Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-20T03:47:49.240Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-20T03:47:49.240Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-20T03:47:49.240Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-20T03:47:49.240Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-20T03:47:49.240Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-20T03:47:49.240Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:47:49.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-20T03:47:49.735Z] [2023-10-20T03:47:49.735Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:47:50.126Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-20T03:47:50.126Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-20T03:47:50.126Z] b85a868b505f: Pulling fs layer [2023-10-20T03:47:50.126Z] e2be974225ed: Pulling fs layer [2023-10-20T03:47:50.126Z] 339a4e72a1f5: Pulling fs layer [2023-10-20T03:47:50.126Z] 988bab9f4d93: Pulling fs layer [2023-10-20T03:47:50.126Z] 1469e6f7b9e6: Pulling fs layer [2023-10-20T03:47:50.126Z] eaf3925da568: Pulling fs layer [2023-10-20T03:47:50.126Z] bab4dde63d76: Pulling fs layer [2023-10-20T03:47:50.126Z] bde34c3a00c8: Pulling fs layer [2023-10-20T03:47:50.126Z] b352a97aabf1: Pulling fs layer [2023-10-20T03:47:50.126Z] 4872d77fe225: Pulling fs layer [2023-10-20T03:47:50.126Z] 5851b861e8e6: Pulling fs layer [2023-10-20T03:47:50.126Z] 988bab9f4d93: Waiting [2023-10-20T03:47:50.126Z] 1469e6f7b9e6: Waiting [2023-10-20T03:47:50.126Z] eaf3925da568: Waiting [2023-10-20T03:47:50.126Z] bab4dde63d76: Waiting [2023-10-20T03:47:50.126Z] bde34c3a00c8: Waiting [2023-10-20T03:47:50.126Z] 5851b861e8e6: Waiting [2023-10-20T03:47:50.126Z] b352a97aabf1: Waiting [2023-10-20T03:47:50.126Z] 4872d77fe225: Waiting [2023-10-20T03:47:50.126Z] e2be974225ed: Verifying Checksum [2023-10-20T03:47:50.126Z] e2be974225ed: Download complete [2023-10-20T03:47:50.126Z] 988bab9f4d93: Verifying Checksum [2023-10-20T03:47:50.126Z] 988bab9f4d93: Download complete [2023-10-20T03:47:50.126Z] 339a4e72a1f5: Verifying Checksum [2023-10-20T03:47:50.126Z] 339a4e72a1f5: Download complete [2023-10-20T03:47:50.126Z] 1469e6f7b9e6: Verifying Checksum [2023-10-20T03:47:50.126Z] 1469e6f7b9e6: Download complete [2023-10-20T03:47:50.387Z] eaf3925da568: Download complete [2023-10-20T03:47:50.387Z] bde34c3a00c8: Verifying Checksum [2023-10-20T03:47:50.387Z] bde34c3a00c8: Download complete [2023-10-20T03:47:50.387Z] b352a97aabf1: Download complete [2023-10-20T03:47:50.387Z] 4872d77fe225: Verifying Checksum [2023-10-20T03:47:50.387Z] 4872d77fe225: Download complete [2023-10-20T03:47:50.387Z] 5851b861e8e6: Download complete [2023-10-20T03:47:50.387Z] b85a868b505f: Download complete [2023-10-20T03:47:50.646Z] bab4dde63d76: Verifying Checksum [2023-10-20T03:47:50.646Z] bab4dde63d76: Download complete [2023-10-20T03:47:51.581Z] b85a868b505f: Pull complete [2023-10-20T03:47:51.581Z] e2be974225ed: Pull complete [2023-10-20T03:47:52.149Z] 339a4e72a1f5: Pull complete [2023-10-20T03:47:52.149Z] 988bab9f4d93: Pull complete [2023-10-20T03:47:52.149Z] 1469e6f7b9e6: Pull complete [2023-10-20T03:47:52.409Z] eaf3925da568: Pull complete [2023-10-20T03:47:53.783Z] bab4dde63d76: Pull complete [2023-10-20T03:47:53.784Z] bde34c3a00c8: Pull complete [2023-10-20T03:47:54.043Z] b352a97aabf1: Pull complete [2023-10-20T03:47:54.043Z] 4872d77fe225: Pull complete [2023-10-20T03:47:54.043Z] 5851b861e8e6: Pull complete [2023-10-20T03:47:54.043Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-20T03:47:54.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-20T03:47:54.043Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-20T03:47:54.283Z] prd-ubuntu20.04-docker-8c-8g-9639 does not seem to be running inside a container [2023-10-20T03:47:54.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-395 -v /w/workspace/undry_device-onvif-camera_PR-395:/w/workspace/undry_device-onvif-camera_PR-395:rw,z -v /w/workspace/undry_device-onvif-camera_PR-395@tmp:/w/workspace/undry_device-onvif-camera_PR-395@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 [2023-10-20T03:47:56.542Z] $ docker top 308869a7c206f7666bc40f7cb8a10985827efd927f2ce70b93f70eed13a2d458 -eo pid,comm [2023-10-20T03:47:56.477Z] 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). [2023-10-20T03:47:56.477Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-20T03:47:56.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-20T03:47:56.602Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-20T03:47:56.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-20T03:47:56.827Z] $ docker exec 308869a7c206f7666bc40f7cb8a10985827efd927f2ce70b93f70eed13a2d458 ssh-agent [2023-10-20T03:47:56.823Z] SSH_AUTH_SOCK=/tmp/ssh-z0XK5wI1cjK3/agent.33 [2023-10-20T03:47:56.823Z] SSH_AGENT_PID=39 [2023-10-20T03:47:56.829Z] Running ssh-add (command line suppressed) [2023-10-20T03:47:57.036Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-395@tmp/private_key_12202293042632035836.key (/w/workspace/undry_device-onvif-camera_PR-395@tmp/private_key_12202293042632035836.key) [2023-10-20T03:47:56.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-20T03:47:57.262Z] + git tag --points-at HEAD [Pipeline] } [2023-10-20T03:47:57.403Z] $ docker exec --env ******** --env ******** 308869a7c206f7666bc40f7cb8a10985827efd927f2ce70b93f70eed13a2d458 ssh-agent -k [2023-10-20T03:47:57.496Z] unset SSH_AUTH_SOCK; [2023-10-20T03:47:57.497Z] unset SSH_AGENT_PID; [2023-10-20T03:47:57.497Z] echo Agent pid 39 killed; [2023-10-20T03:47:57.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-20T03:47:57.474Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-20T03:47:57.474Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-20T03:47:57.575Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-20T03:47:57.692Z] $ docker exec 308869a7c206f7666bc40f7cb8a10985827efd927f2ce70b93f70eed13a2d458 ssh-agent [2023-10-20T03:47:57.683Z] SSH_AUTH_SOCK=/tmp/ssh-KPT6Jw3IkkFZ/agent.71 [2023-10-20T03:47:57.683Z] SSH_AGENT_PID=77 [2023-10-20T03:47:57.687Z] Running ssh-add (command line suppressed) [2023-10-20T03:47:57.893Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-395@tmp/private_key_95566790068367394.key (/w/workspace/undry_device-onvif-camera_PR-395@tmp/private_key_95566790068367394.key) [2023-10-20T03:47:57.791Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-20T03:47:58.119Z] + git semver init [2023-10-20T03:47:58.380Z] 2023-10-20 03:47:58,403 [run_init] DEBUG init version:0.0.0 force:False [2023-10-20T03:47:58.380Z] 2023-10-20 03:47:58,405 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-395/.semver [2023-10-20T03:47:58.380Z] 2023-10-20 03:47:58,405 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-395/.semver [2023-10-20T03:47:58.380Z] 2023-10-20 03:47:58,405 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-395/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-395, universal_newlines=False, shell=None, istream=None) [2023-10-20T03:47:59.320Z] 2023-10-20 03:47:59,377 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-395/.git/info/exclude [2023-10-20T03:47:59.320Z] 2023-10-20 03:47:59,378 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-395/.semver/PR-395 with force:False [2023-10-20T03:47:59.320Z] 2023-10-20 03:47:59,378 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-395/.semver/PR-395 [2023-10-20T03:47:59.320Z] 2023-10-20 03:47:59,382 [execute] INFO git cat-file --batch-check [2023-10-20T03:47:59.320Z] 2023-10-20 03:47:59,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-395/.semver, universal_newlines=False, shell=None, istream=) [2023-10-20T03:47:59.320Z] 2023-10-20 03:47:59,388 [execute] INFO git cat-file --batch [2023-10-20T03:47:59.320Z] 2023-10-20 03:47:59,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-395/.semver, universal_newlines=False, shell=None, istream=) [2023-10-20T03:47:59.320Z] 2023-10-20 03:47:59,394 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-395/.semver/PR-395 [2023-10-20T03:47:59.320Z] 0.0.0 [Pipeline] } [2023-10-20T03:47:59.460Z] $ docker exec --env ******** --env ******** 308869a7c206f7666bc40f7cb8a10985827efd927f2ce70b93f70eed13a2d458 ssh-agent -k [2023-10-20T03:47:59.556Z] unset SSH_AUTH_SOCK; [2023-10-20T03:47:59.556Z] unset SSH_AGENT_PID; [2023-10-20T03:47:59.556Z] echo Agent pid 77 killed; [2023-10-20T03:47:59.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-20T03:47:59.871Z] + git semver [Pipeline] } [2023-10-20T03:48:00.272Z] $ docker stop --time=1 308869a7c206f7666bc40f7cb8a10985827efd927f2ce70b93f70eed13a2d458 [2023-10-20T03:48:01.571Z] $ docker rm -f --volumes 308869a7c206f7666bc40f7cb8a10985827efd927f2ce70b93f70eed13a2d458 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-20T03:48:01.854Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-20T03:48:02.094Z] Stashed 1 file(s) [Pipeline] echo [2023-10-20T03:48:02.110Z] [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 [2023-10-20T03:48:02.764Z] provisioning config files... [2023-10-20T03:48:02.772Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-395@tmp/config4053292717808731473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:48:03.120Z] ---> docker-login.sh [2023-10-20T03:48:03.120Z] nexus3.edgexfoundry.org:10001 [2023-10-20T03:48:03.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:48:03.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:48:03.120Z] Configure a credential helper to remove this warning. See [2023-10-20T03:48:03.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:48:03.120Z] [2023-10-20T03:48:03.120Z] Login Succeeded [2023-10-20T03:48:03.120Z] nexus3.edgexfoundry.org:10002 [2023-10-20T03:48:03.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:48:03.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:48:03.120Z] Configure a credential helper to remove this warning. See [2023-10-20T03:48:03.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:48:03.120Z] [2023-10-20T03:48:03.120Z] Login Succeeded [2023-10-20T03:48:03.120Z] nexus3.edgexfoundry.org:10003 [2023-10-20T03:48:03.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:48:03.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:48:03.380Z] Configure a credential helper to remove this warning. See [2023-10-20T03:48:03.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:48:03.380Z] [2023-10-20T03:48:03.380Z] Login Succeeded [2023-10-20T03:48:03.380Z] nexus3.edgexfoundry.org:10004 [2023-10-20T03:48:03.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:48:03.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:48:03.380Z] Configure a credential helper to remove this warning. See [2023-10-20T03:48:03.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:48:03.380Z] [2023-10-20T03:48:03.380Z] Login Succeeded [2023-10-20T03:48:03.380Z] docker.io [2023-10-20T03:48:03.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:48:03.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:48:03.639Z] Configure a credential helper to remove this warning. See [2023-10-20T03:48:03.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:48:03.639Z] [2023-10-20T03:48:03.639Z] Login Succeeded [2023-10-20T03:48:03.639Z] ---> docker-login.sh ends [Pipeline] } [2023-10-20T03:48:03.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-20T03:48:03.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-20T03:48:03.895Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-20T03:48:03.924Z] ========================================================= [2023-10-20T03:48:03.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-20T03:48:03.924Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:48:04.390Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-20T03:48:04.390Z] Sending build context to Docker daemon 21.67MB [2023-10-20T03:48:04.390Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-10-20T03:48:04.390Z] Step 2/13 : FROM ${BASE} AS builder [2023-10-20T03:48:04.390Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-20T03:48:04.390Z] 7264a8db6415: Pulling fs layer [2023-10-20T03:48:04.390Z] c4d48a809fc2: Pulling fs layer [2023-10-20T03:48:04.390Z] 4f1c88b9dad5: Pulling fs layer [2023-10-20T03:48:04.390Z] ad3a456e5733: Pulling fs layer [2023-10-20T03:48:04.390Z] 33e27b845d1e: Pulling fs layer [2023-10-20T03:48:04.390Z] c68163c4e522: Pulling fs layer [2023-10-20T03:48:04.390Z] 50da416c3ac9: Pulling fs layer [2023-10-20T03:48:04.390Z] 23d2d4c4bb30: Pulling fs layer [2023-10-20T03:48:04.390Z] ad3a456e5733: Waiting [2023-10-20T03:48:04.390Z] 33e27b845d1e: Waiting [2023-10-20T03:48:04.390Z] c68163c4e522: Waiting [2023-10-20T03:48:04.390Z] 50da416c3ac9: Waiting [2023-10-20T03:48:04.390Z] 23d2d4c4bb30: Waiting [2023-10-20T03:48:04.649Z] c4d48a809fc2: Verifying Checksum [2023-10-20T03:48:04.649Z] ad3a456e5733: Verifying Checksum [2023-10-20T03:48:04.649Z] ad3a456e5733: Download complete [2023-10-20T03:48:04.649Z] 33e27b845d1e: Verifying Checksum [2023-10-20T03:48:04.649Z] 33e27b845d1e: Download complete [2023-10-20T03:48:04.649Z] 7264a8db6415: Verifying Checksum [2023-10-20T03:48:04.649Z] 7264a8db6415: Download complete [2023-10-20T03:48:04.649Z] c68163c4e522: Verifying Checksum [2023-10-20T03:48:04.649Z] c68163c4e522: Download complete [2023-10-20T03:48:04.649Z] 7264a8db6415: Pull complete [2023-10-20T03:48:04.907Z] c4d48a809fc2: Pull complete [2023-10-20T03:48:04.907Z] 23d2d4c4bb30: Verifying Checksum [2023-10-20T03:48:04.907Z] 23d2d4c4bb30: Download complete [2023-10-20T03:48:04.907Z] 4f1c88b9dad5: Verifying Checksum [2023-10-20T03:48:04.907Z] 4f1c88b9dad5: Download complete [2023-10-20T03:48:05.472Z] 50da416c3ac9: Verifying Checksum [2023-10-20T03:48:05.472Z] 50da416c3ac9: Download complete [2023-10-20T03:48:07.996Z] 4f1c88b9dad5: Pull complete [2023-10-20T03:48:07.996Z] ad3a456e5733: Pull complete [2023-10-20T03:48:07.996Z] 33e27b845d1e: Pull complete [2023-10-20T03:48:07.996Z] c68163c4e522: Pull complete [2023-10-20T03:48:10.523Z] 50da416c3ac9: Pull complete [2023-10-20T03:48:10.523Z] 23d2d4c4bb30: Pull complete [2023-10-20T03:48:10.523Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-20T03:48:10.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-20T03:48:10.523Z] ---> 0786185ac409 [2023-10-20T03:48:10.523Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-10-20T03:48:13.054Z] ---> Running in d17aaba2ce01 [2023-10-20T03:48:13.054Z] Removing intermediate container d17aaba2ce01 [2023-10-20T03:48:13.054Z] ---> ba4a484b796a [2023-10-20T03:48:13.054Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-20T03:48:13.054Z] ---> Running in 84eb8caef0c1 [2023-10-20T03:48:13.054Z] Removing intermediate container 84eb8caef0c1 [2023-10-20T03:48:13.054Z] ---> 3c538e13b71c [2023-10-20T03:48:13.054Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-10-20T03:48:13.054Z] ---> Running in 4a7576a57651 [2023-10-20T03:48:13.313Z] Removing intermediate container 4a7576a57651 [2023-10-20T03:48:13.313Z] ---> 3557e13c7946 [2023-10-20T03:48:13.313Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-10-20T03:48:13.313Z] ---> Running in 420868c58ff6 [2023-10-20T03:48:13.313Z] Removing intermediate container 420868c58ff6 [2023-10-20T03:48:13.313Z] ---> d08ccfe6a710 [2023-10-20T03:48:13.313Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-10-20T03:48:13.313Z] ---> Running in 767461caa499 [2023-10-20T03:48:13.313Z] Removing intermediate container 767461caa499 [2023-10-20T03:48:13.313Z] ---> 48a085defcf2 [2023-10-20T03:48:13.313Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-20T03:48:13.313Z] ---> Running in 333883945d35 [2023-10-20T03:48:13.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-20T03:48:13.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-20T03:48:14.092Z] OK: 264 MiB in 52 packages [2023-10-20T03:48:14.352Z] Removing intermediate container 333883945d35 [2023-10-20T03:48:14.352Z] ---> dc2b01c2e3ff [2023-10-20T03:48:14.352Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-10-20T03:48:14.352Z] ---> Running in d64bd7db76c1 [2023-10-20T03:48:14.610Z] Removing intermediate container d64bd7db76c1 [2023-10-20T03:48:14.610Z] ---> 1a6a7765065c [2023-10-20T03:48:14.610Z] Step 10/13 : COPY go.mod vendor* ./ [2023-10-20T03:48:14.610Z] ---> b9c96941b866 [2023-10-20T03:48:14.610Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-20T03:48:14.610Z] ---> Running in 13afef198ba7 [2023-10-20T03:48:17.521Z] Still waiting to schedule task [2023-10-20T03:48:17.521Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-20T03:49:25.818Z] Removing intermediate container 13afef198ba7 [2023-10-20T03:49:25.819Z] ---> d83fcd79bad4 [2023-10-20T03:49:25.819Z] Step 12/13 : COPY . . [2023-10-20T03:49:25.819Z] ---> f696b7f8e750 [2023-10-20T03:49:25.819Z] Step 13/13 : RUN ${MAKE} [2023-10-20T03:49:25.819Z] ---> Running in 6c81de235e0e [2023-10-20T03:49:25.819Z] noop [2023-10-20T03:49:25.819Z] Removing intermediate container 6c81de235e0e [2023-10-20T03:49:25.819Z] ---> c752c6f93c78 [2023-10-20T03:49:25.819Z] Successfully built c752c6f93c78 [2023-10-20T03:49:25.819Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:49:26.272Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-20T03:49:26.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-20T03:49:26.414Z] prd-ubuntu20.04-docker-8c-8g-9639 does not seem to be running inside a container [2023-10-20T03:49:26.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-395 -v /w/workspace/undry_device-onvif-camera_PR-395:/w/workspace/undry_device-onvif-camera_PR-395:rw,z -v /w/workspace/undry_device-onvif-camera_PR-395@tmp:/w/workspace/undry_device-onvif-camera_PR-395@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 [2023-10-20T03:49:26.763Z] $ docker top 8b60e2493ed15eeb8a6350105c4776d635506c104f2ae3084a23ceaa223704bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-20T03:49:27.171Z] + go version [2023-10-20T03:49:27.171Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-20T03:49:27.189Z] $ docker stop --time=1 8b60e2493ed15eeb8a6350105c4776d635506c104f2ae3084a23ceaa223704bf [2023-10-20T03:49:28.467Z] $ docker rm -f --volumes 8b60e2493ed15eeb8a6350105c4776d635506c104f2ae3084a23ceaa223704bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:49:29.188Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-20T03:49:29.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-20T03:49:29.337Z] prd-ubuntu20.04-docker-8c-8g-9639 does not seem to be running inside a container [2023-10-20T03:49:29.350Z] $ 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-395 -v /w/workspace/undry_device-onvif-camera_PR-395:/w/workspace/undry_device-onvif-camera_PR-395:rw,z -v /w/workspace/undry_device-onvif-camera_PR-395@tmp:/w/workspace/undry_device-onvif-camera_PR-395@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 [2023-10-20T03:49:29.697Z] $ docker top 5f39667d96dbf2b5945cbcca04e9485571d996b266e833701e4754fe884ac342 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-20T03:49:30.106Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-395 [Pipeline] fileExists [Pipeline] sh [2023-10-20T03:49:30.457Z] + make test [2023-10-20T03:49:30.457Z] go test ./... -coverprofile=coverage.out ./... [2023-10-20T03:49:31.393Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-10-20T03:49:41.483Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-10-20T03:49:42.052Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-10-20T03:49:43.974Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.5% of statements [2023-10-20T03:49:44.234Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.258s coverage: 86.5% of statements [2023-10-20T03:49:52.366Z] go vet ./... [2023-10-20T03:49:54.902Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-20T03:49:54.903Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-20T03:49:54.903Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-20T03:49:54.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-20T03:49:54.952Z] $ docker stop --time=1 5f39667d96dbf2b5945cbcca04e9485571d996b266e833701e4754fe884ac342 [2023-10-20T03:49:58.097Z] $ docker rm -f --volumes 5f39667d96dbf2b5945cbcca04e9485571d996b266e833701e4754fe884ac342 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-20T03:50:01.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-20T03:50:01.539Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2023-10-20T03:50:01.702Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9640 in /w/workspace/undry_device-onvif-camera_PR-395 [Pipeline] stage [Pipeline] { (Build) [Pipeline] { [Pipeline] ws [2023-10-20T03:50:01.796Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-10-20T03:50:01.861Z] The recommended git tool is: git [Pipeline] sh [2023-10-20T03:50:02.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-20T03:50:02.659Z] + ls -al . [2023-10-20T03:50:02.659Z] total 240 [2023-10-20T03:50:02.659Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 03:49 . [2023-10-20T03:50:02.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 03:47 .. [2023-10-20T03:50:02.659Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 03:49 .git [2023-10-20T03:50:02.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 03:47 .github [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 03:47 .gitignore [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 03:47 .golangci.yml [2023-10-20T03:50:02.659Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 03:47 .semver [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 11155 Oct 20 03:47 Attribution.txt [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 15932 Oct 20 03:47 CHANGELOG.md [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 1574 Oct 20 03:47 Dockerfile [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 03:47 GOVERNANCE.md [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 20 03:47 Jenkinsfile [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 03:47 LICENSE [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 2877 Oct 20 03:47 Makefile [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 03:47 OWNERS.md [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 20 03:47 README.md [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 03:48 VERSION [2023-10-20T03:50:02.659Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 03:47 bin [2023-10-20T03:50:02.659Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 03:47 cmd [2023-10-20T03:50:02.659Z] -rw-r--r-- 1 jenkins jenkins 78456 Oct 20 03:49 coverage.out [2023-10-20T03:50:02.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 03:47 doc [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 4087 Oct 20 03:47 go.mod [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 35688 Oct 20 03:47 go.sum [2023-10-20T03:50:02.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 03:47 internal [2023-10-20T03:50:02.659Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 03:47 snap [2023-10-20T03:50:02.659Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 03:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:50:03.082Z] + 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=fa09b8c8026d287f88d4e0443554263ac289f543 --label arch=amd64 --label version=0.0.0 . [2023-10-20T03:50:03.082Z] Sending build context to Docker daemon 21.75MB [2023-10-20T03:50:03.082Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-10-20T03:50:03.082Z] Step 2/26 : FROM ${BASE} AS builder [2023-10-20T03:50:03.082Z] ---> c752c6f93c78 [2023-10-20T03:50:03.082Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-10-20T03:50:03.341Z] ---> Running in 6f47dfa0a2c4 [2023-10-20T03:50:03.341Z] Removing intermediate container 6f47dfa0a2c4 [2023-10-20T03:50:03.341Z] ---> cd38341df74e [2023-10-20T03:50:03.341Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-20T03:50:03.341Z] ---> Running in e0c1ade78992 [2023-10-20T03:50:03.341Z] Removing intermediate container e0c1ade78992 [2023-10-20T03:50:03.341Z] ---> 1a28ab4714a4 [2023-10-20T03:50:03.341Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-10-20T03:50:03.341Z] ---> Running in 5cfc59343171 [2023-10-20T03:50:04.696Z] Removing intermediate container 5cfc59343171 [2023-10-20T03:50:04.696Z] ---> 31882c4f88de [2023-10-20T03:50:04.696Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-10-20T03:50:04.696Z] ---> Running in bf6def46f670 [2023-10-20T03:50:04.696Z] Removing intermediate container bf6def46f670 [2023-10-20T03:50:04.696Z] ---> b4d6456618e3 [2023-10-20T03:50:04.696Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-10-20T03:50:04.696Z] ---> Running in 151cdb4a900c [2023-10-20T03:50:04.696Z] Removing intermediate container 151cdb4a900c [2023-10-20T03:50:04.696Z] ---> 820c5806443c [2023-10-20T03:50:04.696Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-20T03:50:04.696Z] ---> Running in c395fedfd3d6 [2023-10-20T03:50:04.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-20T03:50:07.147Z] using credential edgex-jenkins-ssh [2023-10-20T03:50:07.163Z] Cloning the remote Git repository [2023-10-20T03:50:07.208Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-20T03:50:07.297Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-10-20T03:50:07.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-20T03:50:07.453Z] > git --version # timeout=10 [2023-10-20T03:50:07.473Z] > git --version # 'git version 2.25.1' [2023-10-20T03:50:07.475Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-20T03:50:07.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-20T03:50:09.139Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-10-20T03:50:09.161Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-20T03:50:10.609Z] Merging remotes/origin/main commit 7c6ce31d4e4e68ee53203d0b85754cc148e5691f into PR head commit fa09b8c8026d287f88d4e0443554263ac289f543 [2023-10-20T03:50:10.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-20T03:50:10.047Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-10-20T03:50:10.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-10-20T03:50:10.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-20T03:50:10.105Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-20T03:50:10.628Z] > git config core.sparsecheckout # timeout=10 [2023-10-20T03:50:10.698Z] > git checkout -f fa09b8c8026d287f88d4e0443554263ac289f543 # timeout=10 [2023-10-20T03:50:10.983Z] Merge succeeded, producing fa09b8c8026d287f88d4e0443554263ac289f543 [2023-10-20T03:50:10.984Z] Checking out Revision fa09b8c8026d287f88d4e0443554263ac289f543 (PR-395) [2023-10-20T03:50:11.626Z] Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.6 to 1.0.0" [2023-10-20T03:50:11.680Z] > git --version # timeout=10 [2023-10-20T03:50:11.693Z] > git --version # 'git version 2.25.1' [2023-10-20T03:50:11.705Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-20T03:50:10.875Z] > git remote # timeout=10 [2023-10-20T03:50:10.897Z] > git config --get remote.origin.url # timeout=10 [2023-10-20T03:50:10.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-20T03:50:10.937Z] > git merge 7c6ce31d4e4e68ee53203d0b85754cc148e5691f # timeout=10 [2023-10-20T03:50:10.968Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-20T03:50:10.994Z] > git config core.sparsecheckout # timeout=10 [2023-10-20T03:50:11.011Z] > git checkout -f fa09b8c8026d287f88d4e0443554263ac289f543 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-20T03:50:13.018Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-20T03:50:13.018Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-20T03:50:13.018Z] Dload Upload Total Spent Left Speed [2023-10-20T03:50:13.018Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-10-20T03:50:13.624Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-20T03:50:13.972Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-20T03:50:13.972Z] + sudo tee /etc/docker/daemon.new [2023-10-20T03:50:13.972Z] { [2023-10-20T03:50:13.972Z] "registry-mirrors": [ [2023-10-20T03:50:13.972Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-20T03:50:13.972Z] ], [2023-10-20T03:50:13.972Z] "bip": "10.250.0.254/24", [2023-10-20T03:50:13.972Z] "hosts": [ [2023-10-20T03:50:13.972Z] "tcp://0.0.0.0:5555", [2023-10-20T03:50:13.972Z] "unix:///var/run/docker.sock" [2023-10-20T03:50:13.972Z] ], [2023-10-20T03:50:13.972Z] "mtu": 1458, [2023-10-20T03:50:13.972Z] "selinux-enabled": true, [2023-10-20T03:50:13.972Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-20T03:50:13.972Z] } [Pipeline] sh [2023-10-20T03:50:14.316Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-20T03:50:14.682Z] + sudo service docker restart [2023-10-20T03:50:16.441Z] OK: 264 MiB in 52 packages [2023-10-20T03:50:16.441Z] Removing intermediate container c395fedfd3d6 [2023-10-20T03:50:16.441Z] ---> b27b041eda9f [2023-10-20T03:50:16.441Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-10-20T03:50:16.441Z] ---> Running in bfe3c3e7054c [2023-10-20T03:50:16.700Z] Removing intermediate container bfe3c3e7054c [2023-10-20T03:50:16.700Z] ---> 67b29fb6da71 [2023-10-20T03:50:16.700Z] Step 10/26 : COPY go.mod vendor* ./ [2023-10-20T03:50:16.700Z] ---> 76a8ef8c8c4a [2023-10-20T03:50:16.700Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-20T03:50:16.700Z] ---> Running in fb6f5598431a [2023-10-20T03:50:17.639Z] Removing intermediate container fb6f5598431a [2023-10-20T03:50:17.639Z] ---> cbe5ce5a0f6a [2023-10-20T03:50:17.639Z] Step 12/26 : COPY . . [2023-10-20T03:50:17.896Z] ---> cd475e559293 [2023-10-20T03:50:17.896Z] Step 13/26 : RUN ${MAKE} [2023-10-20T03:50:17.896Z] ---> Running in 3dbc55efabd7 [2023-10-20T03:50:18.155Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-20T03:50:33.007Z] provisioning config files... [2023-10-20T03:50:33.053Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3578101987543411311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:50:33.450Z] ---> docker-login.sh [2023-10-20T03:50:33.450Z] nexus3.edgexfoundry.org:10001 [2023-10-20T03:50:33.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:50:33.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:50:33.994Z] Configure a credential helper to remove this warning. See [2023-10-20T03:50:33.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:50:33.994Z] [2023-10-20T03:50:33.994Z] Login Succeeded [2023-10-20T03:50:33.994Z] nexus3.edgexfoundry.org:10002 [2023-10-20T03:50:34.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:50:34.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:50:34.538Z] Configure a credential helper to remove this warning. See [2023-10-20T03:50:34.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:50:34.538Z] [2023-10-20T03:50:34.538Z] Login Succeeded [2023-10-20T03:50:34.538Z] nexus3.edgexfoundry.org:10003 [2023-10-20T03:50:34.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:50:34.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:50:34.808Z] Configure a credential helper to remove this warning. See [2023-10-20T03:50:34.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:50:34.808Z] [2023-10-20T03:50:34.808Z] Login Succeeded [2023-10-20T03:50:34.808Z] nexus3.edgexfoundry.org:10004 [2023-10-20T03:50:35.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:50:35.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:50:35.357Z] Configure a credential helper to remove this warning. See [2023-10-20T03:50:35.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:50:35.357Z] [2023-10-20T03:50:35.357Z] Login Succeeded [2023-10-20T03:50:35.357Z] docker.io [2023-10-20T03:50:35.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-20T03:50:35.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-20T03:50:35.892Z] Configure a credential helper to remove this warning. See [2023-10-20T03:50:35.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-20T03:50:35.892Z] [2023-10-20T03:50:35.892Z] Login Succeeded [2023-10-20T03:50:35.892Z] ---> docker-login.sh ends [Pipeline] } [2023-10-20T03:50:35.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-10-20T03:50:36.249Z] Removing intermediate container 3dbc55efabd7 [2023-10-20T03:50:36.249Z] ---> 85e0aa245a41 [2023-10-20T03:50:36.249Z] Step 14/26 : FROM alpine:3.18 [2023-10-20T03:50:36.249Z] 3.18: Pulling from library/alpine [2023-10-20T03:50:36.249Z] 96526aa774ef: Pulling fs layer [2023-10-20T03:50:36.249Z] 96526aa774ef: Verifying Checksum [2023-10-20T03:50:36.249Z] 96526aa774ef: Download complete [2023-10-20T03:50:36.249Z] 96526aa774ef: Pull complete [2023-10-20T03:50:36.249Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-20T03:50:36.249Z] Status: Downloaded newer image for alpine:3.18 [2023-10-20T03:50:36.249Z] ---> 8ca4688f4f35 [2023-10-20T03:50:36.249Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-10-20T03:50:36.249Z] ---> Running in 24aa6a2f2a69 [2023-10-20T03:50:36.249Z] Removing intermediate container 24aa6a2f2a69 [2023-10-20T03:50:36.249Z] ---> 668b1e3df16f [2023-10-20T03:50:36.249Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-10-20T03:50:36.249Z] ---> Running in 8ac2d04895b8 [Pipeline] echo [2023-10-20T03:50:36.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-20T03:50:36.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-20T03:50:36.419Z] ========================================================= [2023-10-20T03:50:36.419Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-20T03:50:36.419Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2023-10-20T03:50:36.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:50:36.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-20T03:50:36.764Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-20T03:50:36.764Z] Executing busybox-1.36.1-r2.trigger [2023-10-20T03:50:36.764Z] OK: 7 MiB in 16 packages [2023-10-20T03:50:36.956Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-20T03:50:37.023Z] Removing intermediate container 8ac2d04895b8 [2023-10-20T03:50:37.024Z] ---> f5dd84a42add [2023-10-20T03:50:37.024Z] Step 17/26 : WORKDIR / [2023-10-20T03:50:37.024Z] ---> Running in 2dc970a6aa3f [2023-10-20T03:50:37.281Z] Removing intermediate container 2dc970a6aa3f [2023-10-20T03:50:37.281Z] ---> 80ef6c2931f0 [2023-10-20T03:50:37.281Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-10-20T03:50:37.550Z] Sending build context to Docker daemon 14.2MB [2023-10-20T03:50:37.550Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-10-20T03:50:37.550Z] Step 2/13 : FROM ${BASE} AS builder [2023-10-20T03:50:37.550Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-20T03:50:37.550Z] 9fda8d8052c6: Pulling fs layer [2023-10-20T03:50:37.550Z] 5d54e960e981: Pulling fs layer [2023-10-20T03:50:37.550Z] c4a7e357bf2a: Pulling fs layer [2023-10-20T03:50:37.550Z] f0e02332f6b5: Pulling fs layer [2023-10-20T03:50:37.550Z] cefa15bbcfad: Pulling fs layer [2023-10-20T03:50:37.550Z] 17808c966233: Pulling fs layer [2023-10-20T03:50:37.550Z] f4c1fc716caa: Pulling fs layer [2023-10-20T03:50:37.550Z] cefa15bbcfad: Waiting [2023-10-20T03:50:37.550Z] 17808c966233: Waiting [2023-10-20T03:50:37.550Z] f0e02332f6b5: Waiting [2023-10-20T03:50:37.550Z] f4c1fc716caa: Waiting [2023-10-20T03:50:37.819Z] 5d54e960e981: Verifying Checksum [2023-10-20T03:50:37.819Z] 5d54e960e981: Download complete [2023-10-20T03:50:37.819Z] f0e02332f6b5: Verifying Checksum [2023-10-20T03:50:37.819Z] f0e02332f6b5: Download complete [2023-10-20T03:50:37.819Z] cefa15bbcfad: Verifying Checksum [2023-10-20T03:50:37.819Z] cefa15bbcfad: Download complete [2023-10-20T03:50:37.819Z] 9fda8d8052c6: Verifying Checksum [2023-10-20T03:50:37.819Z] 9fda8d8052c6: Download complete [2023-10-20T03:50:37.847Z] ---> a4891a20ec8a [2023-10-20T03:50:37.847Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-10-20T03:50:37.847Z] ---> b8119ced4149 [2023-10-20T03:50:37.847Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-10-20T03:50:38.105Z] ---> 8c8d26cee46b [2023-10-20T03:50:38.105Z] Step 21/26 : EXPOSE 59984 [2023-10-20T03:50:38.105Z] ---> Running in 2ee039fe8c50 [2023-10-20T03:50:38.105Z] Removing intermediate container 2ee039fe8c50 [2023-10-20T03:50:38.105Z] ---> b314fd482172 [2023-10-20T03:50:38.105Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-10-20T03:50:38.105Z] ---> Running in 6eb0589c799b [2023-10-20T03:50:38.105Z] Removing intermediate container 6eb0589c799b [2023-10-20T03:50:38.105Z] ---> 510d3ab2f895 [2023-10-20T03:50:38.105Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-20T03:50:38.362Z] ---> Running in 1956895c54b4 [2023-10-20T03:50:38.362Z] Removing intermediate container 1956895c54b4 [2023-10-20T03:50:38.362Z] ---> 6cc10bb75ece [2023-10-20T03:50:38.362Z] Step 24/26 : LABEL arch=amd64 [2023-10-20T03:50:38.362Z] ---> Running in 9a690bedcf6c [2023-10-20T03:50:38.362Z] Removing intermediate container 9a690bedcf6c [2023-10-20T03:50:38.362Z] ---> ec9467045dde [2023-10-20T03:50:38.362Z] Step 25/26 : LABEL git_sha=fa09b8c8026d287f88d4e0443554263ac289f543 [2023-10-20T03:50:38.362Z] ---> Running in a2d846cd77ea [2023-10-20T03:50:38.362Z] Removing intermediate container a2d846cd77ea [2023-10-20T03:50:38.362Z] ---> 168b773c362e [2023-10-20T03:50:38.362Z] Step 26/26 : LABEL version=0.0.0 [2023-10-20T03:50:38.362Z] ---> Running in c63893400958 [2023-10-20T03:50:38.411Z] f4c1fc716caa: Verifying Checksum [2023-10-20T03:50:38.411Z] f4c1fc716caa: Download complete [2023-10-20T03:50:38.622Z] Removing intermediate container c63893400958 [2023-10-20T03:50:38.622Z] ---> 856ff3d4fed6 [2023-10-20T03:50:38.622Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-20T03:50:38.622Z] Successfully built 856ff3d4fed6 [2023-10-20T03:50:38.622Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [2023-10-20T03:50:38.683Z] 9fda8d8052c6: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:50:39.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-20T03:50:39.556Z] [2023-10-20T03:50:39.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:50:39.655Z] 5d54e960e981: Pull complete [2023-10-20T03:50:39.655Z] c4a7e357bf2a: Verifying Checksum [2023-10-20T03:50:39.655Z] c4a7e357bf2a: Download complete [2023-10-20T03:50:40.538Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-20T03:50:40.538Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-20T03:50:40.538Z] 5eb5b503b376: Pulling fs layer [2023-10-20T03:50:40.538Z] 5c69ac0246d0: Pulling fs layer [2023-10-20T03:50:40.538Z] ec43610c2a17: Pulling fs layer [2023-10-20T03:50:40.538Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-20T03:50:40.538Z] 33b1e0a273af: Pulling fs layer [2023-10-20T03:50:40.538Z] 5d3b04190fa2: Pulling fs layer [2023-10-20T03:50:40.538Z] 2f39f015ded8: Pulling fs layer [2023-10-20T03:50:40.538Z] 33b1e0a273af: Waiting [2023-10-20T03:50:40.538Z] 5d3b04190fa2: Waiting [2023-10-20T03:50:40.538Z] 2f39f015ded8: Waiting [2023-10-20T03:50:40.538Z] 3a2ae6a8a46f: Waiting [2023-10-20T03:50:40.538Z] 5c69ac0246d0: Verifying Checksum [2023-10-20T03:50:40.538Z] 5c69ac0246d0: Download complete [2023-10-20T03:50:40.538Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-20T03:50:40.538Z] 3a2ae6a8a46f: Download complete [2023-10-20T03:50:40.800Z] 33b1e0a273af: Verifying Checksum [2023-10-20T03:50:40.800Z] 33b1e0a273af: Download complete [2023-10-20T03:50:40.800Z] 5d3b04190fa2: Verifying Checksum [2023-10-20T03:50:40.800Z] 5d3b04190fa2: Download complete [2023-10-20T03:50:40.800Z] ec43610c2a17: Verifying Checksum [2023-10-20T03:50:40.800Z] ec43610c2a17: Download complete [2023-10-20T03:50:40.800Z] 5eb5b503b376: Verifying Checksum [2023-10-20T03:50:40.800Z] 5eb5b503b376: Download complete [2023-10-20T03:50:41.250Z] 17808c966233: Verifying Checksum [2023-10-20T03:50:41.250Z] 17808c966233: Download complete [2023-10-20T03:50:41.364Z] 2f39f015ded8: Download complete [2023-10-20T03:50:41.930Z] 5eb5b503b376: Pull complete [2023-10-20T03:50:42.188Z] 5c69ac0246d0: Pull complete [2023-10-20T03:50:42.445Z] ec43610c2a17: Pull complete [2023-10-20T03:50:42.703Z] 3a2ae6a8a46f: Pull complete [2023-10-20T03:50:42.703Z] 33b1e0a273af: Pull complete [2023-10-20T03:50:42.960Z] 5d3b04190fa2: Pull complete [2023-10-20T03:50:47.139Z] 2f39f015ded8: Pull complete [2023-10-20T03:50:47.139Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-20T03:50:47.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-20T03:50:47.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-20T03:50:47.372Z] prd-ubuntu20.04-docker-8c-8g-9639 does not seem to be running inside a container [2023-10-20T03:50:47.382Z] $ 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-395 -v /w/workspace/undry_device-onvif-camera_PR-395:/w/workspace/undry_device-onvif-camera_PR-395:rw,z -v /w/workspace/undry_device-onvif-camera_PR-395@tmp:/w/workspace/undry_device-onvif-camera_PR-395@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 [2023-10-20T03:50:50.112Z] $ docker top 4ba716979e804bc07fbbb75509217607af93d4515616e571683d4a62d293b37f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:50:50.600Z] ---> job-cost.sh [2023-10-20T03:50:50.600Z] lf-activate-venv: SKIPPING [2023-10-20T03:50:50.600Z] INFO: No Stack... [2023-10-20T03:50:50.859Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-20T03:50:51.427Z] INFO: Archiving Costs [Pipeline] sh [2023-10-20T03:50:51.744Z] + cat /w/workspace/undry_device-onvif-camera_PR-395/archives/cost.csv [2023-10-20T03:50:51.744Z] + cut -d, -f6 [Pipeline] lock [2023-10-20T03:50:51.785Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-395-1-stack-cost] [2023-10-20T03:50:51.789Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-395-1-stack-cost] did not exist. Created. [2023-10-20T03:50:51.790Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-395-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-20T03:50:52.185Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-20T03:50:52.248Z] Stashed 1 file(s) [Pipeline] } [2023-10-20T03:50:52.282Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-395-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-20T03:50:52.350Z] $ docker stop --time=1 4ba716979e804bc07fbbb75509217607af93d4515616e571683d4a62d293b37f [2023-10-20T03:50:53.492Z] $ docker rm -f --volumes 4ba716979e804bc07fbbb75509217607af93d4515616e571683d4a62d293b37f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2023-10-20T03:50:53.713Z] c4a7e357bf2a: Pull complete [2023-10-20T03:50:53.713Z] f0e02332f6b5: Pull complete [2023-10-20T03:50:53.713Z] cefa15bbcfad: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-20T03:51:01.940Z] 17808c966233: Pull complete [2023-10-20T03:51:03.358Z] f4c1fc716caa: Pull complete [2023-10-20T03:51:03.358Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-20T03:51:03.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-20T03:51:03.358Z] ---> ea914061e18c [2023-10-20T03:51:03.358Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-10-20T03:51:05.297Z] ---> Running in a7ed6a281f83 [2023-10-20T03:51:05.565Z] Removing intermediate container a7ed6a281f83 [2023-10-20T03:51:05.565Z] ---> cb0520b8283f [2023-10-20T03:51:05.565Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-20T03:51:05.565Z] ---> Running in dd703aba7f2d [2023-10-20T03:51:06.161Z] Removing intermediate container dd703aba7f2d [2023-10-20T03:51:06.161Z] ---> 239e1106f7b2 [2023-10-20T03:51:06.161Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-10-20T03:51:06.161Z] ---> Running in bc68eda94402 [2023-10-20T03:51:06.428Z] Removing intermediate container bc68eda94402 [2023-10-20T03:51:06.428Z] ---> d56343bc21ce [2023-10-20T03:51:06.428Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-10-20T03:51:06.428Z] ---> Running in 48b97c544068 [2023-10-20T03:51:06.699Z] Removing intermediate container 48b97c544068 [2023-10-20T03:51:06.699Z] ---> dde57840ef78 [2023-10-20T03:51:06.699Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-10-20T03:51:06.976Z] ---> Running in dda7da28b39e [2023-10-20T03:51:07.243Z] Removing intermediate container dda7da28b39e [2023-10-20T03:51:07.243Z] ---> 9c1c0a73b580 [2023-10-20T03:51:07.243Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-20T03:51:07.243Z] ---> Running in c79d93b8e349 [2023-10-20T03:51:08.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-20T03:51:08.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-20T03:51:09.882Z] OK: 266 MiB in 52 packages [2023-10-20T03:51:10.840Z] Removing intermediate container c79d93b8e349 [2023-10-20T03:51:10.840Z] ---> ca6944a99bb3 [2023-10-20T03:51:10.840Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-10-20T03:51:10.840Z] ---> Running in 5560e8489fb3 [2023-10-20T03:51:11.105Z] Removing intermediate container 5560e8489fb3 [2023-10-20T03:51:11.105Z] ---> fbf23735c93d [2023-10-20T03:51:11.105Z] Step 10/13 : COPY go.mod vendor* ./ [2023-10-20T03:51:13.695Z] ---> 4b626d2747d6 [2023-10-20T03:51:13.695Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-20T03:51:13.695Z] ---> Running in 39f76a9d9c01 [2023-10-20T03:52:50.352Z] Removing intermediate container 39f76a9d9c01 [2023-10-20T03:52:50.352Z] ---> 4ed487689b19 [2023-10-20T03:52:50.352Z] Step 12/13 : COPY . . [2023-10-20T03:52:50.352Z] ---> fba3e0144c8c [2023-10-20T03:52:50.352Z] Step 13/13 : RUN ${MAKE} [2023-10-20T03:52:50.352Z] ---> Running in 974688afc90e [2023-10-20T03:52:50.352Z] noop [2023-10-20T03:52:50.352Z] Removing intermediate container 974688afc90e [2023-10-20T03:52:50.352Z] ---> e01b3eb139c4 [2023-10-20T03:52:50.352Z] Successfully built e01b3eb139c4 [2023-10-20T03:52:50.352Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:52:50.833Z] + docker inspect -f . ci-base-image-arm64 [2023-10-20T03:52:50.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-20T03:52:51.106Z] prd-ubuntu20.04-docker-arm64-4c-16g-9640 does not seem to be running inside a container [2023-10-20T03:52:51.173Z] $ 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 [2023-10-20T03:52:52.413Z] $ docker top 225a1d883333507895fa81ae39c9b2564a1eb3b83824d209562e9bdf7ed351a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-20T03:52:53.316Z] + go version [2023-10-20T03:52:53.316Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-20T03:52:53.356Z] $ docker stop --time=1 225a1d883333507895fa81ae39c9b2564a1eb3b83824d209562e9bdf7ed351a5 [2023-10-20T03:52:54.983Z] $ docker rm -f --volumes 225a1d883333507895fa81ae39c9b2564a1eb3b83824d209562e9bdf7ed351a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:52:55.847Z] + docker inspect -f . ci-base-image-arm64 [2023-10-20T03:52:55.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-20T03:52:56.094Z] prd-ubuntu20.04-docker-arm64-4c-16g-9640 does not seem to be running inside a container [2023-10-20T03:52:56.160Z] $ 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 [2023-10-20T03:52:57.327Z] $ docker top ad7057bf280316c707bc3920bacb10d49b4043ab166f45685558cd023d51ecd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-20T03:52:57.891Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-10-20T03:52:58.274Z] + make test [2023-10-20T03:52:58.543Z] go test ./... -coverprofile=coverage.out ./... [2023-10-20T03:53:03.985Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-10-20T03:54:40.610Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-10-20T03:54:40.610Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-10-20T03:54:40.610Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.174s coverage: 31.5% of statements [2023-10-20T03:54:55.599Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.715s coverage: 86.5% of statements [2023-10-20T03:54:55.865Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-20T03:54:55.865Z] go vet ./... [2023-10-20T03:55:17.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-20T03:55:17.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-20T03:55:17.935Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-20T03:55:18.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-20T03:55:18.269Z] $ docker stop --time=1 ad7057bf280316c707bc3920bacb10d49b4043ab166f45685558cd023d51ecd6 [2023-10-20T03:55:20.092Z] $ docker rm -f --volumes ad7057bf280316c707bc3920bacb10d49b4043ab166f45685558cd023d51ecd6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-20T03:55:21.389Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-20T03:55:21.430Z] Warning: overwriting stash ‘coverage-report’ [2023-10-20T03:55:21.916Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-20T03:55:22.515Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-20T03:55:22.851Z] + ls -al . [2023-10-20T03:55:22.851Z] total 236 [2023-10-20T03:55:22.851Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 20 03:53 . [2023-10-20T03:55:22.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 03:50 .. [2023-10-20T03:55:22.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 03:50 .git [2023-10-20T03:55:22.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 03:50 .github [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 03:50 .gitignore [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 03:50 .golangci.yml [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 11155 Oct 20 03:50 Attribution.txt [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 15932 Oct 20 03:50 CHANGELOG.md [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 1574 Oct 20 03:50 Dockerfile [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 03:50 GOVERNANCE.md [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 20 03:50 Jenkinsfile [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 03:50 LICENSE [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 2877 Oct 20 03:50 Makefile [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 03:50 OWNERS.md [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 20 03:50 README.md [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 03:48 VERSION [2023-10-20T03:55:22.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 03:50 bin [2023-10-20T03:55:22.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 03:50 cmd [2023-10-20T03:55:22.851Z] -rw-r--r-- 1 jenkins jenkins 78456 Oct 20 03:54 coverage.out [2023-10-20T03:55:22.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 03:50 doc [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 4087 Oct 20 03:50 go.mod [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 35688 Oct 20 03:50 go.sum [2023-10-20T03:55:22.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 03:50 internal [2023-10-20T03:55:22.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 03:50 snap [2023-10-20T03:55:22.851Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 03:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:55:23.270Z] + 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=fa09b8c8026d287f88d4e0443554263ac289f543 --label arch=arm64 --label version=0.0.0 . [2023-10-20T03:55:23.856Z] Sending build context to Docker daemon 14.28MB [2023-10-20T03:55:23.856Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-10-20T03:55:23.856Z] Step 2/26 : FROM ${BASE} AS builder [2023-10-20T03:55:23.856Z] ---> e01b3eb139c4 [2023-10-20T03:55:23.856Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-10-20T03:55:24.123Z] ---> Running in 314d56123e02 [2023-10-20T03:55:24.390Z] Removing intermediate container 314d56123e02 [2023-10-20T03:55:24.390Z] ---> e1c2e5f186e2 [2023-10-20T03:55:24.390Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-20T03:55:24.390Z] ---> Running in f7fb6e6fa881 [2023-10-20T03:55:24.657Z] Removing intermediate container f7fb6e6fa881 [2023-10-20T03:55:24.657Z] ---> 87629622d62d [2023-10-20T03:55:24.657Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-10-20T03:55:24.657Z] ---> Running in 52cd745e53d2 [2023-10-20T03:55:24.924Z] Removing intermediate container 52cd745e53d2 [2023-10-20T03:55:24.924Z] ---> d07d77395635 [2023-10-20T03:55:24.924Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-10-20T03:55:25.194Z] ---> Running in 9a8f59076c5a [2023-10-20T03:55:25.467Z] Removing intermediate container 9a8f59076c5a [2023-10-20T03:55:25.467Z] ---> ce73c51727f6 [2023-10-20T03:55:25.467Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-10-20T03:55:25.467Z] ---> Running in f499a7a9f430 [2023-10-20T03:55:25.738Z] Removing intermediate container f499a7a9f430 [2023-10-20T03:55:25.738Z] ---> 921ece27ef0a [2023-10-20T03:55:25.738Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-20T03:55:26.021Z] ---> Running in 3b188178fe48 [2023-10-20T03:55:26.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-20T03:55:27.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-20T03:55:31.927Z] OK: 266 MiB in 52 packages [2023-10-20T03:55:31.927Z] Removing intermediate container 3b188178fe48 [2023-10-20T03:55:31.927Z] ---> 332e877ede2a [2023-10-20T03:55:31.927Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-10-20T03:55:31.927Z] ---> Running in 3f7147030422 [2023-10-20T03:55:31.927Z] Removing intermediate container 3f7147030422 [2023-10-20T03:55:31.927Z] ---> 94ddd55038b8 [2023-10-20T03:55:31.927Z] Step 10/26 : COPY go.mod vendor* ./ [2023-10-20T03:55:32.194Z] ---> 8a71f6a5fe80 [2023-10-20T03:55:32.194Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-20T03:55:32.194Z] ---> Running in 896872c37b9e [2023-10-20T03:55:34.779Z] Removing intermediate container 896872c37b9e [2023-10-20T03:55:34.779Z] ---> 2f6b4e401a37 [2023-10-20T03:55:34.779Z] Step 12/26 : COPY . . [2023-10-20T03:55:36.188Z] ---> 69e0728e2499 [2023-10-20T03:55:36.188Z] Step 13/26 : RUN ${MAKE} [2023-10-20T03:55:36.188Z] ---> Running in 502cff7726a0 [2023-10-20T03:55:37.144Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-10-20T03:57:28.812Z] Removing intermediate container 502cff7726a0 [2023-10-20T03:57:28.812Z] ---> d5cc9bc0a6a6 [2023-10-20T03:57:28.812Z] Step 14/26 : FROM alpine:3.18 [2023-10-20T03:57:28.812Z] 3.18: Pulling from library/alpine [2023-10-20T03:57:28.812Z] 579b34f0a95b: Pulling fs layer [2023-10-20T03:57:28.812Z] 579b34f0a95b: Download complete [2023-10-20T03:57:29.079Z] 579b34f0a95b: Pull complete [2023-10-20T03:57:29.343Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-20T03:57:29.343Z] Status: Downloaded newer image for alpine:3.18 [2023-10-20T03:57:29.343Z] ---> 3cc203321400 [2023-10-20T03:57:29.343Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-10-20T03:57:29.343Z] ---> Running in 8810b3907daa [2023-10-20T03:57:29.609Z] Removing intermediate container 8810b3907daa [2023-10-20T03:57:29.609Z] ---> 7ffa0d9045e7 [2023-10-20T03:57:29.609Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-10-20T03:57:29.883Z] ---> Running in 8f7bcfdf8903 [2023-10-20T03:57:30.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-20T03:57:31.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-20T03:57:32.536Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-20T03:57:32.536Z] Executing busybox-1.36.1-r2.trigger [2023-10-20T03:57:32.536Z] OK: 8 MiB in 16 packages [2023-10-20T03:57:34.476Z] Removing intermediate container 8f7bcfdf8903 [2023-10-20T03:57:34.476Z] ---> 31de02a0809a [2023-10-20T03:57:34.476Z] Step 17/26 : WORKDIR / [2023-10-20T03:57:34.476Z] ---> Running in b9773d38b6d8 [2023-10-20T03:57:35.064Z] Removing intermediate container b9773d38b6d8 [2023-10-20T03:57:35.064Z] ---> be77c76f3b31 [2023-10-20T03:57:35.064Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-10-20T03:57:36.474Z] ---> 7ce7b6bf03ec [2023-10-20T03:57:36.474Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-10-20T03:57:36.740Z] ---> 82345733861b [2023-10-20T03:57:36.740Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-10-20T03:57:37.322Z] ---> 0c36087f19f9 [2023-10-20T03:57:37.322Z] Step 21/26 : EXPOSE 59984 [2023-10-20T03:57:37.322Z] ---> Running in 14280eeb0902 [2023-10-20T03:57:37.905Z] Removing intermediate container 14280eeb0902 [2023-10-20T03:57:37.905Z] ---> c150a3a91acb [2023-10-20T03:57:37.905Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-10-20T03:57:37.905Z] ---> Running in dfd1a46abbbd [2023-10-20T03:57:38.179Z] Removing intermediate container dfd1a46abbbd [2023-10-20T03:57:38.179Z] ---> 7b2540a11032 [2023-10-20T03:57:38.179Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-20T03:57:38.179Z] ---> Running in 7272386b2c6c [2023-10-20T03:57:38.446Z] Removing intermediate container 7272386b2c6c [2023-10-20T03:57:38.446Z] ---> 3c6c9198de41 [2023-10-20T03:57:38.446Z] Step 24/26 : LABEL arch=arm64 [2023-10-20T03:57:38.446Z] ---> Running in 9307d4d25d2c [2023-10-20T03:57:38.713Z] Removing intermediate container 9307d4d25d2c [2023-10-20T03:57:38.713Z] ---> 097465894fd1 [2023-10-20T03:57:38.713Z] Step 25/26 : LABEL git_sha=fa09b8c8026d287f88d4e0443554263ac289f543 [2023-10-20T03:57:38.981Z] ---> Running in 47d7486af765 [2023-10-20T03:57:39.248Z] Removing intermediate container 47d7486af765 [2023-10-20T03:57:39.248Z] ---> b9907507b6d5 [2023-10-20T03:57:39.248Z] Step 26/26 : LABEL version=0.0.0 [2023-10-20T03:57:39.248Z] ---> Running in 09eb1c4c4dd0 [2023-10-20T03:57:39.514Z] Removing intermediate container 09eb1c4c4dd0 [2023-10-20T03:57:39.514Z] ---> 9403d4854cde [2023-10-20T03:57:39.514Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-20T03:57:39.514Z] Successfully built 9403d4854cde [2023-10-20T03:57:39.514Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:57:40.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-20T03:57:40.329Z] [2023-10-20T03:57:40.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:57:40.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-20T03:57:40.739Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-20T03:57:40.739Z] 8998bd30e6a1: Pulling fs layer [2023-10-20T03:57:40.739Z] 04944245beec: Pulling fs layer [2023-10-20T03:57:40.739Z] 699f458cf7ca: Pulling fs layer [2023-10-20T03:57:40.739Z] 765212b225bb: Pulling fs layer [2023-10-20T03:57:40.739Z] f23df028b6ca: Pulling fs layer [2023-10-20T03:57:40.739Z] d65c8cfc05b1: Pulling fs layer [2023-10-20T03:57:40.739Z] 2437ff75d9bd: Pulling fs layer [2023-10-20T03:57:40.739Z] 765212b225bb: Waiting [2023-10-20T03:57:40.739Z] f23df028b6ca: Waiting [2023-10-20T03:57:40.739Z] d65c8cfc05b1: Waiting [2023-10-20T03:57:41.005Z] 04944245beec: Verifying Checksum [2023-10-20T03:57:41.005Z] 04944245beec: Download complete [2023-10-20T03:57:41.005Z] 765212b225bb: Verifying Checksum [2023-10-20T03:57:41.005Z] 765212b225bb: Download complete [2023-10-20T03:57:41.005Z] f23df028b6ca: Verifying Checksum [2023-10-20T03:57:41.005Z] f23df028b6ca: Download complete [2023-10-20T03:57:41.005Z] d65c8cfc05b1: Verifying Checksum [2023-10-20T03:57:41.005Z] d65c8cfc05b1: Download complete [2023-10-20T03:57:41.005Z] 699f458cf7ca: Verifying Checksum [2023-10-20T03:57:41.005Z] 699f458cf7ca: Download complete [2023-10-20T03:57:41.588Z] 8998bd30e6a1: Verifying Checksum [2023-10-20T03:57:41.589Z] 8998bd30e6a1: Download complete [2023-10-20T03:57:44.193Z] 2437ff75d9bd: Verifying Checksum [2023-10-20T03:57:44.194Z] 2437ff75d9bd: Download complete [2023-10-20T03:57:48.636Z] 8998bd30e6a1: Pull complete [2023-10-20T03:57:48.636Z] 04944245beec: Pull complete [2023-10-20T03:57:50.606Z] 699f458cf7ca: Pull complete [2023-10-20T03:57:50.606Z] 765212b225bb: Pull complete [2023-10-20T03:57:51.187Z] f23df028b6ca: Pull complete [2023-10-20T03:57:51.453Z] d65c8cfc05b1: Pull complete [2023-10-20T03:58:09.645Z] 2437ff75d9bd: Pull complete [2023-10-20T03:58:09.645Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-20T03:58:09.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-20T03:58:09.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-20T03:58:09.953Z] prd-ubuntu20.04-docker-arm64-4c-16g-9640 does not seem to be running inside a container [2023-10-20T03:58:10.013Z] $ 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 [2023-10-20T03:58:12.727Z] $ docker top d78e36ac163b395f74789df05fc67c71c592475e47339d847d6932258c54fab0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:58:13.634Z] ---> job-cost.sh [2023-10-20T03:58:13.634Z] lf-activate-venv: SKIPPING [2023-10-20T03:58:13.634Z] INFO: No Stack... [2023-10-20T03:58:13.899Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-20T03:58:14.856Z] INFO: Archiving Costs [Pipeline] sh [2023-10-20T03:58:15.519Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-10-20T03:58:15.519Z] + cut -d, -f6 [Pipeline] lock [2023-10-20T03:58:15.596Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-395-1-stack-cost] [2023-10-20T03:58:15.601Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-395-1-stack-cost] did not exist. Created. [2023-10-20T03:58:15.602Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-395-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-20T03:58:16.325Z] /w/workspace/device-onvif-camera/1@tmp/durable-155f6dab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-20T03:58:16.678Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-20T03:58:16.973Z] Warning: overwriting stash ‘stack-cost’ [2023-10-20T03:58:17.034Z] Stashed 1 file(s) [Pipeline] } [2023-10-20T03:58:17.049Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-395-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-20T03:58:17.125Z] $ docker stop --time=1 d78e36ac163b395f74789df05fc67c71c592475e47339d847d6932258c54fab0 [2023-10-20T03:58:18.655Z] $ docker rm -f --volumes d78e36ac163b395f74789df05fc67c71c592475e47339d847d6932258c54fab0 [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 [2023-10-20T03:58:19.672Z] provisioning config files... [2023-10-20T03:58:19.681Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-395@tmp/config13453321476218172084tmp [Pipeline] { [Pipeline] sh [2023-10-20T03:58:20.021Z] + set +x [2023-10-20T03:58:20.021Z] + curl -s https://codecov.io/bash [2023-10-20T03:58:20.021Z] + bash -s -- [2023-10-20T03:58:20.280Z] [2023-10-20T03:58:20.280Z] _____ _ [2023-10-20T03:58:20.280Z] / ____| | | [2023-10-20T03:58:20.280Z] | | ___ __| | ___ ___ _____ __ [2023-10-20T03:58:20.280Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-20T03:58:20.280Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-20T03:58:20.280Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-20T03:58:20.280Z] Bash-1.0.6 [2023-10-20T03:58:20.280Z] [2023-10-20T03:58:20.280Z] [2023-10-20T03:58:20.280Z] ==> git version 2.25.1 found [2023-10-20T03:58:20.280Z] ==> 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 [2023-10-20T03:58:20.280Z] Release-Date: 2020-01-08 [2023-10-20T03:58:20.280Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-20T03:58:20.280Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-20T03:58:20.280Z] ==> Jenkins CI detected. [2023-10-20T03:58:20.280Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-395 [2023-10-20T03:58:20.280Z] project root: . [2023-10-20T03:58:20.280Z] --> token set from env [2023-10-20T03:58:20.280Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-20T03:58:20.280Z] ==> Running gcov in . (disable via -X gcov) [2023-10-20T03:58:20.280Z] ==> Python coveragepy not found [2023-10-20T03:58:20.280Z] ==> Searching for coverage reports in: [2023-10-20T03:58:20.280Z] + . [2023-10-20T03:58:20.280Z] -> Found 1 reports [2023-10-20T03:58:20.280Z] ==> Detecting git/mercurial file structure [2023-10-20T03:58:20.280Z] ==> Reading reports [2023-10-20T03:58:20.280Z] + ./coverage.out bytes=78456 [2023-10-20T03:58:20.280Z] ==> Appending adjustments [2023-10-20T03:58:20.280Z] https://docs.codecov.io/docs/fixing-reports [2023-10-20T03:58:20.540Z] + Found adjustments [2023-10-20T03:58:20.540Z] ==> Gzipping contents [2023-10-20T03:58:20.540Z] 12K /tmp/codecov.132Bx5.gz [2023-10-20T03:58:20.540Z] ==> Uploading reports [2023-10-20T03:58:20.540Z] url: https://codecov.io [2023-10-20T03:58:20.540Z] query: branch=PR-395&commit=fa09b8c8026d287f88d4e0443554263ac289f543&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-395%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=395&job=&cmd_args= [2023-10-20T03:58:20.540Z] -> Pinging Codecov [2023-10-20T03:58:20.540Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-395&commit=fa09b8c8026d287f88d4e0443554263ac289f543&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-395%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=395&job=&cmd_args= [2023-10-20T03:58:20.540Z] -> Uploading to [2023-10-20T03:58:20.540Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-20/F29A59C45E3A92E06B3E522C9905F8EF/fa09b8c8026d287f88d4e0443554263ac289f543/09eddb5e-91bf-4c29-b7e7-4fd05b7a98b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231020T035820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=86e6f4782d2a8bbf9e569d6a456346fd6df38d2d376b769f440dab8ba629ba69 [2023-10-20T03:58:20.540Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-20T03:58:20.540Z] Dload Upload Total Spent Left Speed [2023-10-20T03:58:20.800Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10561 0 0 100 10561 0 35203 --:--:-- --:--:-- --:--:-- 35203 [2023-10-20T03:58:20.800Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/fa09b8c8026d287f88d4e0443554263ac289f543 [Pipeline] } [2023-10-20T03:58:20.826Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-20T03:58:22.625Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-395/archives ] [2023-10-20T03:58:22.625Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-395/archives [2023-10-20T03:58:22.625Z] total 16 [2023-10-20T03:58:22.625Z] drwxr-xr-x 3 root root 4096 Oct 20 03:50 . [2023-10-20T03:58:22.625Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 03:50 .. [2023-10-20T03:58:22.625Z] drwxr-xr-x 2 root root 4096 Oct 20 03:50 cost [2023-10-20T03:58:22.625Z] -rw-r--r-- 1 root root 91 Oct 20 03:50 cost.csv [2023-10-20T03:58:22.625Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-395/archives [2023-10-20T03:58:22.625Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-395/archives [2023-10-20T03:58:22.625Z] total 16 [2023-10-20T03:58:22.625Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 03:50 . [2023-10-20T03:58:22.625Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 03:50 .. [2023-10-20T03:58:22.625Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 20 03:50 cost [2023-10-20T03:58:22.625Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 20 03:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:58:22.948Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:58:23.834Z] ---> package-listing.sh [2023-10-20T03:58:23.834Z] ++ facter osfamily [2023-10-20T03:58:23.834Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-20T03:58:24.094Z] + OS_FAMILY=debian [2023-10-20T03:58:24.094Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-395 [2023-10-20T03:58:24.094Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-20T03:58:24.094Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-20T03:58:24.094Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-20T03:58:24.094Z] + PACKAGES=/tmp/packages_start.txt [2023-10-20T03:58:24.094Z] + '[' /w/workspace/undry_device-onvif-camera_PR-395 ']' [2023-10-20T03:58:24.094Z] + PACKAGES=/tmp/packages_end.txt [2023-10-20T03:58:24.094Z] + case "${OS_FAMILY}" in [2023-10-20T03:58:24.094Z] + dpkg -l [2023-10-20T03:58:24.094Z] + grep '^ii' [2023-10-20T03:58:24.094Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-20T03:58:24.094Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-20T03:58:24.094Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-20T03:58:24.094Z] + '[' /w/workspace/undry_device-onvif-camera_PR-395 ']' [2023-10-20T03:58:24.094Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-395/archives/ [2023-10-20T03:58:24.094Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-395/archives/ [Pipeline] echo [2023-10-20T03:58:24.128Z] 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-395/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-20T03:58:24.420Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-20T03:58:25.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-20T03:58:25.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-20T03:58:25.205Z] prd-ubuntu20.04-docker-8c-8g-9639 does not seem to be running inside a container [2023-10-20T03:58:25.213Z] $ 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-395/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-395 -v /w/workspace/undry_device-onvif-camera_PR-395:/w/workspace/undry_device-onvif-camera_PR-395:rw,z -v /w/workspace/undry_device-onvif-camera_PR-395@tmp:/w/workspace/undry_device-onvif-camera_PR-395@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 [2023-10-20T03:58:25.399Z] $ docker top b918143077cd0a79339df47612f92a3ff98dbb8008b1214c16314e1a9426a784 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-20T03:58:25.802Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-20T03:58:26.108Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-20T03:58:26.411Z] + ls /var/log/sa-host [2023-10-20T03:58:26.412Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-20T03:58:26.650Z] provisioning config files... [2023-10-20T03:58:26.656Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-395@tmp/config17656160176215155437tmp [Pipeline] { [Pipeline] echo [2023-10-20T03:58:26.714Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:58:27.024Z] ---> create-netrc.sh [Pipeline] } [2023-10-20T03:58:27.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:58:27.461Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-20T03:58:27.490Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:58:27.796Z] ---> sudo-logs.sh [2023-10-20T03:58:27.797Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-20T03:58:27.880Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:58:28.193Z] ---> job-cost.sh [2023-10-20T03:58:28.193Z] lf-activate-venv: SKIPPING [2023-10-20T03:58:28.193Z] DEBUG: total: 0.2199999988079071 [2023-10-20T03:58:28.193Z] INFO: Retrieving Stack Cost... [2023-10-20T03:58:28.451Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-20T03:58:29.018Z] INFO: Archiving Costs [Pipeline] echo [2023-10-20T03:58:29.053Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-20T03:58:29.363Z] ---> logs-deploy.sh [2023-10-20T03:58:29.363Z] lf-activate-venv: SKIPPING [2023-10-20T03:58:29.363Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-395/1 [2023-10-20T03:58:29.363Z] INFO: archiving workspace using pattern(s): [2023-10-20T03:58:30.298Z] Archives upload complete. [2023-10-20T03:58:30.298Z] INFO: archiving logs to Nexus