Pull request #169 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e506b749bbe7f4e70458109a26677d2afcd6fe78+2a5a153b38960530813a839b4b25ddc04c5f9660 (7c7a0bc817d1f7976bb3be4d93c9420915f1e904) 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-ssh3350906464217583757.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh15904393808150414252.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-169/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-169/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1686334164474818024.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15613877467663845161.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-169/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-169/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10331000598341274839.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6539’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6803’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6804’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6805’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6811’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6812’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6813’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6806’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6807’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6808’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6816 in /w/workspace/undry_device-onvif-camera_PR-169 [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-169 # 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/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2a5a153b38960530813a839b4b25ddc04c5f9660 into PR head commit e506b749bbe7f4e70458109a26677d2afcd6fe78 Merge succeeded, producing e506b749bbe7f4e70458109a26677d2afcd6fe78 Checking out Revision e506b749bbe7f4e70458109a26677d2afcd6fe78 (PR-169) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:40:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:40:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:40:52 ========================================================= 03:40:52 EdgeX Global Pipelines Version Info 03:40:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f e506b749bbe7f4e70458109a26677d2afcd6fe78 # 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 2a5a153b38960530813a839b4b25ddc04c5f9660 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e506b749bbe7f4e70458109a26677d2afcd6fe78 # timeout=10 > git rev-list --no-walk 77e27a0582289f3b62e1ae2b21962694e5814c8c # timeout=10 03:40:52 ------------------- 03:40:52 stable info: 03:40:52 ------------------- 03:40:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:40:52 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:40:52 Message: update stable to v1.0.239 03:40:53 ------------------- 03:40:53 experimental info: 03:40:53 ------------------- 03:40:53 Commited By: **** collab-it+edgex@linuxfoundation.org 03:40:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:40:53 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-169 [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-169 [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-169 [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e506b74 [Pipeline] echo 03:40:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:40:53 provisioning config files... 03:40:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config2377557055777173123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:54 ---> docker-login.sh 03:40:54 nexus3.edgexfoundry.org:10001 03:40:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:54 Configure a credential helper to remove this warning. See 03:40:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:54 03:40:54 Login Succeeded 03:40:54 nexus3.edgexfoundry.org:10002 03:40:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:54 Configure a credential helper to remove this warning. See 03:40:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:54 03:40:54 Login Succeeded 03:40:54 nexus3.edgexfoundry.org:10003 03:40:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:54 Configure a credential helper to remove this warning. See 03:40:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:54 03:40:54 Login Succeeded 03:40:54 nexus3.edgexfoundry.org:10004 03:40:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:54 Configure a credential helper to remove this warning. See 03:40:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:54 03:40:54 Login Succeeded 03:40:54 docker.io 03:40:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:55 Configure a credential helper to remove this warning. See 03:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:55 03:40:55 Login Succeeded 03:40:55 ---> docker-login.sh ends [Pipeline] } 03:40:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:40:55 + git rev-list -1 --merges e506b749bbe7f4e70458109a26677d2afcd6fe78~1..e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] echo 03:40:55 -----------> git rev-list -1 --merges e506b749bbe7f4e70458109a26677d2afcd6fe78~1..e506b749bbe7f4e70458109a26677d2afcd6fe78 e506b749bbe7f4e70458109a26677d2afcd6fe78 [false] [Pipeline] sh 03:40:55 + git log --format=format:%s -1 e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] echo 03:40:55 ========================================================= 03:40:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:40:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:56 + git log --format=format:%s -1 e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] echo 03:40:56 [semverPrep] GIT_COMMIT: e506b749bbe7f4e70458109a26677d2afcd6fe78, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 03:40:56 [semverPrep] This is not a build commit. [Pipeline] sh 03:40:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:40:56 + grep -v github /etc/ssh/ssh_known_hosts 03:40:56 + [ -e /tmp/ssh_known_hosts ] 03:40:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:40:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 03:40:56 sudo tee -a /etc/ssh/ssh_known_hosts 03:40:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:40:56 03:40:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:40:57 0.1.4: Pulling from edgex-devops/py-git-semver 03:40:57 b85a868b505f: Pulling fs layer 03:40:57 e2be974225ed: Pulling fs layer 03:40:57 339a4e72a1f5: Pulling fs layer 03:40:57 988bab9f4d93: Pulling fs layer 03:40:57 1469e6f7b9e6: Pulling fs layer 03:40:57 eaf3925da568: Pulling fs layer 03:40:57 bab4dde63d76: Pulling fs layer 03:40:57 bde34c3a00c8: Pulling fs layer 03:40:57 b352a97aabf1: Pulling fs layer 03:40:57 4872d77fe225: Pulling fs layer 03:40:57 5851b861e8e6: Pulling fs layer 03:40:57 988bab9f4d93: Waiting 03:40:57 bab4dde63d76: Waiting 03:40:57 1469e6f7b9e6: Waiting 03:40:57 bde34c3a00c8: Waiting 03:40:57 eaf3925da568: Waiting 03:40:57 5851b861e8e6: Waiting 03:40:57 4872d77fe225: Waiting 03:40:57 b352a97aabf1: Waiting 03:40:57 e2be974225ed: Verifying Checksum 03:40:57 e2be974225ed: Download complete 03:40:57 988bab9f4d93: Verifying Checksum 03:40:57 988bab9f4d93: Download complete 03:40:57 339a4e72a1f5: Verifying Checksum 03:40:57 339a4e72a1f5: Download complete 03:40:57 eaf3925da568: Verifying Checksum 03:40:57 eaf3925da568: Download complete 03:40:57 1469e6f7b9e6: Verifying Checksum 03:40:57 1469e6f7b9e6: Download complete 03:40:57 bde34c3a00c8: Download complete 03:40:57 b352a97aabf1: Verifying Checksum 03:40:57 b352a97aabf1: Download complete 03:40:57 4872d77fe225: Download complete 03:40:57 5851b861e8e6: Verifying Checksum 03:40:57 5851b861e8e6: Download complete 03:40:57 b85a868b505f: Verifying Checksum 03:40:57 b85a868b505f: Download complete 03:40:57 bab4dde63d76: Verifying Checksum 03:40:57 bab4dde63d76: Download complete 03:40:58 b85a868b505f: Pull complete 03:40:58 e2be974225ed: Pull complete 03:40:59 339a4e72a1f5: Pull complete 03:40:59 988bab9f4d93: Pull complete 03:40:59 1469e6f7b9e6: Pull complete 03:40:59 eaf3925da568: Pull complete 03:41:01 bab4dde63d76: Pull complete 03:41:01 bde34c3a00c8: Pull complete 03:41:01 b352a97aabf1: Pull complete 03:41:02 4872d77fe225: Pull complete 03:41:02 5851b861e8e6: Pull complete 03:41:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:41:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:41:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:02 prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container 03:41:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@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-devops/py-git-semver:0.1.4 cat 03:41:04 $ docker top f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c -eo pid,comm 03:41:04 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:41:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:41:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:41:04 [ssh-agent] Looking for ssh-agent implementation... 03:41:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:41:04 $ docker exec f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c ssh-agent 03:41:05 SSH_AUTH_SOCK=/tmp/ssh-UlgY2NsXvj3v/agent.32 03:41:05 SSH_AGENT_PID=38 03:41:05 Running ssh-add (command line suppressed) 03:41:05 Identity added: /w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_2899855344117178119.key (/w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_2899855344117178119.key) 03:41:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:41:05 + git tag --points-at HEAD [Pipeline] } 03:41:05 $ docker exec --env ******** --env ******** f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c ssh-agent -k 03:41:05 unset SSH_AUTH_SOCK; 03:41:05 unset SSH_AGENT_PID; 03:41:05 echo Agent pid 38 killed; 03:41:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:41:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:41:05 [ssh-agent] Looking for ssh-agent implementation... 03:41:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:41:05 $ docker exec f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c ssh-agent 03:41:05 SSH_AUTH_SOCK=/tmp/ssh-97X7e7gqAuCt/agent.70 03:41:05 SSH_AGENT_PID=76 03:41:05 Running ssh-add (command line suppressed) 03:41:05 Identity added: /w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_12298702322823425005.key (/w/workspace/undry_device-onvif-camera_PR-169@tmp/private_key_12298702322823425005.key) 03:41:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:41:06 + git semver init 03:41:06 2022-10-03 03:41:06,413 [run_init] DEBUG init version:0.0.0 force:False 03:41:06 2022-10-03 03:41:06,414 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-169/.semver 03:41:06 2022-10-03 03:41:06,415 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-169/.semver 03:41:06 2022-10-03 03:41:06,415 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-169/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-169, universal_newlines=False, shell=None, istream=None) 03:41:07 2022-10-03 03:41:07,382 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-169/.git/info/exclude 03:41:07 2022-10-03 03:41:07,382 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-169/.semver/PR-169 with force:False 03:41:07 2022-10-03 03:41:07,383 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-169/.semver/PR-169 03:41:07 2022-10-03 03:41:07,387 [execute] INFO git cat-file --batch-check 03:41:07 2022-10-03 03:41:07,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-169/.semver, universal_newlines=False, shell=None, istream=) 03:41:07 2022-10-03 03:41:07,396 [execute] INFO git cat-file --batch 03:41:07 2022-10-03 03:41:07,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-169/.semver, universal_newlines=False, shell=None, istream=) 03:41:07 2022-10-03 03:41:07,403 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-169/.semver/PR-169 03:41:07 0.0.0 [Pipeline] } 03:41:07 $ docker exec --env ******** --env ******** f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c ssh-agent -k 03:41:07 unset SSH_AUTH_SOCK; 03:41:07 unset SSH_AGENT_PID; 03:41:07 echo Agent pid 76 killed; 03:41:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:41:07 + git semver [Pipeline] } 03:41:08 $ docker stop --time=1 f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c 03:41:09 $ docker rm -f f95671c98e148b17c3cf6888ca8639865566bb8859741569d3ed52d68e10644c [Pipeline] // withDockerContainer [Pipeline] sh 03:41:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:41:10 Stashed 1 file(s) [Pipeline] echo 03:41:10 [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:41:10 provisioning config files... 03:41:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config12355448156673833594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:41:10 ---> docker-login.sh 03:41:10 nexus3.edgexfoundry.org:10001 03:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:10 Configure a credential helper to remove this warning. See 03:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:10 03:41:10 Login Succeeded 03:41:10 nexus3.edgexfoundry.org:10002 03:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:10 Configure a credential helper to remove this warning. See 03:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:10 03:41:10 Login Succeeded 03:41:10 nexus3.edgexfoundry.org:10003 03:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:10 Configure a credential helper to remove this warning. See 03:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:10 03:41:10 Login Succeeded 03:41:10 nexus3.edgexfoundry.org:10004 03:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:10 Configure a credential helper to remove this warning. See 03:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:10 03:41:10 Login Succeeded 03:41:10 docker.io 03:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:41:11 Configure a credential helper to remove this warning. See 03:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:41:11 03:41:11 Login Succeeded 03:41:11 ---> docker-login.sh ends [Pipeline] } 03:41:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:41:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:41:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:41:11 ========================================================= 03:41:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:41:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:11 + 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:41:11 Sending build context to Docker daemon 20.77MB 03:41:11 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 03:41:11 Step 2/14 : FROM ${BASE} AS builder 03:41:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:41:11 2408cc74d12b: Pulling fs layer 03:41:11 ea60b727a1ce: Pulling fs layer 03:41:11 30c4a7721957: Pulling fs layer 03:41:11 370296b7ddb6: Pulling fs layer 03:41:11 7c6cee850709: Pulling fs layer 03:41:11 aa9baa53a306: Pulling fs layer 03:41:11 8b309c321861: Pulling fs layer 03:41:11 d8d76fd02f46: Pulling fs layer 03:41:11 fa31f396de31: Pulling fs layer 03:41:11 370296b7ddb6: Waiting 03:41:11 7c6cee850709: Waiting 03:41:11 8b309c321861: Waiting 03:41:11 d8d76fd02f46: Waiting 03:41:11 fa31f396de31: Waiting 03:41:11 aa9baa53a306: Waiting 03:41:11 30c4a7721957: Download complete 03:41:11 ea60b727a1ce: Verifying Checksum 03:41:11 ea60b727a1ce: Download complete 03:41:11 7c6cee850709: Download complete 03:41:11 aa9baa53a306: Verifying Checksum 03:41:11 aa9baa53a306: Download complete 03:41:11 2408cc74d12b: Verifying Checksum 03:41:11 2408cc74d12b: Download complete 03:41:11 8b309c321861: Verifying Checksum 03:41:11 8b309c321861: Download complete 03:41:11 2408cc74d12b: Pull complete 03:41:12 ea60b727a1ce: Pull complete 03:41:12 30c4a7721957: Pull complete 03:41:12 fa31f396de31: Verifying Checksum 03:41:12 fa31f396de31: Download complete 03:41:12 370296b7ddb6: Verifying Checksum 03:41:12 370296b7ddb6: Download complete 03:41:12 d8d76fd02f46: Verifying Checksum 03:41:12 d8d76fd02f46: Download complete 03:41:17 370296b7ddb6: Pull complete 03:41:17 7c6cee850709: Pull complete 03:41:17 aa9baa53a306: Pull complete 03:41:17 8b309c321861: Pull complete 03:41:19 d8d76fd02f46: Pull complete 03:41:19 fa31f396de31: Pull complete 03:41:19 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 03:41:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:41:19 ---> cef68f9685f8 03:41:19 Step 3/14 : ARG ADD_BUILD_TAGS="" 03:41:22 ---> Running in a6d68139b158 03:41:22 Removing intermediate container a6d68139b158 03:41:22 ---> c5de2298633c 03:41:22 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:41:22 ---> Running in cceda6ba665e 03:41:23 Removing intermediate container cceda6ba665e 03:41:23 ---> 6946bf6bcac0 03:41:23 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:41:23 ---> Running in 19dccdf21ae8 03:41:23 Removing intermediate container 19dccdf21ae8 03:41:23 ---> 68720435c554 03:41:23 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 03:41:23 ---> Running in 69817b0d3130 03:41:23 Removing intermediate container 69817b0d3130 03:41:23 ---> 0463ba1a91c9 03:41:23 Step 7/14 : LABEL Name=edgex-device-onvif-camera 03:41:23 ---> Running in 3bf9d46836dd 03:41:23 Removing intermediate container 3bf9d46836dd 03:41:23 ---> e17c2667f676 03:41:23 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:41:23 ---> Running in 884a98ee969a 03:41:24 Removing intermediate container 884a98ee969a 03:41:24 ---> 83b32d95aa4f 03:41:24 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:41:24 ---> Running in 99a9d421744e 03:41:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:41:25 Still waiting to schedule task 03:41:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6809’ 03:41:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:41:25 OK: 211 MiB in 51 packages 03:41:25 Removing intermediate container 99a9d421744e 03:41:25 ---> 69a9bd0eb729 03:41:25 Step 10/14 : WORKDIR /device-onvif-camera 03:41:26 ---> Running in 7fb0f39d787f 03:41:26 Removing intermediate container 7fb0f39d787f 03:41:26 ---> a34674144262 03:41:26 Step 11/14 : COPY go.mod vendor* ./ 03:41:26 ---> fe17e78561de 03:41:26 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:41:26 ---> Running in 1ad607d0794f 03:41:44 Removing intermediate container 1ad607d0794f 03:41:44 ---> 8e3c1a185519 03:41:44 Step 13/14 : COPY . . 03:41:45 ---> 6f4ebb9ec966 03:41:45 Step 14/14 : RUN ${MAKE} 03:41:45 ---> Running in f5063ca49754 03:41:45 noop 03:41:45 Removing intermediate container f5063ca49754 03:41:45 ---> f97f44e03f32 03:41:45 Successfully built f97f44e03f32 03:41:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:45 + docker inspect -f . ci-base-image-x86_64 03:41:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:45 prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container 03:41:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:41:46 $ docker top ec3c6293caf6650349d8e71f1442e69d78770935dfded1079e9be948c431ef82 -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:46 + go version 03:41:46 go version go1.18.3 linux/amd64 [Pipeline] } 03:41:46 $ docker stop --time=1 ec3c6293caf6650349d8e71f1442e69d78770935dfded1079e9be948c431ef82 03:41:48 $ docker rm -f ec3c6293caf6650349d8e71f1442e69d78770935dfded1079e9be948c431ef82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:48 + docker inspect -f . ci-base-image-x86_64 03:41:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:48 prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container 03:41:48 $ 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-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:41:48 $ docker top 2bb75d41e706b4f500d951632b57f75f3e187a07494443a20a72e9b6d0fbec4b -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:49 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-169 [Pipeline] fileExists [Pipeline] sh 03:41:49 + make test 03:41:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:41:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:42:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:42:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements 03:42:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:42:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.283s coverage: 86.5% of statements 03:42:08 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:42:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:42:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:42:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:42:11 ./bin/test-attribution-txt.sh [Pipeline] echo 03:42:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:42:11 $ docker stop --time=1 2bb75d41e706b4f500d951632b57f75f3e187a07494443a20a72e9b6d0fbec4b 03:42:14 $ docker rm -f 2bb75d41e706b4f500d951632b57f75f3e187a07494443a20a72e9b6d0fbec4b [Pipeline] // withDockerContainer [Pipeline] sh 03:42:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:42:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:42:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:42:15 + ls -al . 03:42:15 total 236 03:42:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 03:41 . 03:42:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:40 .. 03:42:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:42 .git 03:42:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:40 .github 03:42:15 -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:40 .gitignore 03:42:15 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:40 .golangci.yml 03:42:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:41 .semver 03:42:15 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:40 Attribution.txt 03:42:15 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:40 CHANGELOG.md 03:42:15 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:40 Dockerfile 03:42:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:40 GOVERNANCE.md 03:42:15 -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:40 Jenkinsfile 03:42:15 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:40 LICENSE 03:42:15 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:40 Makefile 03:42:15 -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:40 OWNERS.md 03:42:15 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:40 README.md 03:42:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:41 VERSION 03:42:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:40 bin 03:42:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:40 cmd 03:42:15 -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:42 coverage.out 03:42:15 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:40 doc 03:42:15 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:40 go.mod 03:42:15 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:40 go.sum 03:42:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:40 internal 03:42:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:40 snap 03:42:15 -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:16 + 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=e506b749bbe7f4e70458109a26677d2afcd6fe78 --label arch=amd64 --label version=0.0.0 . 03:42:16 Sending build context to Docker daemon 20.85MB 03:42:16 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 03:42:16 Step 2/27 : FROM ${BASE} AS builder 03:42:16 ---> f97f44e03f32 03:42:16 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:42:16 ---> Running in f2d710450fd5 03:42:16 Removing intermediate container f2d710450fd5 03:42:16 ---> 8dd9c201767f 03:42:16 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:42:16 ---> Running in db3dd285f370 03:42:16 Removing intermediate container db3dd285f370 03:42:16 ---> 387f82a3ca98 03:42:16 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:42:16 ---> Running in 533ea54b8480 03:42:16 Removing intermediate container 533ea54b8480 03:42:16 ---> 3ecd28a31261 03:42:16 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:42:16 ---> Running in dc537e86f618 03:42:16 Removing intermediate container dc537e86f618 03:42:16 ---> 7dd44aa375d6 03:42:16 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:42:16 ---> Running in 958b72a6ec6d 03:42:16 Removing intermediate container 958b72a6ec6d 03:42:16 ---> 915be53d3919 03:42:16 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:42:16 ---> Running in 8625f8419d78 03:42:18 Removing intermediate container 8625f8419d78 03:42:18 ---> 732c70d2c8ba 03:42:18 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:42:18 ---> Running in 98f30549e0e6 03:42:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:42:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:42:19 OK: 211 MiB in 51 packages 03:42:20 Removing intermediate container 98f30549e0e6 03:42:20 ---> 4af1381e85de 03:42:20 Step 10/27 : WORKDIR /device-onvif-camera 03:42:20 ---> Running in 3ef76e8e4789 03:42:21 Removing intermediate container 3ef76e8e4789 03:42:21 ---> f460692e2be1 03:42:21 Step 11/27 : COPY go.mod vendor* ./ 03:42:21 ---> 28d621658992 03:42:21 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:42:21 ---> Running in 08de390bfb10 03:42:22 Removing intermediate container 08de390bfb10 03:42:22 ---> 6a5209ffdd9f 03:42:22 Step 13/27 : COPY . . 03:42:23 ---> c10f9fe3071f 03:42:23 Step 14/27 : RUN ${MAKE} 03:42:23 ---> Running in c6b998126029 03:42:23 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:42:45 Removing intermediate container c6b998126029 03:42:45 ---> 7854e327d711 03:42:45 Step 15/27 : FROM alpine:3.16 03:42:45 3.16: Pulling from library/alpine 03:42:45 213ec9aee27d: Pulling fs layer 03:42:45 213ec9aee27d: Verifying Checksum 03:42:45 213ec9aee27d: Download complete 03:42:45 213ec9aee27d: Pull complete 03:42:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:42:45 Status: Downloaded newer image for alpine:3.16 03:42:45 ---> 9c6f07244728 03:42:45 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:42:45 ---> Running in 613c44afc916 03:42:45 Removing intermediate container 613c44afc916 03:42:45 ---> 65aae5ff7140 03:42:45 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 03:42:45 ---> Running in 08d97dbb80da 03:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:42:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:42:46 (1/6) Installing dumb-init (1.2.5-r1) 03:42:46 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:42:46 (3/6) Installing libsodium (1.0.18-r0) 03:42:46 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:42:46 (5/6) Installing libzmq (4.3.4-r0) 03:42:46 (6/6) Installing zeromq (4.3.4-r0) 03:42:46 Executing busybox-1.35.0-r17.trigger 03:42:46 OK: 8 MiB in 20 packages 03:42:46 Removing intermediate container 08d97dbb80da 03:42:46 ---> 0c03b56adf46 03:42:46 Step 18/27 : WORKDIR / 03:42:46 ---> Running in 0632fea0bc05 03:42:46 Removing intermediate container 0632fea0bc05 03:42:46 ---> 9115fa818fc2 03:42:46 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:42:47 ---> a9ce97d09b4b 03:42:47 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:42:47 ---> 4751015643bd 03:42:47 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:42:47 ---> c5144f09f553 03:42:47 Step 22/27 : EXPOSE 59984 03:42:47 ---> Running in 361e3a139342 03:42:47 Removing intermediate container 361e3a139342 03:42:47 ---> b70dbef26e68 03:42:47 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:42:47 ---> Running in 5056b7ef7010 03:42:48 Removing intermediate container 5056b7ef7010 03:42:48 ---> 61927964ae29 03:42:48 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:42:48 ---> Running in 39dd554f7aa9 03:42:48 Removing intermediate container 39dd554f7aa9 03:42:48 ---> 4d9d9fd65397 03:42:48 Step 25/27 : LABEL arch=amd64 03:42:48 ---> Running in 71d55d13b246 03:42:48 Removing intermediate container 71d55d13b246 03:42:48 ---> b4ac8603a774 03:42:48 Step 26/27 : LABEL git_sha=e506b749bbe7f4e70458109a26677d2afcd6fe78 03:42:48 ---> Running in 126c0f24dfe9 03:42:48 Removing intermediate container 126c0f24dfe9 03:42:48 ---> adaf23620fca 03:42:48 Step 27/27 : LABEL version=0.0.0 03:42:48 ---> Running in 35b02f6903b2 03:42:48 Removing intermediate container 35b02f6903b2 03:42:48 ---> 19a13d000514 03:42:48 [Warning] One or more build-args [ARCH] were not consumed 03:42:48 Successfully built 19a13d000514 03:42:48 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:42:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:48 03:42:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:49 latest: Pulling from edgex-lftools-log-publisher 03:42:49 5eb5b503b376: Pulling fs layer 03:42:49 5c69ac0246d0: Pulling fs layer 03:42:49 ec43610c2a17: Pulling fs layer 03:42:49 3a2ae6a8a46f: Pulling fs layer 03:42:49 33b1e0a273af: Pulling fs layer 03:42:49 5d3b04190fa2: Pulling fs layer 03:42:49 2f39f015ded8: Pulling fs layer 03:42:49 3a2ae6a8a46f: Waiting 03:42:49 5d3b04190fa2: Waiting 03:42:49 2f39f015ded8: Waiting 03:42:49 33b1e0a273af: Waiting 03:42:49 5c69ac0246d0: Verifying Checksum 03:42:49 5c69ac0246d0: Download complete 03:42:49 3a2ae6a8a46f: Download complete 03:42:49 33b1e0a273af: Verifying Checksum 03:42:49 33b1e0a273af: Download complete 03:42:49 5d3b04190fa2: Verifying Checksum 03:42:49 5d3b04190fa2: Download complete 03:42:49 ec43610c2a17: Verifying Checksum 03:42:49 ec43610c2a17: Download complete 03:42:49 5eb5b503b376: Verifying Checksum 03:42:49 5eb5b503b376: Download complete 03:42:49 2f39f015ded8: Verifying Checksum 03:42:49 2f39f015ded8: Download complete 03:42:50 5eb5b503b376: Pull complete 03:42:50 5c69ac0246d0: Pull complete 03:42:50 ec43610c2a17: Pull complete 03:42:50 3a2ae6a8a46f: Pull complete 03:42:51 33b1e0a273af: Pull complete 03:42:51 5d3b04190fa2: Pull complete 03:42:55 2f39f015ded8: Pull complete 03:42:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:55 prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container 03:42:55 $ 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-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:42:58 $ docker top a6f8a7570d39b1ca712f929d0cc3a35704d83e098edcd46177d0e6345153aaf8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:58 ---> job-cost.sh 03:42:58 lf-activate-venv: SKIPPING 03:42:58 INFO: No Stack... 03:42:59 INFO: Retrieving Pricing Info for: v3-standard-8 03:42:59 INFO: Archiving Costs [Pipeline] sh 03:42:59 + cat /w/workspace/undry_device-onvif-camera_PR-169/archives/cost.csv+ 03:42:59 cut -d, -f6 [Pipeline] lock 03:42:59 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] 03:42:59 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] did not exist. Created. 03:42:59 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:42:59 + echo total: 0.2199999988079071 [Pipeline] stash 03:42:59 Stashed 1 file(s) [Pipeline] } 03:42:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:43:00 $ docker stop --time=1 a6f8a7570d39b1ca712f929d0cc3a35704d83e098edcd46177d0e6345153aaf8 03:43:01 $ docker rm -f a6f8a7570d39b1ca712f929d0cc3a35704d83e098edcd46177d0e6345153aaf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:43:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6818 in /w/workspace/undry_device-onvif-camera_PR-169 [Pipeline] { [Pipeline] ws 03:43:54 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 03:43:54 The recommended git tool is: git 03:43:59 using credential edgex-jenkins-ssh 03:43:59 Cloning the remote Git repository 03:43:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:43:59 > git init /w/workspace/device-onvif-camera/3 # timeout=10 03:43:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:43:59 > git --version # timeout=10 03:43:59 > git --version # 'git version 2.25.1' 03:43:59 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:00 Verifying host key using known hosts file 03:44:00 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:44:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:44:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:44:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:44:02 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:44:02 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:44:02 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:03 Merging remotes/origin/main commit 2a5a153b38960530813a839b4b25ddc04c5f9660 into PR head commit e506b749bbe7f4e70458109a26677d2afcd6fe78 03:44:03 Merge succeeded, producing e506b749bbe7f4e70458109a26677d2afcd6fe78 03:44:03 Checking out Revision e506b749bbe7f4e70458109a26677d2afcd6fe78 (PR-169) 03:44:02 Verifying host key using known hosts file 03:44:02 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:44:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/169/head:refs/remotes/origin/PR-169 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:44:03 > git config core.sparsecheckout # timeout=10 03:44:03 > git checkout -f e506b749bbe7f4e70458109a26677d2afcd6fe78 # timeout=10 03:44:03 > git remote # timeout=10 03:44:03 > git config --get remote.origin.url # timeout=10 03:44:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:03 Verifying host key using known hosts file 03:44:03 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:44:03 > git merge 2a5a153b38960530813a839b4b25ddc04c5f9660 # timeout=10 03:44:03 > git rev-parse HEAD^{commit} # timeout=10 03:44:03 > git config core.sparsecheckout # timeout=10 03:44:03 > git checkout -f e506b749bbe7f4e70458109a26677d2afcd6fe78 # timeout=10 03:44:04 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:44:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:44:05 % Total % Received % Xferd Average Speed Time Time Time Current 03:44:05 Dload Upload Total Spent Left Speed 03:44:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 03:44:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:44:06 + sudo tee /etc/docker/daemon.new 03:44:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:44:06 { 03:44:06 "registry-mirrors": [ 03:44:06 "https://nexus3.edgexfoundry.org:10001" 03:44:06 ], 03:44:06 "bip": "10.250.0.254/24", 03:44:06 "hosts": [ 03:44:06 "tcp://0.0.0.0:5555", 03:44:06 "unix:///var/run/docker.sock" 03:44:06 ], 03:44:06 "mtu": 1458, 03:44:06 "selinux-enabled": true, 03:44:06 "seccomp-profile": "/etc/docker/seccomp.json" 03:44:06 } [Pipeline] sh 03:44:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:44:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:25 provisioning config files... 03:44:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config4285961882444701989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:25 ---> docker-login.sh 03:44:25 nexus3.edgexfoundry.org:10001 03:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:26 Configure a credential helper to remove this warning. See 03:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:26 03:44:26 Login Succeeded 03:44:26 nexus3.edgexfoundry.org:10002 03:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:26 Configure a credential helper to remove this warning. See 03:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:26 03:44:26 Login Succeeded 03:44:26 nexus3.edgexfoundry.org:10003 03:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:27 Configure a credential helper to remove this warning. See 03:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:27 03:44:27 Login Succeeded 03:44:27 nexus3.edgexfoundry.org:10004 03:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:27 Configure a credential helper to remove this warning. See 03:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:27 03:44:27 Login Succeeded 03:44:27 docker.io 03:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:44:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:44:28 Configure a credential helper to remove this warning. See 03:44:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:44:28 03:44:28 Login Succeeded 03:44:28 ---> docker-login.sh ends [Pipeline] } 03:44:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:44:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:44:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:44:28 ========================================================= 03:44:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:44:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:28 + 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:44:29 Sending build context to Docker daemon 14.2MB 03:44:29 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 03:44:29 Step 2/14 : FROM ${BASE} AS builder 03:44:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:44:29 b3c136eddcbf: Pulling fs layer 03:44:29 c0a3192eca97: Pulling fs layer 03:44:29 a050256f5b6f: Pulling fs layer 03:44:29 656be50a0ddc: Pulling fs layer 03:44:29 2bbca73fdf42: Pulling fs layer 03:44:29 f607e4fc86c3: Pulling fs layer 03:44:29 4d572c569a2c: Pulling fs layer 03:44:29 fcf976331f73: Pulling fs layer 03:44:29 f607e4fc86c3: Waiting 03:44:29 2bbca73fdf42: Waiting 03:44:29 4d572c569a2c: Waiting 03:44:29 a050256f5b6f: Download complete 03:44:29 c0a3192eca97: Verifying Checksum 03:44:29 c0a3192eca97: Download complete 03:44:29 2bbca73fdf42: Verifying Checksum 03:44:29 2bbca73fdf42: Download complete 03:44:29 f607e4fc86c3: Verifying Checksum 03:44:29 f607e4fc86c3: Download complete 03:44:29 b3c136eddcbf: Verifying Checksum 03:44:29 b3c136eddcbf: Download complete 03:44:30 b3c136eddcbf: Pull complete 03:44:30 fcf976331f73: Verifying Checksum 03:44:30 fcf976331f73: Download complete 03:44:30 c0a3192eca97: Pull complete 03:44:31 a050256f5b6f: Pull complete 03:44:32 4d572c569a2c: Verifying Checksum 03:44:32 4d572c569a2c: Download complete 03:44:32 656be50a0ddc: Verifying Checksum 03:44:32 656be50a0ddc: Download complete 03:44:45 656be50a0ddc: Pull complete 03:44:45 2bbca73fdf42: Pull complete 03:44:45 f607e4fc86c3: Pull complete 03:44:51 4d572c569a2c: Pull complete 03:44:53 fcf976331f73: Pull complete 03:44:53 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 03:44:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:44:53 ---> 3970a7415f9e 03:44:53 Step 3/14 : ARG ADD_BUILD_TAGS="" 03:44:55 ---> Running in 3e50c854bab1 03:44:55 Removing intermediate container 3e50c854bab1 03:44:55 ---> c3f33b6babd6 03:44:55 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:44:55 ---> Running in d78d86675c88 03:44:55 Removing intermediate container d78d86675c88 03:44:55 ---> 4682346a5380 03:44:55 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:44:55 ---> Running in c0b6f2c60472 03:44:56 Removing intermediate container c0b6f2c60472 03:44:56 ---> 6d6dfebdc0d7 03:44:56 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 03:44:56 ---> Running in 7d99c20c49a8 03:44:56 Removing intermediate container 7d99c20c49a8 03:44:56 ---> a939dba299fd 03:44:56 Step 7/14 : LABEL Name=edgex-device-onvif-camera 03:44:56 ---> Running in 2f938e20781d 03:44:56 Removing intermediate container 2f938e20781d 03:44:56 ---> f6194f6614cf 03:44:56 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:44:56 ---> Running in 92a4c1016e50 03:44:58 Removing intermediate container 92a4c1016e50 03:44:58 ---> 7bbf8e32f10f 03:44:58 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:44:58 ---> Running in 8ca777625487 03:44:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:45:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:45:01 OK: 221 MiB in 51 packages 03:45:02 Removing intermediate container 8ca777625487 03:45:02 ---> cb6dd0e2acdd 03:45:02 Step 10/14 : WORKDIR /device-onvif-camera 03:45:02 ---> Running in 161ea36d8776 03:45:02 Removing intermediate container 161ea36d8776 03:45:02 ---> 0759a0c4178f 03:45:02 Step 11/14 : COPY go.mod vendor* ./ 03:45:03 ---> 721a5f6a4a66 03:45:03 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:45:03 ---> Running in 1e6392490d61 03:45:59 Removing intermediate container 1e6392490d61 03:45:59 ---> 799f7a4cf8e3 03:45:59 Step 13/14 : COPY . . 03:45:59 ---> f4d8da1ec430 03:45:59 Step 14/14 : RUN ${MAKE} 03:45:59 ---> Running in e3119c333eb1 03:45:59 noop 03:45:59 Removing intermediate container e3119c333eb1 03:45:59 ---> c87c39b32a0a 03:45:59 Successfully built c87c39b32a0a 03:45:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:00 + docker inspect -f . ci-base-image-arm64 03:46:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:00 prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container 03:46:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:46:01 $ docker top d5b6371eaaf4f9516c5ca4dbe8e129ece304c0694d74da98c444449bcf3ecd82 -eo pid,comm [Pipeline] { [Pipeline] sh 03:46:02 + go version 03:46:02 go version go1.18.3 linux/arm64 [Pipeline] } 03:46:02 $ docker stop --time=1 d5b6371eaaf4f9516c5ca4dbe8e129ece304c0694d74da98c444449bcf3ecd82 03:46:04 $ docker rm -f d5b6371eaaf4f9516c5ca4dbe8e129ece304c0694d74da98c444449bcf3ecd82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:04 + docker inspect -f . ci-base-image-arm64 03:46:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:04 prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container 03:46:04 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:46:06 $ docker top 73c67877657b98ddc5a7c8f09a635957cb4cbd9a28632ee0d6c8a9df4ffc84de -eo pid,comm [Pipeline] { [Pipeline] sh 03:46:06 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 03:46:07 + make test 03:46:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:46:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:48:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:48:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.209s coverage: 28.2% of statements 03:48:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:48:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.106s coverage: 86.5% of statements 03:48:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:48:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:48:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:48:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:48:43 ./bin/test-attribution-txt.sh [Pipeline] echo 03:48:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:48:43 $ docker stop --time=1 73c67877657b98ddc5a7c8f09a635957cb4cbd9a28632ee0d6c8a9df4ffc84de 03:48:45 $ docker rm -f 73c67877657b98ddc5a7c8f09a635957cb4cbd9a28632ee0d6c8a9df4ffc84de [Pipeline] // withDockerContainer [Pipeline] sh 03:48:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:48:47 Warning: overwriting stash ‘coverage-report’ 03:48:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:48:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:48:48 + ls -al . 03:48:48 total 232 03:48:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 03:46 . 03:48:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:43 .. 03:48:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 03:44 .git 03:48:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:44 .github 03:48:48 -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 03:44 .gitignore 03:48:48 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 03:44 .golangci.yml 03:48:48 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 03:44 Attribution.txt 03:48:48 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 03:44 CHANGELOG.md 03:48:48 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 03:44 Dockerfile 03:48:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 03:44 GOVERNANCE.md 03:48:48 -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 03:44 Jenkinsfile 03:48:48 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 03:44 LICENSE 03:48:48 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 03:44 Makefile 03:48:48 -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 03:44 OWNERS.md 03:48:48 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 03:44 README.md 03:48:48 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 03:41 VERSION 03:48:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 03:44 bin 03:48:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 03:44 cmd 03:48:48 -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 03:48 coverage.out 03:48:48 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 03:44 doc 03:48:48 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 03:44 go.mod 03:48:48 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 03:44 go.sum 03:48:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:44 internal 03:48:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 03:44 snap 03:48:48 -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 03:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:48 + 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=e506b749bbe7f4e70458109a26677d2afcd6fe78 --label arch=arm64 --label version=0.0.0 . 03:48:49 Sending build context to Docker daemon 14.28MB 03:48:49 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 03:48:49 Step 2/27 : FROM ${BASE} AS builder 03:48:49 ---> c87c39b32a0a 03:48:49 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:48:49 ---> Running in 743e2e980b7a 03:48:49 Removing intermediate container 743e2e980b7a 03:48:49 ---> bbfe77356ee6 03:48:49 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:48:50 ---> Running in 46467fb7f641 03:48:50 Removing intermediate container 46467fb7f641 03:48:50 ---> 29085b111e67 03:48:50 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:48:50 ---> Running in 99bf0c40c6ee 03:48:50 Removing intermediate container 99bf0c40c6ee 03:48:50 ---> 20a4d655b443 03:48:50 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:48:50 ---> Running in e1b0e978d8f3 03:48:51 Removing intermediate container e1b0e978d8f3 03:48:51 ---> ae5e4e9ad3a4 03:48:51 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:48:51 ---> Running in fe98921c0d5e 03:48:51 Removing intermediate container fe98921c0d5e 03:48:51 ---> 3c2b4c1ea6d3 03:48:51 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:48:51 ---> Running in 4a8901da2924 03:48:53 Removing intermediate container 4a8901da2924 03:48:53 ---> c515ac17e340 03:48:53 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:48:54 ---> Running in 4ef1e4f57dde 03:48:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:48:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:48:57 OK: 221 MiB in 51 packages 03:48:57 Removing intermediate container 4ef1e4f57dde 03:48:57 ---> 1e3b0d698385 03:48:57 Step 10/27 : WORKDIR /device-onvif-camera 03:48:57 ---> Running in fa639b500b37 03:48:58 Removing intermediate container fa639b500b37 03:48:58 ---> a20133f4fc39 03:48:58 Step 11/27 : COPY go.mod vendor* ./ 03:49:00 ---> 05dd179f050f 03:49:00 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:49:00 ---> Running in 6a6bf3134c2c 03:49:04 Removing intermediate container 6a6bf3134c2c 03:49:04 ---> 248321419d66 03:49:04 Step 13/27 : COPY . . 03:49:06 ---> 4b15c098db7f 03:49:06 Step 14/27 : RUN ${MAKE} 03:49:06 ---> Running in 37bf9780e7a8 03:49:08 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:51:29 Removing intermediate container 37bf9780e7a8 03:51:29 ---> 7315be57acd1 03:51:29 Step 15/27 : FROM alpine:3.16 03:51:30 3.16: Pulling from library/alpine 03:51:30 9b18e9b68314: Pulling fs layer 03:51:30 9b18e9b68314: Verifying Checksum 03:51:30 9b18e9b68314: Download complete 03:51:31 9b18e9b68314: Pull complete 03:51:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:51:31 Status: Downloaded newer image for alpine:3.16 03:51:31 ---> a6215f271958 03:51:31 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:51:31 ---> Running in 402d83d153cc 03:51:31 Removing intermediate container 402d83d153cc 03:51:31 ---> 77377ac542fc 03:51:31 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 03:51:31 ---> Running in c87a62cb394a 03:51:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:51:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:51:34 (1/6) Installing dumb-init (1.2.5-r1) 03:51:34 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:51:34 (3/6) Installing libsodium (1.0.18-r0) 03:51:34 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:51:34 (5/6) Installing libzmq (4.3.4-r0) 03:51:34 (6/6) Installing zeromq (4.3.4-r0) 03:51:34 Executing busybox-1.35.0-r17.trigger 03:51:34 OK: 8 MiB in 20 packages 03:51:34 Removing intermediate container c87a62cb394a 03:51:34 ---> 675c274fae76 03:51:34 Step 18/27 : WORKDIR / 03:51:34 ---> Running in 0b77c487c2b7 03:51:35 Removing intermediate container 0b77c487c2b7 03:51:35 ---> 3398ae311400 03:51:35 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:51:36 ---> f8e9eb219614 03:51:36 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:51:36 ---> d22f108f5642 03:51:37 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:51:37 ---> a18e547325c5 03:51:37 Step 22/27 : EXPOSE 59984 03:51:37 ---> Running in e8baef6ad67b 03:51:38 Removing intermediate container e8baef6ad67b 03:51:38 ---> 24f631fca5ec 03:51:38 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:51:38 ---> Running in 691d5b498bc7 03:51:38 Removing intermediate container 691d5b498bc7 03:51:38 ---> fa33a078267d 03:51:38 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:51:38 ---> Running in dc62dd695853 03:51:38 Removing intermediate container dc62dd695853 03:51:38 ---> 42db0bccf88c 03:51:38 Step 25/27 : LABEL arch=arm64 03:51:38 ---> Running in d92a64cd32c7 03:51:38 Removing intermediate container d92a64cd32c7 03:51:38 ---> 18ecf113f9bc 03:51:38 Step 26/27 : LABEL git_sha=e506b749bbe7f4e70458109a26677d2afcd6fe78 03:51:39 ---> Running in 88cc11ad23ca 03:51:39 Removing intermediate container 88cc11ad23ca 03:51:39 ---> bece35bc8f2e 03:51:39 Step 27/27 : LABEL version=0.0.0 03:51:39 ---> Running in 498577d04ed0 03:51:39 Removing intermediate container 498577d04ed0 03:51:39 ---> f68e271d9052 03:51:39 [Warning] One or more build-args [ARCH] were not consumed 03:51:39 Successfully built f68e271d9052 03:51:39 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:51:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:51:40 03:51:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:51:40 arm64: Pulling from edgex-lftools-log-publisher 03:51:40 8998bd30e6a1: Pulling fs layer 03:51:40 04944245beec: Pulling fs layer 03:51:40 699f458cf7ca: Pulling fs layer 03:51:40 765212b225bb: Pulling fs layer 03:51:40 f23df028b6ca: Pulling fs layer 03:51:40 d65c8cfc05b1: Pulling fs layer 03:51:40 2437ff75d9bd: Pulling fs layer 03:51:40 765212b225bb: Waiting 03:51:40 f23df028b6ca: Waiting 03:51:40 d65c8cfc05b1: Waiting 03:51:40 2437ff75d9bd: Waiting 03:51:40 04944245beec: Verifying Checksum 03:51:40 04944245beec: Download complete 03:51:40 765212b225bb: Verifying Checksum 03:51:40 765212b225bb: Download complete 03:51:40 f23df028b6ca: Download complete 03:51:40 d65c8cfc05b1: Download complete 03:51:41 699f458cf7ca: Verifying Checksum 03:51:41 699f458cf7ca: Download complete 03:51:41 8998bd30e6a1: Verifying Checksum 03:51:41 8998bd30e6a1: Download complete 03:51:43 2437ff75d9bd: Verifying Checksum 03:51:43 2437ff75d9bd: Download complete 03:51:45 8998bd30e6a1: Pull complete 03:51:45 04944245beec: Pull complete 03:51:46 699f458cf7ca: Pull complete 03:51:47 765212b225bb: Pull complete 03:51:48 f23df028b6ca: Pull complete 03:51:48 d65c8cfc05b1: Pull complete 03:52:03 2437ff75d9bd: Pull complete 03:52:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:52:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:03 prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container 03:52:03 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:52:05 $ docker top 2226e7e2eb4cbdc6b9a9eb857f31ad56b7b1ff773428de28a0d0be742864e733 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:06 ---> job-cost.sh 03:52:06 lf-activate-venv: SKIPPING 03:52:06 INFO: No Stack... 03:52:07 INFO: Retrieving Pricing Info for: v3-standard-4 03:52:08 INFO: Archiving Costs [Pipeline] sh 03:52:08 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 03:52:08 + cut -d, -f6 [Pipeline] lock 03:52:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] 03:52:08 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] did not exist. Created. 03:52:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:52:08 /w/workspace/device-onvif-camera/3@tmp/durable-05e43e8c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:52:09 + echo total: 0.10999999940395355 [Pipeline] stash 03:52:09 Warning: overwriting stash ‘stack-cost’ 03:52:09 Stashed 1 file(s) [Pipeline] } 03:52:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-169-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:52:09 $ docker stop --time=1 2226e7e2eb4cbdc6b9a9eb857f31ad56b7b1ff773428de28a0d0be742864e733 03:52:10 $ docker rm -f 2226e7e2eb4cbdc6b9a9eb857f31ad56b7b1ff773428de28a0d0be742864e733 [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:52:11 provisioning config files... 03:52:11 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config10470625844862943967tmp [Pipeline] { [Pipeline] sh 03:52:11 + set +x 03:52:11 + curl -s https://codecov.io/bash 03:52:11 + bash -s -- 03:52:11 03:52:11 _____ _ 03:52:11 / ____| | | 03:52:11 | | ___ __| | ___ ___ _____ __ 03:52:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:52:11 | |___| (_) | (_| | __/ (_| (_) \ V / 03:52:11 \_____\___/ \__,_|\___|\___\___/ \_/ 03:52:11 Bash-1.0.6 03:52:11 03:52:11 03:52:11 ==> git version 2.25.1 found 03:52:11 ==> 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:52:11 Release-Date: 2020-01-08 03:52:11 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:52:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:52:11 ==> Jenkins CI detected. 03:52:11 current dir:  /w/workspace/undry_device-onvif-camera_PR-169 03:52:11 project root: . 03:52:11 --> token set from env 03:52:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:52:11 ==> Running gcov in . (disable via -X gcov) 03:52:11 ==> Python coveragepy not found 03:52:11 ==> Searching for coverage reports in: 03:52:11 + . 03:52:11 -> Found 1 reports 03:52:11 ==> Detecting git/mercurial file structure 03:52:11 ==> Reading reports 03:52:11 + ./coverage.out bytes=78461 03:52:11 ==> Appending adjustments 03:52:11 https://docs.codecov.io/docs/fixing-reports 03:52:11 + Found adjustments 03:52:11 ==> Gzipping contents 03:52:11 12K /tmp/codecov.7QGdz8.gz 03:52:11 ==> Uploading reports 03:52:11 url: https://codecov.io 03:52:11 query: branch=PR-169&commit=e506b749bbe7f4e70458109a26677d2afcd6fe78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-169%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=169&job=&cmd_args= 03:52:11 -> Pinging Codecov 03:52:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-169&commit=e506b749bbe7f4e70458109a26677d2afcd6fe78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-169%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=169&job=&cmd_args= 03:52:11 -> Uploading to 03:52:11 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/F29A59C45E3A92E06B3E522C9905F8EF/e506b749bbe7f4e70458109a26677d2afcd6fe78/8bbe3941-e227-49a6-a280-3322b8974686.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T035211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5558ddacbe7fa04335c478a865bca36531912ccfa3a593f7c6ff4f2bce71d5b0 03:52:11 % Total % Received % Xferd Average Speed Time Time Time Current 03:52:11 Dload Upload Total Spent Left Speed 03:52:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10734 0 0 100 10734 0 50632 --:--:-- --:--:-- --:--:-- 50632 03:52:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e506b749bbe7f4e70458109a26677d2afcd6fe78 [Pipeline] } 03:52:12 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:52:12 + [ -d /w/workspace/undry_device-onvif-camera_PR-169/archives ] 03:52:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-169/archives 03:52:12 total 16 03:52:12 drwxr-xr-x 3 root root 4096 Oct 3 03:42 . 03:52:12 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:42 .. 03:52:12 drwxr-xr-x 2 root root 4096 Oct 3 03:42 cost 03:52:12 -rw-r--r-- 1 root root 91 Oct 3 03:42 cost.csv 03:52:12 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-169/archives 03:52:12 + ls -al /w/workspace/undry_device-onvif-camera_PR-169/archives 03:52:12 total 16 03:52:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 03:42 . 03:52:12 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 03:42 .. 03:52:12 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 03:42 cost 03:52:12 -rw-r--r-- 1 jenkins jenkins 91 Oct 3 03:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:52:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:52:14 ---> package-listing.sh 03:52:14 ++ facter osfamily 03:52:14 ++ tr '[:upper:]' '[:lower:]' 03:52:14 + OS_FAMILY=debian 03:52:14 + workspace=/w/workspace/undry_device-onvif-camera_PR-169 03:52:14 + START_PACKAGES=/tmp/packages_start.txt 03:52:14 + END_PACKAGES=/tmp/packages_end.txt 03:52:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:52:14 + PACKAGES=/tmp/packages_start.txt 03:52:14 + '[' /w/workspace/undry_device-onvif-camera_PR-169 ']' 03:52:14 + PACKAGES=/tmp/packages_end.txt 03:52:14 + case "${OS_FAMILY}" in 03:52:14 + dpkg -l 03:52:14 + grep '^ii' 03:52:14 + '[' -f /tmp/packages_start.txt ']' 03:52:14 + '[' -f /tmp/packages_end.txt ']' 03:52:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:52:14 + '[' /w/workspace/undry_device-onvif-camera_PR-169 ']' 03:52:14 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-169/archives/ 03:52:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-169/archives/ [Pipeline] echo 03:52:14 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-169/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:52:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:52:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:15 prd-ubuntu20.04-docker-8c-8g-6816 does not seem to be running inside a container 03:52:15 $ 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-169/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-169 -v /w/workspace/undry_device-onvif-camera_PR-169:/w/workspace/undry_device-onvif-camera_PR-169:rw,z -v /w/workspace/undry_device-onvif-camera_PR-169@tmp:/w/workspace/undry_device-onvif-camera_PR-169@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:52:15 $ docker top ba3fb042552ac6c124cea70f52a5dae98633f3793002a4f7a15b5754b1ab31e0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:52:15 + touch /tmp/pre-build-complete [Pipeline] sh 03:52:16 + mkdir -p /var/log/sysstat [Pipeline] sh 03:52:16 + ls /var/log/sa-host 03:52:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:52:16 provisioning config files... 03:52:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-169@tmp/config2054198233707926167tmp [Pipeline] { [Pipeline] echo 03:52:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:52:16 ---> create-netrc.sh [Pipeline] } 03:52:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:52:17 ---> python-tools-install.sh [Pipeline] echo 03:52:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:52:17 ---> sudo-logs.sh 03:52:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:52:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:52:17 ---> job-cost.sh 03:52:17 lf-activate-venv: SKIPPING 03:52:17 DEBUG: total: 0.2199999988079071 03:52:17 INFO: Retrieving Stack Cost... 03:52:18 INFO: Retrieving Pricing Info for: v3-standard-8 03:52:18 INFO: Archiving Costs [Pipeline] echo 03:52:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:52:19 ---> logs-deploy.sh 03:52:19 lf-activate-venv: SKIPPING 03:52:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-169/3 03:52:19 INFO: archiving workspace using pattern(s): 03:52:20 Archives upload complete. 03:52:20 INFO: archiving logs to Nexus