Pull request #180 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 48aac476b513547f736cc1fa92662379694eca8e rather than 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh16578728431001440227.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh8007825243972212669.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13769298017681480030.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh7835828657481370766.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2988791827744787757.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-116926 in /w/workspace/undry_device-onvif-camera_PR-180 [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-180 # 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 > 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 Merge succeeded, producing 83023ddd309b38d06d3e1ed86c7136424cccba1f Checking out Revision 83023ddd309b38d06d3e1ed86c7136424cccba1f (PR-180) > git config core.sparsecheckout # timeout=10 > git checkout -f 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 # 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 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83023ddd309b38d06d3e1ed86c7136424cccba1f # timeout=10 Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T17:28:41.073Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T17:28:41.115Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T17:28:41.127Z] ========================================================= [2022-10-25T17:28:41.127Z] EdgeX Global Pipelines Version Info [2022-10-25T17:28:41.127Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:28:41.833Z] ------------------- [2022-10-25T17:28:41.833Z] stable info: [2022-10-25T17:28:41.833Z] ------------------- [2022-10-25T17:28:41.834Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T17:28:41.834Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T17:28:41.834Z] Message: update stable to v1.0.243 > git rev-list --no-walk e17e456190d9fd031fc12666d0d11c4ba3019b4c # timeout=10 [2022-10-25T17:28:42.405Z] ------------------- [2022-10-25T17:28:42.405Z] experimental info: [2022-10-25T17:28:42.405Z] ------------------- [2022-10-25T17:28:42.405Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T17:28:42.405Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T17:28:42.405Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T17:28:42.563Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-25T17:28:42.574Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-25T17:28:42.585Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T17:28:42.597Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T17:28:42.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T17:28:42.620Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T17:28:42.634Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T17:28:42.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T17:28:42.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T17:28:42.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T17:28:42.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T17:28:42.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-25T17:28:42.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T17:28:42.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T17:28:42.734Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T17:28:42.742Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T17:28:42.751Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T17:28:42.766Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T17:28:42.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T17:28:42.783Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T17:28:42.791Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-25T17:28:42.801Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-25T17:28:42.811Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T17:28:42.820Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T17:28:42.828Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T17:28:42.836Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T17:28:42.844Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T17:28:42.852Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo [2022-10-25T17:28:42.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo [2022-10-25T17:28:42.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo [2022-10-25T17:28:42.903Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] echo [2022-10-25T17:28:42.913Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83023dd [Pipeline] echo [2022-10-25T17:28:42.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T17:28:42.973Z] provisioning config files... [2022-10-25T17:28:43.012Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config15364692965800479922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:28:43.317Z] ---> docker-login.sh [2022-10-25T17:28:43.317Z] nexus3.edgexfoundry.org:10001 [2022-10-25T17:28:43.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:28:43.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:28:43.577Z] Configure a credential helper to remove this warning. See [2022-10-25T17:28:43.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:28:43.577Z] [2022-10-25T17:28:43.577Z] Login Succeeded [2022-10-25T17:28:43.577Z] nexus3.edgexfoundry.org:10002 [2022-10-25T17:28:43.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:28:43.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:28:43.577Z] Configure a credential helper to remove this warning. See [2022-10-25T17:28:43.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:28:43.577Z] [2022-10-25T17:28:43.577Z] Login Succeeded [2022-10-25T17:28:43.577Z] nexus3.edgexfoundry.org:10003 [2022-10-25T17:28:43.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:28:43.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:28:43.846Z] Configure a credential helper to remove this warning. See [2022-10-25T17:28:43.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:28:43.846Z] [2022-10-25T17:28:43.846Z] Login Succeeded [2022-10-25T17:28:43.846Z] nexus3.edgexfoundry.org:10004 [2022-10-25T17:28:43.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:28:43.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:28:43.846Z] Configure a credential helper to remove this warning. See [2022-10-25T17:28:43.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:28:43.846Z] [2022-10-25T17:28:43.846Z] Login Succeeded [2022-10-25T17:28:43.846Z] docker.io [2022-10-25T17:28:44.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:28:44.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:28:44.368Z] Configure a credential helper to remove this warning. See [2022-10-25T17:28:44.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:28:44.368Z] [2022-10-25T17:28:44.368Z] Login Succeeded [2022-10-25T17:28:44.368Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T17:28:44.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T17:28:44.744Z] + git rev-list -1 --merges 83023ddd309b38d06d3e1ed86c7136424cccba1f~1..83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] echo [2022-10-25T17:28:44.773Z] -----------> git rev-list -1 --merges 83023ddd309b38d06d3e1ed86c7136424cccba1f~1..83023ddd309b38d06d3e1ed86c7136424cccba1f 83023ddd309b38d06d3e1ed86c7136424cccba1f [2022-10-25T17:28:44.773Z] 83023ddd309b38d06d3e1ed86c7136424cccba1f [false] [Pipeline] sh [2022-10-25T17:28:45.061Z] + git log --format=format:%s -1 83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] echo [2022-10-25T17:28:45.075Z] ========================================================= [2022-10-25T17:28:45.075Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T17:28:45.075Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T17:28:45.391Z] + git log --format=format:%s -1 83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] echo [2022-10-25T17:28:45.403Z] [semverPrep] GIT_COMMIT: 83023ddd309b38d06d3e1ed86c7136424cccba1f, Commit Message: Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD [Pipeline] echo [2022-10-25T17:28:45.412Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T17:28:45.787Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T17:28:45.787Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T17:28:45.787Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T17:28:45.787Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T17:28:45.787Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T17:28:45.787Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T17:28:45.787Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:28:46.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T17:28:46.187Z] [2022-10-25T17:28:46.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:28:46.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T17:28:46.488Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T17:28:46.488Z] b85a868b505f: Pulling fs layer [2022-10-25T17:28:46.488Z] e2be974225ed: Pulling fs layer [2022-10-25T17:28:46.488Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T17:28:46.488Z] 988bab9f4d93: Pulling fs layer [2022-10-25T17:28:46.488Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T17:28:46.488Z] eaf3925da568: Pulling fs layer [2022-10-25T17:28:46.488Z] bab4dde63d76: Pulling fs layer [2022-10-25T17:28:46.488Z] bde34c3a00c8: Pulling fs layer [2022-10-25T17:28:46.488Z] b352a97aabf1: Pulling fs layer [2022-10-25T17:28:46.488Z] 4872d77fe225: Pulling fs layer [2022-10-25T17:28:46.488Z] 5851b861e8e6: Pulling fs layer [2022-10-25T17:28:46.488Z] 988bab9f4d93: Waiting [2022-10-25T17:28:46.488Z] 1469e6f7b9e6: Waiting [2022-10-25T17:28:46.488Z] eaf3925da568: Waiting [2022-10-25T17:28:46.488Z] bab4dde63d76: Waiting [2022-10-25T17:28:46.488Z] bde34c3a00c8: Waiting [2022-10-25T17:28:46.488Z] b352a97aabf1: Waiting [2022-10-25T17:28:46.488Z] 4872d77fe225: Waiting [2022-10-25T17:28:46.488Z] e2be974225ed: Verifying Checksum [2022-10-25T17:28:46.488Z] e2be974225ed: Download complete [2022-10-25T17:28:46.488Z] 988bab9f4d93: Verifying Checksum [2022-10-25T17:28:46.488Z] 988bab9f4d93: Download complete [2022-10-25T17:28:46.748Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T17:28:46.748Z] 339a4e72a1f5: Download complete [2022-10-25T17:28:46.748Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T17:28:46.748Z] 1469e6f7b9e6: Download complete [2022-10-25T17:28:46.748Z] eaf3925da568: Download complete [2022-10-25T17:28:46.748Z] bde34c3a00c8: Verifying Checksum [2022-10-25T17:28:46.748Z] bde34c3a00c8: Download complete [2022-10-25T17:28:46.748Z] b352a97aabf1: Download complete [2022-10-25T17:28:46.748Z] 4872d77fe225: Download complete [2022-10-25T17:28:46.748Z] b85a868b505f: Download complete [2022-10-25T17:28:47.010Z] bab4dde63d76: Verifying Checksum [2022-10-25T17:28:47.010Z] bab4dde63d76: Download complete [2022-10-25T17:28:48.013Z] b85a868b505f: Pull complete [2022-10-25T17:28:48.273Z] e2be974225ed: Pull complete [2022-10-25T17:28:48.841Z] 339a4e72a1f5: Pull complete [2022-10-25T17:28:48.841Z] 988bab9f4d93: Pull complete [2022-10-25T17:28:49.102Z] 1469e6f7b9e6: Pull complete [2022-10-25T17:28:49.102Z] eaf3925da568: Pull complete [2022-10-25T17:28:51.641Z] bab4dde63d76: Pull complete [2022-10-25T17:28:51.641Z] bde34c3a00c8: Pull complete [2022-10-25T17:28:51.641Z] b352a97aabf1: Pull complete [2022-10-25T17:28:51.641Z] 4872d77fe225: Pull complete [2022-10-25T17:28:51.641Z] 5851b861e8e6: Pull complete [2022-10-25T17:28:51.641Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T17:28:51.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T17:28:51.641Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T17:28:51.732Z] prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container [2022-10-25T17:28:51.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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-devops/py-git-semver:0.1.4 cat [2022-10-25T17:28:53.117Z] $ docker top a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a -eo pid,comm [2022-10-25T17:28:53.178Z] 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-10-25T17:28:53.178Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T17:28:53.206Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T17:28:53.206Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T17:28:53.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T17:28:53.319Z] $ docker exec a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a ssh-agent [2022-10-25T17:28:53.433Z] SSH_AUTH_SOCK=/tmp/ssh-bWnGKCWLXX4k/agent.32 [2022-10-25T17:28:53.433Z] SSH_AGENT_PID=38 [2022-10-25T17:28:53.439Z] Running ssh-add (command line suppressed) [2022-10-25T17:28:53.543Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_1460207720593464250.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_1460207720593464250.key) [2022-10-25T17:28:53.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T17:28:53.846Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T17:28:53.856Z] $ docker exec --env ******** --env ******** a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a ssh-agent -k [2022-10-25T17:28:53.963Z] unset SSH_AUTH_SOCK; [2022-10-25T17:28:53.963Z] unset SSH_AGENT_PID; [2022-10-25T17:28:53.964Z] echo Agent pid 38 killed; [2022-10-25T17:28:53.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T17:28:54.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T17:28:54.001Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T17:28:54.114Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T17:28:54.112Z] $ docker exec a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a ssh-agent [2022-10-25T17:28:54.227Z] SSH_AUTH_SOCK=/tmp/ssh-36sHXU6cFiUm/agent.70 [2022-10-25T17:28:54.227Z] SSH_AGENT_PID=77 [2022-10-25T17:28:54.231Z] Running ssh-add (command line suppressed) [2022-10-25T17:28:54.321Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_4339805498007913961.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_4339805498007913961.key) [2022-10-25T17:28:54.339Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T17:28:54.624Z] + git semver init [2022-10-25T17:28:54.884Z] 2022-10-25 17:28:54,805 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T17:28:54.884Z] 2022-10-25 17:28:54,805 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-25T17:28:54.884Z] 2022-10-25 17:28:54,806 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-25T17:28:54.884Z] 2022-10-25 17:28:54,806 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-180/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-180, universal_newlines=False, shell=None, istream=None) [2022-10-25T17:28:56.268Z] 2022-10-25 17:28:55,835 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude [2022-10-25T17:28:56.268Z] 2022-10-25 17:28:55,836 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False [2022-10-25T17:28:56.268Z] 2022-10-25 17:28:55,836 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-25T17:28:56.268Z] 2022-10-25 17:28:55,840 [execute] INFO git cat-file --batch-check [2022-10-25T17:28:56.268Z] 2022-10-25 17:28:55,841 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T17:28:56.268Z] 2022-10-25 17:28:55,848 [execute] INFO git cat-file --batch [2022-10-25T17:28:56.268Z] 2022-10-25 17:28:55,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T17:28:56.268Z] 2022-10-25 17:28:55,855 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-25T17:28:56.268Z] 0.0.0 [Pipeline] } [2022-10-25T17:28:56.274Z] $ docker exec --env ******** --env ******** a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a ssh-agent -k [2022-10-25T17:28:56.378Z] unset SSH_AUTH_SOCK; [2022-10-25T17:28:56.378Z] unset SSH_AGENT_PID; [2022-10-25T17:28:56.378Z] echo Agent pid 77 killed; [2022-10-25T17:28:56.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T17:28:56.698Z] + git semver [Pipeline] } [2022-10-25T17:28:56.970Z] $ docker stop --time=1 a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a [2022-10-25T17:28:58.339Z] $ docker rm -f a168c54ac1260683ca53127e1e5d7d4bd0cda3f2e515cf1699159ea6bbe5ba3a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T17:28:58.686Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T17:28:58.863Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T17:28:58.866Z] [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-10-25T17:28:59.011Z] provisioning config files... [2022-10-25T17:28:59.020Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config17775785252592586209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:28:59.315Z] ---> docker-login.sh [2022-10-25T17:28:59.315Z] nexus3.edgexfoundry.org:10001 [2022-10-25T17:28:59.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:28:59.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:28:59.315Z] Configure a credential helper to remove this warning. See [2022-10-25T17:28:59.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:28:59.315Z] [2022-10-25T17:28:59.315Z] Login Succeeded [2022-10-25T17:28:59.315Z] nexus3.edgexfoundry.org:10002 [2022-10-25T17:28:59.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:28:59.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:28:59.315Z] Configure a credential helper to remove this warning. See [2022-10-25T17:28:59.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:28:59.315Z] [2022-10-25T17:28:59.315Z] Login Succeeded [2022-10-25T17:28:59.315Z] nexus3.edgexfoundry.org:10003 [2022-10-25T17:28:59.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:28:59.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:28:59.573Z] Configure a credential helper to remove this warning. See [2022-10-25T17:28:59.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:28:59.573Z] [2022-10-25T17:28:59.573Z] Login Succeeded [2022-10-25T17:28:59.573Z] nexus3.edgexfoundry.org:10004 [2022-10-25T17:28:59.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:28:59.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:28:59.573Z] Configure a credential helper to remove this warning. See [2022-10-25T17:28:59.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:28:59.573Z] [2022-10-25T17:28:59.573Z] Login Succeeded [2022-10-25T17:28:59.573Z] docker.io [2022-10-25T17:28:59.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:29:00.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:29:00.092Z] Configure a credential helper to remove this warning. See [2022-10-25T17:29:00.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:29:00.092Z] [2022-10-25T17:29:00.092Z] Login Succeeded [2022-10-25T17:29:00.092Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T17:29:00.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T17:29:00.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T17:29:00.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T17:29:00.171Z] ========================================================= [2022-10-25T17:29:00.171Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T17:29:00.171Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:29:00.475Z] + 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-10-25T17:29:00.475Z] Sending build context to Docker daemon 27.22MB [2022-10-25T17:29:00.475Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T17:29:00.475Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T17:29:00.734Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T17:29:00.734Z] 213ec9aee27d: Pulling fs layer [2022-10-25T17:29:00.734Z] 4583459ba037: Pulling fs layer [2022-10-25T17:29:00.734Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T17:29:00.734Z] 53926ce57604: Pulling fs layer [2022-10-25T17:29:00.734Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T17:29:00.734Z] 30f14e443154: Pulling fs layer [2022-10-25T17:29:00.734Z] 801331c1e519: Pulling fs layer [2022-10-25T17:29:00.734Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T17:29:00.734Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T17:29:00.734Z] 53926ce57604: Waiting [2022-10-25T17:29:00.734Z] 21b2b0c7a3f4: Waiting [2022-10-25T17:29:00.734Z] 30f14e443154: Waiting [2022-10-25T17:29:00.734Z] 801331c1e519: Waiting [2022-10-25T17:29:00.734Z] 99cc6dd402b0: Waiting [2022-10-25T17:29:00.734Z] 7d9ed39f4882: Waiting [2022-10-25T17:29:00.734Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T17:29:00.734Z] 93c1e223e6f2: Download complete [2022-10-25T17:29:00.734Z] 4583459ba037: Verifying Checksum [2022-10-25T17:29:00.734Z] 4583459ba037: Download complete [2022-10-25T17:29:00.734Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T17:29:00.734Z] 21b2b0c7a3f4: Download complete [2022-10-25T17:29:00.734Z] 30f14e443154: Verifying Checksum [2022-10-25T17:29:00.734Z] 30f14e443154: Download complete [2022-10-25T17:29:00.734Z] 213ec9aee27d: Verifying Checksum [2022-10-25T17:29:00.734Z] 213ec9aee27d: Download complete [2022-10-25T17:29:00.734Z] 801331c1e519: Download complete [2022-10-25T17:29:00.994Z] 213ec9aee27d: Pull complete [2022-10-25T17:29:00.994Z] 4583459ba037: Pull complete [2022-10-25T17:29:00.994Z] 93c1e223e6f2: Pull complete [2022-10-25T17:29:01.252Z] 7d9ed39f4882: Download complete [2022-10-25T17:29:01.512Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T17:29:01.512Z] 99cc6dd402b0: Download complete [2022-10-25T17:29:01.512Z] 53926ce57604: Verifying Checksum [2022-10-25T17:29:01.512Z] 53926ce57604: Download complete [2022-10-25T17:29:05.701Z] 53926ce57604: Pull complete [2022-10-25T17:29:05.701Z] 21b2b0c7a3f4: Pull complete [2022-10-25T17:29:05.701Z] 30f14e443154: Pull complete [2022-10-25T17:29:05.959Z] 801331c1e519: Pull complete [2022-10-25T17:29:08.488Z] 99cc6dd402b0: Pull complete [2022-10-25T17:29:09.054Z] 7d9ed39f4882: Pull complete [2022-10-25T17:29:09.054Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T17:29:09.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T17:29:09.054Z] ---> 1dedd983c030 [2022-10-25T17:29:09.054Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T17:29:10.958Z] ---> Running in 43885f242862 [2022-10-25T17:29:10.958Z] Removing intermediate container 43885f242862 [2022-10-25T17:29:10.958Z] ---> 13a6f1563e07 [2022-10-25T17:29:10.958Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T17:29:10.958Z] ---> Running in 55825b967052 [2022-10-25T17:29:10.958Z] Removing intermediate container 55825b967052 [2022-10-25T17:29:10.958Z] ---> 888efcb99f15 [2022-10-25T17:29:10.958Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T17:29:10.958Z] ---> Running in 38877f7007f6 [2022-10-25T17:29:10.958Z] Removing intermediate container 38877f7007f6 [2022-10-25T17:29:10.958Z] ---> 3b94b04cf3fc [2022-10-25T17:29:10.958Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T17:29:11.217Z] ---> Running in 469a817f83a5 [2022-10-25T17:29:11.217Z] Removing intermediate container 469a817f83a5 [2022-10-25T17:29:11.217Z] ---> 7ce0195e01bb [2022-10-25T17:29:11.217Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T17:29:11.217Z] ---> Running in 418119e34975 [2022-10-25T17:29:11.217Z] Removing intermediate container 418119e34975 [2022-10-25T17:29:11.217Z] ---> d9aca42eb2c1 [2022-10-25T17:29:11.217Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T17:29:11.485Z] ---> Running in 3934670551f7 [2022-10-25T17:29:12.052Z] Removing intermediate container 3934670551f7 [2022-10-25T17:29:12.052Z] ---> 1f025a36f3c6 [2022-10-25T17:29:12.052Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T17:29:12.052Z] ---> Running in 33ff33f31f32 [2022-10-25T17:29:12.384Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T17:29:12.384Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T17:29:12.384Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory [2022-10-25T17:29:12.643Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory [2022-10-25T17:29:12.643Z] OK: 211 MiB in 51 packages [2022-10-25T17:29:13.212Z] Removing intermediate container 33ff33f31f32 [2022-10-25T17:29:13.212Z] ---> 1dca35d8ce97 [2022-10-25T17:29:13.212Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T17:29:13.212Z] ---> Running in 35fdf904af17 [2022-10-25T17:29:13.212Z] Removing intermediate container 35fdf904af17 [2022-10-25T17:29:13.212Z] ---> 12bcd279fb0c [2022-10-25T17:29:13.212Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T17:29:13.212Z] ---> 5af52dfdf471 [2022-10-25T17:29:13.212Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T17:29:13.472Z] ---> Running in 52041cc7fb88 [2022-10-25T17:29:13.965Z] Still waiting to schedule task [2022-10-25T17:29:13.965Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-25T17:29:31.581Z] Removing intermediate container 52041cc7fb88 [2022-10-25T17:29:31.581Z] ---> 71c954eba343 [2022-10-25T17:29:31.581Z] Step 13/14 : COPY . . [2022-10-25T17:29:31.581Z] ---> 420b964602ef [2022-10-25T17:29:31.581Z] Step 14/14 : RUN ${MAKE} [2022-10-25T17:29:31.581Z] ---> Running in 62fbadf53e0c [2022-10-25T17:29:31.581Z] noop [2022-10-25T17:29:31.581Z] Removing intermediate container 62fbadf53e0c [2022-10-25T17:29:31.581Z] ---> 4b80839415ab [2022-10-25T17:29:31.581Z] Successfully built 4b80839415ab [2022-10-25T17:29:31.581Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:29:31.894Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T17:29:31.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T17:29:31.962Z] prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container [2022-10-25T17:29:31.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T17:29:32.379Z] $ docker top dcee35ca3ed8ffba6b24beaf5c6b9a1e7ff60a3a9f60a3a12ddb707eb3be0f89 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T17:29:32.723Z] + go version [2022-10-25T17:29:32.723Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T17:29:32.737Z] $ docker stop --time=1 dcee35ca3ed8ffba6b24beaf5c6b9a1e7ff60a3a9f60a3a12ddb707eb3be0f89 [2022-10-25T17:29:34.044Z] $ docker rm -f dcee35ca3ed8ffba6b24beaf5c6b9a1e7ff60a3a9f60a3a12ddb707eb3be0f89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:29:34.428Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T17:29:34.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T17:29:34.498Z] prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container [2022-10-25T17:29:34.535Z] $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T17:29:34.901Z] $ docker top b4b9ea3c94682d715b2398fea403d8ebc3eacf8a03f6694a7f160a0a10692e25 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T17:29:35.242Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh [2022-10-25T17:29:35.536Z] + make test [2022-10-25T17:29:35.536Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T17:29:35.795Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T17:29:47.998Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T17:29:47.998Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.042s coverage: 28.2% of statements [2022-10-25T17:29:47.998Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T17:29:47.998Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.321s coverage: 86.5% of statements [2022-10-25T17:29:56.103Z] 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-10-25T17:29:56.103Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T17:29:59.385Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T17:29:59.385Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T17:29:59.385Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T17:29:59.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T17:29:59.413Z] $ docker stop --time=1 b4b9ea3c94682d715b2398fea403d8ebc3eacf8a03f6694a7f160a0a10692e25 [2022-10-25T17:30:01.116Z] $ docker rm -f b4b9ea3c94682d715b2398fea403d8ebc3eacf8a03f6694a7f160a0a10692e25 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T17:30:01.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T17:30:01.588Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T17:30:02.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T17:30:02.349Z] + ls -al . [2022-10-25T17:30:02.349Z] total 244 [2022-10-25T17:30:02.349Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 17:29 . [2022-10-25T17:30:02.349Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:28 .. [2022-10-25T17:30:02.349Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 17:29 .git [2022-10-25T17:30:02.349Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:28 .github [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 17:28 .gitignore [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 17:28 .golangci.yml [2022-10-25T17:30:02.349Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 17:28 .semver [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 17:28 Attribution.txt [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 17:28 CHANGELOG.md [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 17:28 Dockerfile [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 17:28 GOVERNANCE.md [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 17:28 Jenkinsfile [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 17:28 LICENSE [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 17:28 Makefile [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 17:28 OWNERS.md [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 17:28 README.md [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 17:28 VERSION [2022-10-25T17:30:02.349Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 17:28 bin [2022-10-25T17:30:02.349Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:28 cmd [2022-10-25T17:30:02.349Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 17:29 coverage.out [2022-10-25T17:30:02.349Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 17:28 doc [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 17:28 go.mod [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 17:28 go.sum [2022-10-25T17:30:02.349Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:28 internal [2022-10-25T17:30:02.349Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:28 snap [2022-10-25T17:30:02.349Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 17:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:30:02.678Z] + 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=83023ddd309b38d06d3e1ed86c7136424cccba1f --label arch=amd64 --label version=0.0.0 . [2022-10-25T17:30:02.678Z] Sending build context to Docker daemon 27.3MB [2022-10-25T17:30:02.678Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T17:30:02.678Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T17:30:02.678Z] ---> 4b80839415ab [2022-10-25T17:30:02.678Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T17:30:02.937Z] ---> Running in 8f18ec8cdaae [2022-10-25T17:30:02.937Z] Removing intermediate container 8f18ec8cdaae [2022-10-25T17:30:02.937Z] ---> a6e97fb96a87 [2022-10-25T17:30:02.937Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T17:30:02.937Z] ---> Running in 787f6b1f4d9d [2022-10-25T17:30:02.937Z] Removing intermediate container 787f6b1f4d9d [2022-10-25T17:30:02.937Z] ---> d255427555ca [2022-10-25T17:30:02.937Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T17:30:03.196Z] ---> Running in 86b8e8d9b7bf [2022-10-25T17:30:03.196Z] Removing intermediate container 86b8e8d9b7bf [2022-10-25T17:30:03.196Z] ---> 8c2c3b2f472f [2022-10-25T17:30:03.196Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T17:30:03.196Z] ---> Running in f8b3618581ce [2022-10-25T17:30:03.196Z] Removing intermediate container f8b3618581ce [2022-10-25T17:30:03.196Z] ---> 7e674f71ca2a [2022-10-25T17:30:03.196Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T17:30:03.196Z] ---> Running in 7cefa22cc156 [2022-10-25T17:30:03.456Z] Removing intermediate container 7cefa22cc156 [2022-10-25T17:30:03.456Z] ---> 78c36b57c61b [2022-10-25T17:30:03.456Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T17:30:03.456Z] ---> Running in 661de09251ec [2022-10-25T17:30:04.030Z] Removing intermediate container 661de09251ec [2022-10-25T17:30:04.030Z] ---> fbadff10d6ae [2022-10-25T17:30:04.030Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T17:30:04.030Z] ---> Running in 23901df2f61a [2022-10-25T17:30:04.289Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T17:30:04.552Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T17:30:04.552Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory [2022-10-25T17:30:04.812Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory [2022-10-25T17:30:04.812Z] OK: 211 MiB in 51 packages [2022-10-25T17:30:05.071Z] Removing intermediate container 23901df2f61a [2022-10-25T17:30:05.071Z] ---> 6eb2e542fe78 [2022-10-25T17:30:05.071Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T17:30:05.071Z] ---> Running in 59dae39b71cb [2022-10-25T17:30:05.330Z] Removing intermediate container 59dae39b71cb [2022-10-25T17:30:05.330Z] ---> 7eb0e0547b58 [2022-10-25T17:30:05.330Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T17:30:05.330Z] ---> 3a626588178c [2022-10-25T17:30:05.330Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T17:30:05.330Z] ---> Running in 783236b07fd5 [2022-10-25T17:30:06.275Z] Removing intermediate container 783236b07fd5 [2022-10-25T17:30:06.275Z] ---> db586a877bb1 [2022-10-25T17:30:06.275Z] Step 13/27 : COPY . . [2022-10-25T17:30:06.843Z] ---> 4c62bcf2eec3 [2022-10-25T17:30:06.843Z] Step 14/27 : RUN ${MAKE} [2022-10-25T17:30:06.843Z] ---> Running in 8453c14bc14e [2022-10-25T17:30:07.102Z] 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-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-25T17:30:29.032Z] Removing intermediate container 8453c14bc14e [2022-10-25T17:30:29.032Z] ---> 43c9288e5262 [2022-10-25T17:30:29.032Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T17:30:29.032Z] 3.16: Pulling from library/alpine [2022-10-25T17:30:29.032Z] 213ec9aee27d: Already exists [2022-10-25T17:30:29.032Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T17:30:29.032Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T17:30:29.032Z] ---> 9c6f07244728 [2022-10-25T17:30:29.032Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T17:30:29.032Z] ---> Running in 2e4c1e1a2830 [2022-10-25T17:30:29.032Z] Removing intermediate container 2e4c1e1a2830 [2022-10-25T17:30:29.032Z] ---> 658b1486a59d [2022-10-25T17:30:29.032Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T17:30:29.032Z] ---> Running in 9da6b03e8f7f [2022-10-25T17:30:29.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T17:30:29.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T17:30:29.032Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T17:30:29.032Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T17:30:29.032Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T17:30:29.032Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T17:30:29.032Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T17:30:29.032Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T17:30:29.032Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T17:30:29.032Z] OK: 8 MiB in 20 packages [2022-10-25T17:30:29.290Z] Removing intermediate container 9da6b03e8f7f [2022-10-25T17:30:29.290Z] ---> bcf77f5e9666 [2022-10-25T17:30:29.290Z] Step 18/27 : WORKDIR / [2022-10-25T17:30:29.290Z] ---> Running in 357496e38ba4 [2022-10-25T17:30:29.290Z] Removing intermediate container 357496e38ba4 [2022-10-25T17:30:29.290Z] ---> 538f9a167791 [2022-10-25T17:30:29.290Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T17:30:29.853Z] ---> c9df61c612af [2022-10-25T17:30:29.853Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T17:30:30.111Z] ---> fdb1ac15379f [2022-10-25T17:30:30.111Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T17:30:30.111Z] ---> a1ff1465e555 [2022-10-25T17:30:30.111Z] Step 22/27 : EXPOSE 59984 [2022-10-25T17:30:30.111Z] ---> Running in cbef3c2ecaa0 [2022-10-25T17:30:30.368Z] Removing intermediate container cbef3c2ecaa0 [2022-10-25T17:30:30.368Z] ---> c2529e9b5354 [2022-10-25T17:30:30.368Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T17:30:30.368Z] ---> Running in 2e7651f1a3c6 [2022-10-25T17:30:30.368Z] Removing intermediate container 2e7651f1a3c6 [2022-10-25T17:30:30.368Z] ---> f0c4bca0136b [2022-10-25T17:30:30.368Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T17:30:30.368Z] ---> Running in b5df279ae7cd [2022-10-25T17:30:30.368Z] Removing intermediate container b5df279ae7cd [2022-10-25T17:30:30.368Z] ---> c632db43b5e6 [2022-10-25T17:30:30.368Z] Step 25/27 : LABEL arch=amd64 [2022-10-25T17:30:30.626Z] ---> Running in 665f7ad56b45 [2022-10-25T17:30:30.626Z] Removing intermediate container 665f7ad56b45 [2022-10-25T17:30:30.626Z] ---> 1f663951fb00 [2022-10-25T17:30:30.626Z] Step 26/27 : LABEL git_sha=83023ddd309b38d06d3e1ed86c7136424cccba1f [2022-10-25T17:30:30.626Z] ---> Running in 17021dc291d0 [2022-10-25T17:30:30.626Z] Removing intermediate container 17021dc291d0 [2022-10-25T17:30:30.626Z] ---> 5eac2281883f [2022-10-25T17:30:30.626Z] Step 27/27 : LABEL version=0.0.0 [2022-10-25T17:30:30.626Z] ---> Running in 90502f7a363b [2022-10-25T17:30:30.883Z] Removing intermediate container 90502f7a363b [2022-10-25T17:30:30.883Z] ---> ad9ae377dcdd [2022-10-25T17:30:30.883Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T17:30:30.883Z] Successfully built ad9ae377dcdd [2022-10-25T17:30:30.883Z] 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-10-25T17:30:31.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T17:30:31.322Z] [2022-10-25T17:30:31.323Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:30:31.632Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T17:30:31.632Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T17:30:31.632Z] 5eb5b503b376: Pulling fs layer [2022-10-25T17:30:31.632Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T17:30:31.632Z] ec43610c2a17: Pulling fs layer [2022-10-25T17:30:31.632Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T17:30:31.632Z] 33b1e0a273af: Pulling fs layer [2022-10-25T17:30:31.632Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T17:30:31.632Z] 2f39f015ded8: Pulling fs layer [2022-10-25T17:30:31.632Z] 3a2ae6a8a46f: Waiting [2022-10-25T17:30:31.632Z] 33b1e0a273af: Waiting [2022-10-25T17:30:31.632Z] 5d3b04190fa2: Waiting [2022-10-25T17:30:31.632Z] 2f39f015ded8: Waiting [2022-10-25T17:30:31.632Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T17:30:31.632Z] 5c69ac0246d0: Download complete [2022-10-25T17:30:31.632Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T17:30:31.632Z] 3a2ae6a8a46f: Download complete [2022-10-25T17:30:31.632Z] 33b1e0a273af: Verifying Checksum [2022-10-25T17:30:31.632Z] 33b1e0a273af: Download complete [2022-10-25T17:30:31.892Z] ec43610c2a17: Verifying Checksum [2022-10-25T17:30:31.892Z] ec43610c2a17: Download complete [2022-10-25T17:30:31.892Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T17:30:31.892Z] 5d3b04190fa2: Download complete [2022-10-25T17:30:31.892Z] 5eb5b503b376: Verifying Checksum [2022-10-25T17:30:31.892Z] 5eb5b503b376: Download complete [2022-10-25T17:30:32.457Z] 2f39f015ded8: Download complete [2022-10-25T17:30:33.021Z] 5eb5b503b376: Pull complete [2022-10-25T17:30:33.022Z] 5c69ac0246d0: Pull complete [2022-10-25T17:30:33.279Z] ec43610c2a17: Pull complete [2022-10-25T17:30:33.537Z] 3a2ae6a8a46f: Pull complete [2022-10-25T17:30:33.537Z] 33b1e0a273af: Pull complete [2022-10-25T17:30:33.795Z] 5d3b04190fa2: Pull complete [2022-10-25T17:30:37.978Z] 2f39f015ded8: Pull complete [2022-10-25T17:30:37.978Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T17:30:37.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T17:30:37.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T17:30:38.045Z] prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container [2022-10-25T17:30:38.080Z] $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T17:30:39.554Z] $ docker top 3f853281610f287310222653910fa77948d341498a8432b0e146c7b7f3fcfa67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:30:39.942Z] ---> job-cost.sh [2022-10-25T17:30:39.942Z] lf-activate-venv: SKIPPING [2022-10-25T17:30:39.942Z] INFO: No Stack... [2022-10-25T17:30:40.202Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T17:30:40.460Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T17:30:40.747Z] + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv [2022-10-25T17:30:40.747Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T17:30:40.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [2022-10-25T17:30:40.768Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] did not exist. Created. [2022-10-25T17:30:40.768Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T17:30:41.068Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T17:30:41.096Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T17:30:41.103Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T17:30:41.124Z] $ docker stop --time=1 3f853281610f287310222653910fa77948d341498a8432b0e146c7b7f3fcfa67 [2022-10-25T17:30:42.272Z] $ docker rm -f 3f853281610f287310222653910fa77948d341498a8432b0e146c7b7f3fcfa67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T17:30:46.494Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116927 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws [2022-10-25T17:30:46.507Z] Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout [2022-10-25T17:30:46.538Z] The recommended git tool is: git [2022-10-25T17:30:51.369Z] using credential edgex-jenkins-ssh [2022-10-25T17:30:51.385Z] Cloning the remote Git repository [2022-10-25T17:30:51.430Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T17:30:51.497Z] > git init /w/workspace/device-onvif-camera/12 # timeout=10 [2022-10-25T17:30:51.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T17:30:51.644Z] > git --version # timeout=10 [2022-10-25T17:30:51.673Z] > git --version # 'git version 2.25.1' [2022-10-25T17:30:51.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T17:30:51.722Z] Verifying host key using known hosts file [2022-10-25T17:30:51.911Z] 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-10-25T17:30:51.924Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T17:30:53.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T17:30:53.253Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T17:30:54.960Z] Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 [2022-10-25T17:30:54.032Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T17:30:54.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T17:30:54.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T17:30:54.077Z] Verifying host key using known hosts file [2022-10-25T17:30:54.084Z] 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-10-25T17:30:54.096Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T17:30:54.978Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T17:30:54.995Z] > git checkout -f 86c68f64e3a8b624a4bd1892fd05bfd93905ecb0 # timeout=10 [2022-10-25T17:30:55.984Z] Merge succeeded, producing eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 [2022-10-25T17:30:55.985Z] Checking out Revision eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 (PR-180) [2022-10-25T17:30:55.275Z] > git remote # timeout=10 [2022-10-25T17:30:55.291Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T17:30:55.311Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T17:30:55.316Z] Verifying host key using known hosts file [2022-10-25T17:30:55.321Z] 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-10-25T17:30:55.331Z] > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [2022-10-25T17:30:55.960Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T17:30:55.991Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T17:30:56.008Z] > git checkout -f eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 # timeout=10 [2022-10-25T17:30:59.792Z] Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" [2022-10-25T17:30:59.823Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T17:31:00.694Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T17:31:00.694Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T17:31:00.694Z] Dload Upload Total Spent Left Speed [2022-10-25T17:31:00.694Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 82366 0 --:--:-- --:--:-- --:--:-- 82366 [Pipeline] sh [2022-10-25T17:30:59.801Z] > git rev-list --no-walk e17e456190d9fd031fc12666d0d11c4ba3019b4c # timeout=10 [2022-10-25T17:31:01.374Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T17:31:01.706Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-10-25T17:31:01.706Z] [2022-10-25T17:31:01.706Z] { [2022-10-25T17:31:01.706Z] "registry-mirrors": [ [2022-10-25T17:31:01.706Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T17:31:01.706Z] ], [2022-10-25T17:31:01.706Z] "bip": "10.250.0.254/24", [2022-10-25T17:31:01.706Z] "hosts": [ [2022-10-25T17:31:01.706Z] "tcp://0.0.0.0:5555", [2022-10-25T17:31:01.706Z] "unix:///var/run/docker.sock" [2022-10-25T17:31:01.706Z] ], [2022-10-25T17:31:01.706Z] "mtu": 1458, [2022-10-25T17:31:01.706Z] "selinux-enabled": true, [2022-10-25T17:31:01.706Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T17:31:01.706Z] } [Pipeline] sh [2022-10-25T17:31:02.026Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T17:31:02.349Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T17:31:20.600Z] provisioning config files... [2022-10-25T17:31:20.625Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config6566539967410215687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:31:20.979Z] ---> docker-login.sh [2022-10-25T17:31:20.979Z] nexus3.edgexfoundry.org:10001 [2022-10-25T17:31:21.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:31:21.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:31:21.522Z] Configure a credential helper to remove this warning. See [2022-10-25T17:31:21.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:31:21.522Z] [2022-10-25T17:31:21.522Z] Login Succeeded [2022-10-25T17:31:21.522Z] nexus3.edgexfoundry.org:10002 [2022-10-25T17:31:21.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:31:22.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:31:22.060Z] Configure a credential helper to remove this warning. See [2022-10-25T17:31:22.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:31:22.060Z] [2022-10-25T17:31:22.060Z] Login Succeeded [2022-10-25T17:31:22.060Z] nexus3.edgexfoundry.org:10003 [2022-10-25T17:31:22.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:31:22.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:31:22.346Z] Configure a credential helper to remove this warning. See [2022-10-25T17:31:22.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:31:22.346Z] [2022-10-25T17:31:22.346Z] Login Succeeded [2022-10-25T17:31:22.346Z] nexus3.edgexfoundry.org:10004 [2022-10-25T17:31:22.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:31:22.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:31:22.617Z] Configure a credential helper to remove this warning. See [2022-10-25T17:31:22.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:31:22.617Z] [2022-10-25T17:31:22.617Z] Login Succeeded [2022-10-25T17:31:22.617Z] docker.io [2022-10-25T17:31:22.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T17:31:23.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T17:31:23.158Z] Configure a credential helper to remove this warning. See [2022-10-25T17:31:23.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T17:31:23.158Z] [2022-10-25T17:31:23.158Z] Login Succeeded [2022-10-25T17:31:23.426Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T17:31:23.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T17:31:23.582Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T17:31:23.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T17:31:23.609Z] ========================================================= [2022-10-25T17:31:23.609Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T17:31:23.609Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:31:23.951Z] + 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-10-25T17:31:24.541Z] Sending build context to Docker daemon 20.53MB [2022-10-25T17:31:24.541Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T17:31:24.541Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-25T17:31:24.811Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T17:31:24.811Z] 9b18e9b68314: Pulling fs layer [2022-10-25T17:31:24.811Z] d32db5db7311: Pulling fs layer [2022-10-25T17:31:24.811Z] d0c4b47475fc: Pulling fs layer [2022-10-25T17:31:24.811Z] 5831b945b038: Pulling fs layer [2022-10-25T17:31:24.811Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T17:31:24.811Z] e10730c5d714: Pulling fs layer [2022-10-25T17:31:24.811Z] 5dd5c2283517: Pulling fs layer [2022-10-25T17:31:24.811Z] d5ac0230b979: Pulling fs layer [2022-10-25T17:31:24.811Z] 5831b945b038: Waiting [2022-10-25T17:31:24.811Z] 86bbec2aaacd: Waiting [2022-10-25T17:31:24.811Z] e10730c5d714: Waiting [2022-10-25T17:31:24.811Z] 5dd5c2283517: Waiting [2022-10-25T17:31:24.811Z] d5ac0230b979: Waiting [2022-10-25T17:31:24.811Z] d32db5db7311: Verifying Checksum [2022-10-25T17:31:24.811Z] d32db5db7311: Download complete [2022-10-25T17:31:24.811Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T17:31:24.811Z] 86bbec2aaacd: Download complete [2022-10-25T17:31:24.811Z] e10730c5d714: Download complete [2022-10-25T17:31:24.811Z] 9b18e9b68314: Verifying Checksum [2022-10-25T17:31:25.778Z] 9b18e9b68314: Pull complete [2022-10-25T17:31:26.048Z] d5ac0230b979: Verifying Checksum [2022-10-25T17:31:26.048Z] d5ac0230b979: Download complete [2022-10-25T17:31:26.326Z] d32db5db7311: Pull complete [2022-10-25T17:31:26.599Z] d0c4b47475fc: Pull complete [2022-10-25T17:31:26.872Z] 5dd5c2283517: Verifying Checksum [2022-10-25T17:31:26.872Z] 5dd5c2283517: Download complete [2022-10-25T17:31:27.836Z] 5831b945b038: Download complete [2022-10-25T17:31:40.170Z] 5831b945b038: Pull complete [2022-10-25T17:31:40.170Z] 86bbec2aaacd: Pull complete [2022-10-25T17:31:40.170Z] e10730c5d714: Pull complete [2022-10-25T17:31:45.564Z] 5dd5c2283517: Pull complete [2022-10-25T17:31:47.524Z] d5ac0230b979: Pull complete [2022-10-25T17:31:47.524Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T17:31:47.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T17:31:47.524Z] ---> 59b3b1a385d4 [2022-10-25T17:31:47.524Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-25T17:31:49.467Z] ---> Running in c42023ece148 [2022-10-25T17:31:49.736Z] Removing intermediate container c42023ece148 [2022-10-25T17:31:49.736Z] ---> d519f8217c05 [2022-10-25T17:31:49.736Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T17:31:49.736Z] ---> Running in 1731c50b8dc1 [2022-10-25T17:31:50.004Z] Removing intermediate container 1731c50b8dc1 [2022-10-25T17:31:50.004Z] ---> 3ceeefc7b4b5 [2022-10-25T17:31:50.004Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T17:31:50.275Z] ---> Running in 8f0b383f844a [2022-10-25T17:31:50.543Z] Removing intermediate container 8f0b383f844a [2022-10-25T17:31:50.543Z] ---> 17dd619911cb [2022-10-25T17:31:50.543Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T17:31:50.543Z] ---> Running in 9cc4da940972 [2022-10-25T17:31:50.810Z] Removing intermediate container 9cc4da940972 [2022-10-25T17:31:50.810Z] ---> 0a4f34d41fd2 [2022-10-25T17:31:50.810Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-25T17:31:51.078Z] ---> Running in 3feda6f583b4 [2022-10-25T17:31:51.346Z] Removing intermediate container 3feda6f583b4 [2022-10-25T17:31:51.346Z] ---> 8294213dfadf [2022-10-25T17:31:51.346Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T17:31:51.346Z] ---> Running in 8ef2733c4efd [2022-10-25T17:31:53.298Z] Removing intermediate container 8ef2733c4efd [2022-10-25T17:31:53.298Z] ---> ae8e1f093143 [2022-10-25T17:31:53.298Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T17:31:53.298Z] ---> Running in cdad7ab03935 [2022-10-25T17:31:54.262Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T17:31:54.262Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T17:31:54.262Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory [2022-10-25T17:31:54.530Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory [2022-10-25T17:31:54.530Z] OK: 221 MiB in 51 packages [2022-10-25T17:31:55.494Z] Removing intermediate container cdad7ab03935 [2022-10-25T17:31:55.494Z] ---> 7f57a1028edd [2022-10-25T17:31:55.494Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-25T17:31:55.494Z] ---> Running in a766c12f3520 [2022-10-25T17:31:55.763Z] Removing intermediate container a766c12f3520 [2022-10-25T17:31:55.763Z] ---> 087365d174fb [2022-10-25T17:31:55.763Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-25T17:31:56.348Z] ---> f5331e31c588 [2022-10-25T17:31:56.348Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T17:31:56.617Z] ---> Running in b53241444a08 [2022-10-25T17:32:53.048Z] Removing intermediate container b53241444a08 [2022-10-25T17:32:53.049Z] ---> 3d88644c0a18 [2022-10-25T17:32:53.049Z] Step 13/14 : COPY . . [2022-10-25T17:32:53.049Z] ---> 2c721717538a [2022-10-25T17:32:53.049Z] Step 14/14 : RUN ${MAKE} [2022-10-25T17:32:53.049Z] ---> Running in d4e1ce7f5d5d [2022-10-25T17:32:53.049Z] noop [2022-10-25T17:32:53.049Z] Removing intermediate container d4e1ce7f5d5d [2022-10-25T17:32:53.049Z] ---> 6c2d452af1c5 [2022-10-25T17:32:53.049Z] Successfully built 6c2d452af1c5 [2022-10-25T17:32:53.049Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:32:53.400Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T17:32:53.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T17:32:53.584Z] prd-ubuntu20.04-docker-arm64-4c-16g-116927 does not seem to be running inside a container [2022-10-25T17:32:53.655Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T17:32:54.842Z] $ docker top 1ff4ea5b6f459446ded254c6fdd4a4216801ab2c08a8f3cb22b8e1c813f5e950 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T17:32:55.657Z] + go version [2022-10-25T17:32:55.657Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T17:32:55.681Z] $ docker stop --time=1 1ff4ea5b6f459446ded254c6fdd4a4216801ab2c08a8f3cb22b8e1c813f5e950 [2022-10-25T17:32:57.296Z] $ docker rm -f 1ff4ea5b6f459446ded254c6fdd4a4216801ab2c08a8f3cb22b8e1c813f5e950 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:32:57.810Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T17:32:57.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T17:32:57.971Z] prd-ubuntu20.04-docker-arm64-4c-16g-116927 does not seem to be running inside a container [2022-10-25T17:32:58.041Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T17:32:59.183Z] $ docker top ba94fdd059a9f76aa3cd54bc9cb026cbd6a8dabe5ef273f76c6406a27401e0e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T17:32:59.687Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/12 [Pipeline] fileExists [Pipeline] sh [2022-10-25T17:33:00.292Z] + make test [2022-10-25T17:33:00.292Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T17:33:02.236Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T17:34:38.910Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T17:34:38.910Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.185s coverage: 28.2% of statements [2022-10-25T17:34:38.910Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T17:34:57.178Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.421s coverage: 86.5% of statements [2022-10-25T17:34:57.178Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T17:34:57.178Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T17:35:23.892Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T17:35:23.892Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T17:35:23.892Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T17:35:23.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T17:35:23.932Z] $ docker stop --time=1 ba94fdd059a9f76aa3cd54bc9cb026cbd6a8dabe5ef273f76c6406a27401e0e5 [2022-10-25T17:35:25.762Z] $ docker rm -f ba94fdd059a9f76aa3cd54bc9cb026cbd6a8dabe5ef273f76c6406a27401e0e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T17:35:26.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T17:35:26.883Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T17:35:27.552Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T17:35:27.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T17:35:28.290Z] + ls -al . [2022-10-25T17:35:28.290Z] total 240 [2022-10-25T17:35:28.290Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 17:33 . [2022-10-25T17:35:28.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:30 .. [2022-10-25T17:35:28.290Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 17:30 .git [2022-10-25T17:35:28.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:30 .github [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 17:30 .gitignore [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 17:30 .golangci.yml [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 17:30 Attribution.txt [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 17:30 CHANGELOG.md [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 17:30 Dockerfile [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 17:30 GOVERNANCE.md [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 17:30 Jenkinsfile [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 17:30 LICENSE [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 17:30 Makefile [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 17:30 OWNERS.md [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 17:30 README.md [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 17:28 VERSION [2022-10-25T17:35:28.290Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 17:30 bin [2022-10-25T17:35:28.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 17:30 cmd [2022-10-25T17:35:28.290Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 17:34 coverage.out [2022-10-25T17:35:28.290Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 17:30 doc [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 17:30 go.mod [2022-10-25T17:35:28.290Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 17:30 go.sum [2022-10-25T17:35:28.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:30 internal [2022-10-25T17:35:28.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 17:30 snap [2022-10-25T17:35:28.291Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 17:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:35:28.636Z] + 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=eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 --label arch=arm64 --label version=0.0.0 . [2022-10-25T17:35:29.348Z] Sending build context to Docker daemon 20.61MB [2022-10-25T17:35:29.348Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T17:35:29.348Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-25T17:35:29.348Z] ---> 6c2d452af1c5 [2022-10-25T17:35:29.348Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-25T17:35:29.653Z] ---> Running in f7d4e81b0522 [2022-10-25T17:35:29.933Z] Removing intermediate container f7d4e81b0522 [2022-10-25T17:35:29.933Z] ---> fb7e1c625232 [2022-10-25T17:35:29.933Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T17:35:30.218Z] ---> Running in e27df3ce8ef3 [2022-10-25T17:35:30.504Z] Removing intermediate container e27df3ce8ef3 [2022-10-25T17:35:30.504Z] ---> 2dbdc2380cfa [2022-10-25T17:35:30.504Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T17:35:30.504Z] ---> Running in 0d481113e69e [2022-10-25T17:35:30.783Z] Removing intermediate container 0d481113e69e [2022-10-25T17:35:30.783Z] ---> 1938abd09c92 [2022-10-25T17:35:30.783Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T17:35:31.071Z] ---> Running in 25b1e6283d16 [2022-10-25T17:35:31.344Z] Removing intermediate container 25b1e6283d16 [2022-10-25T17:35:31.344Z] ---> aa2282142d5d [2022-10-25T17:35:31.344Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-25T17:35:31.344Z] ---> Running in 208fecdb2038 [2022-10-25T17:35:31.614Z] Removing intermediate container 208fecdb2038 [2022-10-25T17:35:31.614Z] ---> de5f92a91921 [2022-10-25T17:35:31.614Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T17:35:31.614Z] ---> Running in 375cbc7340c5 [2022-10-25T17:35:33.577Z] Removing intermediate container 375cbc7340c5 [2022-10-25T17:35:33.577Z] ---> 292c15b07d71 [2022-10-25T17:35:33.577Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T17:35:33.577Z] ---> Running in 8fc2aceae633 [2022-10-25T17:35:34.554Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T17:35:34.821Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory [2022-10-25T17:35:34.821Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T17:35:35.408Z] WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory [2022-10-25T17:35:35.408Z] OK: 221 MiB in 51 packages [2022-10-25T17:35:35.996Z] Removing intermediate container 8fc2aceae633 [2022-10-25T17:35:35.996Z] ---> 6bb569ffb15e [2022-10-25T17:35:35.996Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-25T17:35:35.996Z] ---> Running in b03a752555cc [2022-10-25T17:35:36.586Z] Removing intermediate container b03a752555cc [2022-10-25T17:35:36.586Z] ---> b511091089d8 [2022-10-25T17:35:36.586Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-25T17:35:36.851Z] ---> b516ab773603 [2022-10-25T17:35:36.851Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T17:35:37.116Z] ---> Running in d1af6e38d10a [2022-10-25T17:35:39.074Z] Removing intermediate container d1af6e38d10a [2022-10-25T17:35:39.074Z] ---> 2238c5a673fe [2022-10-25T17:35:39.074Z] Step 13/27 : COPY . . [2022-10-25T17:35:41.657Z] ---> 950743389413 [2022-10-25T17:35:41.657Z] Step 14/27 : RUN ${MAKE} [2022-10-25T17:35:41.657Z] ---> Running in f60f6e19e596 [2022-10-25T17:35:42.634Z] 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-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-25T17:38:04.320Z] Removing intermediate container f60f6e19e596 [2022-10-25T17:38:04.320Z] ---> 12e30ad6eaba [2022-10-25T17:38:04.320Z] Step 15/27 : FROM alpine:3.16 [2022-10-25T17:38:04.588Z] 3.16: Pulling from library/alpine [2022-10-25T17:38:04.856Z] 9b18e9b68314: Already exists [2022-10-25T17:38:04.856Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T17:38:04.856Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T17:38:04.856Z] ---> a6215f271958 [2022-10-25T17:38:04.856Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T17:38:05.122Z] ---> Running in 3fbe0d28b41b [2022-10-25T17:38:05.391Z] Removing intermediate container 3fbe0d28b41b [2022-10-25T17:38:05.391Z] ---> da06a829220b [2022-10-25T17:38:05.391Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T17:38:05.391Z] ---> Running in ab2a075577a5 [2022-10-25T17:38:06.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T17:38:06.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T17:38:07.578Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T17:38:07.578Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T17:38:07.578Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T17:38:07.578Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T17:38:07.578Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T17:38:07.578Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T17:38:07.578Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T17:38:07.578Z] OK: 8 MiB in 20 packages [2022-10-25T17:38:08.543Z] Removing intermediate container ab2a075577a5 [2022-10-25T17:38:08.543Z] ---> 8a9d55292c44 [2022-10-25T17:38:08.543Z] Step 18/27 : WORKDIR / [2022-10-25T17:38:08.543Z] ---> Running in f3529c039780 [2022-10-25T17:38:08.809Z] Removing intermediate container f3529c039780 [2022-10-25T17:38:08.809Z] ---> d9acc7023fed [2022-10-25T17:38:08.809Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T17:38:10.223Z] ---> de46c693e7cb [2022-10-25T17:38:10.223Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T17:38:10.810Z] ---> ee816b3bf293 [2022-10-25T17:38:10.810Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T17:38:11.086Z] ---> c3907fdba67e [2022-10-25T17:38:11.086Z] Step 22/27 : EXPOSE 59984 [2022-10-25T17:38:11.086Z] ---> Running in eb1a3fd7d37b [2022-10-25T17:38:11.360Z] Removing intermediate container eb1a3fd7d37b [2022-10-25T17:38:11.360Z] ---> 77a40439ae98 [2022-10-25T17:38:11.360Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T17:38:11.633Z] ---> Running in cf781237ad49 [2022-10-25T17:38:11.902Z] Removing intermediate container cf781237ad49 [2022-10-25T17:38:11.902Z] ---> 1642f339d429 [2022-10-25T17:38:11.902Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T17:38:11.902Z] ---> Running in 268077c23c27 [2022-10-25T17:38:12.168Z] Removing intermediate container 268077c23c27 [2022-10-25T17:38:12.168Z] ---> 10d47693f060 [2022-10-25T17:38:12.168Z] Step 25/27 : LABEL arch=arm64 [2022-10-25T17:38:12.168Z] ---> Running in a067fd3f53a3 [2022-10-25T17:38:12.435Z] Removing intermediate container a067fd3f53a3 [2022-10-25T17:38:12.435Z] ---> 06aacfadf78c [2022-10-25T17:38:12.435Z] Step 26/27 : LABEL git_sha=eb5e2efeafc5fa6f2e8e6602eccd6341a3417a90 [2022-10-25T17:38:12.435Z] ---> Running in e7405b581244 [2022-10-25T17:38:12.703Z] Removing intermediate container e7405b581244 [2022-10-25T17:38:12.703Z] ---> cc307c28605a [2022-10-25T17:38:12.703Z] Step 27/27 : LABEL version=0.0.0 [2022-10-25T17:38:12.969Z] ---> Running in 13f41a90242d [2022-10-25T17:38:13.236Z] Removing intermediate container 13f41a90242d [2022-10-25T17:38:13.236Z] ---> 654e9bf96f2d [2022-10-25T17:38:13.236Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T17:38:13.236Z] Successfully built 654e9bf96f2d [2022-10-25T17:38:13.236Z] 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-10-25T17:38:13.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T17:38:13.667Z] [2022-10-25T17:38:13.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:38:14.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T17:38:14.001Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T17:38:14.001Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T17:38:14.001Z] 04944245beec: Pulling fs layer [2022-10-25T17:38:14.001Z] 699f458cf7ca: Pulling fs layer [2022-10-25T17:38:14.001Z] 765212b225bb: Pulling fs layer [2022-10-25T17:38:14.001Z] f23df028b6ca: Pulling fs layer [2022-10-25T17:38:14.001Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T17:38:14.001Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T17:38:14.001Z] f23df028b6ca: Waiting [2022-10-25T17:38:14.001Z] d65c8cfc05b1: Waiting [2022-10-25T17:38:14.001Z] 765212b225bb: Waiting [2022-10-25T17:38:14.001Z] 2437ff75d9bd: Waiting [2022-10-25T17:38:14.269Z] 04944245beec: Verifying Checksum [2022-10-25T17:38:14.269Z] 04944245beec: Download complete [2022-10-25T17:38:14.269Z] 765212b225bb: Verifying Checksum [2022-10-25T17:38:14.269Z] 765212b225bb: Download complete [2022-10-25T17:38:14.269Z] f23df028b6ca: Verifying Checksum [2022-10-25T17:38:14.269Z] f23df028b6ca: Download complete [2022-10-25T17:38:14.269Z] d65c8cfc05b1: Download complete [2022-10-25T17:38:14.269Z] 699f458cf7ca: Verifying Checksum [2022-10-25T17:38:14.269Z] 699f458cf7ca: Download complete [2022-10-25T17:38:14.850Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T17:38:14.850Z] 8998bd30e6a1: Download complete [2022-10-25T17:38:16.786Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T17:38:16.786Z] 2437ff75d9bd: Download complete [2022-10-25T17:38:18.186Z] 8998bd30e6a1: Pull complete [2022-10-25T17:38:18.767Z] 04944245beec: Pull complete [2022-10-25T17:38:19.724Z] 699f458cf7ca: Pull complete [2022-10-25T17:38:19.991Z] 765212b225bb: Pull complete [2022-10-25T17:38:20.950Z] f23df028b6ca: Pull complete [2022-10-25T17:38:20.950Z] d65c8cfc05b1: Pull complete [2022-10-25T17:38:35.925Z] 2437ff75d9bd: Pull complete [2022-10-25T17:38:35.926Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T17:38:35.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T17:38:35.926Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T17:38:36.093Z] prd-ubuntu20.04-docker-arm64-4c-16g-116927 does not seem to be running inside a container [2022-10-25T17:38:36.154Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T17:38:38.670Z] $ docker top ae83cb08b5c4bf9476c75c55bf33e916bc8e684633f8bf74240049502dbc7cd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:38:39.179Z] ---> job-cost.sh [2022-10-25T17:38:39.451Z] lf-activate-venv: SKIPPING [2022-10-25T17:38:39.451Z] INFO: No Stack... [2022-10-25T17:38:39.717Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T17:38:40.671Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T17:38:40.988Z] + cat /w/workspace/device-onvif-camera/12/archives/cost.csv [2022-10-25T17:38:40.988Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T17:38:41.045Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [2022-10-25T17:38:41.053Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] did not exist. Created. [2022-10-25T17:38:41.053Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T17:38:41.384Z] /w/workspace/device-onvif-camera/12@tmp/durable-7cdd3900/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T17:38:41.712Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T17:38:41.734Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T17:38:41.794Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T17:38:41.803Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T17:38:41.829Z] $ docker stop --time=1 ae83cb08b5c4bf9476c75c55bf33e916bc8e684633f8bf74240049502dbc7cd2 [2022-10-25T17:38:43.294Z] $ docker rm -f ae83cb08b5c4bf9476c75c55bf33e916bc8e684633f8bf74240049502dbc7cd2 [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-10-25T17:38:43.684Z] provisioning config files... [2022-10-25T17:38:43.691Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config9078067071191528256tmp [Pipeline] { [Pipeline] sh [2022-10-25T17:38:43.981Z] + set +x [2022-10-25T17:38:43.981Z] + curl -s https://codecov.io/bash [2022-10-25T17:38:43.981Z] + bash -s -- [2022-10-25T17:38:43.981Z] [2022-10-25T17:38:43.981Z] _____ _ [2022-10-25T17:38:43.981Z] / ____| | | [2022-10-25T17:38:43.981Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T17:38:43.981Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T17:38:43.981Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T17:38:43.981Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T17:38:43.981Z] Bash-1.0.6 [2022-10-25T17:38:43.981Z] [2022-10-25T17:38:43.981Z] [2022-10-25T17:38:43.981Z] ==> git version 2.25.1 found [2022-10-25T17:38:43.982Z] ==> 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-10-25T17:38:43.982Z] Release-Date: 2020-01-08 [2022-10-25T17:38:43.982Z] 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-10-25T17:38:43.982Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T17:38:43.982Z] ==> Jenkins CI detected. [2022-10-25T17:38:43.982Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-180 [2022-10-25T17:38:43.982Z] project root: . [2022-10-25T17:38:43.982Z] --> token set from env [2022-10-25T17:38:43.982Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T17:38:43.982Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T17:38:43.982Z] ==> Python coveragepy not found [2022-10-25T17:38:43.982Z] ==> Searching for coverage reports in: [2022-10-25T17:38:43.982Z] + . [2022-10-25T17:38:43.982Z] -> Found 1 reports [2022-10-25T17:38:43.982Z] ==> Detecting git/mercurial file structure [2022-10-25T17:38:43.982Z] ==> Reading reports [2022-10-25T17:38:43.982Z] + ./coverage.out bytes=78636 [2022-10-25T17:38:43.982Z] ==> Appending adjustments [2022-10-25T17:38:43.982Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T17:38:44.241Z] + Found adjustments [2022-10-25T17:38:44.241Z] ==> Gzipping contents [2022-10-25T17:38:44.241Z] 12K /tmp/codecov.aA6r2l.gz [2022-10-25T17:38:44.241Z] ==> Uploading reports [2022-10-25T17:38:44.241Z] url: https://codecov.io [2022-10-25T17:38:44.241Z] query: branch=PR-180&commit=83023ddd309b38d06d3e1ed86c7136424cccba1f&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-25T17:38:44.241Z] -> Pinging Codecov [2022-10-25T17:38:44.242Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-180&commit=83023ddd309b38d06d3e1ed86c7136424cccba1f&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-25T17:38:44.500Z] -> Uploading to [2022-10-25T17:38:44.500Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/83023ddd309b38d06d3e1ed86c7136424cccba1f/089fe839-b73a-4702-9d8f-aa846bb50338.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T173844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=652f63e7625810a5fbf18d90504a523c9a91eeb00cdeddd09c44f90cc27230fd [2022-10-25T17:38:44.501Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T17:38:44.501Z] Dload Upload Total Spent Left Speed [2022-10-25T17:38:44.760Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10793 0 0 100 10793 0 45733 --:--:-- --:--:-- --:--:-- 45733 [2022-10-25T17:38:44.760Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/83023ddd309b38d06d3e1ed86c7136424cccba1f [Pipeline] } [2022-10-25T17:38:44.776Z] 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-10-25T17:38:45.417Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] [2022-10-25T17:38:45.417Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-25T17:38:45.417Z] total 16 [2022-10-25T17:38:45.417Z] drwxr-xr-x 3 root root 4096 Oct 25 17:30 . [2022-10-25T17:38:45.417Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 17:30 .. [2022-10-25T17:38:45.417Z] drwxr-xr-x 2 root root 4096 Oct 25 17:30 cost [2022-10-25T17:38:45.417Z] -rw-r--r-- 1 root root 92 Oct 25 17:30 cost.csv [2022-10-25T17:38:45.417Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-25T17:38:45.417Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-25T17:38:45.417Z] total 16 [2022-10-25T17:38:45.417Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 17:30 . [2022-10-25T17:38:45.417Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 17:30 .. [2022-10-25T17:38:45.417Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 17:30 cost [2022-10-25T17:38:45.417Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 25 17:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:38:45.706Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:38:46.564Z] ---> package-listing.sh [2022-10-25T17:38:46.564Z] ++ facter osfamily [2022-10-25T17:38:46.564Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T17:38:46.823Z] + OS_FAMILY=debian [2022-10-25T17:38:46.823Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-180 [2022-10-25T17:38:46.823Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T17:38:46.823Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T17:38:46.823Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T17:38:46.823Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T17:38:46.823Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-25T17:38:46.823Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T17:38:46.823Z] + case "${OS_FAMILY}" in [2022-10-25T17:38:46.823Z] + dpkg -l [2022-10-25T17:38:46.823Z] + grep '^ii' [2022-10-25T17:38:46.823Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T17:38:46.823Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T17:38:46.823Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T17:38:46.823Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-25T17:38:46.823Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ [2022-10-25T17:38:46.823Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-180/archives/ [Pipeline] echo [2022-10-25T17:38:46.835Z] 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T17:38:47.132Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T17:38:47.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T17:38:47.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T17:38:47.490Z] prd-ubuntu20.04-docker-8c-8g-116926 does not seem to be running inside a container [2022-10-25T17:38:47.522Z] $ 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-180/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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T17:38:47.725Z] $ docker top 11d2f5ac5076a47e7c7832e3d73b58f15a6ebc2755c2e0075ef2211d9ffd987a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T17:38:48.055Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T17:38:48.337Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T17:38:48.615Z] + ls /var/log/sa-host [2022-10-25T17:38:48.615Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T17:38:48.762Z] provisioning config files... [2022-10-25T17:38:48.770Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config11386149074960723335tmp [Pipeline] { [Pipeline] echo [2022-10-25T17:38:48.781Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:38:49.059Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T17:38:49.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:38:49.387Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T17:38:49.394Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:38:49.674Z] ---> sudo-logs.sh [2022-10-25T17:38:49.674Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T17:38:49.695Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:38:49.976Z] ---> job-cost.sh [2022-10-25T17:38:49.976Z] lf-activate-venv: SKIPPING [2022-10-25T17:38:49.976Z] DEBUG: total: 0.2199999988079071 [2022-10-25T17:38:49.976Z] INFO: Retrieving Stack Cost... [2022-10-25T17:38:50.235Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T17:38:50.800Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T17:38:50.813Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T17:38:51.092Z] ---> logs-deploy.sh [2022-10-25T17:38:51.093Z] lf-activate-venv: SKIPPING [2022-10-25T17:38:51.093Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/12 [2022-10-25T17:38:51.093Z] INFO: archiving workspace using pattern(s): [2022-10-25T17:38:52.026Z] Archives upload complete. [2022-10-25T17:38:52.026Z] INFO: archiving logs to Nexus