Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1+12ac4ca00df350acb7aaa5b8264558c40625f436 (220252b775b470394732f558a43f3341be25dbe9) 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-ssh16947432588497342558.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5626795402764819706.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-184/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-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5184848691247066888.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh711421132505671480.key Verifying host key using known hosts file > 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-184/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-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17690037960421568978.key Verifying host key using known hosts file > 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/v2]] ========================================================= [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.18 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118981 in /w/workspace/undry_device-onvif-camera_PR-184 [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-184 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 12ac4ca00df350acb7aaa5b8264558c40625f436 into PR head commit 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 Merge succeeded, producing 3384badf184e22b3e32d63c608c1b10ad1c21b31 Checking out Revision 3384badf184e22b3e32d63c608c1b10ad1c21b31 (PR-184) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3384badf184e22b3e32d63c608c1b10ad1c21b31 # timeout=10 Commit message: "Merge commit '12ac4ca00df350acb7aaa5b8264558c40625f436' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-11T02:10:44.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-11T02:10:44.600Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-11T02:10:44.615Z] ========================================================= [2022-11-11T02:10:44.615Z] EdgeX Global Pipelines Version Info [2022-11-11T02:10:44.615Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8882cdaa1a406bc66c8eaed3bd42cf39107f6149 # timeout=10 [2022-11-11T02:10:45.338Z] ------------------- [2022-11-11T02:10:45.338Z] stable info: [2022-11-11T02:10:45.338Z] ------------------- [2022-11-11T02:10:45.338Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-11T02:10:45.338Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-11T02:10:45.338Z] Message: update stable to v1.0.244 [2022-11-11T02:10:45.906Z] ------------------- [2022-11-11T02:10:45.906Z] experimental info: [2022-11-11T02:10:45.906Z] ------------------- [2022-11-11T02:10:45.906Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-11T02:10:45.906Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-11T02:10:45.906Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-11T02:10:46.056Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-11T02:10:46.065Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-11T02:10:46.073Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-11T02:10:46.081Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-11T02:10:46.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-11T02:10:46.097Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-11T02:10:46.105Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-11T02:10:46.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-11T02:10:46.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-11T02:10:46.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-11T02:10:46.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-11T02:10:46.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-11T02:10:46.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-11T02:10:46.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-11T02:10:46.173Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-11T02:10:46.181Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-11T02:10:46.189Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-11T02:10:46.197Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-11T02:10:46.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-11T02:10:46.213Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-11T02:10:46.221Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-11T02:10:46.230Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-11T02:10:46.238Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-11T02:10:46.250Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-11T02:10:46.266Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-11T02:10:46.274Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-11T02:10:46.282Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-11T02:10:46.290Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2022-11-11T02:10:46.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2022-11-11T02:10:46.306Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2022-11-11T02:10:46.314Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3384badf184e22b3e32d63c608c1b10ad1c21b31 [Pipeline] echo [2022-11-11T02:10:46.322Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3384bad [Pipeline] echo [2022-11-11T02:10:46.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-11T02:10:46.362Z] provisioning config files... [2022-11-11T02:10:46.374Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config1216191203352772219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:10:46.687Z] ---> docker-login.sh [2022-11-11T02:10:46.687Z] nexus3.edgexfoundry.org:10001 [2022-11-11T02:10:46.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:10:52.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:10:52.229Z] Configure a credential helper to remove this warning. See [2022-11-11T02:10:52.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:10:52.229Z] [2022-11-11T02:10:52.229Z] Login Succeeded [2022-11-11T02:10:52.229Z] nexus3.edgexfoundry.org:10002 [2022-11-11T02:10:52.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:10:52.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:10:52.229Z] Configure a credential helper to remove this warning. See [2022-11-11T02:10:52.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:10:52.229Z] [2022-11-11T02:10:52.229Z] Login Succeeded [2022-11-11T02:10:52.229Z] nexus3.edgexfoundry.org:10003 [2022-11-11T02:10:52.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:10:52.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:10:52.229Z] Configure a credential helper to remove this warning. See [2022-11-11T02:10:52.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:10:52.229Z] [2022-11-11T02:10:52.229Z] Login Succeeded [2022-11-11T02:10:52.229Z] nexus3.edgexfoundry.org:10004 [2022-11-11T02:10:52.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:10:52.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:10:52.229Z] Configure a credential helper to remove this warning. See [2022-11-11T02:10:52.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:10:52.229Z] [2022-11-11T02:10:52.229Z] Login Succeeded [2022-11-11T02:10:52.229Z] docker.io [2022-11-11T02:10:52.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:10:52.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:10:52.753Z] Configure a credential helper to remove this warning. See [2022-11-11T02:10:52.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:10:52.753Z] [2022-11-11T02:10:52.753Z] Login Succeeded [2022-11-11T02:10:52.753Z] ---> docker-login.sh ends [Pipeline] } [2022-11-11T02:10:52.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-11T02:10:53.181Z] + git rev-list -1 --merges 3384badf184e22b3e32d63c608c1b10ad1c21b31~1..3384badf184e22b3e32d63c608c1b10ad1c21b31 [Pipeline] echo [2022-11-11T02:10:53.208Z] -----------> git rev-list -1 --merges 3384badf184e22b3e32d63c608c1b10ad1c21b31~1..3384badf184e22b3e32d63c608c1b10ad1c21b31 3384badf184e22b3e32d63c608c1b10ad1c21b31 [2022-11-11T02:10:53.208Z] 3384badf184e22b3e32d63c608c1b10ad1c21b31 [false] [Pipeline] sh [2022-11-11T02:10:53.494Z] + git log --format=format:%s -1 3384badf184e22b3e32d63c608c1b10ad1c21b31 [Pipeline] echo [2022-11-11T02:10:53.507Z] ========================================================= [2022-11-11T02:10:53.507Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-11T02:10:53.507Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-11T02:10:53.824Z] + git log --format=format:%s -1 3384badf184e22b3e32d63c608c1b10ad1c21b31 [Pipeline] echo [2022-11-11T02:10:53.835Z] [semverPrep] GIT_COMMIT: 3384badf184e22b3e32d63c608c1b10ad1c21b31, Commit Message: Merge commit '12ac4ca00df350acb7aaa5b8264558c40625f436' into HEAD [Pipeline] echo [2022-11-11T02:10:53.845Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-11T02:10:54.226Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-11T02:10:54.226Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-11T02:10:54.226Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-11T02:10:54.226Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-11T02:10:54.226Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-11T02:10:54.226Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-11T02:10:54.226Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:10:54.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-11T02:10:54.677Z] [2022-11-11T02:10:54.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:10:54.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-11T02:10:54.986Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-11T02:10:54.986Z] b85a868b505f: Pulling fs layer [2022-11-11T02:10:54.986Z] e2be974225ed: Pulling fs layer [2022-11-11T02:10:54.986Z] 339a4e72a1f5: Pulling fs layer [2022-11-11T02:10:54.986Z] 988bab9f4d93: Pulling fs layer [2022-11-11T02:10:54.986Z] 1469e6f7b9e6: Pulling fs layer [2022-11-11T02:10:54.986Z] eaf3925da568: Pulling fs layer [2022-11-11T02:10:54.986Z] bab4dde63d76: Pulling fs layer [2022-11-11T02:10:54.986Z] bde34c3a00c8: Pulling fs layer [2022-11-11T02:10:54.986Z] b352a97aabf1: Pulling fs layer [2022-11-11T02:10:54.986Z] 4872d77fe225: Pulling fs layer [2022-11-11T02:10:54.986Z] 5851b861e8e6: Pulling fs layer [2022-11-11T02:10:54.986Z] 1469e6f7b9e6: Waiting [2022-11-11T02:10:54.986Z] 988bab9f4d93: Waiting [2022-11-11T02:10:54.986Z] 4872d77fe225: Waiting [2022-11-11T02:10:54.986Z] 5851b861e8e6: Waiting [2022-11-11T02:10:54.986Z] b352a97aabf1: Waiting [2022-11-11T02:10:54.986Z] bde34c3a00c8: Waiting [2022-11-11T02:10:54.986Z] bab4dde63d76: Waiting [2022-11-11T02:10:54.986Z] e2be974225ed: Download complete [2022-11-11T02:10:54.986Z] 988bab9f4d93: Verifying Checksum [2022-11-11T02:10:54.986Z] 988bab9f4d93: Download complete [2022-11-11T02:10:55.247Z] 339a4e72a1f5: Verifying Checksum [2022-11-11T02:10:55.247Z] 339a4e72a1f5: Download complete [2022-11-11T02:10:55.247Z] 1469e6f7b9e6: Verifying Checksum [2022-11-11T02:10:55.247Z] 1469e6f7b9e6: Download complete [2022-11-11T02:10:55.247Z] eaf3925da568: Verifying Checksum [2022-11-11T02:10:55.247Z] eaf3925da568: Download complete [2022-11-11T02:10:55.247Z] bde34c3a00c8: Verifying Checksum [2022-11-11T02:10:55.247Z] bde34c3a00c8: Download complete [2022-11-11T02:10:55.247Z] b352a97aabf1: Verifying Checksum [2022-11-11T02:10:55.247Z] b352a97aabf1: Download complete [2022-11-11T02:10:55.247Z] 4872d77fe225: Download complete [2022-11-11T02:10:55.247Z] 5851b861e8e6: Download complete [2022-11-11T02:10:55.247Z] b85a868b505f: Verifying Checksum [2022-11-11T02:10:55.247Z] b85a868b505f: Download complete [2022-11-11T02:10:55.505Z] bab4dde63d76: Verifying Checksum [2022-11-11T02:10:55.505Z] bab4dde63d76: Download complete [2022-11-11T02:10:56.448Z] b85a868b505f: Pull complete [2022-11-11T02:10:56.714Z] e2be974225ed: Pull complete [2022-11-11T02:10:57.286Z] 339a4e72a1f5: Pull complete [2022-11-11T02:10:57.286Z] 988bab9f4d93: Pull complete [2022-11-11T02:10:57.545Z] 1469e6f7b9e6: Pull complete [2022-11-11T02:10:57.545Z] eaf3925da568: Pull complete [2022-11-11T02:11:00.086Z] bab4dde63d76: Pull complete [2022-11-11T02:11:00.086Z] bde34c3a00c8: Pull complete [2022-11-11T02:11:01.023Z] b352a97aabf1: Pull complete [2022-11-11T02:11:01.591Z] 4872d77fe225: Pull complete [2022-11-11T02:11:01.849Z] 5851b861e8e6: Pull complete [2022-11-11T02:11:02.108Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-11T02:11:02.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-11T02:11:02.108Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:11:02.206Z] prd-ubuntu20.04-docker-8c-8g-118981 does not seem to be running inside a container [2022-11-11T02:11:02.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-11T02:11:04.474Z] $ docker top fe95ce9cb5a583e7d2e8e7ae41edb20e33852aa9af48dcc7413adbff3b6d49c4 -eo pid,comm [2022-11-11T02:11:04.529Z] 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). [2022-11-11T02:11:04.529Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-11T02:11:04.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-11T02:11:04.576Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-11T02:11:04.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-11T02:11:04.685Z] $ docker exec fe95ce9cb5a583e7d2e8e7ae41edb20e33852aa9af48dcc7413adbff3b6d49c4 ssh-agent [2022-11-11T02:11:04.785Z] SSH_AUTH_SOCK=/tmp/ssh-pFnBeNwKmLBx/agent.32 [2022-11-11T02:11:04.785Z] SSH_AGENT_PID=38 [2022-11-11T02:11:04.791Z] Running ssh-add (command line suppressed) [2022-11-11T02:11:04.885Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_8326827652303876086.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_8326827652303876086.key) [2022-11-11T02:11:04.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-11T02:11:05.184Z] + git tag --points-at HEAD [Pipeline] } [2022-11-11T02:11:05.204Z] $ docker exec --env ******** --env ******** fe95ce9cb5a583e7d2e8e7ae41edb20e33852aa9af48dcc7413adbff3b6d49c4 ssh-agent -k [2022-11-11T02:11:05.300Z] unset SSH_AUTH_SOCK; [2022-11-11T02:11:05.301Z] unset SSH_AGENT_PID; [2022-11-11T02:11:05.301Z] echo Agent pid 38 killed; [2022-11-11T02:11:05.308Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-11T02:11:05.337Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-11T02:11:05.337Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-11T02:11:05.447Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-11T02:11:05.451Z] $ docker exec fe95ce9cb5a583e7d2e8e7ae41edb20e33852aa9af48dcc7413adbff3b6d49c4 ssh-agent [2022-11-11T02:11:05.560Z] SSH_AUTH_SOCK=/tmp/ssh-u2yYlzB0zBtw/agent.69 [2022-11-11T02:11:05.560Z] SSH_AGENT_PID=75 [2022-11-11T02:11:05.565Z] Running ssh-add (command line suppressed) [2022-11-11T02:11:05.689Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_10791630203270432129.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_10791630203270432129.key) [2022-11-11T02:11:05.699Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-11T02:11:05.984Z] + git semver init [2022-11-11T02:11:06.243Z] 2022-11-11 02:11:06,172 [run_init] DEBUG init version:0.0.0 force:False [2022-11-11T02:11:06.243Z] 2022-11-11 02:11:06,173 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-11-11T02:11:06.243Z] 2022-11-11 02:11:06,173 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-11-11T02:11:06.243Z] 2022-11-11 02:11:06,174 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-184/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-184, universal_newlines=False, shell=None, istream=None) [2022-11-11T02:11:07.656Z] 2022-11-11 02:11:07,353 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-184/.git/info/exclude [2022-11-11T02:11:07.656Z] 2022-11-11 02:11:07,354 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 with force:False [2022-11-11T02:11:07.656Z] 2022-11-11 02:11:07,354 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-11-11T02:11:07.656Z] 2022-11-11 02:11:07,359 [execute] INFO git cat-file --batch-check [2022-11-11T02:11:07.656Z] 2022-11-11 02:11:07,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-11-11T02:11:07.656Z] 2022-11-11 02:11:07,366 [execute] INFO git cat-file --batch [2022-11-11T02:11:07.656Z] 2022-11-11 02:11:07,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-11-11T02:11:07.656Z] 2022-11-11 02:11:07,372 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-11-11T02:11:07.656Z] 0.0.0 [Pipeline] } [2022-11-11T02:11:07.678Z] $ docker exec --env ******** --env ******** fe95ce9cb5a583e7d2e8e7ae41edb20e33852aa9af48dcc7413adbff3b6d49c4 ssh-agent -k [2022-11-11T02:11:07.776Z] unset SSH_AUTH_SOCK; [2022-11-11T02:11:07.776Z] unset SSH_AGENT_PID; [2022-11-11T02:11:07.776Z] echo Agent pid 75 killed; [2022-11-11T02:11:07.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-11T02:11:08.091Z] + git semver [Pipeline] } [2022-11-11T02:11:08.379Z] $ docker stop --time=1 fe95ce9cb5a583e7d2e8e7ae41edb20e33852aa9af48dcc7413adbff3b6d49c4 [2022-11-11T02:11:09.656Z] $ docker rm -f fe95ce9cb5a583e7d2e8e7ae41edb20e33852aa9af48dcc7413adbff3b6d49c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-11T02:11:09.984Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-11T02:11:10.149Z] Stashed 1 file(s) [Pipeline] echo [2022-11-11T02:11:10.152Z] [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 [2022-11-11T02:11:10.290Z] provisioning config files... [2022-11-11T02:11:10.299Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config5269889634028175202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:11:10.588Z] ---> docker-login.sh [2022-11-11T02:11:10.588Z] nexus3.edgexfoundry.org:10001 [2022-11-11T02:11:10.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:10.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:10.588Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:10.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:10.588Z] [2022-11-11T02:11:10.588Z] Login Succeeded [2022-11-11T02:11:10.588Z] nexus3.edgexfoundry.org:10002 [2022-11-11T02:11:10.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:10.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:10.588Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:10.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:10.588Z] [2022-11-11T02:11:10.588Z] Login Succeeded [2022-11-11T02:11:10.588Z] nexus3.edgexfoundry.org:10003 [2022-11-11T02:11:10.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:10.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:10.847Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:10.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:10.847Z] [2022-11-11T02:11:10.847Z] Login Succeeded [2022-11-11T02:11:10.847Z] nexus3.edgexfoundry.org:10004 [2022-11-11T02:11:10.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:10.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:10.847Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:10.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:10.847Z] [2022-11-11T02:11:10.847Z] Login Succeeded [2022-11-11T02:11:10.847Z] docker.io [2022-11-11T02:11:11.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:11:11.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:11:11.365Z] Configure a credential helper to remove this warning. See [2022-11-11T02:11:11.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:11:11.365Z] [2022-11-11T02:11:11.365Z] Login Succeeded [2022-11-11T02:11:11.365Z] ---> docker-login.sh ends [Pipeline] } [2022-11-11T02:11:11.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-11T02:11:11.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-11T02:11:11.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-11T02:11:11.460Z] ========================================================= [2022-11-11T02:11:11.460Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-11T02:11:11.460Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:11:11.761Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-11T02:11:11.761Z] Sending build context to Docker daemon 27.56MB [2022-11-11T02:11:11.761Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-11T02:11:11.761Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-11T02:11:12.021Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-11T02:11:12.021Z] 213ec9aee27d: Pulling fs layer [2022-11-11T02:11:12.021Z] 4583459ba037: Pulling fs layer [2022-11-11T02:11:12.021Z] 93c1e223e6f2: Pulling fs layer [2022-11-11T02:11:12.021Z] 53926ce57604: Pulling fs layer [2022-11-11T02:11:12.021Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-11T02:11:12.021Z] 22ff95d597cd: Pulling fs layer [2022-11-11T02:11:12.021Z] 12d6caf4c0d1: Pulling fs layer [2022-11-11T02:11:12.021Z] 96b7cbca73a9: Pulling fs layer [2022-11-11T02:11:12.021Z] a7acece74701: Pulling fs layer [2022-11-11T02:11:12.021Z] 21b2b0c7a3f4: Waiting [2022-11-11T02:11:12.021Z] 22ff95d597cd: Waiting [2022-11-11T02:11:12.021Z] a7acece74701: Waiting [2022-11-11T02:11:12.021Z] 12d6caf4c0d1: Waiting [2022-11-11T02:11:12.021Z] 96b7cbca73a9: Waiting [2022-11-11T02:11:12.021Z] 53926ce57604: Waiting [2022-11-11T02:11:12.021Z] 93c1e223e6f2: Verifying Checksum [2022-11-11T02:11:12.021Z] 93c1e223e6f2: Download complete [2022-11-11T02:11:12.021Z] 4583459ba037: Verifying Checksum [2022-11-11T02:11:12.021Z] 4583459ba037: Download complete [2022-11-11T02:11:12.021Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-11T02:11:12.021Z] 21b2b0c7a3f4: Download complete [2022-11-11T02:11:12.021Z] 22ff95d597cd: Verifying Checksum [2022-11-11T02:11:12.021Z] 22ff95d597cd: Download complete [2022-11-11T02:11:12.021Z] 213ec9aee27d: Download complete [2022-11-11T02:11:12.021Z] 12d6caf4c0d1: Verifying Checksum [2022-11-11T02:11:12.290Z] 213ec9aee27d: Pull complete [2022-11-11T02:11:12.290Z] 4583459ba037: Pull complete [2022-11-11T02:11:12.290Z] 93c1e223e6f2: Pull complete [2022-11-11T02:11:12.872Z] a7acece74701: Verifying Checksum [2022-11-11T02:11:12.872Z] a7acece74701: Download complete [2022-11-11T02:11:12.872Z] 53926ce57604: Verifying Checksum [2022-11-11T02:11:12.872Z] 53926ce57604: Download complete [2022-11-11T02:11:13.132Z] 96b7cbca73a9: Verifying Checksum [2022-11-11T02:11:13.132Z] 96b7cbca73a9: Download complete [2022-11-11T02:11:16.422Z] 53926ce57604: Pull complete [2022-11-11T02:11:16.422Z] 21b2b0c7a3f4: Pull complete [2022-11-11T02:11:16.422Z] 22ff95d597cd: Pull complete [2022-11-11T02:11:16.422Z] 12d6caf4c0d1: Pull complete [2022-11-11T02:11:18.322Z] 96b7cbca73a9: Pull complete [2022-11-11T02:11:19.263Z] a7acece74701: Pull complete [2022-11-11T02:11:19.263Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-11T02:11:19.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-11T02:11:19.263Z] ---> db6d94c90886 [2022-11-11T02:11:19.263Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-11T02:11:24.532Z] ---> Running in 9b12133698fe [2022-11-11T02:11:24.532Z] Removing intermediate container 9b12133698fe [2022-11-11T02:11:24.532Z] ---> daa5bc01855e [2022-11-11T02:11:24.532Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-11T02:11:24.532Z] ---> Running in 18c7515e9d24 [2022-11-11T02:11:24.532Z] Removing intermediate container 18c7515e9d24 [2022-11-11T02:11:24.532Z] ---> b290396d53da [2022-11-11T02:11:24.532Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-11T02:11:24.532Z] ---> Running in 5f60a864c2ae [2022-11-11T02:11:24.532Z] Removing intermediate container 5f60a864c2ae [2022-11-11T02:11:24.532Z] ---> 9de4c6e253dd [2022-11-11T02:11:24.532Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-11T02:11:24.532Z] ---> Running in 55038a3565e0 [2022-11-11T02:11:24.532Z] Removing intermediate container 55038a3565e0 [2022-11-11T02:11:24.532Z] ---> 95d5a7a9f470 [2022-11-11T02:11:24.532Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-11T02:11:24.532Z] ---> Running in 385a518c3461 [2022-11-11T02:11:24.532Z] Removing intermediate container 385a518c3461 [2022-11-11T02:11:24.532Z] ---> 7d2bc97a8159 [2022-11-11T02:11:24.532Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-11T02:11:24.532Z] ---> Running in 087ca8e12501 [2022-11-11T02:11:24.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-11T02:11:24.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-11T02:11:24.792Z] OK: 211 MiB in 51 packages [2022-11-11T02:11:25.248Z] Still waiting to schedule task [2022-11-11T02:11:25.249Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118979’ [2022-11-11T02:11:25.363Z] Removing intermediate container 087ca8e12501 [2022-11-11T02:11:25.363Z] ---> d3e9a06e76d6 [2022-11-11T02:11:25.363Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-11T02:11:25.363Z] ---> Running in fbaf6db9d7df [2022-11-11T02:11:25.363Z] Removing intermediate container fbaf6db9d7df [2022-11-11T02:11:25.363Z] ---> 14f6d6675d88 [2022-11-11T02:11:25.363Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-11T02:11:25.363Z] ---> 59b0660667c8 [2022-11-11T02:11:25.363Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-11T02:11:25.363Z] ---> Running in 485ef58a1e0a [2022-11-11T02:11:57.449Z] Removing intermediate container 485ef58a1e0a [2022-11-11T02:11:57.449Z] ---> b18747f95826 [2022-11-11T02:11:57.449Z] Step 12/13 : COPY . . [2022-11-11T02:11:57.449Z] ---> a8c1f7b1c01f [2022-11-11T02:11:57.449Z] Step 13/13 : RUN ${MAKE} [2022-11-11T02:11:57.449Z] ---> Running in 4757a9f80a31 [2022-11-11T02:11:57.449Z] noop [2022-11-11T02:11:57.449Z] Removing intermediate container 4757a9f80a31 [2022-11-11T02:11:57.449Z] ---> 1a59ddd84979 [2022-11-11T02:11:57.449Z] Successfully built 1a59ddd84979 [2022-11-11T02:11:57.449Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:11:57.771Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-11T02:11:57.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:11:57.864Z] prd-ubuntu20.04-docker-8c-8g-118981 does not seem to be running inside a container [2022-11-11T02:11:57.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-11T02:11:58.232Z] $ docker top dcfb3079092cb40c7d412d71ec241a9c5d0213c698d7fb3cd20408b8547ca945 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:11:58.605Z] + go version [2022-11-11T02:11:58.605Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-11T02:11:58.642Z] $ docker stop --time=1 dcfb3079092cb40c7d412d71ec241a9c5d0213c698d7fb3cd20408b8547ca945 [2022-11-11T02:11:59.886Z] $ docker rm -f dcfb3079092cb40c7d412d71ec241a9c5d0213c698d7fb3cd20408b8547ca945 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:12:00.275Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-11T02:12:00.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:12:00.340Z] prd-ubuntu20.04-docker-8c-8g-118981 does not seem to be running inside a container [2022-11-11T02:12:00.374Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-11T02:12:00.683Z] $ docker top 1a39fd16f7b339892fee9bacc646f21ff8c6c91f2b3c52239dfac29af77817a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:12:01.022Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] fileExists [Pipeline] sh [2022-11-11T02:12:01.317Z] + make test [2022-11-11T02:12:01.317Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-11T02:12:01.575Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-11T02:12:11.545Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-11T02:12:14.826Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements [2022-11-11T02:12:14.826Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-11T02:12:14.826Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.328s coverage: 86.5% of statements [2022-11-11T02:12:21.387Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-11T02:12:21.387Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-11T02:12:24.667Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-11T02:12:24.667Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-11T02:12:24.667Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-11T02:12:24.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-11T02:12:24.946Z] $ docker stop --time=1 1a39fd16f7b339892fee9bacc646f21ff8c6c91f2b3c52239dfac29af77817a1 [2022-11-11T02:12:27.187Z] $ docker rm -f 1a39fd16f7b339892fee9bacc646f21ff8c6c91f2b3c52239dfac29af77817a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-11T02:12:27.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-11T02:12:27.676Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-11T02:12:28.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-11T02:12:28.503Z] + ls -al . [2022-11-11T02:12:28.503Z] total 248 [2022-11-11T02:12:28.503Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 02:12 . [2022-11-11T02:12:28.503Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:10 .. [2022-11-11T02:12:28.503Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 02:12 .git [2022-11-11T02:12:28.503Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:10 .github [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 11 02:10 .gitignore [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 02:10 .golangci.yml [2022-11-11T02:12:28.503Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 02:11 .semver [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 11 02:10 Attribution.txt [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 11 02:10 CHANGELOG.md [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 11 02:10 Dockerfile [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 02:10 GOVERNANCE.md [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 11 02:10 Jenkinsfile [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 02:10 LICENSE [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 11 02:10 Makefile [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 02:10 OWNERS.md [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 11 02:10 README.md [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 02:11 VERSION [2022-11-11T02:12:28.503Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 02:10 bin [2022-11-11T02:12:28.503Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:10 cmd [2022-11-11T02:12:28.503Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 11 02:12 coverage.out [2022-11-11T02:12:28.503Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 02:10 doc [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 11 02:10 go.mod [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 46282 Nov 11 02:10 go.sum [2022-11-11T02:12:28.503Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:10 internal [2022-11-11T02:12:28.503Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:10 snap [2022-11-11T02:12:28.503Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 02:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:12:28.803Z] + 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=3384badf184e22b3e32d63c608c1b10ad1c21b31 --label arch=amd64 --label version=0.0.0 . [2022-11-11T02:12:28.803Z] Sending build context to Docker daemon 27.64MB [2022-11-11T02:12:28.803Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-11T02:12:28.803Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-11T02:12:28.803Z] ---> 1a59ddd84979 [2022-11-11T02:12:28.803Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-11T02:12:29.068Z] ---> Running in 8a5f6ac8fc2e [2022-11-11T02:12:29.326Z] Removing intermediate container 8a5f6ac8fc2e [2022-11-11T02:12:29.326Z] ---> e448d55cfda7 [2022-11-11T02:12:29.326Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-11T02:12:29.326Z] ---> Running in 0fb51c54b3a9 [2022-11-11T02:12:29.326Z] Removing intermediate container 0fb51c54b3a9 [2022-11-11T02:12:29.326Z] ---> f4cd856b105c [2022-11-11T02:12:29.326Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-11T02:12:29.326Z] ---> Running in e36180cdc7b4 [2022-11-11T02:12:29.326Z] Removing intermediate container e36180cdc7b4 [2022-11-11T02:12:29.326Z] ---> 77bcc7271082 [2022-11-11T02:12:29.326Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-11T02:12:29.326Z] ---> Running in 401616e3f695 [2022-11-11T02:12:29.584Z] Removing intermediate container 401616e3f695 [2022-11-11T02:12:29.584Z] ---> 18b5e4aae570 [2022-11-11T02:12:29.584Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-11T02:12:29.584Z] ---> Running in af696638c999 [2022-11-11T02:12:29.584Z] Removing intermediate container af696638c999 [2022-11-11T02:12:29.584Z] ---> 36220de7dc93 [2022-11-11T02:12:29.584Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-11T02:12:29.584Z] ---> Running in ff9bf635a667 [2022-11-11T02:12:29.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-11T02:12:30.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-11T02:12:30.362Z] OK: 211 MiB in 51 packages [2022-11-11T02:12:30.622Z] Removing intermediate container ff9bf635a667 [2022-11-11T02:12:30.622Z] ---> eb76fd1b5fa5 [2022-11-11T02:12:30.622Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-11T02:12:30.622Z] ---> Running in 3614df596f62 [2022-11-11T02:12:30.622Z] Removing intermediate container 3614df596f62 [2022-11-11T02:12:30.622Z] ---> 9ac4385db01f [2022-11-11T02:12:30.622Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-11T02:12:30.881Z] ---> 180e7238c3ac [2022-11-11T02:12:30.881Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-11T02:12:30.881Z] ---> Running in 8c501f86b7e7 [2022-11-11T02:12:31.448Z] Removing intermediate container 8c501f86b7e7 [2022-11-11T02:12:31.448Z] ---> 1b336a16a6df [2022-11-11T02:12:31.448Z] Step 12/26 : COPY . . [2022-11-11T02:12:32.382Z] ---> f9150b3b95ea [2022-11-11T02:12:32.382Z] Step 13/26 : RUN ${MAKE} [2022-11-11T02:12:32.382Z] ---> Running in 2ff544e3e13b [2022-11-11T02:12:32.382Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-11T02:12:54.298Z] Removing intermediate container 2ff544e3e13b [2022-11-11T02:12:54.298Z] ---> f20cddf564a7 [2022-11-11T02:12:54.298Z] Step 14/26 : FROM alpine:3.16 [2022-11-11T02:12:54.298Z] 3.16: Pulling from library/alpine [2022-11-11T02:12:54.298Z] 213ec9aee27d: Already exists [2022-11-11T02:12:54.298Z] Digest: sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e [2022-11-11T02:12:54.298Z] Status: Downloaded newer image for alpine:3.16 [2022-11-11T02:12:54.298Z] ---> 9c6f07244728 [2022-11-11T02:12:54.298Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-11T02:12:54.298Z] ---> Running in 0c9470737a70 [2022-11-11T02:12:54.298Z] Removing intermediate container 0c9470737a70 [2022-11-11T02:12:54.298Z] ---> 19b43d09aa2c [2022-11-11T02:12:54.298Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-11T02:12:54.298Z] ---> Running in b6744bcdd758 [2022-11-11T02:12:54.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-11T02:12:54.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-11T02:12:54.816Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-11T02:12:55.075Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-11T02:12:55.075Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-11T02:12:55.075Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-11T02:12:55.075Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-11T02:12:55.075Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-11T02:12:55.075Z] Executing busybox-1.35.0-r17.trigger [2022-11-11T02:12:55.075Z] OK: 8 MiB in 20 packages [2022-11-11T02:12:55.334Z] Removing intermediate container b6744bcdd758 [2022-11-11T02:12:55.334Z] ---> e2295fc45560 [2022-11-11T02:12:55.334Z] Step 17/26 : WORKDIR / [2022-11-11T02:12:55.334Z] ---> Running in f1c973946b49 [2022-11-11T02:12:55.598Z] Removing intermediate container f1c973946b49 [2022-11-11T02:12:55.598Z] ---> 614a32af6248 [2022-11-11T02:12:55.598Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-11T02:12:56.171Z] ---> 6a8f24115c2a [2022-11-11T02:12:56.171Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-11T02:12:56.444Z] ---> b5fc2fe403f5 [2022-11-11T02:12:56.444Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-11T02:12:56.444Z] ---> 4b5a5868592e [2022-11-11T02:12:56.444Z] Step 21/26 : EXPOSE 59984 [2022-11-11T02:12:56.444Z] ---> Running in 4186835d5832 [2022-11-11T02:12:56.444Z] Removing intermediate container 4186835d5832 [2022-11-11T02:12:56.444Z] ---> 152a9e12168a [2022-11-11T02:12:56.444Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-11T02:12:56.444Z] ---> Running in cab8089c9855 [2022-11-11T02:12:56.716Z] Removing intermediate container cab8089c9855 [2022-11-11T02:12:56.716Z] ---> 461d2a36cc57 [2022-11-11T02:12:56.716Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-11T02:12:56.716Z] ---> Running in cb5b5ca19548 [2022-11-11T02:12:56.716Z] Removing intermediate container cb5b5ca19548 [2022-11-11T02:12:56.716Z] ---> 0c7646156920 [2022-11-11T02:12:56.716Z] Step 24/26 : LABEL arch=amd64 [2022-11-11T02:12:56.716Z] ---> Running in e1872a9d1730 [2022-11-11T02:12:56.716Z] Removing intermediate container e1872a9d1730 [2022-11-11T02:12:56.716Z] ---> dfdc10f6776e [2022-11-11T02:12:56.716Z] Step 25/26 : LABEL git_sha=3384badf184e22b3e32d63c608c1b10ad1c21b31 [2022-11-11T02:12:56.716Z] ---> Running in 07d21e876cb3 [2022-11-11T02:12:56.978Z] Removing intermediate container 07d21e876cb3 [2022-11-11T02:12:56.978Z] ---> 85f3df59e5be [2022-11-11T02:12:56.978Z] Step 26/26 : LABEL version=0.0.0 [2022-11-11T02:12:56.978Z] ---> Running in 52ab5adc32f7 [2022-11-11T02:12:57.547Z] Removing intermediate container 52ab5adc32f7 [2022-11-11T02:12:57.547Z] ---> d3ae3efcb35f [2022-11-11T02:12:57.547Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-11T02:12:57.547Z] Successfully built d3ae3efcb35f [2022-11-11T02:12:57.547Z] 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 [2022-11-11T02:12:58.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-11T02:12:58.024Z] [2022-11-11T02:12:58.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:12:58.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-11T02:12:58.969Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-11T02:12:58.969Z] 5eb5b503b376: Pulling fs layer [2022-11-11T02:12:58.969Z] 5c69ac0246d0: Pulling fs layer [2022-11-11T02:12:58.969Z] ec43610c2a17: Pulling fs layer [2022-11-11T02:12:58.969Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-11T02:12:58.969Z] 33b1e0a273af: Pulling fs layer [2022-11-11T02:12:58.969Z] 5d3b04190fa2: Pulling fs layer [2022-11-11T02:12:58.969Z] 2f39f015ded8: Pulling fs layer [2022-11-11T02:12:58.969Z] 3a2ae6a8a46f: Waiting [2022-11-11T02:12:58.969Z] 5d3b04190fa2: Waiting [2022-11-11T02:12:58.969Z] 33b1e0a273af: Waiting [2022-11-11T02:12:58.969Z] 2f39f015ded8: Waiting [2022-11-11T02:12:58.969Z] 5c69ac0246d0: Verifying Checksum [2022-11-11T02:12:58.969Z] 5c69ac0246d0: Download complete [2022-11-11T02:12:58.969Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-11T02:12:58.969Z] 3a2ae6a8a46f: Download complete [2022-11-11T02:12:59.230Z] ec43610c2a17: Verifying Checksum [2022-11-11T02:12:59.230Z] ec43610c2a17: Download complete [2022-11-11T02:12:59.230Z] 33b1e0a273af: Verifying Checksum [2022-11-11T02:12:59.230Z] 33b1e0a273af: Download complete [2022-11-11T02:12:59.230Z] 5d3b04190fa2: Verifying Checksum [2022-11-11T02:12:59.230Z] 5d3b04190fa2: Download complete [2022-11-11T02:12:59.230Z] 5eb5b503b376: Verifying Checksum [2022-11-11T02:12:59.230Z] 5eb5b503b376: Download complete [2022-11-11T02:12:59.814Z] 2f39f015ded8: Verifying Checksum [2022-11-11T02:12:59.814Z] 2f39f015ded8: Download complete [2022-11-11T02:13:00.394Z] 5eb5b503b376: Pull complete [2022-11-11T02:13:00.394Z] 5c69ac0246d0: Pull complete [2022-11-11T02:13:00.959Z] ec43610c2a17: Pull complete [2022-11-11T02:13:00.959Z] 3a2ae6a8a46f: Pull complete [2022-11-11T02:13:01.216Z] 33b1e0a273af: Pull complete [2022-11-11T02:13:01.216Z] 5d3b04190fa2: Pull complete [2022-11-11T02:13:05.467Z] 2f39f015ded8: Pull complete [2022-11-11T02:13:05.467Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-11T02:13:05.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-11T02:13:05.467Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:13:05.535Z] prd-ubuntu20.04-docker-8c-8g-118981 does not seem to be running inside a container [2022-11-11T02:13:05.619Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-11T02:13:09.178Z] $ docker top 475057bab04c57f0c7aff75aa5748a30c7dfc8c6913dd8779e8d69d93562f687 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:13:09.625Z] ---> job-cost.sh [2022-11-11T02:13:09.626Z] lf-activate-venv: SKIPPING [2022-11-11T02:13:09.626Z] INFO: No Stack... [2022-11-11T02:13:09.883Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-11T02:13:10.147Z] INFO: Archiving Costs [Pipeline] sh [2022-11-11T02:13:10.435Z] + cat /w/workspace/undry_device-onvif-camera_PR-184/archives/cost.csv [2022-11-11T02:13:10.435Z] + cut -d, -f6 [Pipeline] lock [2022-11-11T02:13:10.444Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-12-stack-cost] [2022-11-11T02:13:10.450Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-12-stack-cost] did not exist. Created. [2022-11-11T02:13:10.450Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-11T02:13:10.805Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-11T02:13:10.847Z] Stashed 1 file(s) [Pipeline] } [2022-11-11T02:13:10.855Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-11T02:13:10.874Z] $ docker stop --time=1 475057bab04c57f0c7aff75aa5748a30c7dfc8c6913dd8779e8d69d93562f687 [2022-11-11T02:13:12.206Z] $ docker rm -f 475057bab04c57f0c7aff75aa5748a30c7dfc8c6913dd8779e8d69d93562f687 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-11T02:13:53.574Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118985 in /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] { [Pipeline] ws [2022-11-11T02:13:53.587Z] Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout [2022-11-11T02:13:53.625Z] The recommended git tool is: git [2022-11-11T02:13:59.257Z] using credential edgex-jenkins-ssh [2022-11-11T02:13:59.282Z] Cloning the remote Git repository [2022-11-11T02:13:59.338Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-11T02:13:59.443Z] > git init /w/workspace/device-onvif-camera/12 # timeout=10 [2022-11-11T02:13:59.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-11T02:13:59.623Z] > git --version # timeout=10 [2022-11-11T02:13:59.659Z] > git --version # 'git version 2.25.1' [2022-11-11T02:13:59.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-11T02:13:59.725Z] Verifying host key using known hosts file [2022-11-11T02:13:59.970Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-11T02:13:59.985Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-11T02:14:01.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-11T02:14:01.580Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-11T02:14:03.296Z] Merging remotes/origin/main commit 12ac4ca00df350acb7aaa5b8264558c40625f436 into PR head commit 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 [2022-11-11T02:14:02.562Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-11T02:14:02.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-11T02:14:02.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-11T02:14:02.631Z] Verifying host key using known hosts file [2022-11-11T02:14:02.641Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-11T02:14:02.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-11T02:14:03.313Z] > git config core.sparsecheckout # timeout=10 [2022-11-11T02:14:03.350Z] > git checkout -f 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 # timeout=10 [2022-11-11T02:14:03.636Z] > git remote # timeout=10 [2022-11-11T02:14:03.655Z] > git config --get remote.origin.url # timeout=10 [2022-11-11T02:14:03.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-11T02:14:03.685Z] Verifying host key using known hosts file [2022-11-11T02:14:03.688Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-11T02:14:03.697Z] > git merge 12ac4ca00df350acb7aaa5b8264558c40625f436 # timeout=10 [2022-11-11T02:14:04.241Z] Merge succeeded, producing cc398a3025ba974bdf6cb16abcb148f32c7ad756 [2022-11-11T02:14:04.242Z] Checking out Revision cc398a3025ba974bdf6cb16abcb148f32c7ad756 (PR-184) [2022-11-11T02:14:04.220Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-11T02:14:04.248Z] > git config core.sparsecheckout # timeout=10 [2022-11-11T02:14:04.276Z] > git checkout -f cc398a3025ba974bdf6cb16abcb148f32c7ad756 # timeout=10 [2022-11-11T02:14:07.823Z] Commit message: "Merge commit '12ac4ca00df350acb7aaa5b8264558c40625f436' into HEAD" [2022-11-11T02:14:07.851Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-11T02:14:07.832Z] > git rev-list --no-walk 8882cdaa1a406bc66c8eaed3bd42cf39107f6149 # timeout=10 [2022-11-11T02:14:08.841Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-11T02:14:08.841Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-11T02:14:08.841Z] Dload Upload Total Spent Left Speed [2022-11-11T02:14:08.841Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 70402 0 --:--:-- --:--:-- --:--:-- 70402 [Pipeline] sh [2022-11-11T02:14:09.572Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-11T02:14:09.904Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-11T02:14:09.904Z] + sudo tee /etc/docker/daemon.new [2022-11-11T02:14:09.904Z] { [2022-11-11T02:14:09.904Z] "registry-mirrors": [ [2022-11-11T02:14:09.904Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-11T02:14:09.904Z] ], [2022-11-11T02:14:09.904Z] "bip": "10.250.0.254/24", [2022-11-11T02:14:09.904Z] "hosts": [ [2022-11-11T02:14:09.904Z] "tcp://0.0.0.0:5555", [2022-11-11T02:14:09.904Z] "unix:///var/run/docker.sock" [2022-11-11T02:14:09.904Z] ], [2022-11-11T02:14:09.904Z] "mtu": 1458, [2022-11-11T02:14:09.904Z] "selinux-enabled": true, [2022-11-11T02:14:09.904Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-11T02:14:09.904Z] } [Pipeline] sh [2022-11-11T02:14:10.252Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-11T02:14:10.587Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-11T02:14:28.862Z] provisioning config files... [2022-11-11T02:14:28.894Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config13203262937734046342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:14:29.259Z] ---> docker-login.sh [2022-11-11T02:14:29.259Z] nexus3.edgexfoundry.org:10001 [2022-11-11T02:14:29.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:14:30.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:14:30.119Z] Configure a credential helper to remove this warning. See [2022-11-11T02:14:30.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:14:30.119Z] [2022-11-11T02:14:30.119Z] Login Succeeded [2022-11-11T02:14:30.119Z] nexus3.edgexfoundry.org:10002 [2022-11-11T02:14:30.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:14:30.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:14:30.389Z] Configure a credential helper to remove this warning. See [2022-11-11T02:14:30.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:14:30.389Z] [2022-11-11T02:14:30.389Z] Login Succeeded [2022-11-11T02:14:30.389Z] nexus3.edgexfoundry.org:10003 [2022-11-11T02:14:30.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:14:30.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:14:30.658Z] Configure a credential helper to remove this warning. See [2022-11-11T02:14:30.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:14:30.658Z] [2022-11-11T02:14:30.658Z] Login Succeeded [2022-11-11T02:14:30.930Z] nexus3.edgexfoundry.org:10004 [2022-11-11T02:14:31.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:14:31.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:14:31.206Z] Configure a credential helper to remove this warning. See [2022-11-11T02:14:31.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:14:31.206Z] [2022-11-11T02:14:31.206Z] Login Succeeded [2022-11-11T02:14:31.206Z] docker.io [2022-11-11T02:14:31.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-11T02:14:31.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-11T02:14:31.751Z] Configure a credential helper to remove this warning. See [2022-11-11T02:14:31.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-11T02:14:31.751Z] [2022-11-11T02:14:31.751Z] Login Succeeded [2022-11-11T02:14:31.751Z] ---> docker-login.sh ends [Pipeline] } [2022-11-11T02:14:31.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-11T02:14:31.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-11T02:14:31.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-11T02:14:31.988Z] ========================================================= [2022-11-11T02:14:31.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-11T02:14:31.988Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:14:32.349Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-11T02:14:32.953Z] Sending build context to Docker daemon 20.48MB [2022-11-11T02:14:32.953Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-11T02:14:32.953Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-11T02:14:33.230Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-11T02:14:33.231Z] 9b18e9b68314: Pulling fs layer [2022-11-11T02:14:33.231Z] 35d82f9e3411: Pulling fs layer [2022-11-11T02:14:33.231Z] e16973657156: Pulling fs layer [2022-11-11T02:14:33.231Z] fc693d55d65f: Pulling fs layer [2022-11-11T02:14:33.231Z] 7e9fc2657dce: Pulling fs layer [2022-11-11T02:14:33.231Z] fc693d55d65f: Waiting [2022-11-11T02:14:33.231Z] dda99020689f: Pulling fs layer [2022-11-11T02:14:33.231Z] db1c61fa0a46: Pulling fs layer [2022-11-11T02:14:33.231Z] 891c053d2c06: Pulling fs layer [2022-11-11T02:14:33.231Z] dda99020689f: Waiting [2022-11-11T02:14:33.231Z] 891c053d2c06: Waiting [2022-11-11T02:14:33.231Z] db1c61fa0a46: Waiting [2022-11-11T02:14:33.231Z] e16973657156: Verifying Checksum [2022-11-11T02:14:33.231Z] e16973657156: Download complete [2022-11-11T02:14:33.231Z] 35d82f9e3411: Verifying Checksum [2022-11-11T02:14:33.231Z] 35d82f9e3411: Download complete [2022-11-11T02:14:33.231Z] 7e9fc2657dce: Verifying Checksum [2022-11-11T02:14:33.231Z] 7e9fc2657dce: Download complete [2022-11-11T02:14:33.231Z] dda99020689f: Verifying Checksum [2022-11-11T02:14:33.231Z] dda99020689f: Download complete [2022-11-11T02:14:33.231Z] 9b18e9b68314: Verifying Checksum [2022-11-11T02:14:34.207Z] 9b18e9b68314: Pull complete [2022-11-11T02:14:34.478Z] 891c053d2c06: Verifying Checksum [2022-11-11T02:14:34.478Z] 891c053d2c06: Download complete [2022-11-11T02:14:35.078Z] 35d82f9e3411: Pull complete [2022-11-11T02:14:35.353Z] e16973657156: Pull complete [2022-11-11T02:14:35.626Z] db1c61fa0a46: Verifying Checksum [2022-11-11T02:14:35.626Z] db1c61fa0a46: Download complete [2022-11-11T02:14:36.214Z] fc693d55d65f: Verifying Checksum [2022-11-11T02:14:36.214Z] fc693d55d65f: Download complete [2022-11-11T02:14:48.546Z] fc693d55d65f: Pull complete [2022-11-11T02:14:48.547Z] 7e9fc2657dce: Pull complete [2022-11-11T02:14:48.547Z] dda99020689f: Pull complete [2022-11-11T02:14:53.925Z] db1c61fa0a46: Pull complete [2022-11-11T02:14:54.904Z] 891c053d2c06: Pull complete [2022-11-11T02:14:54.904Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-11T02:14:54.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-11T02:14:54.904Z] ---> f96f9c87975a [2022-11-11T02:14:54.904Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-11T02:14:56.863Z] ---> Running in 2d5342cec435 [2022-11-11T02:14:57.135Z] Removing intermediate container 2d5342cec435 [2022-11-11T02:14:57.135Z] ---> a3e29f148305 [2022-11-11T02:14:57.135Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-11T02:14:57.404Z] ---> Running in 586b38e06999 [2022-11-11T02:14:57.673Z] Removing intermediate container 586b38e06999 [2022-11-11T02:14:57.673Z] ---> f2dde31256f2 [2022-11-11T02:14:57.673Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-11T02:14:57.673Z] ---> Running in 9951d607e472 [2022-11-11T02:14:57.943Z] Removing intermediate container 9951d607e472 [2022-11-11T02:14:57.943Z] ---> 5034ccf1840b [2022-11-11T02:14:57.943Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-11T02:14:58.210Z] ---> Running in 08f584dbfd71 [2022-11-11T02:14:58.478Z] Removing intermediate container 08f584dbfd71 [2022-11-11T02:14:58.478Z] ---> 4382e8b410fc [2022-11-11T02:14:58.478Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-11T02:14:58.478Z] ---> Running in bee1d71a385b [2022-11-11T02:14:58.751Z] Removing intermediate container bee1d71a385b [2022-11-11T02:14:58.751Z] ---> c50b54e910ef [2022-11-11T02:14:58.751Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-11T02:14:59.020Z] ---> Running in 1f4a30935feb [2022-11-11T02:14:59.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-11T02:15:00.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-11T02:15:01.543Z] OK: 221 MiB in 51 packages [2022-11-11T02:15:02.519Z] Removing intermediate container 1f4a30935feb [2022-11-11T02:15:02.519Z] ---> 41d71532fbfc [2022-11-11T02:15:02.519Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-11T02:15:02.519Z] ---> Running in 1343335d8005 [2022-11-11T02:15:02.786Z] Removing intermediate container 1343335d8005 [2022-11-11T02:15:02.786Z] ---> 4df9154e5f8a [2022-11-11T02:15:02.786Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-11T02:15:03.373Z] ---> d3320b916023 [2022-11-11T02:15:03.373Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-11T02:15:03.373Z] ---> Running in ea58f6ee6d03 [2022-11-11T02:15:59.802Z] Removing intermediate container ea58f6ee6d03 [2022-11-11T02:15:59.802Z] ---> 08e1c4c55a81 [2022-11-11T02:15:59.802Z] Step 12/13 : COPY . . [2022-11-11T02:15:59.802Z] ---> 92217f6724fe [2022-11-11T02:15:59.802Z] Step 13/13 : RUN ${MAKE} [2022-11-11T02:15:59.802Z] ---> Running in 380fb81479f7 [2022-11-11T02:16:00.070Z] noop [2022-11-11T02:16:00.660Z] Removing intermediate container 380fb81479f7 [2022-11-11T02:16:00.660Z] ---> dfdf9da5d86d [2022-11-11T02:16:00.928Z] Successfully built dfdf9da5d86d [2022-11-11T02:16:00.928Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:16:01.284Z] + docker inspect -f . ci-base-image-arm64 [2022-11-11T02:16:01.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:16:01.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-118985 does not seem to be running inside a container [2022-11-11T02:16:01.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 ******** ci-base-image-arm64 cat [2022-11-11T02:16:02.778Z] $ docker top 00a979803fa8cd34d3d769159ae8be7109c3791b62d76264c44b33eb41f5c536 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:16:03.782Z] + go version [2022-11-11T02:16:03.782Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-11T02:16:03.807Z] $ docker stop --time=1 00a979803fa8cd34d3d769159ae8be7109c3791b62d76264c44b33eb41f5c536 [2022-11-11T02:16:05.473Z] $ docker rm -f 00a979803fa8cd34d3d769159ae8be7109c3791b62d76264c44b33eb41f5c536 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:16:06.047Z] + docker inspect -f . ci-base-image-arm64 [2022-11-11T02:16:06.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:16:06.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-118985 does not seem to be running inside a container [2022-11-11T02:16:06.322Z] $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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 ******** ci-base-image-arm64 cat [2022-11-11T02:16:07.559Z] $ docker top d6fa54ff321ff4741222554be29643348292ae38932128fe8068823f1feb4c9a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:16:08.086Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/12 [Pipeline] fileExists [Pipeline] sh [2022-11-11T02:16:08.682Z] + make test [2022-11-11T02:16:08.683Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-11T02:16:10.626Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-11T02:17:47.327Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-11T02:17:59.700Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.225s coverage: 29.3% of statements [2022-11-11T02:17:59.700Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-11T02:18:14.725Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.465s coverage: 86.5% of statements [2022-11-11T02:18:14.725Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-11T02:18:14.725Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-11T02:18:53.668Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-11T02:18:53.668Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-11T02:18:53.668Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-11T02:18:53.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-11T02:18:53.710Z] $ docker stop --time=1 d6fa54ff321ff4741222554be29643348292ae38932128fe8068823f1feb4c9a [2022-11-11T02:18:55.984Z] $ docker rm -f d6fa54ff321ff4741222554be29643348292ae38932128fe8068823f1feb4c9a [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-11T02:18:57.189Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-11T02:18:57.212Z] Warning: overwriting stash ‘coverage-report’ [2022-11-11T02:18:57.843Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-11T02:18:58.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-11T02:18:58.570Z] + ls -al . [2022-11-11T02:18:58.570Z] total 244 [2022-11-11T02:18:58.570Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 02:16 . [2022-11-11T02:18:58.570Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:13 .. [2022-11-11T02:18:58.570Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 02:14 .git [2022-11-11T02:18:58.570Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:14 .github [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 11 02:14 .gitignore [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 02:14 .golangci.yml [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 11 02:14 Attribution.txt [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 11 02:14 CHANGELOG.md [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 11 02:14 Dockerfile [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 02:14 GOVERNANCE.md [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 11 02:14 Jenkinsfile [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 11 02:14 LICENSE [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 11 02:14 Makefile [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 02:14 OWNERS.md [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 11 02:14 README.md [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 02:11 VERSION [2022-11-11T02:18:58.570Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 02:14 bin [2022-11-11T02:18:58.570Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 02:14 cmd [2022-11-11T02:18:58.570Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 11 02:18 coverage.out [2022-11-11T02:18:58.570Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 02:14 doc [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 11 02:14 go.mod [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 46282 Nov 11 02:14 go.sum [2022-11-11T02:18:58.570Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:14 internal [2022-11-11T02:18:58.570Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 02:14 snap [2022-11-11T02:18:58.570Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 11 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:18:59.073Z] + 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=cc398a3025ba974bdf6cb16abcb148f32c7ad756 --label arch=arm64 --label version=0.0.0 . [2022-11-11T02:19:00.101Z] Sending build context to Docker daemon 20.56MB [2022-11-11T02:19:00.101Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-11T02:19:00.101Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-11T02:19:00.101Z] ---> dfdf9da5d86d [2022-11-11T02:19:00.101Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-11T02:19:00.376Z] ---> Running in fd19e6090994 [2022-11-11T02:19:00.677Z] Removing intermediate container fd19e6090994 [2022-11-11T02:19:00.677Z] ---> 5e4e97727301 [2022-11-11T02:19:00.677Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-11T02:19:00.956Z] ---> Running in 999ec4e96479 [2022-11-11T02:19:01.576Z] Removing intermediate container 999ec4e96479 [2022-11-11T02:19:01.576Z] ---> d391edb0684d [2022-11-11T02:19:01.576Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-11T02:19:01.576Z] ---> Running in bbe649078772 [2022-11-11T02:19:03.555Z] Removing intermediate container bbe649078772 [2022-11-11T02:19:03.555Z] ---> 4d0269d834fa [2022-11-11T02:19:03.555Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-11T02:19:03.555Z] ---> Running in c552360c80cf [2022-11-11T02:19:03.825Z] Removing intermediate container c552360c80cf [2022-11-11T02:19:03.825Z] ---> f87b5e166723 [2022-11-11T02:19:03.825Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-11T02:19:03.825Z] ---> Running in f71d59378436 [2022-11-11T02:19:04.099Z] Removing intermediate container f71d59378436 [2022-11-11T02:19:04.099Z] ---> 0f2ff0b143a4 [2022-11-11T02:19:04.099Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-11T02:19:04.372Z] ---> Running in 6b3927d78767 [2022-11-11T02:19:07.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-11T02:19:07.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-11T02:19:09.174Z] OK: 221 MiB in 51 packages [2022-11-11T02:19:10.602Z] Removing intermediate container 6b3927d78767 [2022-11-11T02:19:10.602Z] ---> 0b787ded5f73 [2022-11-11T02:19:10.602Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-11T02:19:10.602Z] ---> Running in 5aa416af101a [2022-11-11T02:19:10.872Z] Removing intermediate container 5aa416af101a [2022-11-11T02:19:10.872Z] ---> 12c7d460494b [2022-11-11T02:19:10.872Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-11T02:19:13.465Z] ---> fbfece63c77f [2022-11-11T02:19:13.465Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-11T02:19:13.465Z] ---> Running in e8313a018042 [2022-11-11T02:19:17.742Z] Removing intermediate container e8313a018042 [2022-11-11T02:19:17.742Z] ---> 6180ee82c256 [2022-11-11T02:19:17.742Z] Step 12/26 : COPY . . [2022-11-11T02:19:19.706Z] ---> ee78292ec72f [2022-11-11T02:19:19.706Z] Step 13/26 : RUN ${MAKE} [2022-11-11T02:19:19.706Z] ---> Running in 2ddee2110258 [2022-11-11T02:19:21.151Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-11T02:22:16.003Z] Removing intermediate container 2ddee2110258 [2022-11-11T02:22:16.003Z] ---> 32248c4aeddb [2022-11-11T02:22:16.003Z] Step 14/26 : FROM alpine:3.16 [2022-11-11T02:22:16.003Z] 3.16: Pulling from library/alpine [2022-11-11T02:22:16.003Z] 9b18e9b68314: Already exists [2022-11-11T02:22:16.003Z] Digest: sha256:65a2763f593ae85fab3b5406dc9e80f744ec5b449f269b699b5efd37a07ad32e [2022-11-11T02:22:16.003Z] Status: Downloaded newer image for alpine:3.16 [2022-11-11T02:22:16.003Z] ---> 16d65c69c39d [2022-11-11T02:22:16.003Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-11T02:22:16.003Z] ---> Running in 3d6e81591715 [2022-11-11T02:22:16.003Z] Removing intermediate container 3d6e81591715 [2022-11-11T02:22:16.003Z] ---> 7458c6eac549 [2022-11-11T02:22:16.003Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-11T02:22:16.003Z] ---> Running in a9887f558dfb [2022-11-11T02:22:16.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-11T02:22:16.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-11T02:22:16.003Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-11T02:22:16.003Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-11T02:22:16.003Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-11T02:22:16.003Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-11T02:22:16.003Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-11T02:22:16.003Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-11T02:22:16.003Z] Executing busybox-1.35.0-r17.trigger [2022-11-11T02:22:16.003Z] OK: 8 MiB in 20 packages [2022-11-11T02:22:16.003Z] Removing intermediate container a9887f558dfb [2022-11-11T02:22:16.003Z] ---> f8cf823605e3 [2022-11-11T02:22:16.003Z] Step 17/26 : WORKDIR / [2022-11-11T02:22:16.003Z] ---> Running in d397f92f9b92 [2022-11-11T02:22:16.003Z] Removing intermediate container d397f92f9b92 [2022-11-11T02:22:16.003Z] ---> 1d18bfdbb912 [2022-11-11T02:22:16.003Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-11T02:22:16.003Z] ---> 74e32e948ec2 [2022-11-11T02:22:16.003Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-11T02:22:16.003Z] ---> bf9ff320a480 [2022-11-11T02:22:16.003Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-11T02:22:16.003Z] ---> 0744a65577ad [2022-11-11T02:22:16.003Z] Step 21/26 : EXPOSE 59984 [2022-11-11T02:22:16.003Z] ---> Running in c686edd704ea [2022-11-11T02:22:16.003Z] Removing intermediate container c686edd704ea [2022-11-11T02:22:16.003Z] ---> 7e83014f7c67 [2022-11-11T02:22:16.003Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-11T02:22:16.003Z] ---> Running in f409f2574b23 [2022-11-11T02:22:16.003Z] Removing intermediate container f409f2574b23 [2022-11-11T02:22:16.003Z] ---> 9613cb3f660b [2022-11-11T02:22:16.003Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-11T02:22:16.003Z] ---> Running in 569da69f9aa7 [2022-11-11T02:22:16.003Z] Removing intermediate container 569da69f9aa7 [2022-11-11T02:22:16.003Z] ---> 151c3b5a200b [2022-11-11T02:22:16.003Z] Step 24/26 : LABEL arch=arm64 [2022-11-11T02:22:16.003Z] ---> Running in f9131d25deb7 [2022-11-11T02:22:16.003Z] Removing intermediate container f9131d25deb7 [2022-11-11T02:22:16.003Z] ---> 722799ef4fbc [2022-11-11T02:22:16.003Z] Step 25/26 : LABEL git_sha=cc398a3025ba974bdf6cb16abcb148f32c7ad756 [2022-11-11T02:22:16.003Z] ---> Running in ac7ffea43a85 [2022-11-11T02:22:16.003Z] Removing intermediate container ac7ffea43a85 [2022-11-11T02:22:16.003Z] ---> 6b48932cc3e6 [2022-11-11T02:22:16.003Z] Step 26/26 : LABEL version=0.0.0 [2022-11-11T02:22:16.003Z] ---> Running in 007ef98861e1 [2022-11-11T02:22:16.003Z] Removing intermediate container 007ef98861e1 [2022-11-11T02:22:16.004Z] ---> 10da15999ceb [2022-11-11T02:22:16.004Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-11T02:22:16.004Z] Successfully built 10da15999ceb [2022-11-11T02:22:16.004Z] 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 [2022-11-11T02:22:16.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-11T02:22:16.417Z] [2022-11-11T02:22:16.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:22:16.749Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-11T02:22:17.019Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-11T02:22:17.019Z] 8998bd30e6a1: Pulling fs layer [2022-11-11T02:22:17.019Z] 04944245beec: Pulling fs layer [2022-11-11T02:22:17.019Z] 699f458cf7ca: Pulling fs layer [2022-11-11T02:22:17.019Z] 765212b225bb: Pulling fs layer [2022-11-11T02:22:17.019Z] f23df028b6ca: Pulling fs layer [2022-11-11T02:22:17.019Z] d65c8cfc05b1: Pulling fs layer [2022-11-11T02:22:17.019Z] 2437ff75d9bd: Pulling fs layer [2022-11-11T02:22:17.019Z] 765212b225bb: Waiting [2022-11-11T02:22:17.019Z] f23df028b6ca: Waiting [2022-11-11T02:22:17.019Z] d65c8cfc05b1: Waiting [2022-11-11T02:22:17.019Z] 2437ff75d9bd: Waiting [2022-11-11T02:22:17.019Z] 04944245beec: Verifying Checksum [2022-11-11T02:22:17.019Z] 04944245beec: Download complete [2022-11-11T02:22:17.019Z] 765212b225bb: Verifying Checksum [2022-11-11T02:22:17.019Z] 765212b225bb: Download complete [2022-11-11T02:22:17.019Z] f23df028b6ca: Verifying Checksum [2022-11-11T02:22:17.019Z] f23df028b6ca: Download complete [2022-11-11T02:22:17.019Z] d65c8cfc05b1: Verifying Checksum [2022-11-11T02:22:17.019Z] d65c8cfc05b1: Download complete [2022-11-11T02:22:17.289Z] 699f458cf7ca: Verifying Checksum [2022-11-11T02:22:17.289Z] 699f458cf7ca: Download complete [2022-11-11T02:22:17.559Z] 8998bd30e6a1: Verifying Checksum [2022-11-11T02:22:17.559Z] 8998bd30e6a1: Download complete [2022-11-11T02:22:20.150Z] 2437ff75d9bd: Verifying Checksum [2022-11-11T02:22:20.150Z] 2437ff75d9bd: Download complete [2022-11-11T02:22:21.578Z] 8998bd30e6a1: Pull complete [2022-11-11T02:22:22.165Z] 04944245beec: Pull complete [2022-11-11T02:22:23.572Z] 699f458cf7ca: Pull complete [2022-11-11T02:22:23.572Z] 765212b225bb: Pull complete [2022-11-11T02:22:24.535Z] f23df028b6ca: Pull complete [2022-11-11T02:22:24.804Z] d65c8cfc05b1: Pull complete [2022-11-11T02:22:39.804Z] 2437ff75d9bd: Pull complete [2022-11-11T02:22:39.804Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-11T02:22:39.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-11T02:22:39.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:22:39.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-118985 does not seem to be running inside a container [2022-11-11T02:22:40.045Z] $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@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-lftools-log-publisher:arm64 cat [2022-11-11T02:22:42.825Z] $ docker top 9bdef0693e4c8fd9decff15b04be7c70cd491cd7e9630a94f0cc04cdc564d76d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:22:43.681Z] ---> job-cost.sh [2022-11-11T02:22:43.681Z] lf-activate-venv: SKIPPING [2022-11-11T02:22:43.681Z] INFO: No Stack... [2022-11-11T02:22:44.265Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-11T02:22:45.227Z] INFO: Archiving Costs [Pipeline] sh [2022-11-11T02:22:45.560Z] + cat /w/workspace/device-onvif-camera/12/archives/cost.csv [2022-11-11T02:22:45.827Z] + cut -d, -f6 [Pipeline] lock [2022-11-11T02:22:45.889Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-12-stack-cost] [2022-11-11T02:22:45.895Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-12-stack-cost] did not exist. Created. [2022-11-11T02:22:45.895Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-11T02:22:46.549Z] /w/workspace/device-onvif-camera/12@tmp/durable-7b152e76/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-11T02:22:47.203Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-11T02:22:47.218Z] Warning: overwriting stash ‘stack-cost’ [2022-11-11T02:22:47.282Z] Stashed 1 file(s) [Pipeline] } [2022-11-11T02:22:47.289Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-11T02:22:47.313Z] $ docker stop --time=1 9bdef0693e4c8fd9decff15b04be7c70cd491cd7e9630a94f0cc04cdc564d76d [2022-11-11T02:22:48.822Z] $ docker rm -f 9bdef0693e4c8fd9decff15b04be7c70cd491cd7e9630a94f0cc04cdc564d76d [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 [2022-11-11T02:22:49.235Z] provisioning config files... [2022-11-11T02:22:49.243Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config355035097218408622tmp [Pipeline] { [Pipeline] sh [2022-11-11T02:22:49.534Z] + set +x [2022-11-11T02:22:49.534Z] + curl -s https://codecov.io/bash [2022-11-11T02:22:49.534Z] + bash -s -- [2022-11-11T02:22:49.534Z] [2022-11-11T02:22:49.534Z] _____ _ [2022-11-11T02:22:49.534Z] / ____| | | [2022-11-11T02:22:49.534Z] | | ___ __| | ___ ___ _____ __ [2022-11-11T02:22:49.534Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-11T02:22:49.534Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-11T02:22:49.534Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-11T02:22:49.534Z] Bash-1.0.6 [2022-11-11T02:22:49.534Z] [2022-11-11T02:22:49.534Z] [2022-11-11T02:22:49.534Z] ==> git version 2.25.1 found [2022-11-11T02:22:49.534Z] ==> 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 [2022-11-11T02:22:49.534Z] Release-Date: 2020-01-08 [2022-11-11T02:22:49.534Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-11T02:22:49.534Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-11T02:22:49.534Z] ==> Jenkins CI detected. [2022-11-11T02:22:49.534Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-184 [2022-11-11T02:22:49.534Z] project root: . [2022-11-11T02:22:49.534Z] --> token set from env [2022-11-11T02:22:49.534Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-11T02:22:49.534Z] ==> Running gcov in . (disable via -X gcov) [2022-11-11T02:22:49.534Z] ==> Python coveragepy not found [2022-11-11T02:22:49.534Z] ==> Searching for coverage reports in: [2022-11-11T02:22:49.534Z] + . [2022-11-11T02:22:49.534Z] -> Found 1 reports [2022-11-11T02:22:49.534Z] ==> Detecting git/mercurial file structure [2022-11-11T02:22:49.534Z] ==> Reading reports [2022-11-11T02:22:49.534Z] + ./coverage.out bytes=79184 [2022-11-11T02:22:49.534Z] ==> Appending adjustments [2022-11-11T02:22:49.534Z] https://docs.codecov.io/docs/fixing-reports [2022-11-11T02:22:49.792Z] + Found adjustments [2022-11-11T02:22:49.792Z] ==> Gzipping contents [2022-11-11T02:22:49.792Z] 12K /tmp/codecov.GxLGZF.gz [2022-11-11T02:22:49.792Z] ==> Uploading reports [2022-11-11T02:22:49.792Z] url: https://codecov.io [2022-11-11T02:22:49.792Z] query: branch=PR-184&commit=3384badf184e22b3e32d63c608c1b10ad1c21b31&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-11-11T02:22:49.792Z] -> Pinging Codecov [2022-11-11T02:22:49.792Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-184&commit=3384badf184e22b3e32d63c608c1b10ad1c21b31&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-11-11T02:22:50.358Z] -> Uploading to [2022-11-11T02:22:50.358Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-11/F29A59C45E3A92E06B3E522C9905F8EF/3384badf184e22b3e32d63c608c1b10ad1c21b31/026e518e-6acd-42d7-8134-8cb6df64f604.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221111T022250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67e70bae81513da17ac9be41044d38ee1d973c45a87eed17620c679e273c8460 [2022-11-11T02:22:50.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-11T02:22:50.358Z] Dload Upload Total Spent Left Speed [2022-11-11T02:22:50.616Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10897 0 0 100 10897 0 39481 --:--:-- --:--:-- --:--:-- 39481 [2022-11-11T02:22:50.616Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3384badf184e22b3e32d63c608c1b10ad1c21b31 [Pipeline] } [2022-11-11T02:22:50.623Z] 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 [2022-11-11T02:22:51.333Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-184/archives ] [2022-11-11T02:22:51.333Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-11-11T02:22:51.333Z] total 16 [2022-11-11T02:22:51.333Z] drwxr-xr-x 3 root root 4096 Nov 11 02:13 . [2022-11-11T02:22:51.333Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 02:13 .. [2022-11-11T02:22:51.333Z] drwxr-xr-x 2 root root 4096 Nov 11 02:13 cost [2022-11-11T02:22:51.333Z] -rw-r--r-- 1 root root 92 Nov 11 02:13 cost.csv [2022-11-11T02:22:51.333Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-11-11T02:22:51.333Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-11-11T02:22:51.333Z] total 16 [2022-11-11T02:22:51.333Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 02:13 . [2022-11-11T02:22:51.333Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 02:13 .. [2022-11-11T02:22:51.333Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 02:13 cost [2022-11-11T02:22:51.333Z] -rw-r--r-- 1 jenkins jenkins 92 Nov 11 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:22:51.620Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:22:52.474Z] ---> package-listing.sh [2022-11-11T02:22:52.474Z] ++ facter osfamily [2022-11-11T02:22:52.474Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-11T02:22:52.733Z] + OS_FAMILY=debian [2022-11-11T02:22:52.733Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-184 [2022-11-11T02:22:52.733Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-11T02:22:52.733Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-11T02:22:52.733Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-11T02:22:52.733Z] + PACKAGES=/tmp/packages_start.txt [2022-11-11T02:22:52.733Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-11-11T02:22:52.733Z] + PACKAGES=/tmp/packages_end.txt [2022-11-11T02:22:52.733Z] + case "${OS_FAMILY}" in [2022-11-11T02:22:52.733Z] + dpkg -l [2022-11-11T02:22:52.733Z] + grep '^ii' [2022-11-11T02:22:52.733Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-11T02:22:52.733Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-11T02:22:52.733Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-11T02:22:52.733Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-11-11T02:22:52.733Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-184/archives/ [2022-11-11T02:22:52.733Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-184/archives/ [Pipeline] echo [2022-11-11T02:22:52.742Z] 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-11T02:22:53.018Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-11T02:22:53.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-11T02:22:53.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-11T02:22:53.665Z] prd-ubuntu20.04-docker-8c-8g-118981 does not seem to be running inside a container [2022-11-11T02:22:53.699Z] $ 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-184/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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-11T02:22:54.080Z] $ docker top 2b7a71a33f2eba62ea05b573ebfd0f52bd2a9420e944707ff709c702282f3ec5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-11T02:22:54.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-11T02:22:54.750Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-11T02:22:55.053Z] + ls /var/log/sa-host [2022-11-11T02:22:55.053Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-11T02:22:55.223Z] provisioning config files... [2022-11-11T02:22:55.234Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config9068845472174164747tmp [Pipeline] { [Pipeline] echo [2022-11-11T02:22:55.246Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:22:55.533Z] ---> create-netrc.sh [Pipeline] } [2022-11-11T02:22:55.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:22:55.875Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-11T02:22:55.884Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:22:56.171Z] ---> sudo-logs.sh [2022-11-11T02:22:56.171Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-11T02:22:56.198Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:22:56.480Z] ---> job-cost.sh [2022-11-11T02:22:56.480Z] lf-activate-venv: SKIPPING [2022-11-11T02:22:56.480Z] DEBUG: total: 0.2199999988079071 [2022-11-11T02:22:56.480Z] INFO: Retrieving Stack Cost... [2022-11-11T02:22:56.739Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-11T02:22:57.304Z] INFO: Archiving Costs [Pipeline] echo [2022-11-11T02:22:57.314Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-11T02:22:57.596Z] ---> logs-deploy.sh [2022-11-11T02:22:57.596Z] lf-activate-venv: SKIPPING [2022-11-11T02:22:57.596Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-184/12 [2022-11-11T02:22:57.596Z] INFO: archiving workspace using pattern(s): [2022-11-11T02:22:58.980Z] Archives upload complete. [2022-11-11T02:22:58.980Z] INFO: archiving logs to Nexus