Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9743c2621e012aae49f2714df923641dd282187+c32d12cb3f3d5bd786ac66f0af1d84994387a230 (be29ec3472b84bb5d41cca65d6fadcb10e02683f) 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-ssh4091480004522421428.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-ssh2215789355458675430.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8510191260254748002.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11436067105321051859.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7366332384405425675.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1150638664043619681.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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 ‘prd-ubuntu20.04-docker-8c-8g-8998’ Running on prd-ubuntu20.04-docker-8c-8g-9064 in /w/workspace/undry_device-onvif-camera_PR-183 [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-183 # 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/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit f9743c2621e012aae49f2714df923641dd282187 Merge succeeded, producing f9743c2621e012aae49f2714df923641dd282187 Checking out Revision f9743c2621e012aae49f2714df923641dd282187 (PR-183) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:42:20 Timeout set to expire in 6 hr 0 min > git config core.sparsecheckout # timeout=10 > git checkout -f f9743c2621e012aae49f2714df923641dd282187 # 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9743c2621e012aae49f2714df923641dd282187 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:42:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:42:20 ========================================================= 03:42:20 EdgeX Global Pipelines Version Info 03:42:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:42:21 ------------------- 03:42:21 stable info: 03:42:21 ------------------- 03:42:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:42:21 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 03:42:21 Message: update stable to v1.0.243 03:42:21 ------------------- 03:42:21 experimental info: 03:42:21 ------------------- 03:42:21 Commited By: **** collab-it+edgex@linuxfoundation.org 03:42:21 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 03:42:21 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:42:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:42:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:42:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:42:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo 03:42:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo 03:42:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo 03:42:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9743c2621e012aae49f2714df923641dd282187 [Pipeline] echo 03:42:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9743c2 [Pipeline] echo 03:42:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:23 provisioning config files... 03:42:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-183@tmp/config4448041597267008159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:23 ---> docker-login.sh 03:42:23 nexus3.edgexfoundry.org:10001 03:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:24 Configure a credential helper to remove this warning. See 03:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:24 03:42:24 Login Succeeded 03:42:24 nexus3.edgexfoundry.org:10002 03:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:24 Configure a credential helper to remove this warning. See 03:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:24 03:42:24 Login Succeeded 03:42:24 nexus3.edgexfoundry.org:10003 03:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:24 Configure a credential helper to remove this warning. See 03:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:24 03:42:24 Login Succeeded 03:42:24 nexus3.edgexfoundry.org:10004 03:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:24 Configure a credential helper to remove this warning. See 03:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:24 03:42:24 Login Succeeded 03:42:24 docker.io 03:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:24 Configure a credential helper to remove this warning. See 03:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:24 03:42:24 Login Succeeded 03:42:24 ---> docker-login.sh ends [Pipeline] } 03:42:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:42:25 + git rev-list -1 --merges f9743c2621e012aae49f2714df923641dd282187~1..f9743c2621e012aae49f2714df923641dd282187 [Pipeline] echo 03:42:25 -----------> git rev-list -1 --merges f9743c2621e012aae49f2714df923641dd282187~1..f9743c2621e012aae49f2714df923641dd282187 f9743c2621e012aae49f2714df923641dd282187 [false] [Pipeline] sh 03:42:25 + git log --format=format:%s -1 f9743c2621e012aae49f2714df923641dd282187 [Pipeline] echo 03:42:25 ========================================================= 03:42:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:42:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:26 + git log --format=format:%s -1 f9743c2621e012aae49f2714df923641dd282187 [Pipeline] echo 03:42:26 [semverPrep] GIT_COMMIT: f9743c2621e012aae49f2714df923641dd282187, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 03:42:26 [semverPrep] This is not a build commit. [Pipeline] sh 03:42:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:42:26 + grep -v github /etc/ssh/ssh_known_hosts 03:42:26 + [ -e /tmp/ssh_known_hosts ] 03:42:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:42:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:42:26 + sudo tee -a /etc/ssh/ssh_known_hosts 03:42:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:27 03:42:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:27 0.1.4: Pulling from edgex-devops/py-git-semver 03:42:27 b85a868b505f: Pulling fs layer 03:42:27 e2be974225ed: Pulling fs layer 03:42:27 339a4e72a1f5: Pulling fs layer 03:42:27 988bab9f4d93: Pulling fs layer 03:42:27 1469e6f7b9e6: Pulling fs layer 03:42:27 eaf3925da568: Pulling fs layer 03:42:27 bab4dde63d76: Pulling fs layer 03:42:27 bde34c3a00c8: Pulling fs layer 03:42:27 b352a97aabf1: Pulling fs layer 03:42:27 4872d77fe225: Pulling fs layer 03:42:27 5851b861e8e6: Pulling fs layer 03:42:27 1469e6f7b9e6: Waiting 03:42:27 eaf3925da568: Waiting 03:42:27 bab4dde63d76: Waiting 03:42:27 bde34c3a00c8: Waiting 03:42:27 b352a97aabf1: Waiting 03:42:27 4872d77fe225: Waiting 03:42:27 988bab9f4d93: Waiting 03:42:27 e2be974225ed: Download complete 03:42:27 988bab9f4d93: Verifying Checksum 03:42:27 988bab9f4d93: Download complete 03:42:27 1469e6f7b9e6: Verifying Checksum 03:42:27 1469e6f7b9e6: Download complete 03:42:27 339a4e72a1f5: Verifying Checksum 03:42:27 339a4e72a1f5: Download complete 03:42:27 eaf3925da568: Verifying Checksum 03:42:27 eaf3925da568: Download complete 03:42:27 bde34c3a00c8: Verifying Checksum 03:42:27 bde34c3a00c8: Download complete 03:42:27 b352a97aabf1: Download complete 03:42:27 4872d77fe225: Verifying Checksum 03:42:27 4872d77fe225: Download complete 03:42:27 5851b861e8e6: Download complete 03:42:27 b85a868b505f: Verifying Checksum 03:42:27 b85a868b505f: Download complete 03:42:28 bab4dde63d76: Verifying Checksum 03:42:28 bab4dde63d76: Download complete 03:42:29 b85a868b505f: Pull complete 03:42:29 e2be974225ed: Pull complete 03:42:30 339a4e72a1f5: Pull complete 03:42:30 988bab9f4d93: Pull complete 03:42:30 1469e6f7b9e6: Pull complete 03:42:30 eaf3925da568: Pull complete 03:42:32 bab4dde63d76: Pull complete 03:42:32 bde34c3a00c8: Pull complete 03:42:33 b352a97aabf1: Pull complete 03:42:33 4872d77fe225: Pull complete 03:42:33 5851b861e8e6: Pull complete 03:42:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:42:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:33 prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container 03:42:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:42:35 $ docker top ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be -eo pid,comm 03:42:35 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). 03:42:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:42:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:35 [ssh-agent] Looking for ssh-agent implementation... 03:42:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:36 $ docker exec ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be ssh-agent 03:42:36 SSH_AUTH_SOCK=/tmp/ssh-4lRueDPnx2nC/agent.14 03:42:36 SSH_AGENT_PID=27 03:42:36 Running ssh-add (command line suppressed) 03:42:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-183@tmp/private_key_3798790537898418977.key (/w/workspace/undry_device-onvif-camera_PR-183@tmp/private_key_3798790537898418977.key) 03:42:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:36 + git tag --points-at HEAD [Pipeline] } 03:42:36 $ docker exec --env ******** --env ******** ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be ssh-agent -k 03:42:36 unset SSH_AUTH_SOCK; 03:42:36 unset SSH_AGENT_PID; 03:42:36 echo Agent pid 27 killed; 03:42:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:42:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:36 [ssh-agent] Looking for ssh-agent implementation... 03:42:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:37 $ docker exec ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be ssh-agent 03:42:37 SSH_AUTH_SOCK=/tmp/ssh-nIgQxOweR00b/agent.70 03:42:37 SSH_AGENT_PID=76 03:42:37 Running ssh-add (command line suppressed) 03:42:37 Identity added: /w/workspace/undry_device-onvif-camera_PR-183@tmp/private_key_15330260123580531816.key (/w/workspace/undry_device-onvif-camera_PR-183@tmp/private_key_15330260123580531816.key) 03:42:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:37 + git semver init 03:42:37 2022-10-24 03:42:37,875 [run_init] DEBUG init version:0.0.0 force:False 03:42:37 2022-10-24 03:42:37,876 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-183/.semver 03:42:37 2022-10-24 03:42:37,876 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-183/.semver 03:42:37 2022-10-24 03:42:37,877 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-183/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-183, universal_newlines=False, shell=None, istream=None) 03:42:39 2022-10-24 03:42:38,922 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-183/.git/info/exclude 03:42:39 2022-10-24 03:42:38,923 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-183/.semver/PR-183 with force:False 03:42:39 2022-10-24 03:42:38,923 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-183/.semver/PR-183 03:42:39 2022-10-24 03:42:38,927 [execute] INFO git cat-file --batch-check 03:42:39 2022-10-24 03:42:38,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-183/.semver, universal_newlines=False, shell=None, istream=) 03:42:39 2022-10-24 03:42:38,935 [execute] INFO git cat-file --batch 03:42:39 2022-10-24 03:42:38,935 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-183/.semver, universal_newlines=False, shell=None, istream=) 03:42:39 2022-10-24 03:42:38,941 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-183/.semver/PR-183 03:42:39 0.0.0 [Pipeline] } 03:42:39 $ docker exec --env ******** --env ******** ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be ssh-agent -k 03:42:39 unset SSH_AUTH_SOCK; 03:42:39 unset SSH_AGENT_PID; 03:42:39 echo Agent pid 76 killed; 03:42:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:42:39 + git semver [Pipeline] } 03:42:40 $ docker stop --time=1 ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be 03:42:41 $ docker rm -f ec4b858e098c563a89ee63305d1811fd7ecd68077a37f77655f1676977d9c2be [Pipeline] // withDockerContainer [Pipeline] sh 03:42:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:42:42 Stashed 1 file(s) [Pipeline] echo 03:42:42 [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 03:42:42 provisioning config files... 03:42:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-183@tmp/config14373068516190439931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:43 ---> docker-login.sh 03:42:43 nexus3.edgexfoundry.org:10001 03:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:43 Configure a credential helper to remove this warning. See 03:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:43 03:42:43 Login Succeeded 03:42:43 nexus3.edgexfoundry.org:10002 03:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:43 Configure a credential helper to remove this warning. See 03:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:43 03:42:43 Login Succeeded 03:42:43 nexus3.edgexfoundry.org:10003 03:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:43 Configure a credential helper to remove this warning. See 03:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:43 03:42:43 Login Succeeded 03:42:43 nexus3.edgexfoundry.org:10004 03:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:43 Configure a credential helper to remove this warning. See 03:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:43 03:42:43 Login Succeeded 03:42:43 docker.io 03:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:44 Configure a credential helper to remove this warning. See 03:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:44 03:42:44 Login Succeeded 03:42:44 ---> docker-login.sh ends [Pipeline] } 03:42:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:42:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:44 ========================================================= 03:42:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:42:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:44 + 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 . 03:42:44 Sending build context to Docker daemon 21.4MB 03:42:44 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 03:42:44 Step 2/14 : FROM ${BASE} AS builder 03:42:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:42:45 213ec9aee27d: Pulling fs layer 03:42:45 4583459ba037: Pulling fs layer 03:42:45 93c1e223e6f2: Pulling fs layer 03:42:45 53926ce57604: Pulling fs layer 03:42:45 21b2b0c7a3f4: Pulling fs layer 03:42:45 30f14e443154: Pulling fs layer 03:42:45 801331c1e519: Pulling fs layer 03:42:45 99cc6dd402b0: Pulling fs layer 03:42:45 7d9ed39f4882: Pulling fs layer 03:42:45 801331c1e519: Waiting 03:42:45 99cc6dd402b0: Waiting 03:42:45 53926ce57604: Waiting 03:42:45 7d9ed39f4882: Waiting 03:42:45 21b2b0c7a3f4: Waiting 03:42:45 30f14e443154: Waiting 03:42:45 93c1e223e6f2: Verifying Checksum 03:42:45 93c1e223e6f2: Download complete 03:42:45 4583459ba037: Download complete 03:42:45 21b2b0c7a3f4: Verifying Checksum 03:42:45 21b2b0c7a3f4: Download complete 03:42:45 30f14e443154: Verifying Checksum 03:42:45 30f14e443154: Download complete 03:42:45 213ec9aee27d: Verifying Checksum 03:42:45 213ec9aee27d: Download complete 03:42:45 801331c1e519: Verifying Checksum 03:42:45 801331c1e519: Download complete 03:42:45 213ec9aee27d: Pull complete 03:42:45 4583459ba037: Pull complete 03:42:45 93c1e223e6f2: Pull complete 03:42:45 7d9ed39f4882: Verifying Checksum 03:42:45 7d9ed39f4882: Download complete 03:42:45 99cc6dd402b0: Verifying Checksum 03:42:45 99cc6dd402b0: Download complete 03:42:45 53926ce57604: Verifying Checksum 03:42:45 53926ce57604: Download complete 03:42:50 53926ce57604: Pull complete 03:42:50 21b2b0c7a3f4: Pull complete 03:42:50 30f14e443154: Pull complete 03:42:50 801331c1e519: Pull complete 03:42:51 99cc6dd402b0: Pull complete 03:42:52 7d9ed39f4882: Pull complete 03:42:52 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 03:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:42:52 ---> 1dedd983c030 03:42:52 Step 3/14 : ARG ADD_BUILD_TAGS="" 03:42:57 Still waiting to schedule task 03:42:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9062’ 03:42:58 ---> Running in c186aa2e37b5 03:42:58 Removing intermediate container c186aa2e37b5 03:42:58 ---> 4c245d8ca80b 03:42:58 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:42:58 ---> Running in 18a65cff8437 03:42:58 Removing intermediate container 18a65cff8437 03:42:58 ---> 9e6042ab29c4 03:42:58 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:42:58 ---> Running in 5ec9419046f8 03:42:59 Removing intermediate container 5ec9419046f8 03:42:59 ---> 4dd268c33324 03:42:59 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 03:42:59 ---> Running in b9b36c5b1e7b 03:42:59 Removing intermediate container b9b36c5b1e7b 03:42:59 ---> b5b07e9b6007 03:42:59 Step 7/14 : LABEL Name=edgex-device-onvif-camera 03:43:00 ---> Running in 16283e345112 03:43:00 Removing intermediate container 16283e345112 03:43:00 ---> 7c88c16d702a 03:43:00 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:43:00 ---> Running in 14791ddee4fc 03:43:01 Removing intermediate container 14791ddee4fc 03:43:01 ---> 6b09e45d4dad 03:43:01 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:43:01 ---> Running in 8c2edfddc6bb 03:43:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:43:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:43:02 OK: 211 MiB in 51 packages 03:43:03 Removing intermediate container 8c2edfddc6bb 03:43:03 ---> 2dcf19ebfb15 03:43:03 Step 10/14 : WORKDIR /device-onvif-camera 03:43:03 ---> Running in 06526d5c819e 03:43:03 Removing intermediate container 06526d5c819e 03:43:03 ---> 8071de30bc04 03:43:03 Step 11/14 : COPY go.mod vendor* ./ 03:43:03 ---> f98721598cb1 03:43:03 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:43:03 ---> Running in efd330f3e548 03:43:35 Removing intermediate container efd330f3e548 03:43:35 ---> d5756f61ee1e 03:43:35 Step 13/14 : COPY . . 03:43:35 ---> 7ef15f0b484d 03:43:35 Step 14/14 : RUN ${MAKE} 03:43:35 ---> Running in c448c96d5ef0 03:43:35 noop 03:43:35 Removing intermediate container c448c96d5ef0 03:43:35 ---> a7539cfe1608 03:43:35 Successfully built a7539cfe1608 03:43:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:36 + docker inspect -f . ci-base-image-x86_64 03:43:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:36 prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container 03:43:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:43:36 $ docker top 11ac1d59a55987e90fc54afbe355fdc60e05bf1905a60f76f13d9be3853ed4ca -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:37 + go version 03:43:37 go version go1.18.7 linux/amd64 [Pipeline] } 03:43:37 $ docker stop --time=1 11ac1d59a55987e90fc54afbe355fdc60e05bf1905a60f76f13d9be3853ed4ca 03:43:38 $ docker rm -f 11ac1d59a55987e90fc54afbe355fdc60e05bf1905a60f76f13d9be3853ed4ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:39 + docker inspect -f . ci-base-image-x86_64 03:43:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:39 prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container 03:43:39 $ 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-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:43:39 $ docker top 403293b19059bb802a0c5a148815db7ae9311d27cf09660560ab0cc2d79952c6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:39 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-183 [Pipeline] fileExists [Pipeline] sh 03:43:40 + make test 03:43:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:43:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:43:50 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:43:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements 03:43:51 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:43:51 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.315s coverage: 86.5% of statements 03:43:58 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." 03:43:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:44:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:44:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:44:01 ./bin/test-attribution-txt.sh [Pipeline] echo 03:44:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:44:01 $ docker stop --time=1 403293b19059bb802a0c5a148815db7ae9311d27cf09660560ab0cc2d79952c6 03:44:04 $ docker rm -f 403293b19059bb802a0c5a148815db7ae9311d27cf09660560ab0cc2d79952c6 [Pipeline] // withDockerContainer [Pipeline] sh 03:44:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:44:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:44:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:44:06 + ls -al . 03:44:06 total 244 03:44:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 03:43 . 03:44:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 .. 03:44:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:43 .git 03:44:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:42 .github 03:44:06 -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 03:42 .gitignore 03:44:06 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 03:42 .golangci.yml 03:44:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:42 .semver 03:44:06 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 03:42 Attribution.txt 03:44:06 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 03:42 CHANGELOG.md 03:44:06 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 03:42 Dockerfile 03:44:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:42 GOVERNANCE.md 03:44:06 -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 03:42 Jenkinsfile 03:44:06 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 03:42 LICENSE 03:44:06 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 03:42 Makefile 03:44:06 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 03:42 OWNERS.md 03:44:06 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 03:42 README.md 03:44:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:42 VERSION 03:44:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:42 bin 03:44:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:42 cmd 03:44:06 -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 03:43 coverage.out 03:44:06 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 03:42 doc 03:44:06 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 24 03:42 go.mod 03:44:06 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 24 03:42 go.sum 03:44:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 internal 03:44:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:42 snap 03:44:06 -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 03:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:06 + 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=f9743c2621e012aae49f2714df923641dd282187 --label arch=amd64 --label version=0.0.0 . 03:44:06 Sending build context to Docker daemon 21.48MB 03:44:06 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 03:44:06 Step 2/27 : FROM ${BASE} AS builder 03:44:06 ---> a7539cfe1608 03:44:06 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:44:06 ---> Running in ffb9109cc4d2 03:44:06 Removing intermediate container ffb9109cc4d2 03:44:06 ---> fe76eb17cc94 03:44:06 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:44:06 ---> Running in ec3aa905fc36 03:44:07 Removing intermediate container ec3aa905fc36 03:44:07 ---> 434baece26c1 03:44:07 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:44:07 ---> Running in 185b5fa42477 03:44:07 Removing intermediate container 185b5fa42477 03:44:07 ---> 783c10c5f8d8 03:44:07 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:44:07 ---> Running in b663eaaee79e 03:44:07 Removing intermediate container b663eaaee79e 03:44:07 ---> d7f6186c1c93 03:44:07 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:44:07 ---> Running in 2365e72570aa 03:44:07 Removing intermediate container 2365e72570aa 03:44:07 ---> 13e45480397e 03:44:07 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:44:07 ---> Running in e0e64a159c0a 03:44:08 Removing intermediate container e0e64a159c0a 03:44:08 ---> e5db0e49a9c3 03:44:08 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:44:08 ---> Running in 03150a0edc9d 03:44:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:44:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:44:09 OK: 211 MiB in 51 packages 03:44:09 Removing intermediate container 03150a0edc9d 03:44:09 ---> 0428a4d9fb76 03:44:09 Step 10/27 : WORKDIR /device-onvif-camera 03:44:09 ---> Running in f02359bb21eb 03:44:09 Removing intermediate container f02359bb21eb 03:44:09 ---> 8f25bde0de66 03:44:09 Step 11/27 : COPY go.mod vendor* ./ 03:44:09 ---> b8cba66bfacf 03:44:09 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:44:09 ---> Running in 629e700c6ccc 03:44:10 Removing intermediate container 629e700c6ccc 03:44:10 ---> 6af692b6ec73 03:44:10 Step 13/27 : COPY . . 03:44:11 ---> 395d8387bc9c 03:44:11 Step 14/27 : RUN ${MAKE} 03:44:11 ---> Running in cca6fe8ce639 03:44:12 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 03:44:38 Removing intermediate container cca6fe8ce639 03:44:38 ---> 3613757b5ff6 03:44:38 Step 15/27 : FROM alpine:3.16 03:44:38 3.16: Pulling from library/alpine 03:44:38 213ec9aee27d: Already exists 03:44:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:44:38 Status: Downloaded newer image for alpine:3.16 03:44:38 ---> 9c6f07244728 03:44:38 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:44:38 ---> Running in cfa362cbc976 03:44:38 Removing intermediate container cfa362cbc976 03:44:38 ---> c5c65afa5752 03:44:38 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 03:44:38 ---> Running in d399740bc2d0 03:44:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:44:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:44:38 (1/6) Installing dumb-init (1.2.5-r1) 03:44:38 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:44:38 (3/6) Installing libsodium (1.0.18-r0) 03:44:38 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:44:38 (5/6) Installing libzmq (4.3.4-r0) 03:44:38 (6/6) Installing zeromq (4.3.4-r0) 03:44:38 Executing busybox-1.35.0-r17.trigger 03:44:38 OK: 8 MiB in 20 packages 03:44:38 Removing intermediate container d399740bc2d0 03:44:38 ---> e76168af80ac 03:44:38 Step 18/27 : WORKDIR / 03:44:38 ---> Running in 7fe2bbc4383e 03:44:38 Removing intermediate container 7fe2bbc4383e 03:44:38 ---> eb7056a5cd3c 03:44:38 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:44:40 ---> 3df2298420f2 03:44:40 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:44:40 ---> 807165cdeb1a 03:44:40 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:44:40 ---> 48156836a93c 03:44:40 Step 22/27 : EXPOSE 59984 03:44:40 ---> Running in d1357bc08e86 03:44:40 Removing intermediate container d1357bc08e86 03:44:40 ---> 2b0d9948bb88 03:44:40 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:44:40 ---> Running in 0ecd0d8d36b2 03:44:40 Removing intermediate container 0ecd0d8d36b2 03:44:40 ---> 0a5dcef0f46c 03:44:40 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:44:40 ---> Running in 720cbea4ec52 03:44:40 Removing intermediate container 720cbea4ec52 03:44:40 ---> c13a54eb5dfd 03:44:40 Step 25/27 : LABEL arch=amd64 03:44:40 ---> Running in a349cf63965e 03:44:40 Removing intermediate container a349cf63965e 03:44:40 ---> 3c6cc2789217 03:44:40 Step 26/27 : LABEL git_sha=f9743c2621e012aae49f2714df923641dd282187 03:44:40 ---> Running in 12ce5a5d75bb 03:44:40 Removing intermediate container 12ce5a5d75bb 03:44:40 ---> ec217e8e6765 03:44:40 Step 27/27 : LABEL version=0.0.0 03:44:40 ---> Running in 5feb2d4e36a7 03:44:40 Removing intermediate container 5feb2d4e36a7 03:44:40 ---> 264e58b02bdd 03:44:40 [Warning] One or more build-args [ARCH] were not consumed 03:44:40 Successfully built 264e58b02bdd 03:44:40 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 03:44:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:41 03:44:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:42 latest: Pulling from edgex-lftools-log-publisher 03:44:42 5eb5b503b376: Pulling fs layer 03:44:42 5c69ac0246d0: Pulling fs layer 03:44:42 ec43610c2a17: Pulling fs layer 03:44:42 3a2ae6a8a46f: Pulling fs layer 03:44:42 33b1e0a273af: Pulling fs layer 03:44:42 5d3b04190fa2: Pulling fs layer 03:44:42 2f39f015ded8: Pulling fs layer 03:44:42 3a2ae6a8a46f: Waiting 03:44:42 33b1e0a273af: Waiting 03:44:42 5d3b04190fa2: Waiting 03:44:42 2f39f015ded8: Waiting 03:44:42 5c69ac0246d0: Download complete 03:44:42 3a2ae6a8a46f: Download complete 03:44:42 33b1e0a273af: Verifying Checksum 03:44:42 33b1e0a273af: Download complete 03:44:42 5d3b04190fa2: Download complete 03:44:42 ec43610c2a17: Verifying Checksum 03:44:42 ec43610c2a17: Download complete 03:44:42 5eb5b503b376: Verifying Checksum 03:44:42 5eb5b503b376: Download complete 03:44:43 2f39f015ded8: Download complete 03:44:43 5eb5b503b376: Pull complete 03:44:43 5c69ac0246d0: Pull complete 03:44:44 ec43610c2a17: Pull complete 03:44:44 3a2ae6a8a46f: Pull complete 03:44:44 33b1e0a273af: Pull complete 03:44:44 5d3b04190fa2: Pull complete 03:44:48 2f39f015ded8: Pull complete 03:44:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:44:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:48 prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container 03:44:48 $ 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-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:44:53 $ docker top a0f4cf26bc94ff42dcc9822efd611e4b2713fb2fd28c8e2d4d4c309779c2189c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:53 ---> job-cost.sh 03:44:53 lf-activate-venv: SKIPPING 03:44:53 INFO: No Stack... 03:44:54 INFO: Retrieving Pricing Info for: v3-standard-8 03:44:54 INFO: Archiving Costs [Pipeline] sh 03:44:54 + cat /w/workspace/undry_device-onvif-camera_PR-183/archives/cost.csv 03:44:54 + cut -d, -f6 [Pipeline] lock 03:44:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] 03:44:54 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] did not exist. Created. 03:44:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:44:55 + echo total: 0.2199999988079071 [Pipeline] stash 03:44:55 Stashed 1 file(s) [Pipeline] } 03:44:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:44:55 $ docker stop --time=1 a0f4cf26bc94ff42dcc9822efd611e4b2713fb2fd28c8e2d4d4c309779c2189c 03:44:56 $ docker rm -f a0f4cf26bc94ff42dcc9822efd611e4b2713fb2fd28c8e2d4d4c309779c2189c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:45:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9070 in /w/workspace/undry_device-onvif-camera_PR-183 [Pipeline] { [Pipeline] ws 03:45:29 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:45:29 The recommended git tool is: git 03:45:35 using credential edgex-jenkins-ssh 03:45:35 Cloning the remote Git repository 03:45:35 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:45:35 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:45:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:45:35 > git --version # timeout=10 03:45:35 > git --version # 'git version 2.25.1' 03:45:35 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:35 Verifying host key using known hosts file 03:45:35 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. 03:45:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:45:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:45:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:45:38 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit f9743c2621e012aae49f2714df923641dd282187 03:45:39 Merge succeeded, producing f9743c2621e012aae49f2714df923641dd282187 03:45:39 Checking out Revision f9743c2621e012aae49f2714df923641dd282187 (PR-183) 03:45:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:45:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:45:38 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:38 Verifying host key using known hosts file 03:45:38 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. 03:45:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:45:38 > git config core.sparsecheckout # timeout=10 03:45:38 > git checkout -f f9743c2621e012aae49f2714df923641dd282187 # timeout=10 03:45:38 > git remote # timeout=10 03:45:39 > git config --get remote.origin.url # timeout=10 03:45:39 using GIT_SSH to set credentials SSH Credentials for GitHub 03:45:39 Verifying host key using known hosts file 03:45:39 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. 03:45:39 > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 03:45:39 > git rev-parse HEAD^{commit} # timeout=10 03:45:39 > git config core.sparsecheckout # timeout=10 03:45:39 > git checkout -f f9743c2621e012aae49f2714df923641dd282187 # timeout=10 03:45:39 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" 03:45:39 > git --version # timeout=10 03:45:39 > git --version # 'git version 2.25.1' 03:45:39 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:45:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:45:41 % Total % Received % Xferd Average Speed Time Time Time Current 03:45:41 Dload Upload Total Spent Left Speed 03:45:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 03:45:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:45:42 + sudo tee /etc/docker/daemon.new 03:45:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:45:42 { 03:45:42 "registry-mirrors": [ 03:45:42 "https://nexus3.edgexfoundry.org:10001" 03:45:42 ], 03:45:42 "bip": "10.250.0.254/24", 03:45:42 "hosts": [ 03:45:42 "tcp://0.0.0.0:5555", 03:45:42 "unix:///var/run/docker.sock" 03:45:42 ], 03:45:42 "mtu": 1458, 03:45:42 "selinux-enabled": true, 03:45:42 "seccomp-profile": "/etc/docker/seccomp.json" 03:45:42 } [Pipeline] sh 03:45:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:45:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:46:01 provisioning config files... 03:46:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11664882331739390490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:46:01 ---> docker-login.sh 03:46:01 nexus3.edgexfoundry.org:10001 03:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:02 Configure a credential helper to remove this warning. See 03:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:02 03:46:02 Login Succeeded 03:46:02 nexus3.edgexfoundry.org:10002 03:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:02 Configure a credential helper to remove this warning. See 03:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:02 03:46:02 Login Succeeded 03:46:02 nexus3.edgexfoundry.org:10003 03:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:02 Configure a credential helper to remove this warning. See 03:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:02 03:46:02 Login Succeeded 03:46:02 nexus3.edgexfoundry.org:10004 03:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:03 Configure a credential helper to remove this warning. See 03:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:03 03:46:03 Login Succeeded 03:46:03 docker.io 03:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:03 Configure a credential helper to remove this warning. See 03:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:03 03:46:03 Login Succeeded 03:46:03 ---> docker-login.sh ends [Pipeline] } 03:46:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:46:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:46:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:46:04 ========================================================= 03:46:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:46:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:04 + 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 . 03:46:04 Sending build context to Docker daemon 14.75MB 03:46:05 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 03:46:05 Step 2/14 : FROM ${BASE} AS builder 03:46:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:46:05 9b18e9b68314: Pulling fs layer 03:46:05 d32db5db7311: Pulling fs layer 03:46:05 d0c4b47475fc: Pulling fs layer 03:46:05 5831b945b038: Pulling fs layer 03:46:05 86bbec2aaacd: Pulling fs layer 03:46:05 e10730c5d714: Pulling fs layer 03:46:05 5dd5c2283517: Pulling fs layer 03:46:05 d5ac0230b979: Pulling fs layer 03:46:05 5831b945b038: Waiting 03:46:05 86bbec2aaacd: Waiting 03:46:05 e10730c5d714: Waiting 03:46:05 5dd5c2283517: Waiting 03:46:05 d5ac0230b979: Waiting 03:46:05 d0c4b47475fc: Verifying Checksum 03:46:05 d0c4b47475fc: Download complete 03:46:05 d32db5db7311: Verifying Checksum 03:46:05 d32db5db7311: Download complete 03:46:05 86bbec2aaacd: Verifying Checksum 03:46:05 86bbec2aaacd: Download complete 03:46:05 e10730c5d714: Verifying Checksum 03:46:05 e10730c5d714: Download complete 03:46:05 9b18e9b68314: Download complete 03:46:05 9b18e9b68314: Pull complete 03:46:06 d5ac0230b979: Verifying Checksum 03:46:06 d5ac0230b979: Download complete 03:46:06 d32db5db7311: Pull complete 03:46:07 d0c4b47475fc: Pull complete 03:46:07 5dd5c2283517: Verifying Checksum 03:46:07 5dd5c2283517: Download complete 03:46:08 5831b945b038: Verifying Checksum 03:46:08 5831b945b038: Download complete 03:46:20 5831b945b038: Pull complete 03:46:20 86bbec2aaacd: Pull complete 03:46:20 e10730c5d714: Pull complete 03:46:27 5dd5c2283517: Pull complete 03:46:28 d5ac0230b979: Pull complete 03:46:28 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 03:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:46:28 ---> 59b3b1a385d4 03:46:28 Step 3/14 : ARG ADD_BUILD_TAGS="" 03:46:30 ---> Running in 54ab82e6f12c 03:46:30 Removing intermediate container 54ab82e6f12c 03:46:30 ---> 94d57cb0d132 03:46:30 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:46:30 ---> Running in 5f1d5abf9bb4 03:46:30 Removing intermediate container 5f1d5abf9bb4 03:46:30 ---> d9dc2c6d5a69 03:46:30 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:46:30 ---> Running in 72f396365cb4 03:46:31 Removing intermediate container 72f396365cb4 03:46:31 ---> 1a755a877bed 03:46:31 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 03:46:31 ---> Running in 6ae34f8f9ce0 03:46:31 Removing intermediate container 6ae34f8f9ce0 03:46:31 ---> 081acf41bf73 03:46:31 Step 7/14 : LABEL Name=edgex-device-onvif-camera 03:46:31 ---> Running in 4020752781c5 03:46:32 Removing intermediate container 4020752781c5 03:46:32 ---> ebb87fa775bc 03:46:32 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:46:32 ---> Running in fe0a17381cc4 03:46:34 Removing intermediate container fe0a17381cc4 03:46:34 ---> 6643094d9e60 03:46:34 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:46:34 ---> Running in ce4462fb8c82 03:46:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:46:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:46:37 OK: 221 MiB in 51 packages 03:46:37 Removing intermediate container ce4462fb8c82 03:46:37 ---> fd1134405e95 03:46:37 Step 10/14 : WORKDIR /device-onvif-camera 03:46:37 ---> Running in 76baaacdf58e 03:46:38 Removing intermediate container 76baaacdf58e 03:46:38 ---> c8803eab2d23 03:46:38 Step 11/14 : COPY go.mod vendor* ./ 03:46:38 ---> 8d18b3b85f4b 03:46:38 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:46:38 ---> Running in 07c5ef5f5283 03:47:35 Removing intermediate container 07c5ef5f5283 03:47:35 ---> 9cc59fcf5539 03:47:35 Step 13/14 : COPY . . 03:47:35 ---> c248907c8ec9 03:47:35 Step 14/14 : RUN ${MAKE} 03:47:35 ---> Running in 2aabf0ce0848 03:47:35 noop 03:47:35 Removing intermediate container 2aabf0ce0848 03:47:35 ---> 62167cb3ac34 03:47:35 Successfully built 62167cb3ac34 03:47:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:35 + docker inspect -f . ci-base-image-arm64 03:47:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:35 prd-ubuntu20.04-docker-arm64-4c-16g-9070 does not seem to be running inside a container 03:47:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:47:37 $ docker top 9baa76d663aaee0cf953e4b4429e787e22c383cd4b59c6c086fb9bd072b6a4fe -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:37 + go version 03:47:37 go version go1.18.7 linux/arm64 [Pipeline] } 03:47:37 $ docker stop --time=1 9baa76d663aaee0cf953e4b4429e787e22c383cd4b59c6c086fb9bd072b6a4fe 03:47:39 $ docker rm -f 9baa76d663aaee0cf953e4b4429e787e22c383cd4b59c6c086fb9bd072b6a4fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:40 + docker inspect -f . ci-base-image-arm64 03:47:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:40 prd-ubuntu20.04-docker-arm64-4c-16g-9070 does not seem to be running inside a container 03:47:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:47:41 $ docker top 9ed6cea157c8003d6d98e6f6daeebb53ff06332553ecc13a2dcf85312c60c2b3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:42 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:47:43 + make test 03:47:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:47:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:49:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:49:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.211s coverage: 28.2% of statements 03:49:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:49:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.925s coverage: 86.5% of statements 03:49:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:49:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:50:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:50:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:50:24 ./bin/test-attribution-txt.sh [Pipeline] echo 03:50:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:50:24 $ docker stop --time=1 9ed6cea157c8003d6d98e6f6daeebb53ff06332553ecc13a2dcf85312c60c2b3 03:50:26 $ docker rm -f 9ed6cea157c8003d6d98e6f6daeebb53ff06332553ecc13a2dcf85312c60c2b3 [Pipeline] // withDockerContainer [Pipeline] sh 03:50:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:50:27 Warning: overwriting stash ‘coverage-report’ 03:50:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:50:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:50:29 + ls -al . 03:50:29 total 240 03:50:29 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 03:47 . 03:50:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:45 .. 03:50:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 03:45 .git 03:50:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:45 .github 03:50:29 -rw-rw-r-- 1 jenkins jenkins 496 Oct 24 03:45 .gitignore 03:50:29 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 03:45 .golangci.yml 03:50:29 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 24 03:45 Attribution.txt 03:50:29 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 24 03:45 CHANGELOG.md 03:50:29 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 24 03:45 Dockerfile 03:50:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 03:45 GOVERNANCE.md 03:50:29 -rw-rw-r-- 1 jenkins jenkins 734 Oct 24 03:45 Jenkinsfile 03:50:29 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 03:45 LICENSE 03:50:29 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 24 03:45 Makefile 03:50:29 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 03:45 OWNERS.md 03:50:29 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 24 03:45 README.md 03:50:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 03:42 VERSION 03:50:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 03:45 bin 03:50:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 03:45 cmd 03:50:29 -rw-r--r-- 1 jenkins jenkins 78636 Oct 24 03:49 coverage.out 03:50:29 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 03:45 doc 03:50:29 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 24 03:45 go.mod 03:50:29 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 24 03:45 go.sum 03:50:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:45 internal 03:50:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 03:45 snap 03:50:29 -rw-rw-r-- 1 jenkins jenkins 236 Oct 24 03:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:29 + 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=f9743c2621e012aae49f2714df923641dd282187 --label arch=arm64 --label version=0.0.0 . 03:50:30 Sending build context to Docker daemon 14.83MB 03:50:30 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 03:50:30 Step 2/27 : FROM ${BASE} AS builder 03:50:30 ---> 62167cb3ac34 03:50:30 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:50:30 ---> Running in c0f6265edc13 03:50:30 Removing intermediate container c0f6265edc13 03:50:30 ---> 09d8e3ba3786 03:50:30 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:50:30 ---> Running in ce273558d1df 03:50:30 Removing intermediate container ce273558d1df 03:50:30 ---> ad635342bd9f 03:50:30 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:50:30 ---> Running in 167af5edb62c 03:50:31 Removing intermediate container 167af5edb62c 03:50:31 ---> a1b93fdd054c 03:50:31 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:50:31 ---> Running in e108b84e22ca 03:50:32 Removing intermediate container e108b84e22ca 03:50:32 ---> ea26df0d98cd 03:50:32 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:50:32 ---> Running in e33e1a20bbf5 03:50:34 Removing intermediate container e33e1a20bbf5 03:50:34 ---> d69828f4d445 03:50:34 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:50:34 ---> Running in 1d42433865ec 03:50:36 Removing intermediate container 1d42433865ec 03:50:36 ---> c749ac1d5444 03:50:36 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:50:36 ---> Running in d2ca8146cf99 03:50:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:50:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:50:39 OK: 221 MiB in 51 packages 03:50:40 Removing intermediate container d2ca8146cf99 03:50:40 ---> 660c2880655c 03:50:40 Step 10/27 : WORKDIR /device-onvif-camera 03:50:40 ---> Running in e9a55f9b7ada 03:50:42 Removing intermediate container e9a55f9b7ada 03:50:42 ---> fd38c6a068e0 03:50:42 Step 11/27 : COPY go.mod vendor* ./ 03:50:43 ---> a7626de2fdfb 03:50:43 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:50:43 ---> Running in e604b28e3a33 03:50:48 Removing intermediate container e604b28e3a33 03:50:48 ---> 4a4bb2c3a668 03:50:48 Step 13/27 : COPY . . 03:50:50 ---> 72f66c6f6a66 03:50:50 Step 14/27 : RUN ${MAKE} 03:50:50 ---> Running in 17021e676bab 03:50:52 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 03:53:44 Removing intermediate container 17021e676bab 03:53:44 ---> 6dc6470733ac 03:53:44 Step 15/27 : FROM alpine:3.16 03:53:44 3.16: Pulling from library/alpine 03:53:44 9b18e9b68314: Already exists 03:53:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:53:44 Status: Downloaded newer image for alpine:3.16 03:53:44 ---> a6215f271958 03:53:44 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:53:44 ---> Running in d918d36af359 03:53:44 Removing intermediate container d918d36af359 03:53:44 ---> 051f15239fc7 03:53:44 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 03:53:44 ---> Running in ab65b23747c2 03:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:53:44 (1/6) Installing dumb-init (1.2.5-r1) 03:53:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:53:44 (3/6) Installing libsodium (1.0.18-r0) 03:53:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:53:44 (5/6) Installing libzmq (4.3.4-r0) 03:53:44 (6/6) Installing zeromq (4.3.4-r0) 03:53:44 Executing busybox-1.35.0-r17.trigger 03:53:44 OK: 8 MiB in 20 packages 03:53:44 Removing intermediate container ab65b23747c2 03:53:44 ---> 8538798fe19a 03:53:44 Step 18/27 : WORKDIR / 03:53:44 ---> Running in 1b40b82b4659 03:53:44 Removing intermediate container 1b40b82b4659 03:53:44 ---> 6f81295e1284 03:53:44 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:53:44 ---> b00903a24506 03:53:44 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:53:44 ---> 93975989ba24 03:53:44 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:53:44 ---> 14773b0deb7f 03:53:44 Step 22/27 : EXPOSE 59984 03:53:44 ---> Running in d3fb9a38fc0f 03:53:45 Removing intermediate container d3fb9a38fc0f 03:53:45 ---> 4ae952a09720 03:53:45 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:53:45 ---> Running in 83efde057b95 03:53:45 Removing intermediate container 83efde057b95 03:53:45 ---> 03afef418d7a 03:53:45 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:53:45 ---> Running in a40d43d4bd26 03:53:45 Removing intermediate container a40d43d4bd26 03:53:45 ---> 52f309e8fc34 03:53:45 Step 25/27 : LABEL arch=arm64 03:53:46 ---> Running in 4a87dfb613c9 03:53:47 Removing intermediate container 4a87dfb613c9 03:53:47 ---> 471bffeb2177 03:53:47 Step 26/27 : LABEL git_sha=f9743c2621e012aae49f2714df923641dd282187 03:53:47 ---> Running in f81b41915557 03:53:47 Removing intermediate container f81b41915557 03:53:47 ---> bfc02e880159 03:53:47 Step 27/27 : LABEL version=0.0.0 03:53:47 ---> Running in d673b17af972 03:53:48 Removing intermediate container d673b17af972 03:53:48 ---> e343922120cd 03:53:48 [Warning] One or more build-args [ARCH] were not consumed 03:53:48 Successfully built e343922120cd 03:53:48 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 03:53:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:53:49 03:53:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:53:50 arm64: Pulling from edgex-lftools-log-publisher 03:53:50 8998bd30e6a1: Pulling fs layer 03:53:50 04944245beec: Pulling fs layer 03:53:50 699f458cf7ca: Pulling fs layer 03:53:50 765212b225bb: Pulling fs layer 03:53:50 f23df028b6ca: Pulling fs layer 03:53:50 d65c8cfc05b1: Pulling fs layer 03:53:50 2437ff75d9bd: Pulling fs layer 03:53:50 765212b225bb: Waiting 03:53:50 f23df028b6ca: Waiting 03:53:50 d65c8cfc05b1: Waiting 03:53:50 2437ff75d9bd: Waiting 03:53:50 04944245beec: Verifying Checksum 03:53:50 04944245beec: Download complete 03:53:50 765212b225bb: Verifying Checksum 03:53:50 765212b225bb: Download complete 03:53:50 f23df028b6ca: Verifying Checksum 03:53:50 f23df028b6ca: Download complete 03:53:50 d65c8cfc05b1: Verifying Checksum 03:53:50 d65c8cfc05b1: Download complete 03:53:50 699f458cf7ca: Verifying Checksum 03:53:50 699f458cf7ca: Download complete 03:53:50 8998bd30e6a1: Verifying Checksum 03:53:50 8998bd30e6a1: Download complete 03:53:53 2437ff75d9bd: Verifying Checksum 03:53:53 2437ff75d9bd: Download complete 03:53:54 8998bd30e6a1: Pull complete 03:53:55 04944245beec: Pull complete 03:53:56 699f458cf7ca: Pull complete 03:53:56 765212b225bb: Pull complete 03:53:57 f23df028b6ca: Pull complete 03:53:57 d65c8cfc05b1: Pull complete 03:54:12 2437ff75d9bd: Pull complete 03:54:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:54:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:54:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:13 prd-ubuntu20.04-docker-arm64-4c-16g-9070 does not seem to be running inside a container 03:54:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:54:16 $ docker top 333e541878b38d696cc78df179cd00ef501424d4624937085b861088b19d58ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:17 ---> job-cost.sh 03:54:17 lf-activate-venv: SKIPPING 03:54:17 INFO: No Stack... 03:54:17 INFO: Retrieving Pricing Info for: v3-standard-4 03:54:18 INFO: Archiving Costs [Pipeline] sh 03:54:19 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:54:19 + cut -d, -f6 [Pipeline] lock 03:54:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] 03:54:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] did not exist. Created. 03:54:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:54:20 /w/workspace/device-onvif-camera/1@tmp/durable-dc6ea499/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:54:20 + echo total: 0.10999999940395355 [Pipeline] stash 03:54:20 Warning: overwriting stash ‘stack-cost’ 03:54:20 Stashed 1 file(s) [Pipeline] } 03:54:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:54:20 $ docker stop --time=1 333e541878b38d696cc78df179cd00ef501424d4624937085b861088b19d58ce 03:54:22 $ docker rm -f 333e541878b38d696cc78df179cd00ef501424d4624937085b861088b19d58ce [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 03:54:23 provisioning config files... 03:54:23 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-183@tmp/config931676026442182002tmp [Pipeline] { [Pipeline] sh 03:54:23 + set +x 03:54:23 + curl -s https://codecov.io/bash 03:54:23 + bash -s -- 03:54:23 03:54:23 _____ _ 03:54:23 / ____| | | 03:54:23 | | ___ __| | ___ ___ _____ __ 03:54:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:54:23 | |___| (_) | (_| | __/ (_| (_) \ V / 03:54:23 \_____\___/ \__,_|\___|\___\___/ \_/ 03:54:23 Bash-1.0.6 03:54:23 03:54:23 03:54:23 ==> git version 2.25.1 found 03:54:23 ==> 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 03:54:23 Release-Date: 2020-01-08 03:54:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:54:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:54:23 ==> Jenkins CI detected. 03:54:23 current dir:  /w/workspace/undry_device-onvif-camera_PR-183 03:54:23 project root: . 03:54:23 --> token set from env 03:54:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:54:23 ==> Running gcov in . (disable via -X gcov) 03:54:23 ==> Python coveragepy not found 03:54:23 ==> Searching for coverage reports in: 03:54:23 + . 03:54:23 -> Found 1 reports 03:54:23 ==> Detecting git/mercurial file structure 03:54:23 ==> Reading reports 03:54:23 + ./coverage.out bytes=78636 03:54:23 ==> Appending adjustments 03:54:23 https://docs.codecov.io/docs/fixing-reports 03:54:23 + Found adjustments 03:54:23 ==> Gzipping contents 03:54:23 12K /tmp/codecov.PDeoRu.gz 03:54:23 ==> Uploading reports 03:54:23 url: https://codecov.io 03:54:23 query: branch=PR-183&commit=f9743c2621e012aae49f2714df923641dd282187&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=183&job=&cmd_args= 03:54:23 -> Pinging Codecov 03:54:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-183&commit=f9743c2621e012aae49f2714df923641dd282187&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=183&job=&cmd_args= 03:54:23 -> Uploading to 03:54:23 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/F29A59C45E3A92E06B3E522C9905F8EF/f9743c2621e012aae49f2714df923641dd282187/dd83da1d-03c4-4edc-83ff-70ee5fdf65cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T035423Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cb0aeaa7f4c60bbd7cb81e3e6a73ec3f3bbc1c9b8b6f7d2831bb49881dc4926 03:54:23 % Total % Received % Xferd Average Speed Time Time Time Current 03:54:23 Dload Upload Total Spent Left Speed 03:54:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10776 0 0 100 10776 0 48760 --:--:-- --:--:-- --:--:-- 48760 03:54:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f9743c2621e012aae49f2714df923641dd282187 [Pipeline] } 03:54:24 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 03:54:25 + [ -d /w/workspace/undry_device-onvif-camera_PR-183/archives ] 03:54:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-183/archives 03:54:25 total 16 03:54:25 drwxr-xr-x 3 root root 4096 Oct 24 03:44 . 03:54:25 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:44 .. 03:54:25 drwxr-xr-x 2 root root 4096 Oct 24 03:44 cost 03:54:25 -rw-r--r-- 1 root root 91 Oct 24 03:44 cost.csv 03:54:25 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-183/archives 03:54:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-183/archives 03:54:25 total 16 03:54:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 03:44 . 03:54:25 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 03:44 .. 03:54:25 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 03:44 cost 03:54:25 -rw-r--r-- 1 jenkins jenkins 91 Oct 24 03:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:54:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:54:27 ---> package-listing.sh 03:54:27 ++ facter osfamily 03:54:27 ++ tr '[:upper:]' '[:lower:]' 03:54:27 + OS_FAMILY=debian 03:54:27 + workspace=/w/workspace/undry_device-onvif-camera_PR-183 03:54:27 + START_PACKAGES=/tmp/packages_start.txt 03:54:27 + END_PACKAGES=/tmp/packages_end.txt 03:54:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:54:27 + PACKAGES=/tmp/packages_start.txt 03:54:27 + '[' /w/workspace/undry_device-onvif-camera_PR-183 ']' 03:54:27 + PACKAGES=/tmp/packages_end.txt 03:54:27 + case "${OS_FAMILY}" in 03:54:27 + dpkg -l 03:54:27 + grep '^ii' 03:54:27 + '[' -f /tmp/packages_start.txt ']' 03:54:27 + '[' -f /tmp/packages_end.txt ']' 03:54:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:54:27 + '[' /w/workspace/undry_device-onvif-camera_PR-183 ']' 03:54:27 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-183/archives/ 03:54:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-183/archives/ [Pipeline] echo 03:54:27 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-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:54:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:54:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:28 prd-ubuntu20.04-docker-8c-8g-9064 does not seem to be running inside a container 03:54:28 $ 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-183/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-183 -v /w/workspace/undry_device-onvif-camera_PR-183:/w/workspace/undry_device-onvif-camera_PR-183:rw,z -v /w/workspace/undry_device-onvif-camera_PR-183@tmp:/w/workspace/undry_device-onvif-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:54:28 $ docker top 206e6f5081cac9be18a4b12ad8c73514ac857a3542d71cf39188a61dee75826e -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:29 + touch /tmp/pre-build-complete [Pipeline] sh 03:54:29 + mkdir -p /var/log/sysstat [Pipeline] sh 03:54:29 + ls /var/log/sa-host 03:54:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:54:29 provisioning config files... 03:54:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-183@tmp/config12092039538822227920tmp [Pipeline] { [Pipeline] echo 03:54:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:54:30 ---> create-netrc.sh [Pipeline] } 03:54:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:54:30 ---> python-tools-install.sh [Pipeline] echo 03:54:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:54:31 ---> sudo-logs.sh 03:54:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:54:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:54:31 ---> job-cost.sh 03:54:31 lf-activate-venv: SKIPPING 03:54:31 DEBUG: total: 0.2199999988079071 03:54:31 INFO: Retrieving Stack Cost... 03:54:31 INFO: Retrieving Pricing Info for: v3-standard-8 03:54:32 INFO: Archiving Costs [Pipeline] echo 03:54:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:54:32 ---> logs-deploy.sh 03:54:32 lf-activate-venv: SKIPPING 03:54:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-183/1 03:54:32 INFO: archiving workspace using pattern(s): 03:54:33 Archives upload complete. 03:54:33 INFO: archiving logs to Nexus