Pull request #409 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from cc34efc7ab6e16a32a5c6714bac7c66b736f4c08+52e219e200aa3f0791b8f147aa403b803b9db216 (375950753b1ddc3bdccc00213357844016c3c34b) 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-ssh6617944484887487167.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-ssh7264233023723760125.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-409/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-409/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh802645153586357643.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-ssh11555911788908338628.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-409/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-409/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16993171796342611745.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 Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-18112’ is offline Running on prd-ubuntu20.04-docker-8c-8g-18115 in /w/workspace/undry_device-onvif-camera_PR-409 [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-409 # 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 cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 Merge succeeded, producing cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 Checking out Revision cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 (PR-409) > 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/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 # 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 cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 # timeout=10 Commit message: "docs: Update swagger version to 3.1.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T16:58:33.985Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T16:58:34.044Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T16:58:34.057Z] ========================================================= [2023-11-15T16:58:34.057Z] EdgeX Global Pipelines Version Info [2023-11-15T16:58:34.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ae9a3bbec71a13ec815b24444948b3cc54e7f54c # timeout=10 [2023-11-15T16:58:34.760Z] ------------------- [2023-11-15T16:58:34.760Z] stable info: [2023-11-15T16:58:34.760Z] ------------------- [2023-11-15T16:58:34.760Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-15T16:58:34.760Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T16:58:34.760Z] Message: update stable to v1.0.257 [2023-11-15T16:58:35.334Z] ------------------- [2023-11-15T16:58:35.334Z] experimental info: [2023-11-15T16:58:35.334Z] ------------------- [2023-11-15T16:58:35.334Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T16:58:35.334Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T16:58:35.334Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T16:58:35.524Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-11-15T16:58:35.533Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-11-15T16:58:35.549Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T16:58:35.566Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T16:58:35.579Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T16:58:35.592Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-15T16:58:35.606Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-15T16:58:35.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-15T16:58:35.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-15T16:58:35.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T16:58:35.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T16:58:35.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-11-15T16:58:35.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T16:58:35.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T16:58:35.743Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T16:58:35.758Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T16:58:35.774Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T16:58:35.790Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T16:58:35.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T16:58:35.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T16:58:35.851Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-15T16:58:35.871Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2023-11-15T16:58:35.890Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-15T16:58:35.911Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-15T16:58:35.932Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-15T16:58:35.950Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T16:58:35.969Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-15T16:58:35.987Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-409 [Pipeline] echo [2023-11-15T16:58:36.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-409 [Pipeline] echo [2023-11-15T16:58:36.031Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-409 [Pipeline] echo [2023-11-15T16:58:36.050Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [Pipeline] echo [2023-11-15T16:58:36.066Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc34efc [Pipeline] echo [2023-11-15T16:58:36.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T16:58:36.134Z] provisioning config files... [2023-11-15T16:58:36.147Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-409@tmp/config18404202210426822433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:58:36.452Z] ---> docker-login.sh [2023-11-15T16:58:36.453Z] nexus3.edgexfoundry.org:10001 [2023-11-15T16:58:36.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:36.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:36.713Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:36.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:36.714Z] [2023-11-15T16:58:36.714Z] Login Succeeded [2023-11-15T16:58:36.714Z] nexus3.edgexfoundry.org:10002 [2023-11-15T16:58:36.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:36.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:36.714Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:36.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:36.714Z] [2023-11-15T16:58:36.714Z] Login Succeeded [2023-11-15T16:58:36.714Z] nexus3.edgexfoundry.org:10003 [2023-11-15T16:58:36.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:36.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:36.973Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:36.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:36.973Z] [2023-11-15T16:58:36.973Z] Login Succeeded [2023-11-15T16:58:36.973Z] nexus3.edgexfoundry.org:10004 [2023-11-15T16:58:36.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:36.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:36.973Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:36.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:36.973Z] [2023-11-15T16:58:36.973Z] Login Succeeded [2023-11-15T16:58:36.973Z] docker.io [2023-11-15T16:58:37.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:37.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:37.492Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:37.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:37.492Z] [2023-11-15T16:58:37.492Z] Login Succeeded [2023-11-15T16:58:37.492Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T16:58:37.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T16:58:37.860Z] + git rev-list -1 --merges cc34efc7ab6e16a32a5c6714bac7c66b736f4c08~1..cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [Pipeline] echo [2023-11-15T16:58:37.901Z] -----------> git rev-list -1 --merges cc34efc7ab6e16a32a5c6714bac7c66b736f4c08~1..cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [false] [Pipeline] sh [2023-11-15T16:58:38.184Z] + git log --format=format:%s -1 cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [Pipeline] echo [2023-11-15T16:58:38.199Z] ========================================================= [2023-11-15T16:58:38.200Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-15T16:58:38.200Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T16:58:38.531Z] + git log --format=format:%s -1 cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [Pipeline] echo [2023-11-15T16:58:38.542Z] [semverPrep] GIT_COMMIT: cc34efc7ab6e16a32a5c6714bac7c66b736f4c08, Commit Message: docs: Update swagger version to 3.1.0 [Pipeline] echo [2023-11-15T16:58:38.552Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-15T16:58:38.949Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T16:58:38.949Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-15T16:58:38.949Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-15T16:58:38.949Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-15T16:58:38.949Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-15T16:58:38.949Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-15T16:58:38.949Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:58:39.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T16:58:39.303Z] [2023-11-15T16:58:39.303Z] 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-15T16:58:39.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T16:58:39.607Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-15T16:58:39.607Z] b85a868b505f: Pulling fs layer [2023-11-15T16:58:39.607Z] e2be974225ed: Pulling fs layer [2023-11-15T16:58:39.607Z] 339a4e72a1f5: Pulling fs layer [2023-11-15T16:58:39.607Z] 988bab9f4d93: Pulling fs layer [2023-11-15T16:58:39.607Z] 1469e6f7b9e6: Pulling fs layer [2023-11-15T16:58:39.607Z] eaf3925da568: Pulling fs layer [2023-11-15T16:58:39.607Z] bab4dde63d76: Pulling fs layer [2023-11-15T16:58:39.607Z] bde34c3a00c8: Pulling fs layer [2023-11-15T16:58:39.607Z] b352a97aabf1: Pulling fs layer [2023-11-15T16:58:39.607Z] 4872d77fe225: Pulling fs layer [2023-11-15T16:58:39.607Z] 5851b861e8e6: Pulling fs layer [2023-11-15T16:58:39.607Z] bde34c3a00c8: Waiting [2023-11-15T16:58:39.607Z] bab4dde63d76: Waiting [2023-11-15T16:58:39.607Z] 988bab9f4d93: Waiting [2023-11-15T16:58:39.607Z] 1469e6f7b9e6: Waiting [2023-11-15T16:58:39.607Z] eaf3925da568: Waiting [2023-11-15T16:58:39.607Z] b352a97aabf1: Waiting [2023-11-15T16:58:39.607Z] 4872d77fe225: Waiting [2023-11-15T16:58:39.607Z] 5851b861e8e6: Waiting [2023-11-15T16:58:39.607Z] e2be974225ed: Download complete [2023-11-15T16:58:39.607Z] 988bab9f4d93: Verifying Checksum [2023-11-15T16:58:39.607Z] 988bab9f4d93: Download complete [2023-11-15T16:58:39.869Z] 339a4e72a1f5: Verifying Checksum [2023-11-15T16:58:39.869Z] 339a4e72a1f5: Download complete [2023-11-15T16:58:39.870Z] 1469e6f7b9e6: Verifying Checksum [2023-11-15T16:58:39.870Z] 1469e6f7b9e6: Download complete [2023-11-15T16:58:39.870Z] eaf3925da568: Verifying Checksum [2023-11-15T16:58:39.870Z] eaf3925da568: Download complete [2023-11-15T16:58:39.870Z] bde34c3a00c8: Download complete [2023-11-15T16:58:39.870Z] b352a97aabf1: Verifying Checksum [2023-11-15T16:58:39.870Z] b352a97aabf1: Download complete [2023-11-15T16:58:39.870Z] 4872d77fe225: Verifying Checksum [2023-11-15T16:58:39.870Z] 4872d77fe225: Download complete [2023-11-15T16:58:39.870Z] 5851b861e8e6: Verifying Checksum [2023-11-15T16:58:39.870Z] 5851b861e8e6: Download complete [2023-11-15T16:58:39.870Z] b85a868b505f: Verifying Checksum [2023-11-15T16:58:39.870Z] b85a868b505f: Download complete [2023-11-15T16:58:40.129Z] bab4dde63d76: Verifying Checksum [2023-11-15T16:58:40.129Z] bab4dde63d76: Download complete [2023-11-15T16:58:41.507Z] b85a868b505f: Pull complete [2023-11-15T16:58:41.507Z] e2be974225ed: Pull complete [2023-11-15T16:58:41.765Z] 339a4e72a1f5: Pull complete [2023-11-15T16:58:42.024Z] 988bab9f4d93: Pull complete [2023-11-15T16:58:42.282Z] 1469e6f7b9e6: Pull complete [2023-11-15T16:58:42.282Z] eaf3925da568: Pull complete [2023-11-15T16:58:44.182Z] bab4dde63d76: Pull complete [2023-11-15T16:58:44.443Z] bde34c3a00c8: Pull complete [2023-11-15T16:58:44.443Z] b352a97aabf1: Pull complete [2023-11-15T16:58:44.704Z] 4872d77fe225: Pull complete [2023-11-15T16:58:44.704Z] 5851b861e8e6: Pull complete [2023-11-15T16:58:44.704Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-15T16:58:44.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T16:58:44.704Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:58:44.799Z] prd-ubuntu20.04-docker-8c-8g-18115 does not seem to be running inside a container [2023-11-15T16:58:44.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T16:58:47.358Z] $ docker top 989dde7803488b9e20cc1c70e3e1157d48f36456f6a0629eb125a91dbffb3892 -eo pid,comm [2023-11-15T16:58:47.410Z] 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-15T16:58:47.410Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-15T16:58:47.451Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T16:58:47.451Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T16:58:47.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T16:58:47.575Z] $ docker exec 989dde7803488b9e20cc1c70e3e1157d48f36456f6a0629eb125a91dbffb3892 ssh-agent [2023-11-15T16:58:47.681Z] SSH_AUTH_SOCK=/tmp/ssh-7GcOfrKQZDPO/agent.32 [2023-11-15T16:58:47.681Z] SSH_AGENT_PID=38 [2023-11-15T16:58:47.686Z] Running ssh-add (command line suppressed) [2023-11-15T16:58:47.790Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-409@tmp/private_key_15621277126623676730.key (/w/workspace/undry_device-onvif-camera_PR-409@tmp/private_key_15621277126623676730.key) [2023-11-15T16:58:47.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T16:58:48.089Z] + git tag --points-at HEAD [Pipeline] } [2023-11-15T16:58:48.105Z] $ docker exec --env ******** --env ******** 989dde7803488b9e20cc1c70e3e1157d48f36456f6a0629eb125a91dbffb3892 ssh-agent -k [2023-11-15T16:58:48.208Z] unset SSH_AUTH_SOCK; [2023-11-15T16:58:48.209Z] unset SSH_AGENT_PID; [2023-11-15T16:58:48.209Z] echo Agent pid 38 killed; [2023-11-15T16:58:48.216Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-15T16:58:48.243Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T16:58:48.243Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T16:58:48.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T16:58:48.367Z] $ docker exec 989dde7803488b9e20cc1c70e3e1157d48f36456f6a0629eb125a91dbffb3892 ssh-agent [2023-11-15T16:58:48.483Z] SSH_AUTH_SOCK=/tmp/ssh-prl2xkbyn4P2/agent.70 [2023-11-15T16:58:48.483Z] SSH_AGENT_PID=76 [2023-11-15T16:58:48.488Z] Running ssh-add (command line suppressed) [2023-11-15T16:58:48.602Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-409@tmp/private_key_7201875567275137400.key (/w/workspace/undry_device-onvif-camera_PR-409@tmp/private_key_7201875567275137400.key) [2023-11-15T16:58:48.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T16:58:48.898Z] + git semver init [2023-11-15T16:58:49.158Z] 2023-11-15 16:58:49,085 [run_init] DEBUG init version:0.0.0 force:False [2023-11-15T16:58:49.158Z] 2023-11-15 16:58:49,086 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-409/.semver [2023-11-15T16:58:49.158Z] 2023-11-15 16:58:49,086 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-409/.semver [2023-11-15T16:58:49.158Z] 2023-11-15 16:58:49,086 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-409/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-409, universal_newlines=False, shell=None, istream=None) [2023-11-15T16:58:50.538Z] 2023-11-15 16:58:50,149 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-409/.git/info/exclude [2023-11-15T16:58:50.538Z] 2023-11-15 16:58:50,150 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-409/.semver/PR-409 with force:False [2023-11-15T16:58:50.538Z] 2023-11-15 16:58:50,150 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-409/.semver/PR-409 [2023-11-15T16:58:50.538Z] 2023-11-15 16:58:50,154 [execute] INFO git cat-file --batch-check [2023-11-15T16:58:50.538Z] 2023-11-15 16:58:50,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-409/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T16:58:50.538Z] 2023-11-15 16:58:50,160 [execute] INFO git cat-file --batch [2023-11-15T16:58:50.538Z] 2023-11-15 16:58:50,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-409/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T16:58:50.538Z] 2023-11-15 16:58:50,165 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-409/.semver/PR-409 [2023-11-15T16:58:50.538Z] 0.0.0 [Pipeline] } [2023-11-15T16:58:50.552Z] $ docker exec --env ******** --env ******** 989dde7803488b9e20cc1c70e3e1157d48f36456f6a0629eb125a91dbffb3892 ssh-agent -k [2023-11-15T16:58:50.665Z] unset SSH_AUTH_SOCK; [2023-11-15T16:58:50.666Z] unset SSH_AGENT_PID; [2023-11-15T16:58:50.666Z] echo Agent pid 76 killed; [2023-11-15T16:58:50.673Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T16:58:50.974Z] + git semver [Pipeline] } [2023-11-15T16:58:51.250Z] $ docker stop --time=1 989dde7803488b9e20cc1c70e3e1157d48f36456f6a0629eb125a91dbffb3892 [2023-11-15T16:58:52.555Z] $ docker rm -f --volumes 989dde7803488b9e20cc1c70e3e1157d48f36456f6a0629eb125a91dbffb3892 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T16:58:52.920Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-15T16:58:53.143Z] Stashed 1 file(s) [Pipeline] echo [2023-11-15T16:58:53.146Z] [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-15T16:58:53.264Z] provisioning config files... [2023-11-15T16:58:53.274Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-409@tmp/config5337498497739575555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T16:58:53.575Z] ---> docker-login.sh [2023-11-15T16:58:53.575Z] nexus3.edgexfoundry.org:10001 [2023-11-15T16:58:53.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:53.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:53.575Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:53.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:53.575Z] [2023-11-15T16:58:53.575Z] Login Succeeded [2023-11-15T16:58:53.575Z] nexus3.edgexfoundry.org:10002 [2023-11-15T16:58:53.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:53.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:53.575Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:53.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:53.575Z] [2023-11-15T16:58:53.575Z] Login Succeeded [2023-11-15T16:58:53.575Z] nexus3.edgexfoundry.org:10003 [2023-11-15T16:58:53.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:53.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:53.833Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:53.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:53.833Z] [2023-11-15T16:58:53.833Z] Login Succeeded [2023-11-15T16:58:53.833Z] nexus3.edgexfoundry.org:10004 [2023-11-15T16:58:53.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:53.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:53.834Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:53.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:53.834Z] [2023-11-15T16:58:53.834Z] Login Succeeded [2023-11-15T16:58:53.834Z] docker.io [2023-11-15T16:58:54.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T16:58:54.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T16:58:54.129Z] Configure a credential helper to remove this warning. See [2023-11-15T16:58:54.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T16:58:54.129Z] [2023-11-15T16:58:54.129Z] Login Succeeded [2023-11-15T16:58:54.129Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T16:58:54.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T16:58:54.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T16:58:54.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T16:58:54.274Z] ========================================================= [2023-11-15T16:58:54.274Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-15T16:58:54.274Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:58:54.599Z] + 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-15T16:58:54.599Z] Sending build context to Docker daemon 21.79MB [2023-11-15T16:58:54.599Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T16:58:54.599Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-15T16:58:54.858Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-15T16:58:54.858Z] 7264a8db6415: Pulling fs layer [2023-11-15T16:58:54.858Z] c4d48a809fc2: Pulling fs layer [2023-11-15T16:58:54.858Z] 4f1c88b9dad5: Pulling fs layer [2023-11-15T16:58:54.858Z] ad3a456e5733: Pulling fs layer [2023-11-15T16:58:54.858Z] 69c7f0334f64: Pulling fs layer [2023-11-15T16:58:54.858Z] 1f1c1a5573a3: Pulling fs layer [2023-11-15T16:58:54.858Z] ad3a456e5733: Waiting [2023-11-15T16:58:54.858Z] 69c7f0334f64: Waiting [2023-11-15T16:58:54.858Z] ce7588e14bc9: Pulling fs layer [2023-11-15T16:58:54.858Z] b5e4710f87ac: Pulling fs layer [2023-11-15T16:58:54.858Z] ce7588e14bc9: Waiting [2023-11-15T16:58:54.858Z] b5e4710f87ac: Waiting [2023-11-15T16:58:54.858Z] 1f1c1a5573a3: Waiting [2023-11-15T16:58:54.858Z] c4d48a809fc2: Verifying Checksum [2023-11-15T16:58:54.858Z] c4d48a809fc2: Download complete [2023-11-15T16:58:54.858Z] ad3a456e5733: Verifying Checksum [2023-11-15T16:58:54.858Z] 69c7f0334f64: Verifying Checksum [2023-11-15T16:58:54.858Z] 69c7f0334f64: Download complete [2023-11-15T16:58:54.858Z] 7264a8db6415: Verifying Checksum [2023-11-15T16:58:54.858Z] 7264a8db6415: Download complete [2023-11-15T16:58:54.858Z] 1f1c1a5573a3: Verifying Checksum [2023-11-15T16:58:54.858Z] 1f1c1a5573a3: Download complete [2023-11-15T16:58:55.117Z] 7264a8db6415: Pull complete [2023-11-15T16:58:55.117Z] b5e4710f87ac: Verifying Checksum [2023-11-15T16:58:55.117Z] b5e4710f87ac: Download complete [2023-11-15T16:58:55.117Z] c4d48a809fc2: Pull complete [2023-11-15T16:58:55.376Z] 4f1c88b9dad5: Verifying Checksum [2023-11-15T16:58:55.376Z] 4f1c88b9dad5: Download complete [2023-11-15T16:58:55.633Z] ce7588e14bc9: Verifying Checksum [2023-11-15T16:58:55.633Z] ce7588e14bc9: Download complete [2023-11-15T16:58:58.917Z] 4f1c88b9dad5: Pull complete [2023-11-15T16:58:58.917Z] ad3a456e5733: Pull complete [2023-11-15T16:58:58.917Z] 69c7f0334f64: Pull complete [2023-11-15T16:58:58.917Z] 1f1c1a5573a3: Pull complete [2023-11-15T16:59:01.452Z] ce7588e14bc9: Pull complete [2023-11-15T16:59:01.712Z] b5e4710f87ac: Pull complete [2023-11-15T16:59:01.712Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-15T16:59:01.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-15T16:59:01.712Z] ---> 88b5674ff536 [2023-11-15T16:59:01.712Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-15T16:59:07.173Z] ---> Running in 2cdffe3ccb32 [2023-11-15T16:59:07.173Z] Removing intermediate container 2cdffe3ccb32 [2023-11-15T16:59:07.173Z] ---> 5c1000791ba2 [2023-11-15T16:59:07.173Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T16:59:07.432Z] ---> Running in 0e7e7544926f [2023-11-15T16:59:07.432Z] Removing intermediate container 0e7e7544926f [2023-11-15T16:59:07.432Z] ---> 2a5e2f64d9b5 [2023-11-15T16:59:07.432Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T16:59:07.432Z] ---> Running in cfc82b4fcd14 [2023-11-15T16:59:07.432Z] Removing intermediate container cfc82b4fcd14 [2023-11-15T16:59:07.432Z] ---> 70411bdfdc51 [2023-11-15T16:59:07.432Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T16:59:07.432Z] ---> Running in e5afb4764300 [2023-11-15T16:59:07.691Z] Removing intermediate container e5afb4764300 [2023-11-15T16:59:07.691Z] ---> c0a21ca8f445 [2023-11-15T16:59:07.691Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-15T16:59:07.691Z] ---> Running in 067851466f30 [2023-11-15T16:59:07.691Z] Removing intermediate container 067851466f30 [2023-11-15T16:59:07.691Z] ---> 8653b7373bc8 [2023-11-15T16:59:07.691Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T16:59:07.691Z] ---> Running in 67ce82ea5be8 [2023-11-15T16:59:07.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T16:59:08.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T16:59:08.231Z] Still waiting to schedule task [2023-11-15T16:59:08.231Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-18113’ is offline [2023-11-15T16:59:08.469Z] OK: 264 MiB in 52 packages [2023-11-15T16:59:08.728Z] Removing intermediate container 67ce82ea5be8 [2023-11-15T16:59:08.728Z] ---> 0cde6a8cba04 [2023-11-15T16:59:08.728Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-15T16:59:08.728Z] ---> Running in 80e339a4c7b9 [2023-11-15T16:59:08.986Z] Removing intermediate container 80e339a4c7b9 [2023-11-15T16:59:08.986Z] ---> 10f4c888e667 [2023-11-15T16:59:08.986Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-15T16:59:08.986Z] ---> c9e2f43bb38c [2023-11-15T16:59:08.986Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T16:59:08.986Z] ---> Running in 0e8be9931505 [2023-11-15T16:59:55.696Z] Removing intermediate container 0e8be9931505 [2023-11-15T16:59:55.696Z] ---> 2f2e4dcdf591 [2023-11-15T16:59:55.696Z] Step 12/13 : COPY . . [2023-11-15T16:59:55.696Z] ---> 79bf6eba6223 [2023-11-15T16:59:55.696Z] Step 13/13 : RUN ${MAKE} [2023-11-15T16:59:55.696Z] ---> Running in f1e2e93d1ac9 [2023-11-15T16:59:55.696Z] noop [2023-11-15T16:59:55.696Z] Removing intermediate container f1e2e93d1ac9 [2023-11-15T16:59:55.696Z] ---> c51a384269b8 [2023-11-15T16:59:55.696Z] Successfully built c51a384269b8 [2023-11-15T16:59:55.696Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:59:56.005Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T16:59:56.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:59:56.074Z] prd-ubuntu20.04-docker-8c-8g-18115 does not seem to be running inside a container [2023-11-15T16:59:56.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T16:59:56.445Z] $ docker top aee5e504c5b27a2d6527bc909c339b104ec32fd7017107630b618076822f0ddf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T16:59:56.789Z] + go version [2023-11-15T16:59:56.789Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-15T16:59:56.803Z] $ docker stop --time=1 aee5e504c5b27a2d6527bc909c339b104ec32fd7017107630b618076822f0ddf [2023-11-15T16:59:58.870Z] $ docker rm -f --volumes aee5e504c5b27a2d6527bc909c339b104ec32fd7017107630b618076822f0ddf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T16:59:59.312Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T16:59:59.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T16:59:59.384Z] prd-ubuntu20.04-docker-8c-8g-18115 does not seem to be running inside a container [2023-11-15T16:59:59.419Z] $ 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-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T17:00:00.024Z] $ docker top ca2aa558c16492e76cc1f857e5675106d524467a3e2a350671325440934763ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T17:00:00.381Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-409 [Pipeline] fileExists [Pipeline] sh [2023-11-15T17:00:00.680Z] + make test [2023-11-15T17:00:00.680Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T17:00:02.590Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-15T17:00:12.556Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-15T17:00:13.122Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-15T17:00:15.035Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 31.5% of statements [2023-11-15T17:00:15.035Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.094s coverage: 86.5% of statements [2023-11-15T17:00:23.214Z] go vet ./... [2023-11-15T17:00:25.742Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T17:00:25.742Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T17:00:25.742Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T17:00:26.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T17:00:26.028Z] $ docker stop --time=1 ca2aa558c16492e76cc1f857e5675106d524467a3e2a350671325440934763ed [2023-11-15T17:00:31.453Z] $ docker rm -f --volumes ca2aa558c16492e76cc1f857e5675106d524467a3e2a350671325440934763ed [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T17:00:31.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T17:00:32.086Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-15T17:00:32.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T17:00:32.873Z] + ls -al . [2023-11-15T17:00:32.873Z] total 240 [2023-11-15T17:00:32.873Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 17:00 . [2023-11-15T17:00:32.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 16:58 .. [2023-11-15T17:00:32.873Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 17:00 .git [2023-11-15T17:00:32.873Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 16:58 .github [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 16:58 .gitignore [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 16:58 .golangci.yml [2023-11-15T17:00:32.873Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 16:58 .semver [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 16:58 Attribution.txt [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 16:58 CHANGELOG.md [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 16:58 Dockerfile [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 16:58 GOVERNANCE.md [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 16:58 Jenkinsfile [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 16:58 LICENSE [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 16:58 Makefile [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 16:58 OWNERS.md [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 16:58 README.md [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 16:58 VERSION [2023-11-15T17:00:32.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 16:58 bin [2023-11-15T17:00:32.873Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 16:58 cmd [2023-11-15T17:00:32.873Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 17:00 coverage.out [2023-11-15T17:00:32.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 16:58 doc [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 16:58 go.mod [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 16:58 go.sum [2023-11-15T17:00:32.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 16:58 internal [2023-11-15T17:00:32.873Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 16:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:00:35.167Z] + 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=cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 --label arch=amd64 --label version=0.0.0 . [2023-11-15T17:00:35.167Z] Sending build context to Docker daemon 21.87MB [2023-11-15T17:00:35.167Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T17:00:35.167Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-15T17:00:35.167Z] ---> c51a384269b8 [2023-11-15T17:00:35.167Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-15T17:00:35.167Z] ---> Running in 21ae6a0dba54 [2023-11-15T17:00:35.167Z] Removing intermediate container 21ae6a0dba54 [2023-11-15T17:00:35.167Z] ---> 2c1e135af0dd [2023-11-15T17:00:35.167Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T17:00:35.167Z] ---> Running in ed0c22070514 [2023-11-15T17:00:35.167Z] Removing intermediate container ed0c22070514 [2023-11-15T17:00:35.167Z] ---> 7b6a7bd4474c [2023-11-15T17:00:35.167Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T17:00:35.167Z] ---> Running in c6a91fce590e [2023-11-15T17:00:35.167Z] Removing intermediate container c6a91fce590e [2023-11-15T17:00:35.167Z] ---> 2de1988ed592 [2023-11-15T17:00:35.167Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T17:00:35.167Z] ---> Running in 3ea5a4dcf571 [2023-11-15T17:00:35.433Z] Removing intermediate container 3ea5a4dcf571 [2023-11-15T17:00:35.433Z] ---> d19cfd983385 [2023-11-15T17:00:35.433Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-15T17:00:35.692Z] ---> Running in 4f16193ec678 [2023-11-15T17:00:35.692Z] Removing intermediate container 4f16193ec678 [2023-11-15T17:00:35.692Z] ---> f97945164d8b [2023-11-15T17:00:35.692Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T17:00:35.950Z] ---> Running in 7bbb756208b9 [2023-11-15T17:00:36.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T17:00:36.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T17:00:37.091Z] OK: 264 MiB in 52 packages [2023-11-15T17:00:37.350Z] Removing intermediate container 7bbb756208b9 [2023-11-15T17:00:37.350Z] ---> 418b7e8f5405 [2023-11-15T17:00:37.350Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-15T17:00:37.350Z] ---> Running in b83ad653749b [2023-11-15T17:00:37.608Z] Removing intermediate container b83ad653749b [2023-11-15T17:00:37.608Z] ---> 905572caade4 [2023-11-15T17:00:37.608Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-15T17:00:37.608Z] ---> cce948a45449 [2023-11-15T17:00:37.608Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T17:00:37.865Z] ---> Running in 2d4087763c38 [2023-11-15T17:00:39.266Z] Removing intermediate container 2d4087763c38 [2023-11-15T17:00:39.266Z] ---> 25187268e49e [2023-11-15T17:00:39.266Z] Step 12/27 : COPY . . [2023-11-15T17:00:39.834Z] ---> 58d931e797dd [2023-11-15T17:00:39.834Z] Step 13/27 : RUN ${MAKE} [2023-11-15T17:00:39.834Z] ---> Running in db27273d75df [2023-11-15T17:00:40.095Z] 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-15T17:00:56.346Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18117 in /w/workspace/undry_device-onvif-camera_PR-409 [Pipeline] { [Pipeline] ws [2023-11-15T17:00:56.360Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-11-15T17:00:56.398Z] The recommended git tool is: git [2023-11-15T17:01:01.733Z] using credential edgex-jenkins-ssh [2023-11-15T17:01:01.750Z] Cloning the remote Git repository [2023-11-15T17:01:02.017Z] Removing intermediate container db27273d75df [2023-11-15T17:01:02.017Z] ---> 363be1bf7432 [2023-11-15T17:01:02.017Z] Step 14/27 : FROM alpine:3.18 [2023-11-15T17:01:02.017Z] 3.18: Pulling from library/alpine [2023-11-15T17:01:02.017Z] 96526aa774ef: Pulling fs layer [2023-11-15T17:01:02.017Z] 96526aa774ef: Verifying Checksum [2023-11-15T17:01:02.017Z] 96526aa774ef: Download complete [2023-11-15T17:01:02.017Z] 96526aa774ef: Pull complete [2023-11-15T17:01:02.017Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T17:01:02.017Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T17:01:02.017Z] ---> 8ca4688f4f35 [2023-11-15T17:01:02.017Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-15T17:01:02.017Z] ---> Running in 3946cc271afb [2023-11-15T17:01:02.017Z] Removing intermediate container 3946cc271afb [2023-11-15T17:01:02.017Z] ---> d9f426769a5d [2023-11-15T17:01:02.017Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-15T17:01:02.017Z] ---> Running in 2404a6bc844a [2023-11-15T17:01:02.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T17:01:02.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T17:01:02.017Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T17:01:02.017Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T17:01:02.017Z] OK: 7 MiB in 16 packages [2023-11-15T17:01:02.276Z] Removing intermediate container 2404a6bc844a [2023-11-15T17:01:02.276Z] ---> 2c0348e5b444 [2023-11-15T17:01:02.276Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-15T17:01:02.276Z] ---> Running in cfd82a7f0941 [2023-11-15T17:01:02.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T17:01:02.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T17:01:01.799Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-15T17:01:01.906Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-11-15T17:01:02.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-15T17:01:02.032Z] > git --version # timeout=10 [2023-11-15T17:01:02.053Z] > git --version # 'git version 2.25.1' [2023-11-15T17:01:02.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T17:01:02.204Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T17:01:02.795Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T17:01:02.795Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:01:02.795Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T17:01:02.795Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:01:02.795Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T17:01:02.795Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T17:01:02.795Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:01:02.795Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T17:01:02.795Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T17:01:02.795Z] OK: 7 MiB in 16 packages [2023-11-15T17:01:03.362Z] Removing intermediate container cfd82a7f0941 [2023-11-15T17:01:03.362Z] ---> c1b19ee4f055 [2023-11-15T17:01:03.362Z] Step 18/27 : WORKDIR / [2023-11-15T17:01:03.362Z] ---> Running in b261c5819f7b [2023-11-15T17:01:03.362Z] Removing intermediate container b261c5819f7b [2023-11-15T17:01:03.362Z] ---> c6ed53782a41 [2023-11-15T17:01:03.362Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-15T17:01:03.869Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-15T17:01:03.889Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T17:01:04.296Z] ---> ce5d00cc7f1c [2023-11-15T17:01:04.296Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-15T17:01:04.296Z] ---> e43a409cb4a3 [2023-11-15T17:01:04.296Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-15T17:01:04.555Z] ---> 43eb51175a8e [2023-11-15T17:01:04.555Z] Step 22/27 : EXPOSE 59984 [2023-11-15T17:01:04.555Z] ---> Running in db8ec7f81ef9 [2023-11-15T17:01:04.555Z] Removing intermediate container db8ec7f81ef9 [2023-11-15T17:01:04.555Z] ---> 11ed124707fc [2023-11-15T17:01:04.555Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-15T17:01:04.555Z] ---> Running in 578795a2f200 [2023-11-15T17:01:04.555Z] Removing intermediate container 578795a2f200 [2023-11-15T17:01:04.555Z] ---> 9047a2ffae3a [2023-11-15T17:01:04.555Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T17:01:04.555Z] ---> Running in 57aa863df969 [2023-11-15T17:01:04.813Z] Removing intermediate container 57aa863df969 [2023-11-15T17:01:04.813Z] ---> cd121cd80843 [2023-11-15T17:01:04.813Z] Step 25/27 : LABEL arch=amd64 [2023-11-15T17:01:04.813Z] ---> Running in 2d9afc6fd0ff [2023-11-15T17:01:04.813Z] Removing intermediate container 2d9afc6fd0ff [2023-11-15T17:01:04.813Z] ---> 39c3566111c6 [2023-11-15T17:01:04.813Z] Step 26/27 : LABEL git_sha=cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [2023-11-15T17:01:04.813Z] ---> Running in a84b44d908f4 [2023-11-15T17:01:04.813Z] Removing intermediate container a84b44d908f4 [2023-11-15T17:01:04.813Z] ---> 86dc5d1c2c76 [2023-11-15T17:01:04.813Z] Step 27/27 : LABEL version=0.0.0 [2023-11-15T17:01:04.813Z] ---> Running in 41841fc4ebdf [2023-11-15T17:01:04.813Z] Removing intermediate container 41841fc4ebdf [2023-11-15T17:01:04.813Z] ---> dba1b44bb2ff [2023-11-15T17:01:04.813Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T17:01:05.073Z] Successfully built dba1b44bb2ff [2023-11-15T17:01:05.073Z] 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-15T17:01:04.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-11-15T17:01:04.766Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-11-15T17:01:04.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T17:01:04.781Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/409/head:refs/remotes/origin/PR-409 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-15T17:01:05.468Z] Merging remotes/origin/main commit 52e219e200aa3f0791b8f147aa403b803b9db216 into PR head commit cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [2023-11-15T17:01:05.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T17:01:05.526Z] [2023-11-15T17:01:05.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:01:05.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T17:01:05.822Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T17:01:05.822Z] 5eb5b503b376: Pulling fs layer [2023-11-15T17:01:05.822Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T17:01:05.822Z] ec43610c2a17: Pulling fs layer [2023-11-15T17:01:05.822Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T17:01:05.822Z] 33b1e0a273af: Pulling fs layer [2023-11-15T17:01:05.822Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T17:01:05.822Z] 2f39f015ded8: Pulling fs layer [2023-11-15T17:01:05.822Z] 2f39f015ded8: Waiting [2023-11-15T17:01:05.822Z] 33b1e0a273af: Waiting [2023-11-15T17:01:05.822Z] 5d3b04190fa2: Waiting [2023-11-15T17:01:05.822Z] 3a2ae6a8a46f: Waiting [2023-11-15T17:01:05.822Z] 5c69ac0246d0: Verifying Checksum [2023-11-15T17:01:05.822Z] 5c69ac0246d0: Download complete [2023-11-15T17:01:05.822Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-15T17:01:05.822Z] 3a2ae6a8a46f: Download complete [2023-11-15T17:01:05.822Z] 33b1e0a273af: Verifying Checksum [2023-11-15T17:01:05.822Z] 33b1e0a273af: Download complete [2023-11-15T17:01:05.822Z] ec43610c2a17: Verifying Checksum [2023-11-15T17:01:05.822Z] ec43610c2a17: Download complete [2023-11-15T17:01:05.822Z] 5d3b04190fa2: Verifying Checksum [2023-11-15T17:01:05.822Z] 5d3b04190fa2: Download complete [2023-11-15T17:01:05.827Z] Merge succeeded, producing cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [2023-11-15T17:01:05.828Z] Checking out Revision cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 (PR-409) [2023-11-15T17:01:06.080Z] 5eb5b503b376: Verifying Checksum [2023-11-15T17:01:06.080Z] 5eb5b503b376: Download complete [2023-11-15T17:01:06.646Z] 2f39f015ded8: Download complete [2023-11-15T17:01:05.485Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T17:01:05.554Z] > git checkout -f cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 # timeout=10 [2023-11-15T17:01:05.726Z] > git remote # timeout=10 [2023-11-15T17:01:05.753Z] > git config --get remote.origin.url # timeout=10 [2023-11-15T17:01:05.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T17:01:05.784Z] > git merge 52e219e200aa3f0791b8f147aa403b803b9db216 # timeout=10 [2023-11-15T17:01:05.808Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-15T17:01:05.835Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T17:01:05.847Z] > git checkout -f cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 # timeout=10 [2023-11-15T17:01:07.211Z] 5eb5b503b376: Pull complete [2023-11-15T17:01:07.469Z] 5c69ac0246d0: Pull complete [2023-11-15T17:01:07.727Z] ec43610c2a17: Pull complete [2023-11-15T17:01:07.985Z] 3a2ae6a8a46f: Pull complete [2023-11-15T17:01:08.243Z] 33b1e0a273af: Pull complete [2023-11-15T17:01:08.243Z] 5d3b04190fa2: Pull complete [2023-11-15T17:01:09.480Z] Commit message: "docs: Update swagger version to 3.1.0" [2023-11-15T17:01:09.840Z] [2023-11-15T17:01:09.840Z] GitHub has been notified of this commit’s build result [2023-11-15T17:01:09.840Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T17:01:10.353Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T17:01:10.353Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T17:01:10.353Z] Dload Upload Total Spent Left Speed [2023-11-15T17:01:10.353Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 84546 [Pipeline] sh [2023-11-15T17:01:11.057Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T17:01:11.382Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-15T17:01:11.382Z] + sudo tee /etc/docker/daemon.new [2023-11-15T17:01:11.382Z] { [2023-11-15T17:01:11.382Z] "registry-mirrors": [ [2023-11-15T17:01:11.382Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T17:01:11.382Z] ], [2023-11-15T17:01:11.382Z] "bip": "10.250.0.254/24", [2023-11-15T17:01:11.382Z] "hosts": [ [2023-11-15T17:01:11.382Z] "tcp://0.0.0.0:5555", [2023-11-15T17:01:11.382Z] "unix:///var/run/docker.sock" [2023-11-15T17:01:11.382Z] ], [2023-11-15T17:01:11.382Z] "mtu": 1458, [2023-11-15T17:01:11.382Z] "selinux-enabled": true, [2023-11-15T17:01:11.382Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T17:01:11.382Z] } [Pipeline] sh [2023-11-15T17:01:11.706Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-15T17:01:12.035Z] + sudo service docker restart [2023-11-15T17:01:12.426Z] 2f39f015ded8: Pull complete [2023-11-15T17:01:12.426Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T17:01:12.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T17:01:12.426Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:01:12.505Z] prd-ubuntu20.04-docker-8c-8g-18115 does not seem to be running inside a container [2023-11-15T17:01:12.536Z] $ 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-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T17:01:17.202Z] $ docker top ba381aea1eabc7f5d2fb2b9e02a44eeb59da311b2b62cccb8dc6babd51013f68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:01:17.577Z] ---> job-cost.sh [2023-11-15T17:01:17.577Z] lf-activate-venv: SKIPPING [2023-11-15T17:01:17.577Z] INFO: No Stack... [2023-11-15T17:01:18.958Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T17:01:19.217Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T17:01:19.509Z] + cut -d, -f6 [2023-11-15T17:01:19.509Z] + cat /w/workspace/undry_device-onvif-camera_PR-409/archives/cost.csv [Pipeline] lock [2023-11-15T17:01:19.524Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-409-2-stack-cost] [2023-11-15T17:01:19.533Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-409-2-stack-cost] did not exist. Created. [2023-11-15T17:01:19.533Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-409-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T17:01:19.838Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T17:01:19.873Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T17:01:19.880Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-409-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T17:01:19.899Z] $ docker stop --time=1 ba381aea1eabc7f5d2fb2b9e02a44eeb59da311b2b62cccb8dc6babd51013f68 [2023-11-15T17:01:21.067Z] $ docker rm -f --volumes ba381aea1eabc7f5d2fb2b9e02a44eeb59da311b2b62cccb8dc6babd51013f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T17:01:30.309Z] provisioning config files... [2023-11-15T17:01:30.347Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3056830475570677991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:01:30.718Z] ---> docker-login.sh [2023-11-15T17:01:30.718Z] nexus3.edgexfoundry.org:10001 [2023-11-15T17:01:30.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:01:31.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:01:31.257Z] Configure a credential helper to remove this warning. See [2023-11-15T17:01:31.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:01:31.257Z] [2023-11-15T17:01:31.257Z] Login Succeeded [2023-11-15T17:01:31.257Z] nexus3.edgexfoundry.org:10002 [2023-11-15T17:01:31.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:01:31.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:01:31.792Z] Configure a credential helper to remove this warning. See [2023-11-15T17:01:31.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:01:31.792Z] [2023-11-15T17:01:31.792Z] Login Succeeded [2023-11-15T17:01:31.792Z] nexus3.edgexfoundry.org:10003 [2023-11-15T17:01:32.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:01:32.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:01:32.060Z] Configure a credential helper to remove this warning. See [2023-11-15T17:01:32.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:01:32.060Z] [2023-11-15T17:01:32.060Z] Login Succeeded [2023-11-15T17:01:32.060Z] nexus3.edgexfoundry.org:10004 [2023-11-15T17:01:32.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:01:32.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:01:32.329Z] Configure a credential helper to remove this warning. See [2023-11-15T17:01:32.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:01:32.329Z] [2023-11-15T17:01:32.329Z] Login Succeeded [2023-11-15T17:01:32.602Z] docker.io [2023-11-15T17:01:32.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T17:01:33.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T17:01:33.143Z] Configure a credential helper to remove this warning. See [2023-11-15T17:01:33.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T17:01:33.143Z] [2023-11-15T17:01:33.143Z] Login Succeeded [2023-11-15T17:01:33.143Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T17:01:33.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T17:01:33.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T17:01:33.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T17:01:33.442Z] ========================================================= [2023-11-15T17:01:33.442Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-15T17:01:33.442Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:01:33.799Z] + 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-15T17:01:34.392Z] Sending build context to Docker daemon 14.3MB [2023-11-15T17:01:34.392Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T17:01:34.392Z] Step 2/13 : FROM ${BASE} AS builder [2023-11-15T17:01:34.392Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-15T17:01:34.392Z] 9fda8d8052c6: Pulling fs layer [2023-11-15T17:01:34.392Z] 5d54e960e981: Pulling fs layer [2023-11-15T17:01:34.392Z] c4a7e357bf2a: Pulling fs layer [2023-11-15T17:01:34.392Z] f0e02332f6b5: Pulling fs layer [2023-11-15T17:01:34.392Z] 872ee5b61b7b: Pulling fs layer [2023-11-15T17:01:34.392Z] f0e02332f6b5: Waiting [2023-11-15T17:01:34.392Z] 0c6a40ed1a82: Pulling fs layer [2023-11-15T17:01:34.392Z] 94ae7d8d031c: Pulling fs layer [2023-11-15T17:01:34.392Z] 872ee5b61b7b: Waiting [2023-11-15T17:01:34.392Z] 0c6a40ed1a82: Waiting [2023-11-15T17:01:34.392Z] 94ae7d8d031c: Waiting [2023-11-15T17:01:34.392Z] 5d54e960e981: Verifying Checksum [2023-11-15T17:01:34.392Z] 5d54e960e981: Download complete [2023-11-15T17:01:34.662Z] f0e02332f6b5: Verifying Checksum [2023-11-15T17:01:34.662Z] f0e02332f6b5: Download complete [2023-11-15T17:01:34.662Z] 872ee5b61b7b: Verifying Checksum [2023-11-15T17:01:34.662Z] 872ee5b61b7b: Download complete [2023-11-15T17:01:34.662Z] 9fda8d8052c6: Verifying Checksum [2023-11-15T17:01:34.662Z] 9fda8d8052c6: Download complete [2023-11-15T17:01:34.933Z] 94ae7d8d031c: Verifying Checksum [2023-11-15T17:01:34.933Z] 94ae7d8d031c: Download complete [2023-11-15T17:01:35.528Z] 9fda8d8052c6: Pull complete [2023-11-15T17:01:36.120Z] 5d54e960e981: Pull complete [2023-11-15T17:01:36.389Z] c4a7e357bf2a: Verifying Checksum [2023-11-15T17:01:36.389Z] c4a7e357bf2a: Download complete [2023-11-15T17:01:37.807Z] 0c6a40ed1a82: Verifying Checksum [2023-11-15T17:01:37.807Z] 0c6a40ed1a82: Download complete [2023-11-15T17:01:50.135Z] c4a7e357bf2a: Pull complete [2023-11-15T17:01:50.135Z] f0e02332f6b5: Pull complete [2023-11-15T17:01:50.403Z] 872ee5b61b7b: Pull complete [2023-11-15T17:02:02.739Z] 0c6a40ed1a82: Pull complete [2023-11-15T17:02:04.157Z] 94ae7d8d031c: Pull complete [2023-11-15T17:02:04.157Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-15T17:02:04.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-15T17:02:04.157Z] ---> 86de565de09d [2023-11-15T17:02:04.157Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-11-15T17:02:04.752Z] ---> Running in 730bb7f0ec51 [2023-11-15T17:02:05.028Z] Removing intermediate container 730bb7f0ec51 [2023-11-15T17:02:05.028Z] ---> f4f21330aae0 [2023-11-15T17:02:05.028Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T17:02:05.295Z] ---> Running in b1e41738b156 [2023-11-15T17:02:05.563Z] Removing intermediate container b1e41738b156 [2023-11-15T17:02:05.563Z] ---> 93d317a17f58 [2023-11-15T17:02:05.563Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T17:02:05.563Z] ---> Running in ea28e2198f39 [2023-11-15T17:02:05.833Z] Removing intermediate container ea28e2198f39 [2023-11-15T17:02:05.833Z] ---> 8bfbbb176278 [2023-11-15T17:02:05.833Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T17:02:06.102Z] ---> Running in 3bf9f9b8c5f4 [2023-11-15T17:02:06.380Z] Removing intermediate container 3bf9f9b8c5f4 [2023-11-15T17:02:06.380Z] ---> c60561091dfc [2023-11-15T17:02:06.380Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-11-15T17:02:06.380Z] ---> Running in d79078d0f18b [2023-11-15T17:02:06.663Z] Removing intermediate container d79078d0f18b [2023-11-15T17:02:06.663Z] ---> 9033471a77c1 [2023-11-15T17:02:06.663Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T17:02:06.663Z] ---> Running in 1812ecd0c43f [2023-11-15T17:02:08.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T17:02:08.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T17:02:09.346Z] OK: 266 MiB in 52 packages [2023-11-15T17:02:10.315Z] Removing intermediate container 1812ecd0c43f [2023-11-15T17:02:10.315Z] ---> 1e4ae8a22668 [2023-11-15T17:02:10.315Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-11-15T17:02:10.315Z] ---> Running in 2ef3a9a24dbe [2023-11-15T17:02:10.585Z] Removing intermediate container 2ef3a9a24dbe [2023-11-15T17:02:10.585Z] ---> cc368a95a865 [2023-11-15T17:02:10.585Z] Step 10/13 : COPY go.mod vendor* ./ [2023-11-15T17:02:11.173Z] ---> 6897689a0a17 [2023-11-15T17:02:11.173Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T17:02:11.173Z] ---> Running in 0594e596360a [2023-11-15T17:03:32.832Z] Removing intermediate container 0594e596360a [2023-11-15T17:03:32.832Z] ---> 90103edd0abd [2023-11-15T17:03:32.832Z] Step 12/13 : COPY . . [2023-11-15T17:03:32.832Z] ---> d2fe6f0e8c28 [2023-11-15T17:03:32.832Z] Step 13/13 : RUN ${MAKE} [2023-11-15T17:03:32.832Z] ---> Running in c94b2067a3c3 [2023-11-15T17:03:32.832Z] noop [2023-11-15T17:03:32.832Z] Removing intermediate container c94b2067a3c3 [2023-11-15T17:03:32.832Z] ---> c52e980aa947 [2023-11-15T17:03:32.832Z] Successfully built c52e980aa947 [2023-11-15T17:03:32.832Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:03:33.181Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T17:03:33.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:03:33.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-18117 does not seem to be running inside a container [2023-11-15T17:03:33.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-15T17:03:34.569Z] $ docker top ab57fbbd8b9351c05f179d07021c05e2b14c6dd46057d16a5eb5028810a5bf7f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T17:03:35.390Z] + go version [2023-11-15T17:03:35.390Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-15T17:03:35.410Z] $ docker stop --time=1 ab57fbbd8b9351c05f179d07021c05e2b14c6dd46057d16a5eb5028810a5bf7f [2023-11-15T17:03:37.046Z] $ docker rm -f --volumes ab57fbbd8b9351c05f179d07021c05e2b14c6dd46057d16a5eb5028810a5bf7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:03:37.602Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T17:03:37.602Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:03:37.787Z] prd-ubuntu20.04-docker-arm64-4c-16g-18117 does not seem to be running inside a container [2023-11-15T17:03:37.846Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-15T17:03:39.046Z] $ docker top b03d6689d7c6dc842eb265ea48c035dd0b62d23841ca649adc810a0f448d853d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T17:03:39.570Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-11-15T17:03:40.229Z] + make test [2023-11-15T17:03:40.229Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T17:03:48.430Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-11-15T17:05:40.132Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-11-15T17:05:40.132Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-11-15T17:05:40.132Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.180s coverage: 31.5% of statements [2023-11-15T17:05:50.207Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.394s coverage: 86.5% of statements [2023-11-15T17:05:50.207Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-15T17:05:50.207Z] go vet ./... [2023-11-15T17:06:16.986Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T17:06:16.986Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T17:06:16.986Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T17:06:17.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T17:06:17.028Z] $ docker stop --time=1 b03d6689d7c6dc842eb265ea48c035dd0b62d23841ca649adc810a0f448d853d [2023-11-15T17:06:21.718Z] $ docker rm -f --volumes b03d6689d7c6dc842eb265ea48c035dd0b62d23841ca649adc810a0f448d853d [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T17:06:22.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T17:06:22.948Z] Warning: overwriting stash ‘coverage-report’ [2023-11-15T17:06:23.655Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T17:06:24.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T17:06:24.456Z] + ls -al . [2023-11-15T17:06:24.456Z] total 236 [2023-11-15T17:06:24.456Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 17:03 . [2023-11-15T17:06:24.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:01 .. [2023-11-15T17:06:24.456Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 17:01 .git [2023-11-15T17:06:24.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:01 .github [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 493 Nov 15 17:01 .gitignore [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 15 17:01 .golangci.yml [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 11155 Nov 15 17:01 Attribution.txt [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 17665 Nov 15 17:01 CHANGELOG.md [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 1683 Nov 15 17:01 Dockerfile [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 17:01 GOVERNANCE.md [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 739 Nov 15 17:01 Jenkinsfile [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 15 17:01 LICENSE [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 2877 Nov 15 17:01 Makefile [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 15 17:01 OWNERS.md [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 2620 Nov 15 17:01 README.md [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 16:58 VERSION [2023-11-15T17:06:24.456Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 17:01 bin [2023-11-15T17:06:24.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 17:01 cmd [2023-11-15T17:06:24.456Z] -rw-r--r-- 1 jenkins jenkins 78456 Nov 15 17:05 coverage.out [2023-11-15T17:06:24.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:01 doc [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 4040 Nov 15 17:01 go.mod [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 35594 Nov 15 17:01 go.sum [2023-11-15T17:06:24.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 17:01 internal [2023-11-15T17:06:24.456Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 15 17:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:06:24.811Z] + 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=cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 --label arch=arm64 --label version=0.0.0 . [2023-11-15T17:06:25.407Z] Sending build context to Docker daemon 14.38MB [2023-11-15T17:06:25.407Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T17:06:25.407Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-15T17:06:25.407Z] ---> c52e980aa947 [2023-11-15T17:06:25.407Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2023-11-15T17:06:25.686Z] ---> Running in 4f55377fc495 [2023-11-15T17:06:25.957Z] Removing intermediate container 4f55377fc495 [2023-11-15T17:06:25.957Z] ---> d6ce7fffd478 [2023-11-15T17:06:25.957Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T17:06:25.957Z] ---> Running in 67923d7dbc37 [2023-11-15T17:06:26.227Z] Removing intermediate container 67923d7dbc37 [2023-11-15T17:06:26.227Z] ---> 103544e87a08 [2023-11-15T17:06:26.227Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T17:06:26.227Z] ---> Running in 249b48ddbb7a [2023-11-15T17:06:26.496Z] Removing intermediate container 249b48ddbb7a [2023-11-15T17:06:26.496Z] ---> 53c22af49807 [2023-11-15T17:06:26.496Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T17:06:26.764Z] ---> Running in ddb81d93a256 [2023-11-15T17:06:27.036Z] Removing intermediate container ddb81d93a256 [2023-11-15T17:06:27.036Z] ---> 11e20a46aec4 [2023-11-15T17:06:27.036Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2023-11-15T17:06:27.036Z] ---> Running in b3cf92b5b57f [2023-11-15T17:06:27.319Z] Removing intermediate container b3cf92b5b57f [2023-11-15T17:06:27.319Z] ---> e54baa77d8c4 [2023-11-15T17:06:27.319Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T17:06:27.319Z] ---> Running in aa5b84abc322 [2023-11-15T17:06:28.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T17:06:28.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T17:06:30.152Z] OK: 266 MiB in 52 packages [2023-11-15T17:06:31.120Z] Removing intermediate container aa5b84abc322 [2023-11-15T17:06:31.120Z] ---> fda9474da086 [2023-11-15T17:06:31.120Z] Step 9/27 : WORKDIR /device-onvif-camera [2023-11-15T17:06:31.120Z] ---> Running in 02806e283843 [2023-11-15T17:06:31.389Z] Removing intermediate container 02806e283843 [2023-11-15T17:06:31.389Z] ---> ec840d36d578 [2023-11-15T17:06:31.389Z] Step 10/27 : COPY go.mod vendor* ./ [2023-11-15T17:06:35.105Z] ---> 52fb0608006a [2023-11-15T17:06:35.105Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T17:06:35.105Z] ---> Running in bd930ed94177 [2023-11-15T17:06:37.691Z] Removing intermediate container bd930ed94177 [2023-11-15T17:06:37.691Z] ---> 348a4d67eb9b [2023-11-15T17:06:37.691Z] Step 12/27 : COPY . . [2023-11-15T17:06:39.100Z] ---> 59642937be53 [2023-11-15T17:06:39.100Z] Step 13/27 : RUN ${MAKE} [2023-11-15T17:06:39.100Z] ---> Running in b577736edb6b [2023-11-15T17:06:40.057Z] 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-15T17:08:46.711Z] Removing intermediate container b577736edb6b [2023-11-15T17:08:46.711Z] ---> 8e016607427e [2023-11-15T17:08:46.711Z] Step 14/27 : FROM alpine:3.18 [2023-11-15T17:08:46.711Z] 3.18: Pulling from library/alpine [2023-11-15T17:08:46.711Z] 579b34f0a95b: Pulling fs layer [2023-11-15T17:08:46.711Z] 579b34f0a95b: Download complete [2023-11-15T17:08:46.711Z] 579b34f0a95b: Pull complete [2023-11-15T17:08:46.711Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T17:08:46.711Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T17:08:46.711Z] ---> 3cc203321400 [2023-11-15T17:08:46.711Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2023-11-15T17:08:46.711Z] ---> Running in a859b7cff3e3 [2023-11-15T17:08:46.711Z] Removing intermediate container a859b7cff3e3 [2023-11-15T17:08:46.711Z] ---> 4c530850fba8 [2023-11-15T17:08:46.711Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2023-11-15T17:08:46.711Z] ---> Running in 2a081837d5a7 [2023-11-15T17:08:46.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T17:08:46.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T17:08:46.711Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T17:08:46.711Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T17:08:46.711Z] OK: 8 MiB in 16 packages [2023-11-15T17:08:46.711Z] Removing intermediate container 2a081837d5a7 [2023-11-15T17:08:46.711Z] ---> 2dfb2db60bae [2023-11-15T17:08:46.711Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-15T17:08:46.711Z] ---> Running in c1155f2cfbc4 [2023-11-15T17:08:46.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T17:08:46.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T17:08:46.711Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T17:08:46.711Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:08:46.711Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T17:08:46.711Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:08:46.711Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T17:08:46.711Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T17:08:46.711Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T17:08:46.711Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T17:08:46.711Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T17:08:46.711Z] OK: 8 MiB in 16 packages [2023-11-15T17:08:46.711Z] Removing intermediate container c1155f2cfbc4 [2023-11-15T17:08:46.711Z] ---> 7f9a86e9b819 [2023-11-15T17:08:46.711Z] Step 18/27 : WORKDIR / [2023-11-15T17:08:46.711Z] ---> Running in f035cd89de68 [2023-11-15T17:08:46.711Z] Removing intermediate container f035cd89de68 [2023-11-15T17:08:46.711Z] ---> 940b5963a8c4 [2023-11-15T17:08:46.711Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2023-11-15T17:08:46.711Z] ---> 0a3e3534a080 [2023-11-15T17:08:46.711Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-11-15T17:08:47.295Z] ---> a5f394c42779 [2023-11-15T17:08:47.295Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-11-15T17:08:47.879Z] ---> cd2096156800 [2023-11-15T17:08:47.879Z] Step 22/27 : EXPOSE 59984 [2023-11-15T17:08:47.879Z] ---> Running in 84b0deb187e6 [2023-11-15T17:08:48.146Z] Removing intermediate container 84b0deb187e6 [2023-11-15T17:08:48.146Z] ---> c1b449d917bc [2023-11-15T17:08:48.146Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2023-11-15T17:08:48.146Z] ---> Running in e99157101a4f [2023-11-15T17:08:48.414Z] Removing intermediate container e99157101a4f [2023-11-15T17:08:48.414Z] ---> 0a1a78951f7f [2023-11-15T17:08:48.414Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T17:08:48.681Z] ---> Running in 03cb02d30593 [2023-11-15T17:08:48.949Z] Removing intermediate container 03cb02d30593 [2023-11-15T17:08:48.949Z] ---> 42a3df8d4805 [2023-11-15T17:08:48.949Z] Step 25/27 : LABEL arch=arm64 [2023-11-15T17:08:48.949Z] ---> Running in e05b5eccc9a4 [2023-11-15T17:08:49.216Z] Removing intermediate container e05b5eccc9a4 [2023-11-15T17:08:49.216Z] ---> 3589b0cafcbd [2023-11-15T17:08:49.216Z] Step 26/27 : LABEL git_sha=cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [2023-11-15T17:08:49.216Z] ---> Running in 5977e8be9be5 [2023-11-15T17:08:49.485Z] Removing intermediate container 5977e8be9be5 [2023-11-15T17:08:49.485Z] ---> d73c5d8f4c59 [2023-11-15T17:08:49.485Z] Step 27/27 : LABEL version=0.0.0 [2023-11-15T17:08:49.754Z] ---> Running in 75e2f0129130 [2023-11-15T17:08:50.018Z] Removing intermediate container 75e2f0129130 [2023-11-15T17:08:50.018Z] ---> 1367b8c802cd [2023-11-15T17:08:50.018Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T17:08:50.018Z] Successfully built 1367b8c802cd [2023-11-15T17:08:50.018Z] 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-15T17:08:50.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T17:08:50.467Z] [2023-11-15T17:08:50.467Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:08:50.803Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T17:08:50.803Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-15T17:08:50.803Z] 8998bd30e6a1: Pulling fs layer [2023-11-15T17:08:50.803Z] 04944245beec: Pulling fs layer [2023-11-15T17:08:50.803Z] 699f458cf7ca: Pulling fs layer [2023-11-15T17:08:50.803Z] 765212b225bb: Pulling fs layer [2023-11-15T17:08:50.803Z] f23df028b6ca: Pulling fs layer [2023-11-15T17:08:50.803Z] d65c8cfc05b1: Pulling fs layer [2023-11-15T17:08:50.803Z] 2437ff75d9bd: Pulling fs layer [2023-11-15T17:08:50.803Z] f23df028b6ca: Waiting [2023-11-15T17:08:50.803Z] d65c8cfc05b1: Waiting [2023-11-15T17:08:50.803Z] 2437ff75d9bd: Waiting [2023-11-15T17:08:50.803Z] 765212b225bb: Waiting [2023-11-15T17:08:51.071Z] 04944245beec: Verifying Checksum [2023-11-15T17:08:51.071Z] 04944245beec: Download complete [2023-11-15T17:08:51.071Z] 765212b225bb: Verifying Checksum [2023-11-15T17:08:51.071Z] 765212b225bb: Download complete [2023-11-15T17:08:51.071Z] f23df028b6ca: Verifying Checksum [2023-11-15T17:08:51.071Z] f23df028b6ca: Download complete [2023-11-15T17:08:51.071Z] 699f458cf7ca: Verifying Checksum [2023-11-15T17:08:51.071Z] 699f458cf7ca: Download complete [2023-11-15T17:08:51.338Z] d65c8cfc05b1: Verifying Checksum [2023-11-15T17:08:51.338Z] d65c8cfc05b1: Download complete [2023-11-15T17:08:51.605Z] 8998bd30e6a1: Verifying Checksum [2023-11-15T17:08:51.605Z] 8998bd30e6a1: Download complete [2023-11-15T17:08:54.179Z] 2437ff75d9bd: Download complete [2023-11-15T17:08:56.117Z] 8998bd30e6a1: Pull complete [2023-11-15T17:08:56.382Z] 04944245beec: Pull complete [2023-11-15T17:08:57.784Z] 699f458cf7ca: Pull complete [2023-11-15T17:08:58.050Z] 765212b225bb: Pull complete [2023-11-15T17:08:58.632Z] f23df028b6ca: Pull complete [2023-11-15T17:08:58.902Z] d65c8cfc05b1: Pull complete [2023-11-15T17:09:17.103Z] 2437ff75d9bd: Pull complete [2023-11-15T17:09:17.103Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-15T17:09:17.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T17:09:17.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:09:17.318Z] prd-ubuntu20.04-docker-arm64-4c-16g-18117 does not seem to be running inside a container [2023-11-15T17:09:17.393Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-15T17:09:20.518Z] $ docker top ed6ab021dff8c3c528a0865b5a1aebe7f2991ef0a9f53a7637589f0ab31dcedf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:09:21.364Z] ---> job-cost.sh [2023-11-15T17:09:21.364Z] lf-activate-venv: SKIPPING [2023-11-15T17:09:21.364Z] INFO: No Stack... [2023-11-15T17:09:21.630Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-15T17:09:22.590Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T17:09:23.251Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-11-15T17:09:23.252Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T17:09:23.332Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-409-2-stack-cost] [2023-11-15T17:09:23.338Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-409-2-stack-cost] did not exist. Created. [2023-11-15T17:09:23.338Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-409-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T17:09:24.011Z] /w/workspace/device-onvif-camera/2@tmp/durable-b0c246b5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-15T17:09:24.683Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-15T17:09:24.708Z] Warning: overwriting stash ‘stack-cost’ [2023-11-15T17:09:24.805Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T17:09:24.812Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-409-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T17:09:24.832Z] $ docker stop --time=1 ed6ab021dff8c3c528a0865b5a1aebe7f2991ef0a9f53a7637589f0ab31dcedf [2023-11-15T17:09:30.102Z] $ docker rm -f --volumes ed6ab021dff8c3c528a0865b5a1aebe7f2991ef0a9f53a7637589f0ab31dcedf [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-15T17:09:30.515Z] provisioning config files... [2023-11-15T17:09:30.522Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-409@tmp/config15068018936759339757tmp [Pipeline] { [Pipeline] sh [2023-11-15T17:09:30.812Z] + set +x [2023-11-15T17:09:30.812Z] + curl -s https://codecov.io/bash [2023-11-15T17:09:30.812Z] + bash -s -- [2023-11-15T17:09:30.812Z] [2023-11-15T17:09:30.812Z] _____ _ [2023-11-15T17:09:30.812Z] / ____| | | [2023-11-15T17:09:30.812Z] | | ___ __| | ___ ___ _____ __ [2023-11-15T17:09:30.812Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-15T17:09:30.812Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-15T17:09:30.812Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-15T17:09:30.812Z] Bash-1.0.6 [2023-11-15T17:09:30.812Z] [2023-11-15T17:09:30.812Z] [2023-11-15T17:09:30.812Z] ==> git version 2.25.1 found [2023-11-15T17:09:30.812Z] ==> 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-15T17:09:30.812Z] Release-Date: 2020-01-08 [2023-11-15T17:09:30.812Z] 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-15T17:09:30.812Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-15T17:09:30.812Z] ==> Jenkins CI detected. [2023-11-15T17:09:30.812Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-409 [2023-11-15T17:09:30.812Z] project root: . [2023-11-15T17:09:30.812Z] --> token set from env [2023-11-15T17:09:30.812Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-15T17:09:30.812Z] ==> Running gcov in . (disable via -X gcov) [2023-11-15T17:09:30.812Z] ==> Python coveragepy not found [2023-11-15T17:09:30.812Z] ==> Searching for coverage reports in: [2023-11-15T17:09:30.812Z] + . [2023-11-15T17:09:30.812Z] -> Found 1 reports [2023-11-15T17:09:30.812Z] ==> Detecting git/mercurial file structure [2023-11-15T17:09:31.071Z] ==> Reading reports [2023-11-15T17:09:31.071Z] + ./coverage.out bytes=78456 [2023-11-15T17:09:31.071Z] ==> Appending adjustments [2023-11-15T17:09:31.071Z] https://docs.codecov.io/docs/fixing-reports [2023-11-15T17:09:31.071Z] + Found adjustments [2023-11-15T17:09:31.071Z] ==> Gzipping contents [2023-11-15T17:09:31.071Z] 12K /tmp/codecov.4kOVtE.gz [2023-11-15T17:09:31.071Z] ==> Uploading reports [2023-11-15T17:09:31.071Z] url: https://codecov.io [2023-11-15T17:09:31.071Z] query: branch=PR-409&commit=cc34efc7ab6e16a32a5c6714bac7c66b736f4c08&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-409%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=409&job=&cmd_args= [2023-11-15T17:09:31.071Z] -> Pinging Codecov [2023-11-15T17:09:31.071Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-409&commit=cc34efc7ab6e16a32a5c6714bac7c66b736f4c08&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-409%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=409&job=&cmd_args= [2023-11-15T17:09:31.330Z] -> Uploading to [2023-11-15T17:09:31.330Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-15/F29A59C45E3A92E06B3E522C9905F8EF/cc34efc7ab6e16a32a5c6714bac7c66b736f4c08/ed85cda4-2252-413a-9a79-cb77de12d795.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T170931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b075e3508f391861793ba779717ebe7d2f39435dd717c825e9c822e6e4aee6ae [2023-11-15T17:09:31.330Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T17:09:31.330Z] Dload Upload Total Spent Left Speed [2023-11-15T17:09:31.590Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 40069 --:--:-- --:--:-- --:--:-- 40069 [2023-11-15T17:09:31.590Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/cc34efc7ab6e16a32a5c6714bac7c66b736f4c08 [Pipeline] } [2023-11-15T17:09:31.597Z] 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-15T17:09:32.422Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-409/archives ] [2023-11-15T17:09:32.423Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-409/archives [2023-11-15T17:09:32.423Z] total 16 [2023-11-15T17:09:32.423Z] drwxr-xr-x 3 root root 4096 Nov 15 17:01 . [2023-11-15T17:09:32.423Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 17:01 .. [2023-11-15T17:09:32.423Z] drwxr-xr-x 2 root root 4096 Nov 15 17:01 cost [2023-11-15T17:09:32.423Z] -rw-r--r-- 1 root root 91 Nov 15 17:01 cost.csv [2023-11-15T17:09:32.423Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-409/archives [2023-11-15T17:09:32.423Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-409/archives [2023-11-15T17:09:32.423Z] total 16 [2023-11-15T17:09:32.423Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 17:01 . [2023-11-15T17:09:32.423Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 17:01 .. [2023-11-15T17:09:32.423Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 17:01 cost [2023-11-15T17:09:32.423Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 15 17:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:09:32.715Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:09:33.606Z] ---> package-listing.sh [2023-11-15T17:09:33.606Z] ++ facter osfamily [2023-11-15T17:09:33.606Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T17:09:33.865Z] + OS_FAMILY=debian [2023-11-15T17:09:33.865Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-409 [2023-11-15T17:09:33.865Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T17:09:33.865Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T17:09:33.865Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T17:09:33.865Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T17:09:33.865Z] + '[' /w/workspace/undry_device-onvif-camera_PR-409 ']' [2023-11-15T17:09:33.865Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T17:09:33.865Z] + case "${OS_FAMILY}" in [2023-11-15T17:09:33.865Z] + dpkg -l [2023-11-15T17:09:33.865Z] + grep '^ii' [2023-11-15T17:09:33.865Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T17:09:33.865Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T17:09:33.865Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T17:09:33.865Z] + '[' /w/workspace/undry_device-onvif-camera_PR-409 ']' [2023-11-15T17:09:33.865Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-409/archives/ [2023-11-15T17:09:33.865Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-409/archives/ [Pipeline] echo [2023-11-15T17:09:33.876Z] 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-409/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T17:09:34.153Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T17:09:34.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T17:09:34.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T17:09:34.790Z] prd-ubuntu20.04-docker-8c-8g-18115 does not seem to be running inside a container [2023-11-15T17:09:34.825Z] $ 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-409/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-409 -v /w/workspace/undry_device-onvif-camera_PR-409:/w/workspace/undry_device-onvif-camera_PR-409:rw,z -v /w/workspace/undry_device-onvif-camera_PR-409@tmp:/w/workspace/undry_device-onvif-camera_PR-409@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T17:09:35.027Z] $ docker top a11d9e7bd7aa0643946a0fbb2f2aecbe9da43495d2428e52424b9424205ce3d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T17:09:35.374Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T17:09:35.658Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T17:09:35.943Z] + ls /var/log/sa-host [2023-11-15T17:09:35.943Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T17:09:36.105Z] provisioning config files... [2023-11-15T17:09:36.112Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-409@tmp/config12980183181213471144tmp [Pipeline] { [Pipeline] echo [2023-11-15T17:09:36.127Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:09:36.411Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T17:09:36.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:09:36.753Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T17:09:36.762Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:09:37.049Z] ---> sudo-logs.sh [2023-11-15T17:09:37.049Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T17:09:37.082Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:09:37.386Z] ---> job-cost.sh [2023-11-15T17:09:37.386Z] lf-activate-venv: SKIPPING [2023-11-15T17:09:37.386Z] DEBUG: total: 0.2199999988079071 [2023-11-15T17:09:37.386Z] INFO: Retrieving Stack Cost... [2023-11-15T17:09:37.954Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T17:09:38.213Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T17:09:38.224Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T17:09:38.507Z] ---> logs-deploy.sh [2023-11-15T17:09:38.507Z] lf-activate-venv: SKIPPING [2023-11-15T17:09:38.507Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-409/2 [2023-11-15T17:09:38.507Z] INFO: archiving workspace using pattern(s): [2023-11-15T17:09:39.445Z] Archives upload complete. [2023-11-15T17:09:39.445Z] INFO: archiving logs to Nexus