Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b+52e219e200aa3f0791b8f147aa403b803b9db216 (b595928b5f9cf2be843eb815e9a7963c6ce35fdc) 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-ssh10842989680740734245.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4687082494157923771.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-404/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-404/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7813303897128865056.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11733602816934424163.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-404/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-404/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5433812073752401904.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 Running on prd-ubuntu20.04-docker-8c-8g-17572 in /w/workspace/undry_device-onvif-camera_PR-404 [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-404 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 52e219e200aa3f0791b8f147aa403b803b9db216 into PR head commit 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b Merge succeeded, producing 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 Checking out Revision 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 (PR-404) > 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/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # 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 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 # timeout=10 Commit message: "Merge commit '52e219e200aa3f0791b8f147aa403b803b9db216' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T22:09:34.812Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T22:09:34.894Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T22:09:34.915Z] ========================================================= [2023-11-14T22:09:34.915Z] EdgeX Global Pipelines Version Info [2023-11-14T22:09:34.915Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6853608706c099f0373a7c3b013c1bf1144cffc4 # timeout=10 [2023-11-14T22:09:35.648Z] ------------------- [2023-11-14T22:09:35.648Z] stable info: [2023-11-14T22:09:35.648Z] ------------------- [2023-11-14T22:09:35.648Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T22:09:35.648Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T22:09:35.648Z] Message: update stable to v1.0.257 [2023-11-14T22:09:36.220Z] ------------------- [2023-11-14T22:09:36.220Z] experimental info: [2023-11-14T22:09:36.220Z] ------------------- [2023-11-14T22:09:36.220Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T22:09:36.220Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T22:09:36.220Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T22:09:36.382Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-11-14T22:09:36.397Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-11-14T22:09:36.412Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T22:09:36.428Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T22:09:36.444Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T22:09:36.463Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T22:09:36.482Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T22:09:36.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T22:09:36.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T22:09:36.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T22:09:36.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T22:09:36.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-11-14T22:09:36.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T22:09:36.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T22:09:36.613Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T22:09:36.631Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T22:09:36.640Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T22:09:36.654Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T22:09:36.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T22:09:36.683Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T22:09:36.698Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-14T22:09:36.709Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-11-14T22:09:36.726Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T22:09:36.738Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T22:09:36.751Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T22:09:36.764Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T22:09:36.818Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T22:09:36.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo [2023-11-14T22:09:36.848Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo [2023-11-14T22:09:36.870Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo [2023-11-14T22:09:36.888Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 [Pipeline] echo [2023-11-14T22:09:36.906Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3cc9d5a [Pipeline] echo [2023-11-14T22:09:36.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T22:09:36.982Z] provisioning config files... [2023-11-14T22:09:36.995Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config14022543600053320522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:09:37.299Z] ---> docker-login.sh [2023-11-14T22:09:37.299Z] nexus3.edgexfoundry.org:10001 [2023-11-14T22:09:37.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:37.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:37.559Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:37.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:37.559Z] [2023-11-14T22:09:37.559Z] Login Succeeded [2023-11-14T22:09:37.559Z] nexus3.edgexfoundry.org:10002 [2023-11-14T22:09:37.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:37.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:37.559Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:37.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:37.559Z] [2023-11-14T22:09:37.559Z] Login Succeeded [2023-11-14T22:09:37.559Z] nexus3.edgexfoundry.org:10003 [2023-11-14T22:09:37.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:37.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:37.818Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:37.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:37.818Z] [2023-11-14T22:09:37.818Z] Login Succeeded [2023-11-14T22:09:37.818Z] nexus3.edgexfoundry.org:10004 [2023-11-14T22:09:37.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:37.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:37.818Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:37.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:37.818Z] [2023-11-14T22:09:37.818Z] Login Succeeded [2023-11-14T22:09:37.818Z] docker.io [2023-11-14T22:09:37.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:38.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:38.077Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:38.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:38.077Z] [2023-11-14T22:09:38.077Z] Login Succeeded [2023-11-14T22:09:38.077Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T22:09:38.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T22:09:38.463Z] + git rev-list -1 --merges 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0~1..3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 [Pipeline] echo [2023-11-14T22:09:38.506Z] -----------> git rev-list -1 --merges 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0~1..3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 [2023-11-14T22:09:38.506Z] 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 [false] [Pipeline] sh [2023-11-14T22:09:38.795Z] + git log --format=format:%s -1 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 [Pipeline] echo [2023-11-14T22:09:38.808Z] ========================================================= [2023-11-14T22:09:38.808Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T22:09:38.808Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T22:09:39.150Z] + git log --format=format:%s -1 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 [Pipeline] echo [2023-11-14T22:09:39.161Z] [semverPrep] GIT_COMMIT: 3cc9d5acc9d44a113a81b29a589093d3f5a92ea0, Commit Message: Merge commit '52e219e200aa3f0791b8f147aa403b803b9db216' into HEAD [Pipeline] echo [2023-11-14T22:09:39.171Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T22:09:39.544Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T22:09:39.544Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T22:09:39.544Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T22:09:39.544Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T22:09:39.544Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T22:09:39.544Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T22:09:39.544Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:09:39.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T22:09:39.966Z] [2023-11-14T22:09:39.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:09:40.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T22:09:40.265Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T22:09:40.265Z] b85a868b505f: Pulling fs layer [2023-11-14T22:09:40.265Z] e2be974225ed: Pulling fs layer [2023-11-14T22:09:40.265Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T22:09:40.265Z] 988bab9f4d93: Pulling fs layer [2023-11-14T22:09:40.265Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T22:09:40.265Z] eaf3925da568: Pulling fs layer [2023-11-14T22:09:40.265Z] bab4dde63d76: Pulling fs layer [2023-11-14T22:09:40.265Z] bde34c3a00c8: Pulling fs layer [2023-11-14T22:09:40.265Z] b352a97aabf1: Pulling fs layer [2023-11-14T22:09:40.265Z] 1469e6f7b9e6: Waiting [2023-11-14T22:09:40.265Z] eaf3925da568: Waiting [2023-11-14T22:09:40.265Z] bab4dde63d76: Waiting [2023-11-14T22:09:40.265Z] bde34c3a00c8: Waiting [2023-11-14T22:09:40.265Z] 988bab9f4d93: Waiting [2023-11-14T22:09:40.265Z] 4872d77fe225: Pulling fs layer [2023-11-14T22:09:40.265Z] 5851b861e8e6: Pulling fs layer [2023-11-14T22:09:40.265Z] b352a97aabf1: Waiting [2023-11-14T22:09:40.265Z] 4872d77fe225: Waiting [2023-11-14T22:09:40.265Z] 5851b861e8e6: Waiting [2023-11-14T22:09:40.265Z] e2be974225ed: Verifying Checksum [2023-11-14T22:09:40.265Z] e2be974225ed: Download complete [2023-11-14T22:09:40.265Z] 988bab9f4d93: Verifying Checksum [2023-11-14T22:09:40.265Z] 988bab9f4d93: Download complete [2023-11-14T22:09:40.265Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T22:09:40.265Z] 1469e6f7b9e6: Download complete [2023-11-14T22:09:40.265Z] eaf3925da568: Verifying Checksum [2023-11-14T22:09:40.265Z] eaf3925da568: Download complete [2023-11-14T22:09:40.265Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T22:09:40.265Z] 339a4e72a1f5: Download complete [2023-11-14T22:09:40.525Z] bde34c3a00c8: Verifying Checksum [2023-11-14T22:09:40.525Z] bde34c3a00c8: Download complete [2023-11-14T22:09:40.525Z] b352a97aabf1: Verifying Checksum [2023-11-14T22:09:40.525Z] b352a97aabf1: Download complete [2023-11-14T22:09:40.525Z] 4872d77fe225: Verifying Checksum [2023-11-14T22:09:40.525Z] 5851b861e8e6: Download complete [2023-11-14T22:09:40.525Z] b85a868b505f: Verifying Checksum [2023-11-14T22:09:40.525Z] b85a868b505f: Download complete [2023-11-14T22:09:40.784Z] bab4dde63d76: Verifying Checksum [2023-11-14T22:09:40.784Z] bab4dde63d76: Download complete [2023-11-14T22:09:41.723Z] b85a868b505f: Pull complete [2023-11-14T22:09:41.982Z] e2be974225ed: Pull complete [2023-11-14T22:09:42.551Z] 339a4e72a1f5: Pull complete [2023-11-14T22:09:42.551Z] 988bab9f4d93: Pull complete [2023-11-14T22:09:42.811Z] 1469e6f7b9e6: Pull complete [2023-11-14T22:09:42.811Z] eaf3925da568: Pull complete [2023-11-14T22:09:44.716Z] bab4dde63d76: Pull complete [2023-11-14T22:09:44.976Z] bde34c3a00c8: Pull complete [2023-11-14T22:09:44.976Z] b352a97aabf1: Pull complete [2023-11-14T22:09:44.976Z] 4872d77fe225: Pull complete [2023-11-14T22:09:45.236Z] 5851b861e8e6: Pull complete [2023-11-14T22:09:45.236Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T22:09:45.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T22:09:45.236Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:09:45.331Z] prd-ubuntu20.04-docker-8c-8g-17572 does not seem to be running inside a container [2023-11-14T22:09:45.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@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-devops/py-git-semver:0.1.4 cat [2023-11-14T22:09:49.417Z] $ docker top 868b346ef2c2d4fac4ee0149c9e7b78bfa7a8280592428aedce1820de60d5db4 -eo pid,comm [2023-11-14T22:09:49.482Z] 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-11-14T22:09:49.482Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T22:09:49.522Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T22:09:49.522Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T22:09:49.642Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T22:09:49.643Z] $ docker exec 868b346ef2c2d4fac4ee0149c9e7b78bfa7a8280592428aedce1820de60d5db4 ssh-agent [2023-11-14T22:09:49.752Z] SSH_AUTH_SOCK=/tmp/ssh-DGAXu4kaRVpI/agent.33 [2023-11-14T22:09:49.752Z] SSH_AGENT_PID=39 [2023-11-14T22:09:49.759Z] Running ssh-add (command line suppressed) [2023-11-14T22:09:49.858Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_3805055665573057667.key (/w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_3805055665573057667.key) [2023-11-14T22:09:49.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T22:09:50.160Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T22:09:50.180Z] $ docker exec --env ******** --env ******** 868b346ef2c2d4fac4ee0149c9e7b78bfa7a8280592428aedce1820de60d5db4 ssh-agent -k [2023-11-14T22:09:50.284Z] unset SSH_AUTH_SOCK; [2023-11-14T22:09:50.285Z] unset SSH_AGENT_PID; [2023-11-14T22:09:50.285Z] echo Agent pid 39 killed; [2023-11-14T22:09:50.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T22:09:50.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T22:09:50.322Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T22:09:50.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T22:09:50.456Z] $ docker exec 868b346ef2c2d4fac4ee0149c9e7b78bfa7a8280592428aedce1820de60d5db4 ssh-agent [2023-11-14T22:09:50.560Z] SSH_AUTH_SOCK=/tmp/ssh-mRNhnyQiHNCI/agent.71 [2023-11-14T22:09:50.560Z] SSH_AGENT_PID=77 [2023-11-14T22:09:50.565Z] Running ssh-add (command line suppressed) [2023-11-14T22:09:50.671Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_11955825232981506631.key (/w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_11955825232981506631.key) [2023-11-14T22:09:50.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T22:09:50.976Z] + git semver init [2023-11-14T22:09:51.236Z] 2023-11-14 22:09:51,163 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T22:09:51.236Z] 2023-11-14 22:09:51,164 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-404/.semver [2023-11-14T22:09:51.236Z] 2023-11-14 22:09:51,164 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-404/.semver [2023-11-14T22:09:51.236Z] 2023-11-14 22:09:51,165 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-404/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-404, universal_newlines=False, shell=None, istream=None) [2023-11-14T22:09:52.618Z] 2023-11-14 22:09:52,221 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-404/.git/info/exclude [2023-11-14T22:09:52.618Z] 2023-11-14 22:09:52,221 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-404/.semver/PR-404 with force:False [2023-11-14T22:09:52.618Z] 2023-11-14 22:09:52,222 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-404/.semver/PR-404 [2023-11-14T22:09:52.618Z] 2023-11-14 22:09:52,226 [execute] INFO git cat-file --batch-check [2023-11-14T22:09:52.618Z] 2023-11-14 22:09:52,227 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-404/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T22:09:52.618Z] 2023-11-14 22:09:52,235 [execute] INFO git cat-file --batch [2023-11-14T22:09:52.618Z] 2023-11-14 22:09:52,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-404/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T22:09:52.618Z] 2023-11-14 22:09:52,240 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-404/.semver/PR-404 [2023-11-14T22:09:52.618Z] 0.0.0 [Pipeline] } [2023-11-14T22:09:52.627Z] $ docker exec --env ******** --env ******** 868b346ef2c2d4fac4ee0149c9e7b78bfa7a8280592428aedce1820de60d5db4 ssh-agent -k [2023-11-14T22:09:52.727Z] unset SSH_AUTH_SOCK; [2023-11-14T22:09:52.729Z] unset SSH_AGENT_PID; [2023-11-14T22:09:52.729Z] echo Agent pid 77 killed; [2023-11-14T22:09:52.737Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T22:09:53.048Z] + git semver [Pipeline] } [2023-11-14T22:09:53.320Z] $ docker stop --time=1 868b346ef2c2d4fac4ee0149c9e7b78bfa7a8280592428aedce1820de60d5db4 [2023-11-14T22:09:54.765Z] $ docker rm -f --volumes 868b346ef2c2d4fac4ee0149c9e7b78bfa7a8280592428aedce1820de60d5db4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T22:09:55.104Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T22:09:55.534Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T22:09:55.538Z] [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-11-14T22:09:55.704Z] provisioning config files... [2023-11-14T22:09:55.713Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config11781108914595758136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:09:56.013Z] ---> docker-login.sh [2023-11-14T22:09:56.013Z] nexus3.edgexfoundry.org:10001 [2023-11-14T22:09:56.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:56.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:56.013Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:56.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:56.013Z] [2023-11-14T22:09:56.013Z] Login Succeeded [2023-11-14T22:09:56.013Z] nexus3.edgexfoundry.org:10002 [2023-11-14T22:09:56.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:56.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:56.013Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:56.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:56.013Z] [2023-11-14T22:09:56.013Z] Login Succeeded [2023-11-14T22:09:56.013Z] nexus3.edgexfoundry.org:10003 [2023-11-14T22:09:56.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:56.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:56.272Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:56.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:56.272Z] [2023-11-14T22:09:56.272Z] Login Succeeded [2023-11-14T22:09:56.272Z] nexus3.edgexfoundry.org:10004 [2023-11-14T22:09:56.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:56.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:56.272Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:56.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:56.272Z] [2023-11-14T22:09:56.272Z] Login Succeeded [2023-11-14T22:09:56.272Z] docker.io [2023-11-14T22:09:56.355Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18007 in /w/workspace/undry_device-onvif-camera_PR-404 [Pipeline] { [Pipeline] ws [2023-11-14T22:09:56.369Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2023-11-14T22:09:56.413Z] The recommended git tool is: git [2023-11-14T22:09:56.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:09:56.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:09:56.531Z] Configure a credential helper to remove this warning. See [2023-11-14T22:09:56.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:09:56.531Z] [2023-11-14T22:09:56.531Z] Login Succeeded [2023-11-14T22:09:56.531Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T22:09:56.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T22:09:56.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T22:09:56.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T22:09:56.622Z] ========================================================= [2023-11-14T22:09:56.622Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T22:09:56.622Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:09:56.935Z] + 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-11-14T22:09:56.935Z] Sending build context to Docker daemon 21.71MB [2023-11-14T22:09:56.935Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T22:09:56.935Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-14T22:09:57.194Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T22:09:57.194Z] 7264a8db6415: Pulling fs layer [2023-11-14T22:09:57.194Z] c4d48a809fc2: Pulling fs layer [2023-11-14T22:09:57.194Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T22:09:57.194Z] ad3a456e5733: Pulling fs layer [2023-11-14T22:09:57.194Z] 69c7f0334f64: Pulling fs layer [2023-11-14T22:09:57.194Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T22:09:57.194Z] ce7588e14bc9: Pulling fs layer [2023-11-14T22:09:57.194Z] b5e4710f87ac: Pulling fs layer [2023-11-14T22:09:57.194Z] ad3a456e5733: Waiting [2023-11-14T22:09:57.194Z] 69c7f0334f64: Waiting [2023-11-14T22:09:57.194Z] b5e4710f87ac: Waiting [2023-11-14T22:09:57.194Z] 1f1c1a5573a3: Waiting [2023-11-14T22:09:57.194Z] ce7588e14bc9: Waiting [2023-11-14T22:09:57.194Z] c4d48a809fc2: Verifying Checksum [2023-11-14T22:09:57.194Z] c4d48a809fc2: Download complete [2023-11-14T22:09:57.194Z] ad3a456e5733: Verifying Checksum [2023-11-14T22:09:57.194Z] ad3a456e5733: Download complete [2023-11-14T22:09:57.194Z] 69c7f0334f64: Verifying Checksum [2023-11-14T22:09:57.194Z] 69c7f0334f64: Download complete [2023-11-14T22:09:57.194Z] 7264a8db6415: Verifying Checksum [2023-11-14T22:09:57.194Z] 7264a8db6415: Download complete [2023-11-14T22:09:57.194Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T22:09:57.194Z] 1f1c1a5573a3: Download complete [2023-11-14T22:09:57.194Z] 7264a8db6415: Pull complete [2023-11-14T22:09:57.451Z] b5e4710f87ac: Verifying Checksum [2023-11-14T22:09:57.452Z] b5e4710f87ac: Download complete [2023-11-14T22:09:57.452Z] c4d48a809fc2: Pull complete [2023-11-14T22:09:57.452Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T22:09:57.452Z] 4f1c88b9dad5: Download complete [2023-11-14T22:09:58.018Z] ce7588e14bc9: Verifying Checksum [2023-11-14T22:09:58.018Z] ce7588e14bc9: Download complete [2023-11-14T22:10:01.307Z] 4f1c88b9dad5: Pull complete [2023-11-14T22:10:01.307Z] ad3a456e5733: Pull complete [2023-11-14T22:10:01.307Z] 69c7f0334f64: Pull complete [2023-11-14T22:10:01.307Z] 1f1c1a5573a3: Pull complete [2023-11-14T22:10:03.213Z] ce7588e14bc9: Pull complete [2023-11-14T22:10:03.778Z] b5e4710f87ac: Pull complete [2023-11-14T22:10:03.778Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T22:10:03.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T22:10:03.778Z] ---> 88b5674ff536 [2023-11-14T22:10:03.778Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-14T22:10:05.317Z] using credential edgex-jenkins-ssh [2023-11-14T22:10:05.341Z] Cloning the remote Git repository [2023-11-14T22:10:05.409Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-14T22:10:05.546Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2023-11-14T22:10:05.761Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-14T22:10:05.763Z] > git --version # timeout=10 [2023-11-14T22:10:05.797Z] > git --version # 'git version 2.25.1' [2023-11-14T22:10:05.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T22:10:06.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T22:10:10.362Z] ---> Running in 93e0b67cf982 [2023-11-14T22:10:10.363Z] Removing intermediate container 93e0b67cf982 [2023-11-14T22:10:10.363Z] ---> cdcaf4ba46c8 [2023-11-14T22:10:10.363Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T22:10:10.363Z] ---> Running in 12e1e77f714c [2023-11-14T22:10:10.363Z] Removing intermediate container 12e1e77f714c [2023-11-14T22:10:10.363Z] ---> a3897352987d [2023-11-14T22:10:10.363Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T22:10:10.363Z] ---> Running in b07806183668 [2023-11-14T22:10:10.363Z] Removing intermediate container b07806183668 [2023-11-14T22:10:10.363Z] ---> ff988238624b [2023-11-14T22:10:10.363Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T22:10:10.363Z] ---> Running in a6740477a7bb [2023-11-14T22:10:10.363Z] Removing intermediate container a6740477a7bb [2023-11-14T22:10:10.363Z] ---> bb56e9bcb814 [2023-11-14T22:10:10.363Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-14T22:10:10.363Z] ---> Running in 9f05fdcd822d [2023-11-14T22:10:10.363Z] Removing intermediate container 9f05fdcd822d [2023-11-14T22:10:10.363Z] ---> 6eac410c0b43 [2023-11-14T22:10:10.363Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T22:10:10.112Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-14T22:10:10.144Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T22:10:10.622Z] ---> Running in 8b2d536506a6 [2023-11-14T22:10:10.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T22:10:10.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T22:10:11.141Z] OK: 264 MiB in 52 packages [2023-11-14T22:10:11.400Z] Removing intermediate container 8b2d536506a6 [2023-11-14T22:10:11.400Z] ---> 6822903688c9 [2023-11-14T22:10:11.400Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-14T22:10:11.400Z] ---> Running in 3bf422e8d13a [2023-11-14T22:10:11.400Z] Removing intermediate container 3bf422e8d13a [2023-11-14T22:10:11.400Z] ---> 5b2a7ec16cb1 [2023-11-14T22:10:11.400Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-14T22:10:11.658Z] ---> af6f8112e161 [2023-11-14T22:10:11.658Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T22:10:11.658Z] ---> Running in dbe27d2aa470 [2023-11-14T22:10:11.473Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-14T22:10:11.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-14T22:10:11.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T22:10:11.548Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T22:10:12.209Z] Merging remotes/origin/main commit 52e219e200aa3f0791b8f147aa403b803b9db216 into PR head commit 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b [2023-11-14T22:10:13.051Z] Merge succeeded, producing 77daeb61239e8d4e12a48ace1c7e44e57f7442fc [2023-11-14T22:10:13.051Z] Checking out Revision 77daeb61239e8d4e12a48ace1c7e44e57f7442fc (PR-404) [2023-11-14T22:10:12.231Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T22:10:12.317Z] > git checkout -f 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # timeout=10 [2023-11-14T22:10:12.544Z] > git remote # timeout=10 [2023-11-14T22:10:12.569Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T22:10:12.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T22:10:12.609Z] > git merge 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 [2023-11-14T22:10:13.031Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T22:10:13.057Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T22:10:13.075Z] > git checkout -f 77daeb61239e8d4e12a48ace1c7e44e57f7442fc # timeout=10 [2023-11-14T22:10:16.901Z] Commit message: "Merge commit '52e219e200aa3f0791b8f147aa403b803b9db216' into HEAD" [2023-11-14T22:10:16.935Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T22:10:16.912Z] > git rev-list --no-walk 6853608706c099f0373a7c3b013c1bf1144cffc4 # timeout=10 [2023-11-14T22:10:17.900Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T22:10:17.900Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T22:10:17.900Z] Dload Upload Total Spent Left Speed [2023-11-14T22:10:17.900Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh [2023-11-14T22:10:18.630Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T22:10:18.986Z] + sudo tee /etc/docker/daemon.new [2023-11-14T22:10:18.987Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T22:10:18.987Z] { [2023-11-14T22:10:18.987Z] "registry-mirrors": [ [2023-11-14T22:10:18.987Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T22:10:18.987Z] ], [2023-11-14T22:10:18.987Z] "bip": "10.250.0.254/24", [2023-11-14T22:10:18.987Z] "hosts": [ [2023-11-14T22:10:18.987Z] "tcp://0.0.0.0:5555", [2023-11-14T22:10:18.987Z] "unix:///var/run/docker.sock" [2023-11-14T22:10:18.987Z] ], [2023-11-14T22:10:18.987Z] "mtu": 1458, [2023-11-14T22:10:18.987Z] "selinux-enabled": true, [2023-11-14T22:10:18.987Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T22:10:18.987Z] } [Pipeline] sh [2023-11-14T22:10:19.342Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T22:10:19.706Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T22:10:38.086Z] provisioning config files... [2023-11-14T22:10:38.130Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config17742734761258050517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:10:38.500Z] ---> docker-login.sh [2023-11-14T22:10:38.500Z] nexus3.edgexfoundry.org:10001 [2023-11-14T22:10:39.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:10:39.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:10:39.366Z] Configure a credential helper to remove this warning. See [2023-11-14T22:10:39.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:10:39.366Z] [2023-11-14T22:10:39.366Z] Login Succeeded [2023-11-14T22:10:39.366Z] nexus3.edgexfoundry.org:10002 [2023-11-14T22:10:39.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:10:39.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:10:39.916Z] Configure a credential helper to remove this warning. See [2023-11-14T22:10:39.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:10:39.916Z] [2023-11-14T22:10:39.916Z] Login Succeeded [2023-11-14T22:10:39.916Z] nexus3.edgexfoundry.org:10003 [2023-11-14T22:10:40.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:10:40.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:10:40.188Z] Configure a credential helper to remove this warning. See [2023-11-14T22:10:40.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:10:40.188Z] [2023-11-14T22:10:40.188Z] Login Succeeded [2023-11-14T22:10:40.188Z] nexus3.edgexfoundry.org:10004 [2023-11-14T22:10:40.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:10:40.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:10:40.791Z] Configure a credential helper to remove this warning. See [2023-11-14T22:10:40.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:10:40.791Z] [2023-11-14T22:10:40.791Z] Login Succeeded [2023-11-14T22:10:40.791Z] docker.io [2023-11-14T22:10:41.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T22:10:41.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T22:10:41.335Z] Configure a credential helper to remove this warning. See [2023-11-14T22:10:41.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T22:10:41.335Z] [2023-11-14T22:10:41.335Z] Login Succeeded [2023-11-14T22:10:41.335Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T22:10:41.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T22:10:41.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T22:10:41.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T22:10:41.752Z] ========================================================= [2023-11-14T22:10:41.752Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T22:10:41.752Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:10:42.119Z] + 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-11-14T22:10:42.719Z] Sending build context to Docker daemon 14.22MB [2023-11-14T22:10:42.719Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T22:10:42.719Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-14T22:10:42.993Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T22:10:42.994Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T22:10:42.994Z] 5d54e960e981: Pulling fs layer [2023-11-14T22:10:42.994Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T22:10:42.994Z] f0e02332f6b5: Pulling fs layer [2023-11-14T22:10:42.994Z] f0e02332f6b5: Waiting [2023-11-14T22:10:42.994Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T22:10:42.994Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T22:10:42.994Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T22:10:42.994Z] 872ee5b61b7b: Waiting [2023-11-14T22:10:42.994Z] 0c6a40ed1a82: Waiting [2023-11-14T22:10:42.994Z] 94ae7d8d031c: Waiting [2023-11-14T22:10:42.994Z] 5d54e960e981: Verifying Checksum [2023-11-14T22:10:42.994Z] 5d54e960e981: Download complete [2023-11-14T22:10:42.994Z] f0e02332f6b5: Verifying Checksum [2023-11-14T22:10:42.994Z] f0e02332f6b5: Download complete [2023-11-14T22:10:42.994Z] 872ee5b61b7b: Verifying Checksum [2023-11-14T22:10:42.994Z] 872ee5b61b7b: Download complete [2023-11-14T22:10:42.994Z] 9fda8d8052c6: Download complete [2023-11-14T22:10:43.590Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T22:10:43.590Z] 94ae7d8d031c: Download complete [2023-11-14T22:10:44.182Z] 9fda8d8052c6: Pull complete [2023-11-14T22:10:44.454Z] 5d54e960e981: Pull complete [2023-11-14T22:10:45.051Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T22:10:45.051Z] c4a7e357bf2a: Download complete [2023-11-14T22:10:46.022Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T22:10:46.022Z] 0c6a40ed1a82: Download complete [2023-11-14T22:10:58.368Z] c4a7e357bf2a: Pull complete [2023-11-14T22:10:58.368Z] f0e02332f6b5: Pull complete [2023-11-14T22:10:58.368Z] 872ee5b61b7b: Pull complete [2023-11-14T22:10:58.392Z] Removing intermediate container dbe27d2aa470 [2023-11-14T22:10:58.392Z] ---> c869a4aeea04 [2023-11-14T22:10:58.392Z] Step 12/13 : COPY . . [2023-11-14T22:10:58.392Z] ---> d8236981b3ab [2023-11-14T22:10:58.392Z] Step 13/13 : RUN ${MAKE} [2023-11-14T22:10:58.392Z] ---> Running in 15a66c3df751 [2023-11-14T22:10:58.392Z] noop [2023-11-14T22:10:58.392Z] Removing intermediate container 15a66c3df751 [2023-11-14T22:10:58.392Z] ---> 94d035955a7b [2023-11-14T22:10:58.393Z] Successfully built 94d035955a7b [2023-11-14T22:10:58.393Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:10:58.705Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T22:10:58.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:10:58.778Z] prd-ubuntu20.04-docker-8c-8g-17572 does not seem to be running inside a container [2023-11-14T22:10:58.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T22:10:59.117Z] $ docker top 86aebb303bdf793a81648a380db5c1808b95cb603e0fd7dcd3be4daa45a4652b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T22:10:59.461Z] + go version [2023-11-14T22:10:59.461Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T22:10:59.471Z] $ docker stop --time=1 86aebb303bdf793a81648a380db5c1808b95cb603e0fd7dcd3be4daa45a4652b [2023-11-14T22:11:00.766Z] $ docker rm -f --volumes 86aebb303bdf793a81648a380db5c1808b95cb603e0fd7dcd3be4daa45a4652b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:11:01.237Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T22:11:01.237Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:11:01.302Z] prd-ubuntu20.04-docker-8c-8g-17572 does not seem to be running inside a container [2023-11-14T22:11:01.328Z] $ 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-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T22:11:01.677Z] $ docker top 134e4f7992f7936d6d55b62c2a13a16a21ffa084b432829df624db99888fd3f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T22:11:02.023Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-404 [Pipeline] fileExists [Pipeline] sh [2023-11-14T22:11:02.320Z] + make test [2023-11-14T22:11:02.320Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T22:11:03.743Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-14T22:11:08.495Z] 0c6a40ed1a82: Pull complete [2023-11-14T22:11:10.456Z] 94ae7d8d031c: Pull complete [2023-11-14T22:11:10.456Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T22:11:10.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T22:11:10.456Z] ---> 86de565de09d [2023-11-14T22:11:10.456Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-14T22:11:12.416Z] ---> Running in 52e24bdcce2d [2023-11-14T22:11:12.684Z] Removing intermediate container 52e24bdcce2d [2023-11-14T22:11:12.684Z] ---> c3418fc986fd [2023-11-14T22:11:12.684Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T22:11:12.684Z] ---> Running in 69195fad5691 [2023-11-14T22:11:13.277Z] Removing intermediate container 69195fad5691 [2023-11-14T22:11:13.277Z] ---> b5c2dc56172c [2023-11-14T22:11:13.277Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T22:11:13.277Z] ---> Running in 89d8568d9c3f [2023-11-14T22:11:13.546Z] Removing intermediate container 89d8568d9c3f [2023-11-14T22:11:13.546Z] ---> b6ef8fffa176 [2023-11-14T22:11:13.546Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T22:11:13.546Z] ---> Running in cb053fbe4b4c [2023-11-14T22:11:14.148Z] Removing intermediate container cb053fbe4b4c [2023-11-14T22:11:14.148Z] ---> 9c477b3a223b [2023-11-14T22:11:14.148Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-14T22:11:14.148Z] ---> Running in 4120b9f31c37 [2023-11-14T22:11:14.417Z] Removing intermediate container 4120b9f31c37 [2023-11-14T22:11:14.417Z] ---> 56b0c5eb8c47 [2023-11-14T22:11:14.417Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T22:11:14.417Z] ---> Running in d28cca427c43 [2023-11-14T22:11:15.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T22:11:15.938Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-14T22:11:15.938Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-14T22:11:16.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T22:11:17.333Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.096s coverage: 31.5% of statements [2023-11-14T22:11:17.333Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.182s coverage: 86.5% of statements [2023-11-14T22:11:17.840Z] OK: 266 MiB in 52 packages [2023-11-14T22:11:18.818Z] Removing intermediate container d28cca427c43 [2023-11-14T22:11:18.818Z] ---> 35f3e4a510cc [2023-11-14T22:11:18.818Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-14T22:11:18.818Z] ---> Running in e6540f54fca5 [2023-11-14T22:11:19.092Z] Removing intermediate container e6540f54fca5 [2023-11-14T22:11:19.092Z] ---> b669f8f7e9b0 [2023-11-14T22:11:19.092Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-14T22:11:19.697Z] ---> 35d0f1554548 [2023-11-14T22:11:19.697Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T22:11:19.969Z] ---> Running in 49a0fcfede4f [2023-11-14T22:11:25.434Z] go vet ./... [2023-11-14T22:11:28.712Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T22:11:28.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T22:11:28.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T22:11:28.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T22:11:28.995Z] $ docker stop --time=1 134e4f7992f7936d6d55b62c2a13a16a21ffa084b432829df624db99888fd3f5 [2023-11-14T22:11:33.880Z] $ docker rm -f --volumes 134e4f7992f7936d6d55b62c2a13a16a21ffa084b432829df624db99888fd3f5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T22:11:34.389Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T22:11:34.448Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T22:11:35.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T22:11:35.403Z] + ls -al . [2023-11-14T22:11:35.403Z] total 240 [2023-11-14T22:11:35.403Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 22:11 . [2023-11-14T22:11:35.403Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:09 .. [2023-11-14T22:11:35.403Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 22:11 .git [2023-11-14T22:11:35.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:09 .github [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 14 22:09 .gitignore [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 22:09 .golangci.yml [2023-11-14T22:11:35.403Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 22:09 .semver [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 14 22:09 Attribution.txt [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 14 22:09 CHANGELOG.md [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 14 22:09 Dockerfile [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 22:09 GOVERNANCE.md [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 14 22:09 Jenkinsfile [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 14 22:09 LICENSE [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 14 22:09 Makefile [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 14 22:09 OWNERS.md [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 14 22:09 README.md [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 22:09 VERSION [2023-11-14T22:11:35.403Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 22:09 bin [2023-11-14T22:11:35.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:09 cmd [2023-11-14T22:11:35.403Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 14 22:11 coverage.out [2023-11-14T22:11:35.403Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:09 doc [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 14 22:09 go.mod [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 14 22:09 go.sum [2023-11-14T22:11:35.403Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:09 internal [2023-11-14T22:11:35.403Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 14 22:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:11:35.712Z] + 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=3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 --label arch=amd64 --label version=0.0.0 . [2023-11-14T22:11:35.712Z] Sending build context to Docker daemon 21.79MB [2023-11-14T22:11:35.712Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T22:11:35.712Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-14T22:11:35.712Z] ---> 94d035955a7b [2023-11-14T22:11:35.712Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-14T22:11:36.279Z] ---> Running in bdc179b94871 [2023-11-14T22:11:36.279Z] Removing intermediate container bdc179b94871 [2023-11-14T22:11:36.279Z] ---> 4a2ba66a8ad4 [2023-11-14T22:11:36.279Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T22:11:36.279Z] ---> Running in 3ff378f7c930 [2023-11-14T22:11:36.279Z] Removing intermediate container 3ff378f7c930 [2023-11-14T22:11:36.279Z] ---> 7f99acc3045a [2023-11-14T22:11:36.279Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T22:11:36.279Z] ---> Running in 4063d8ca6ea2 [2023-11-14T22:11:36.279Z] Removing intermediate container 4063d8ca6ea2 [2023-11-14T22:11:36.279Z] ---> a8e5b3c4f9b7 [2023-11-14T22:11:36.279Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T22:11:36.279Z] ---> Running in db92fcf796de [2023-11-14T22:11:36.537Z] Removing intermediate container db92fcf796de [2023-11-14T22:11:36.537Z] ---> 36d474fb75cd [2023-11-14T22:11:36.537Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-14T22:11:36.537Z] ---> Running in d2cf74b03fc4 [2023-11-14T22:11:36.537Z] Removing intermediate container d2cf74b03fc4 [2023-11-14T22:11:36.537Z] ---> d24acc961c2b [2023-11-14T22:11:36.537Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T22:11:36.537Z] ---> Running in e35598b86faf [2023-11-14T22:11:36.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T22:11:37.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T22:11:37.315Z] OK: 264 MiB in 52 packages [2023-11-14T22:11:37.573Z] Removing intermediate container e35598b86faf [2023-11-14T22:11:37.573Z] ---> e04354e39c98 [2023-11-14T22:11:37.573Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-14T22:11:37.573Z] ---> Running in 75fa591c2b04 [2023-11-14T22:11:37.833Z] Removing intermediate container 75fa591c2b04 [2023-11-14T22:11:37.833Z] ---> dc2289ef57ce [2023-11-14T22:11:37.833Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-14T22:11:37.833Z] ---> 237766e739fb [2023-11-14T22:11:37.833Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T22:11:37.833Z] ---> Running in a54f153e2009 [2023-11-14T22:11:38.769Z] Removing intermediate container a54f153e2009 [2023-11-14T22:11:38.769Z] ---> 310d5ba6034b [2023-11-14T22:11:38.769Z] Step 12/27 : COPY . . [2023-11-14T22:11:40.189Z] ---> df1d7e63d9e7 [2023-11-14T22:11:40.189Z] Step 13/27 : RUN ${MAKE} [2023-11-14T22:11:40.189Z] ---> Running in 3a89b25a7939 [2023-11-14T22:11:40.189Z] 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" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-11-14T22:12:06.735Z] Removing intermediate container 3a89b25a7939 [2023-11-14T22:12:06.735Z] ---> 97f27153164b [2023-11-14T22:12:06.735Z] Step 14/27 : FROM alpine:3.18 [2023-11-14T22:12:06.735Z] 3.18: Pulling from library/alpine [2023-11-14T22:12:06.735Z] 96526aa774ef: Pulling fs layer [2023-11-14T22:12:06.735Z] 96526aa774ef: Verifying Checksum [2023-11-14T22:12:06.735Z] 96526aa774ef: Download complete [2023-11-14T22:12:06.735Z] 96526aa774ef: Pull complete [2023-11-14T22:12:06.735Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T22:12:06.735Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T22:12:06.735Z] ---> 8ca4688f4f35 [2023-11-14T22:12:06.735Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-14T22:12:06.735Z] ---> Running in 57cb9223b921 [2023-11-14T22:12:06.735Z] Removing intermediate container 57cb9223b921 [2023-11-14T22:12:06.735Z] ---> ca8d3296aae7 [2023-11-14T22:12:06.735Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-14T22:12:06.735Z] ---> Running in 6fc1d5a7e7cb [2023-11-14T22:12:06.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T22:12:06.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T22:12:06.735Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T22:12:06.735Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T22:12:06.735Z] OK: 7 MiB in 16 packages [2023-11-14T22:12:06.995Z] Removing intermediate container 6fc1d5a7e7cb [2023-11-14T22:12:06.995Z] ---> cd97cb90e88d [2023-11-14T22:12:06.995Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-14T22:12:06.995Z] ---> Running in 3db75904516a [2023-11-14T22:12:07.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T22:12:07.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T22:12:07.513Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T22:12:07.513Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T22:12:07.513Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T22:12:07.513Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T22:12:07.513Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T22:12:07.513Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T22:12:07.513Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T22:12:07.513Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T22:12:07.513Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T22:12:07.513Z] OK: 7 MiB in 16 packages [2023-11-14T22:12:08.464Z] Removing intermediate container 3db75904516a [2023-11-14T22:12:08.464Z] ---> 53b1b7d1a943 [2023-11-14T22:12:08.464Z] Step 18/27 : WORKDIR / [2023-11-14T22:12:08.464Z] ---> Running in 823893dee46d [2023-11-14T22:12:08.464Z] Removing intermediate container 823893dee46d [2023-11-14T22:12:08.464Z] ---> 32e1fe115c59 [2023-11-14T22:12:08.464Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-14T22:12:09.843Z] ---> 9175474d771a [2023-11-14T22:12:09.843Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-14T22:12:09.843Z] ---> d4ad9cba588e [2023-11-14T22:12:09.843Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-14T22:12:09.843Z] ---> dfb0ecdd407e [2023-11-14T22:12:09.843Z] Step 22/27 : EXPOSE 59984 [2023-11-14T22:12:09.843Z] ---> Running in ea7c72956cc5 [2023-11-14T22:12:09.843Z] Removing intermediate container ea7c72956cc5 [2023-11-14T22:12:09.843Z] ---> 6d949b0c353b [2023-11-14T22:12:09.843Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-14T22:12:09.843Z] ---> Running in 7f4c65ef5577 [2023-11-14T22:12:10.102Z] Removing intermediate container 7f4c65ef5577 [2023-11-14T22:12:10.102Z] ---> 87b1706524c3 [2023-11-14T22:12:10.102Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T22:12:10.102Z] ---> Running in a7d0153c128e [2023-11-14T22:12:10.102Z] Removing intermediate container a7d0153c128e [2023-11-14T22:12:10.102Z] ---> d3d639040591 [2023-11-14T22:12:10.102Z] Step 25/27 : LABEL arch=amd64 [2023-11-14T22:12:10.102Z] ---> Running in 9abb7831cfc8 [2023-11-14T22:12:10.102Z] Removing intermediate container 9abb7831cfc8 [2023-11-14T22:12:10.102Z] ---> a2faf699f540 [2023-11-14T22:12:10.102Z] Step 26/27 : LABEL git_sha=3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 [2023-11-14T22:12:10.361Z] ---> Running in cac6dd88ee5c [2023-11-14T22:12:10.361Z] Removing intermediate container cac6dd88ee5c [2023-11-14T22:12:10.361Z] ---> 70467702454e [2023-11-14T22:12:10.361Z] Step 27/27 : LABEL version=0.0.0 [2023-11-14T22:12:10.361Z] ---> Running in ab64414f244f [2023-11-14T22:12:10.361Z] Removing intermediate container ab64414f244f [2023-11-14T22:12:10.361Z] ---> 6371960a975c [2023-11-14T22:12:10.361Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T22:12:10.361Z] Successfully built 6371960a975c [2023-11-14T22:12:10.361Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [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-11-14T22:12:10.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T22:12:10.811Z] [2023-11-14T22:12:10.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:12:11.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T22:12:11.117Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T22:12:11.117Z] 5eb5b503b376: Pulling fs layer [2023-11-14T22:12:11.117Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T22:12:11.117Z] ec43610c2a17: Pulling fs layer [2023-11-14T22:12:11.117Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T22:12:11.117Z] 33b1e0a273af: Pulling fs layer [2023-11-14T22:12:11.117Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T22:12:11.117Z] 2f39f015ded8: Pulling fs layer [2023-11-14T22:12:11.117Z] 33b1e0a273af: Waiting [2023-11-14T22:12:11.117Z] 5d3b04190fa2: Waiting [2023-11-14T22:12:11.117Z] 2f39f015ded8: Waiting [2023-11-14T22:12:11.117Z] 3a2ae6a8a46f: Waiting [2023-11-14T22:12:11.117Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T22:12:11.117Z] 5c69ac0246d0: Download complete [2023-11-14T22:12:11.117Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T22:12:11.117Z] 3a2ae6a8a46f: Download complete [2023-11-14T22:12:11.117Z] 33b1e0a273af: Verifying Checksum [2023-11-14T22:12:11.117Z] 33b1e0a273af: Download complete [2023-11-14T22:12:11.117Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T22:12:11.117Z] 5d3b04190fa2: Download complete [2023-11-14T22:12:11.117Z] ec43610c2a17: Verifying Checksum [2023-11-14T22:12:11.117Z] ec43610c2a17: Download complete [2023-11-14T22:12:11.376Z] 5eb5b503b376: Verifying Checksum [2023-11-14T22:12:11.376Z] 5eb5b503b376: Download complete [2023-11-14T22:12:11.942Z] 2f39f015ded8: Download complete [2023-11-14T22:12:12.509Z] 5eb5b503b376: Pull complete [2023-11-14T22:12:12.774Z] 5c69ac0246d0: Pull complete [2023-11-14T22:12:13.033Z] ec43610c2a17: Pull complete [2023-11-14T22:12:13.033Z] 3a2ae6a8a46f: Pull complete [2023-11-14T22:12:13.292Z] 33b1e0a273af: Pull complete [2023-11-14T22:12:13.549Z] 5d3b04190fa2: Pull complete [2023-11-14T22:12:17.731Z] 2f39f015ded8: Pull complete [2023-11-14T22:12:17.731Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T22:12:17.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T22:12:17.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:12:17.809Z] prd-ubuntu20.04-docker-8c-8g-17572 does not seem to be running inside a container [2023-11-14T22:12:17.837Z] $ 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-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T22:12:24.879Z] $ docker top f07050fc3c9c31091451946908d435578b3bf6beea60543ea53d4a4c32163080 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:12:25.269Z] ---> job-cost.sh [2023-11-14T22:12:25.269Z] lf-activate-venv: SKIPPING [2023-11-14T22:12:25.269Z] INFO: No Stack... [2023-11-14T22:12:25.529Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T22:12:26.098Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T22:12:26.390Z] + + cat /w/workspace/undry_device-onvif-camera_PR-404/archives/cost.csv [2023-11-14T22:12:26.390Z] cut -d, -f6 [Pipeline] lock [2023-11-14T22:12:26.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-404-5-stack-cost] [2023-11-14T22:12:26.411Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-5-stack-cost] did not exist. Created. [2023-11-14T22:12:26.411Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-404-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T22:12:26.720Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T22:12:26.757Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T22:12:26.767Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T22:12:26.786Z] $ docker stop --time=1 f07050fc3c9c31091451946908d435578b3bf6beea60543ea53d4a4c32163080 [2023-11-14T22:12:27.942Z] $ docker rm -f --volumes f07050fc3c9c31091451946908d435578b3bf6beea60543ea53d4a4c32163080 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T22:12:56.785Z] Removing intermediate container 49a0fcfede4f [2023-11-14T22:12:56.785Z] ---> e3ebc39bd93c [2023-11-14T22:12:56.785Z] Step 12/13 : COPY . . [2023-11-14T22:12:56.785Z] ---> d0cd32bce903 [2023-11-14T22:12:56.785Z] Step 13/13 : RUN ${MAKE} [2023-11-14T22:12:56.785Z] ---> Running in 961fa613ac40 [2023-11-14T22:12:56.785Z] noop [2023-11-14T22:12:56.785Z] Removing intermediate container 961fa613ac40 [2023-11-14T22:12:56.785Z] ---> 47ec44b2a163 [2023-11-14T22:12:56.785Z] Successfully built 47ec44b2a163 [2023-11-14T22:12:56.785Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:12:57.166Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T22:12:57.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:12:57.423Z] prd-ubuntu20.04-docker-arm64-4c-16g-18007 does not seem to be running inside a container [2023-11-14T22:12:57.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T22:12:58.900Z] $ docker top 0874a099914694892e45dea54a0d57f891fc7ba50941c96e9740c6b9983ff5e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T22:12:59.800Z] + go version [2023-11-14T22:12:59.800Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T22:12:59.826Z] $ docker stop --time=1 0874a099914694892e45dea54a0d57f891fc7ba50941c96e9740c6b9983ff5e9 [2023-11-14T22:13:01.573Z] $ docker rm -f --volumes 0874a099914694892e45dea54a0d57f891fc7ba50941c96e9740c6b9983ff5e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:13:02.166Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T22:13:02.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:13:02.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-18007 does not seem to be running inside a container [2023-11-14T22:13:02.491Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T22:13:04.042Z] $ docker top 446fdb2b9562d752cfba7e3ee4d80ef4f9539e6fe114729deb5012b899b85d3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T22:13:04.968Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2023-11-14T22:13:05.680Z] + make test [2023-11-14T22:13:05.680Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T22:13:11.066Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-14T22:16:02.927Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-14T22:16:02.927Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-14T22:16:02.927Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.203s coverage: 31.5% of statements [2023-11-14T22:16:14.008Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.613s coverage: 86.5% of statements [2023-11-14T22:16:14.278Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T22:16:14.278Z] go vet ./... [2023-11-14T22:16:41.023Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T22:16:41.023Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T22:16:41.023Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T22:16:41.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T22:16:41.058Z] $ docker stop --time=1 446fdb2b9562d752cfba7e3ee4d80ef4f9539e6fe114729deb5012b899b85d3d [2023-11-14T22:16:43.174Z] $ docker rm -f --volumes 446fdb2b9562d752cfba7e3ee4d80ef4f9539e6fe114729deb5012b899b85d3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T22:16:44.674Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T22:16:44.696Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T22:16:45.396Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T22:16:45.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T22:16:46.129Z] + ls -al . [2023-11-14T22:16:46.130Z] total 236 [2023-11-14T22:16:46.130Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 22:13 . [2023-11-14T22:16:46.130Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:10 .. [2023-11-14T22:16:46.130Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 22:10 .git [2023-11-14T22:16:46.130Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:10 .github [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 14 22:10 .gitignore [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 22:10 .golangci.yml [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 14 22:10 Attribution.txt [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 14 22:10 CHANGELOG.md [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 14 22:10 Dockerfile [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 22:10 GOVERNANCE.md [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 14 22:10 Jenkinsfile [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 14 22:10 LICENSE [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 14 22:10 Makefile [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 14 22:10 OWNERS.md [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 14 22:10 README.md [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 22:09 VERSION [2023-11-14T22:16:46.130Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 22:10 bin [2023-11-14T22:16:46.130Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 22:10 cmd [2023-11-14T22:16:46.130Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 14 22:16 coverage.out [2023-11-14T22:16:46.130Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:10 doc [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 14 22:10 go.mod [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 14 22:10 go.sum [2023-11-14T22:16:46.130Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 22:10 internal [2023-11-14T22:16:46.130Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 14 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:16:46.480Z] + 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=77daeb61239e8d4e12a48ace1c7e44e57f7442fc --label arch=arm64 --label version=0.0.0 . [2023-11-14T22:16:47.094Z] Sending build context to Docker daemon 14.3MB [2023-11-14T22:16:47.094Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T22:16:47.094Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-14T22:16:47.094Z] ---> 47ec44b2a163 [2023-11-14T22:16:47.094Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-14T22:16:47.364Z] ---> Running in e902dd9dfce3 [2023-11-14T22:16:47.640Z] Removing intermediate container e902dd9dfce3 [2023-11-14T22:16:47.640Z] ---> 8eefe72d3c27 [2023-11-14T22:16:47.640Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T22:16:47.921Z] ---> Running in 8df7669630c3 [2023-11-14T22:16:48.191Z] Removing intermediate container 8df7669630c3 [2023-11-14T22:16:48.191Z] ---> 44ca79802f91 [2023-11-14T22:16:48.191Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T22:16:48.460Z] ---> Running in f7aa750411a6 [2023-11-14T22:16:48.730Z] Removing intermediate container f7aa750411a6 [2023-11-14T22:16:48.730Z] ---> 9fec6682234b [2023-11-14T22:16:48.730Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T22:16:48.730Z] ---> Running in 9e6f249f6f20 [2023-11-14T22:16:49.323Z] Removing intermediate container 9e6f249f6f20 [2023-11-14T22:16:49.323Z] ---> 1eeb5a569f21 [2023-11-14T22:16:49.323Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-14T22:16:49.323Z] ---> Running in 6e0449af58ab [2023-11-14T22:16:49.593Z] Removing intermediate container 6e0449af58ab [2023-11-14T22:16:49.593Z] ---> 729b833ecf6c [2023-11-14T22:16:49.593Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T22:16:49.593Z] ---> Running in a72718507d40 [2023-11-14T22:16:51.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T22:16:51.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T22:16:52.709Z] OK: 266 MiB in 52 packages [2023-11-14T22:16:55.300Z] Removing intermediate container a72718507d40 [2023-11-14T22:16:55.300Z] ---> 55c2ac99ad13 [2023-11-14T22:16:55.300Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-14T22:16:55.569Z] ---> Running in a50f0e60c21c [2023-11-14T22:16:55.838Z] Removing intermediate container a50f0e60c21c [2023-11-14T22:16:55.838Z] ---> 76d234018d43 [2023-11-14T22:16:55.838Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-14T22:16:56.433Z] ---> 642fe95bcd94 [2023-11-14T22:16:56.433Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T22:16:56.433Z] ---> Running in e2ad8798cf05 [2023-11-14T22:16:59.790Z] Removing intermediate container e2ad8798cf05 [2023-11-14T22:16:59.790Z] ---> 87409b0f6d91 [2023-11-14T22:16:59.790Z] Step 12/27 : COPY . . [2023-11-14T22:17:01.205Z] ---> dbf7ba74fc0a [2023-11-14T22:17:01.205Z] Step 13/27 : RUN ${MAKE} [2023-11-14T22:17:01.205Z] ---> Running in bda01ad4c38d [2023-11-14T22:17:02.174Z] 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" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-11-14T22:19:23.925Z] Removing intermediate container bda01ad4c38d [2023-11-14T22:19:23.925Z] ---> 4569aee1fa5c [2023-11-14T22:19:23.925Z] Step 14/27 : FROM alpine:3.18 [2023-11-14T22:19:23.925Z] 3.18: Pulling from library/alpine [2023-11-14T22:19:23.925Z] 579b34f0a95b: Pulling fs layer [2023-11-14T22:19:23.925Z] 579b34f0a95b: Download complete [2023-11-14T22:19:23.925Z] 579b34f0a95b: Pull complete [2023-11-14T22:19:23.925Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T22:19:23.925Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T22:19:23.925Z] ---> 3cc203321400 [2023-11-14T22:19:23.925Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-14T22:19:23.925Z] ---> Running in 13d870814ddf [2023-11-14T22:19:23.925Z] Removing intermediate container 13d870814ddf [2023-11-14T22:19:23.925Z] ---> d87a63a9002a [2023-11-14T22:19:23.925Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-14T22:19:23.925Z] ---> Running in 071a40b7f2ed [2023-11-14T22:19:23.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T22:19:23.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T22:19:23.925Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T22:19:23.925Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T22:19:23.925Z] OK: 8 MiB in 16 packages [2023-11-14T22:19:23.925Z] Removing intermediate container 071a40b7f2ed [2023-11-14T22:19:23.925Z] ---> 8d47a774a80e [2023-11-14T22:19:23.925Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-14T22:19:23.925Z] ---> Running in 011826b9e3aa [2023-11-14T22:19:23.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T22:19:23.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T22:19:23.925Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T22:19:23.925Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T22:19:23.925Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T22:19:23.925Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T22:19:23.925Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T22:19:23.925Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T22:19:23.925Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T22:19:23.925Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T22:19:23.925Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T22:19:23.925Z] OK: 8 MiB in 16 packages [2023-11-14T22:19:23.925Z] Removing intermediate container 011826b9e3aa [2023-11-14T22:19:23.925Z] ---> aa7807fd6473 [2023-11-14T22:19:23.925Z] Step 18/27 : WORKDIR / [2023-11-14T22:19:23.925Z] ---> Running in 7b3fabbf4c6f [2023-11-14T22:19:23.925Z] Removing intermediate container 7b3fabbf4c6f [2023-11-14T22:19:23.925Z] ---> 542f9026a89c [2023-11-14T22:19:23.925Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-14T22:19:24.193Z] ---> 79369327e031 [2023-11-14T22:19:24.193Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-14T22:19:24.784Z] ---> 46dc02034b98 [2023-11-14T22:19:24.784Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-14T22:19:25.369Z] ---> 2e7e0552784d [2023-11-14T22:19:25.369Z] Step 22/27 : EXPOSE 59984 [2023-11-14T22:19:25.369Z] ---> Running in 3f63802b1d3b [2023-11-14T22:19:25.643Z] Removing intermediate container 3f63802b1d3b [2023-11-14T22:19:25.643Z] ---> 04cbf2837aa0 [2023-11-14T22:19:25.643Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-14T22:19:25.917Z] ---> Running in 89dc4165f5e3 [2023-11-14T22:19:26.184Z] Removing intermediate container 89dc4165f5e3 [2023-11-14T22:19:26.184Z] ---> 62bb39c82d59 [2023-11-14T22:19:26.184Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T22:19:26.184Z] ---> Running in 828913c85ad8 [2023-11-14T22:19:26.450Z] Removing intermediate container 828913c85ad8 [2023-11-14T22:19:26.450Z] ---> 201458b23ca8 [2023-11-14T22:19:26.450Z] Step 25/27 : LABEL arch=arm64 [2023-11-14T22:19:26.450Z] ---> Running in eab74fd7b60a [2023-11-14T22:19:26.716Z] Removing intermediate container eab74fd7b60a [2023-11-14T22:19:26.716Z] ---> c9d886a50fb6 [2023-11-14T22:19:26.716Z] Step 26/27 : LABEL git_sha=77daeb61239e8d4e12a48ace1c7e44e57f7442fc [2023-11-14T22:19:26.986Z] ---> Running in 5e484513f7ce [2023-11-14T22:19:27.252Z] Removing intermediate container 5e484513f7ce [2023-11-14T22:19:27.252Z] ---> 6ccbcaae8ed0 [2023-11-14T22:19:27.252Z] Step 27/27 : LABEL version=0.0.0 [2023-11-14T22:19:27.252Z] ---> Running in 67d6c5021455 [2023-11-14T22:19:27.517Z] Removing intermediate container 67d6c5021455 [2023-11-14T22:19:27.517Z] ---> a57703a5b12c [2023-11-14T22:19:27.517Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T22:19:27.517Z] Successfully built a57703a5b12c [2023-11-14T22:19:27.517Z] 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-11-14T22:19:27.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T22:19:27.969Z] [2023-11-14T22:19:27.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:19:28.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T22:19:28.308Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T22:19:28.308Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T22:19:28.308Z] 04944245beec: Pulling fs layer [2023-11-14T22:19:28.308Z] 699f458cf7ca: Pulling fs layer [2023-11-14T22:19:28.308Z] 765212b225bb: Pulling fs layer [2023-11-14T22:19:28.308Z] f23df028b6ca: Pulling fs layer [2023-11-14T22:19:28.308Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T22:19:28.308Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T22:19:28.308Z] d65c8cfc05b1: Waiting [2023-11-14T22:19:28.308Z] 2437ff75d9bd: Waiting [2023-11-14T22:19:28.308Z] 765212b225bb: Waiting [2023-11-14T22:19:28.308Z] f23df028b6ca: Waiting [2023-11-14T22:19:28.578Z] 04944245beec: Verifying Checksum [2023-11-14T22:19:28.578Z] 04944245beec: Download complete [2023-11-14T22:19:28.578Z] 765212b225bb: Verifying Checksum [2023-11-14T22:19:28.578Z] 765212b225bb: Download complete [2023-11-14T22:19:28.578Z] f23df028b6ca: Verifying Checksum [2023-11-14T22:19:28.578Z] f23df028b6ca: Download complete [2023-11-14T22:19:28.578Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T22:19:28.578Z] d65c8cfc05b1: Download complete [2023-11-14T22:19:28.852Z] 699f458cf7ca: Verifying Checksum [2023-11-14T22:19:28.852Z] 699f458cf7ca: Download complete [2023-11-14T22:19:29.118Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T22:19:29.118Z] 8998bd30e6a1: Download complete [2023-11-14T22:19:31.691Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T22:19:31.691Z] 2437ff75d9bd: Download complete [2023-11-14T22:19:33.629Z] 8998bd30e6a1: Pull complete [2023-11-14T22:19:33.894Z] 04944245beec: Pull complete [2023-11-14T22:19:35.296Z] 699f458cf7ca: Pull complete [2023-11-14T22:19:35.560Z] 765212b225bb: Pull complete [2023-11-14T22:19:36.515Z] f23df028b6ca: Pull complete [2023-11-14T22:19:36.515Z] d65c8cfc05b1: Pull complete [2023-11-14T22:19:51.489Z] 2437ff75d9bd: Pull complete [2023-11-14T22:19:51.489Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T22:19:51.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T22:19:51.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:19:51.667Z] prd-ubuntu20.04-docker-arm64-4c-16g-18007 does not seem to be running inside a container [2023-11-14T22:19:51.730Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-14T22:19:54.284Z] $ docker top d065931160ace23e358b13e7c2f0329ca542f7ffbe96e67b8806530e2c5b0b72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:19:54.833Z] ---> job-cost.sh [2023-11-14T22:19:55.107Z] lf-activate-venv: SKIPPING [2023-11-14T22:19:55.108Z] INFO: No Stack... [2023-11-14T22:19:55.693Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T22:19:56.283Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T22:19:56.947Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2023-11-14T22:19:56.947Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T22:19:57.037Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-404-5-stack-cost] [2023-11-14T22:19:57.042Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-5-stack-cost] did not exist. Created. [2023-11-14T22:19:57.042Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-404-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T22:19:57.385Z] /w/workspace/device-onvif-camera/5@tmp/durable-0de47988/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T22:19:57.733Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T22:19:57.755Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T22:19:57.817Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T22:19:57.827Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T22:19:57.853Z] $ docker stop --time=1 d065931160ace23e358b13e7c2f0329ca542f7ffbe96e67b8806530e2c5b0b72 [2023-11-14T22:19:59.818Z] $ docker rm -f --volumes d065931160ace23e358b13e7c2f0329ca542f7ffbe96e67b8806530e2c5b0b72 [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-11-14T22:20:00.205Z] provisioning config files... [2023-11-14T22:20:00.213Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config9516359186339699246tmp [Pipeline] { [Pipeline] sh [2023-11-14T22:20:00.507Z] + set +x [2023-11-14T22:20:00.507Z] + curl -s https://codecov.io/bash [2023-11-14T22:20:00.507Z] + bash -s -- [2023-11-14T22:20:00.507Z] [2023-11-14T22:20:00.507Z] _____ _ [2023-11-14T22:20:00.507Z] / ____| | | [2023-11-14T22:20:00.507Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T22:20:00.507Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T22:20:00.507Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T22:20:00.507Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T22:20:00.507Z] Bash-1.0.6 [2023-11-14T22:20:00.507Z] [2023-11-14T22:20:00.507Z] [2023-11-14T22:20:00.507Z] ==> git version 2.25.1 found [2023-11-14T22:20:00.507Z] ==> 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-11-14T22:20:00.507Z] Release-Date: 2020-01-08 [2023-11-14T22:20:00.507Z] 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-11-14T22:20:00.507Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T22:20:00.507Z] ==> Jenkins CI detected. [2023-11-14T22:20:00.507Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-404 [2023-11-14T22:20:00.507Z] project root: . [2023-11-14T22:20:00.507Z] --> token set from env [2023-11-14T22:20:00.507Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T22:20:00.507Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T22:20:00.507Z] ==> Python coveragepy not found [2023-11-14T22:20:00.507Z] ==> Searching for coverage reports in: [2023-11-14T22:20:00.507Z] + . [2023-11-14T22:20:00.507Z] -> Found 1 reports [2023-11-14T22:20:00.507Z] ==> Detecting git/mercurial file structure [2023-11-14T22:20:00.507Z] ==> Reading reports [2023-11-14T22:20:00.507Z] + ./coverage.out bytes=78456 [2023-11-14T22:20:00.507Z] ==> Appending adjustments [2023-11-14T22:20:00.507Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T22:20:00.766Z] + Found adjustments [2023-11-14T22:20:00.766Z] ==> Gzipping contents [2023-11-14T22:20:00.766Z] 12K /tmp/codecov.U6mfmY.gz [2023-11-14T22:20:00.766Z] ==> Uploading reports [2023-11-14T22:20:00.766Z] url: https://codecov.io [2023-11-14T22:20:00.766Z] query: branch=PR-404&commit=3cc9d5acc9d44a113a81b29a589093d3f5a92ea0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-404%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=404&job=&cmd_args= [2023-11-14T22:20:00.766Z] -> Pinging Codecov [2023-11-14T22:20:00.766Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-404&commit=3cc9d5acc9d44a113a81b29a589093d3f5a92ea0&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-404%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=404&job=&cmd_args= [2023-11-14T22:20:01.025Z] -> Uploading to [2023-11-14T22:20:01.025Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/F29A59C45E3A92E06B3E522C9905F8EF/3cc9d5acc9d44a113a81b29a589093d3f5a92ea0/fbae5983-1efa-4a4f-a7f6-7f700b75dd44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T222000Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b48635352f86214b1d4fbc8fc550a6f60a9cae448056e227ed2ec6519c40d6d [2023-11-14T22:20:01.025Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T22:20:01.025Z] Dload Upload Total Spent Left Speed [2023-11-14T22:20:01.283Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 51123 --:--:-- --:--:-- --:--:-- 50872 100 10378 0 0 100 10378 0 40069 --:--:-- --:--:-- --:--:-- 40069 [2023-11-14T22:20:01.283Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3cc9d5acc9d44a113a81b29a589093d3f5a92ea0 [Pipeline] } [2023-11-14T22:20:01.290Z] 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-11-14T22:20:01.985Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-404/archives ] [2023-11-14T22:20:01.985Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-404/archives [2023-11-14T22:20:01.985Z] total 16 [2023-11-14T22:20:01.985Z] drwxr-xr-x 3 root root 4096 Nov 14 22:12 . [2023-11-14T22:20:01.985Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:12 .. [2023-11-14T22:20:01.985Z] drwxr-xr-x 2 root root 4096 Nov 14 22:12 cost [2023-11-14T22:20:01.985Z] -rw-r--r-- 1 root root 92 Nov 14 22:12 cost.csv [2023-11-14T22:20:01.985Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-404/archives [2023-11-14T22:20:01.985Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-404/archives [2023-11-14T22:20:01.985Z] total 16 [2023-11-14T22:20:01.985Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 22:12 . [2023-11-14T22:20:01.985Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 22:12 .. [2023-11-14T22:20:01.985Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 22:12 cost [2023-11-14T22:20:01.985Z] -rw-r--r-- 1 jenkins jenkins 92 Nov 14 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:02.277Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:03.140Z] ---> package-listing.sh [2023-11-14T22:20:03.140Z] ++ facter osfamily [2023-11-14T22:20:03.140Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T22:20:03.399Z] + OS_FAMILY=debian [2023-11-14T22:20:03.400Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-404 [2023-11-14T22:20:03.400Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T22:20:03.400Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T22:20:03.400Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T22:20:03.400Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T22:20:03.400Z] + '[' /w/workspace/undry_device-onvif-camera_PR-404 ']' [2023-11-14T22:20:03.400Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T22:20:03.400Z] + case "${OS_FAMILY}" in [2023-11-14T22:20:03.400Z] + dpkg -l [2023-11-14T22:20:03.400Z] + grep '^ii' [2023-11-14T22:20:03.400Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T22:20:03.400Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T22:20:03.400Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T22:20:03.400Z] + '[' /w/workspace/undry_device-onvif-camera_PR-404 ']' [2023-11-14T22:20:03.400Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-404/archives/ [2023-11-14T22:20:03.400Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-404/archives/ [Pipeline] echo [2023-11-14T22:20:03.411Z] 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-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T22:20:03.689Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T22:20:04.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T22:20:04.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T22:20:04.326Z] prd-ubuntu20.04-docker-8c-8g-17572 does not seem to be running inside a container [2023-11-14T22:20:04.356Z] $ 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-404/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-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T22:20:04.573Z] $ docker top a9d57d80e918ddff270536d9885f82624f53e06c924693c25b90912a95332220 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T22:20:04.920Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T22:20:05.204Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T22:20:05.484Z] + ls /var/log/sa-host [2023-11-14T22:20:05.484Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T22:20:05.550Z] provisioning config files... [2023-11-14T22:20:05.561Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config12798020110666257070tmp [Pipeline] { [Pipeline] echo [2023-11-14T22:20:05.574Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:05.858Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T22:20:05.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:06.189Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T22:20:06.196Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:06.479Z] ---> sudo-logs.sh [2023-11-14T22:20:06.479Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T22:20:06.515Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:06.803Z] ---> job-cost.sh [2023-11-14T22:20:06.803Z] lf-activate-venv: SKIPPING [2023-11-14T22:20:06.803Z] DEBUG: total: 0.2199999988079071 [2023-11-14T22:20:06.803Z] INFO: Retrieving Stack Cost... [2023-11-14T22:20:07.062Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T22:20:07.320Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T22:20:07.333Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T22:20:07.615Z] ---> logs-deploy.sh [2023-11-14T22:20:07.615Z] lf-activate-venv: SKIPPING [2023-11-14T22:20:07.615Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-404/5 [2023-11-14T22:20:07.615Z] INFO: archiving workspace using pattern(s): [2023-11-14T22:20:08.552Z] Archives upload complete. [2023-11-14T22:20:08.552Z] INFO: archiving logs to Nexus