Pull request #177 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 rather than 6db3a90bb27c05e9383e4c0889f12505828bd6b6 Obtained Jenkinsfile from 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 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-ssh13384701090114427964.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-ssh2504879110785135566.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5834953999182622415.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5431407349694432759.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13260614503996267951.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5222456260917547126.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7827 in /w/workspace/undry_device-onvif-camera_PR-177 [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-177 # 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/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 into PR head commit 6db3a90bb27c05e9383e4c0889f12505828bd6b6 Merge succeeded, producing 6db3a90bb27c05e9383e4c0889f12505828bd6b6 Checking out Revision 6db3a90bb27c05e9383e4c0889f12505828bd6b6 (PR-177) > git config core.sparsecheckout # timeout=10 > git checkout -f 6db3a90bb27c05e9383e4c0889f12505828bd6b6 # 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 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6db3a90bb27c05e9383e4c0889f12505828bd6b6 # timeout=10 Commit message: "docs: updated openapi file" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:44:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:44:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:44:32 ========================================================= 22:44:32 EdgeX Global Pipelines Version Info 22:44:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:44:33 ------------------- 22:44:33 stable info: 22:44:33 ------------------- 22:44:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:44:33 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:44:33 Message: update stable to v1.0.239 22:44:34 ------------------- 22:44:34 experimental info: 22:44:34 ------------------- 22:44:34 Commited By: **** collab-it+edgex@linuxfoundation.org 22:44:34 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:44:34 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:44:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6db3a90bb27c05e9383e4c0889f12505828bd6b6 [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6db3a90 [Pipeline] echo 22:44:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:35 provisioning config files... 22:44:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config9346175525806391039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:36 ---> docker-login.sh 22:44:36 nexus3.edgexfoundry.org:10001 22:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:36 Configure a credential helper to remove this warning. See 22:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:36 22:44:36 Login Succeeded 22:44:36 nexus3.edgexfoundry.org:10002 22:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:36 Configure a credential helper to remove this warning. See 22:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:36 22:44:36 Login Succeeded 22:44:36 nexus3.edgexfoundry.org:10003 22:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:36 Configure a credential helper to remove this warning. See 22:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:36 22:44:36 Login Succeeded 22:44:36 nexus3.edgexfoundry.org:10004 22:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:36 Configure a credential helper to remove this warning. See 22:44:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:36 22:44:36 Login Succeeded 22:44:36 docker.io 22:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:37 Configure a credential helper to remove this warning. See 22:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:37 22:44:37 Login Succeeded 22:44:37 ---> docker-login.sh ends [Pipeline] } 22:44:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:44:38 + git rev-list -1 --merges 6db3a90bb27c05e9383e4c0889f12505828bd6b6~1..6db3a90bb27c05e9383e4c0889f12505828bd6b6 [Pipeline] echo 22:44:38 -----------> git rev-list -1 --merges 6db3a90bb27c05e9383e4c0889f12505828bd6b6~1..6db3a90bb27c05e9383e4c0889f12505828bd6b6 6db3a90bb27c05e9383e4c0889f12505828bd6b6 [false] [Pipeline] sh 22:44:38 + git log --format=format:%s -1 6db3a90bb27c05e9383e4c0889f12505828bd6b6 [Pipeline] echo 22:44:38 ========================================================= 22:44:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:44:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:38 + git log --format=format:%s -1 6db3a90bb27c05e9383e4c0889f12505828bd6b6 [Pipeline] echo 22:44:39 [semverPrep] GIT_COMMIT: 6db3a90bb27c05e9383e4c0889f12505828bd6b6, Commit Message: docs: updated openapi file [Pipeline] echo 22:44:39 [semverPrep] This is not a build commit. [Pipeline] sh 22:44:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:44:39 + grep -v github /etc/ssh/ssh_known_hosts 22:44:39 + [ -e /tmp/ssh_known_hosts ] 22:44:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:44:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:44:39 + sudo tee -a /etc/ssh/ssh_known_hosts 22:44:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:39 22:44:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:40 0.1.4: Pulling from edgex-devops/py-git-semver 22:44:40 b85a868b505f: Pulling fs layer 22:44:40 e2be974225ed: Pulling fs layer 22:44:40 339a4e72a1f5: Pulling fs layer 22:44:40 988bab9f4d93: Pulling fs layer 22:44:40 1469e6f7b9e6: Pulling fs layer 22:44:40 eaf3925da568: Pulling fs layer 22:44:40 bab4dde63d76: Pulling fs layer 22:44:40 bde34c3a00c8: Pulling fs layer 22:44:40 b352a97aabf1: Pulling fs layer 22:44:40 4872d77fe225: Pulling fs layer 22:44:40 5851b861e8e6: Pulling fs layer 22:44:40 bab4dde63d76: Waiting 22:44:40 bde34c3a00c8: Waiting 22:44:40 b352a97aabf1: Waiting 22:44:40 4872d77fe225: Waiting 22:44:40 5851b861e8e6: Waiting 22:44:40 988bab9f4d93: Waiting 22:44:40 1469e6f7b9e6: Waiting 22:44:40 eaf3925da568: Waiting 22:44:40 e2be974225ed: Download complete 22:44:40 988bab9f4d93: Verifying Checksum 22:44:40 988bab9f4d93: Download complete 22:44:40 339a4e72a1f5: Verifying Checksum 22:44:40 339a4e72a1f5: Download complete 22:44:40 1469e6f7b9e6: Verifying Checksum 22:44:40 1469e6f7b9e6: Download complete 22:44:40 eaf3925da568: Download complete 22:44:40 bde34c3a00c8: Download complete 22:44:40 b352a97aabf1: Verifying Checksum 22:44:40 b352a97aabf1: Download complete 22:44:40 4872d77fe225: Verifying Checksum 22:44:40 4872d77fe225: Download complete 22:44:40 5851b861e8e6: Verifying Checksum 22:44:40 5851b861e8e6: Download complete 22:44:40 b85a868b505f: Verifying Checksum 22:44:40 b85a868b505f: Download complete 22:44:40 bab4dde63d76: Verifying Checksum 22:44:40 bab4dde63d76: Download complete 22:44:41 b85a868b505f: Pull complete 22:44:42 e2be974225ed: Pull complete 22:44:42 339a4e72a1f5: Pull complete 22:44:42 988bab9f4d93: Pull complete 22:44:42 1469e6f7b9e6: Pull complete 22:44:43 eaf3925da568: Pull complete 22:44:45 bab4dde63d76: Pull complete 22:44:45 bde34c3a00c8: Pull complete 22:44:45 b352a97aabf1: Pull complete 22:44:45 4872d77fe225: Pull complete 22:44:45 5851b861e8e6: Pull complete 22:44:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:45 prd-ubuntu20.04-docker-8c-8g-7827 does not seem to be running inside a container 22:44:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:44:47 $ docker top ec3b1d8351443bc5adef1decc4137a7008d34f1427bdc8b36b95ef7802db8bcc -eo pid,comm 22:44:47 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). 22:44:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:44:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:47 [ssh-agent] Looking for ssh-agent implementation... 22:44:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:47 $ docker exec ec3b1d8351443bc5adef1decc4137a7008d34f1427bdc8b36b95ef7802db8bcc ssh-agent 22:44:47 SSH_AUTH_SOCK=/tmp/ssh-0EPh9gfg75DL/agent.34 22:44:47 SSH_AGENT_PID=40 22:44:47 Running ssh-add (command line suppressed) 22:44:48 Identity added: /w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_11602865278392601723.key (/w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_11602865278392601723.key) 22:44:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:48 + git tag --points-at HEAD [Pipeline] } 22:44:48 $ docker exec --env ******** --env ******** ec3b1d8351443bc5adef1decc4137a7008d34f1427bdc8b36b95ef7802db8bcc ssh-agent -k 22:44:48 unset SSH_AUTH_SOCK; 22:44:48 unset SSH_AGENT_PID; 22:44:48 echo Agent pid 40 killed; 22:44:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:44:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:48 [ssh-agent] Looking for ssh-agent implementation... 22:44:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:48 $ docker exec ec3b1d8351443bc5adef1decc4137a7008d34f1427bdc8b36b95ef7802db8bcc ssh-agent 22:44:48 SSH_AUTH_SOCK=/tmp/ssh-HeGAEWF8FT9i/agent.73 22:44:48 SSH_AGENT_PID=79 22:44:48 Running ssh-add (command line suppressed) 22:44:48 Identity added: /w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_5197109300713862954.key (/w/workspace/undry_device-onvif-camera_PR-177@tmp/private_key_5197109300713862954.key) 22:44:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:49 + git semver init 22:44:49 2022-10-13 22:44:49,490 [run_init] DEBUG init version:0.0.0 force:False 22:44:49 2022-10-13 22:44:49,491 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-177/.semver 22:44:49 2022-10-13 22:44:49,492 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-177/.semver 22:44:49 2022-10-13 22:44:49,493 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-177/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-177, universal_newlines=False, shell=None, istream=None) 22:44:50 2022-10-13 22:44:50,453 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-177/.git/info/exclude 22:44:50 2022-10-13 22:44:50,454 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 with force:False 22:44:50 2022-10-13 22:44:50,454 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 22:44:50 2022-10-13 22:44:50,457 [execute] INFO git cat-file --batch-check 22:44:50 2022-10-13 22:44:50,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) 22:44:50 2022-10-13 22:44:50,464 [execute] INFO git cat-file --batch 22:44:50 2022-10-13 22:44:50,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-177/.semver, universal_newlines=False, shell=None, istream=) 22:44:50 2022-10-13 22:44:50,470 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-177/.semver/PR-177 22:44:50 0.0.0 [Pipeline] } 22:44:50 $ docker exec --env ******** --env ******** ec3b1d8351443bc5adef1decc4137a7008d34f1427bdc8b36b95ef7802db8bcc ssh-agent -k 22:44:50 unset SSH_AUTH_SOCK; 22:44:50 unset SSH_AGENT_PID; 22:44:50 echo Agent pid 79 killed; 22:44:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:44:51 + git semver [Pipeline] } 22:44:51 $ docker stop --time=1 ec3b1d8351443bc5adef1decc4137a7008d34f1427bdc8b36b95ef7802db8bcc 22:44:52 $ docker rm -f ec3b1d8351443bc5adef1decc4137a7008d34f1427bdc8b36b95ef7802db8bcc [Pipeline] // withDockerContainer [Pipeline] sh 22:44:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:44:53 Stashed 1 file(s) [Pipeline] echo 22:44:53 [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 22:44:53 provisioning config files... 22:44:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config11749351439188535328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:54 ---> docker-login.sh 22:44:54 nexus3.edgexfoundry.org:10001 22:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:54 Configure a credential helper to remove this warning. See 22:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:54 22:44:54 Login Succeeded 22:44:54 nexus3.edgexfoundry.org:10002 22:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:54 Configure a credential helper to remove this warning. See 22:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:54 22:44:54 Login Succeeded 22:44:54 nexus3.edgexfoundry.org:10003 22:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:54 Configure a credential helper to remove this warning. See 22:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:54 22:44:54 Login Succeeded 22:44:54 nexus3.edgexfoundry.org:10004 22:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:54 Configure a credential helper to remove this warning. See 22:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:54 22:44:54 Login Succeeded 22:44:54 docker.io 22:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:55 Configure a credential helper to remove this warning. See 22:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:55 22:44:55 Login Succeeded 22:44:55 ---> docker-login.sh ends [Pipeline] } 22:44:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:55 ========================================================= 22:44:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:44:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:55 + 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 . 22:44:55 Sending build context to Docker daemon 21.42MB 22:44:55 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 22:44:55 Step 2/14 : FROM ${BASE} AS builder 22:44:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:44:55 213ec9aee27d: Pulling fs layer 22:44:55 4583459ba037: Pulling fs layer 22:44:55 93c1e223e6f2: Pulling fs layer 22:44:55 53926ce57604: Pulling fs layer 22:44:55 21b2b0c7a3f4: Pulling fs layer 22:44:55 30f14e443154: Pulling fs layer 22:44:55 801331c1e519: Pulling fs layer 22:44:55 99cc6dd402b0: Pulling fs layer 22:44:55 7d9ed39f4882: Pulling fs layer 22:44:55 53926ce57604: Waiting 22:44:55 21b2b0c7a3f4: Waiting 22:44:55 30f14e443154: Waiting 22:44:55 801331c1e519: Waiting 22:44:55 99cc6dd402b0: Waiting 22:44:55 7d9ed39f4882: Waiting 22:44:56 93c1e223e6f2: Verifying Checksum 22:44:56 93c1e223e6f2: Download complete 22:44:56 4583459ba037: Verifying Checksum 22:44:56 4583459ba037: Download complete 22:44:56 21b2b0c7a3f4: Download complete 22:44:56 30f14e443154: Verifying Checksum 22:44:56 30f14e443154: Download complete 22:44:56 213ec9aee27d: Verifying Checksum 22:44:56 213ec9aee27d: Download complete 22:44:56 801331c1e519: Verifying Checksum 22:44:56 801331c1e519: Download complete 22:44:56 213ec9aee27d: Pull complete 22:44:56 4583459ba037: Pull complete 22:44:56 93c1e223e6f2: Pull complete 22:44:56 7d9ed39f4882: Download complete 22:44:56 53926ce57604: Verifying Checksum 22:44:56 53926ce57604: Download complete 22:44:56 99cc6dd402b0: Verifying Checksum 22:44:56 99cc6dd402b0: Download complete 22:45:01 53926ce57604: Pull complete 22:45:01 21b2b0c7a3f4: Pull complete 22:45:01 30f14e443154: Pull complete 22:45:01 801331c1e519: Pull complete 22:45:02 99cc6dd402b0: Pull complete 22:45:03 7d9ed39f4882: Pull complete 22:45:03 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 22:45:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:45:03 ---> 1dedd983c030 22:45:03 Step 3/14 : ARG ADD_BUILD_TAGS="" 22:45:05 ---> Running in e1f4f4beda06 22:45:05 Removing intermediate container e1f4f4beda06 22:45:05 ---> c22e72d865bd 22:45:05 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:05 ---> Running in 0cff0e2d5220 22:45:05 Removing intermediate container 0cff0e2d5220 22:45:05 ---> 6cbffac42951 22:45:05 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:45:05 ---> Running in e4c9896420d0 22:45:06 Removing intermediate container e4c9896420d0 22:45:06 ---> 6159f4d7bad5 22:45:06 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 22:45:06 ---> Running in ab2df5b4ea65 22:45:06 Removing intermediate container ab2df5b4ea65 22:45:06 ---> 9aa915ac0494 22:45:06 Step 7/14 : LABEL Name=edgex-device-onvif-camera 22:45:06 ---> Running in 3863de40d21d 22:45:06 Removing intermediate container 3863de40d21d 22:45:06 ---> d5d072b8db13 22:45:06 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:06 ---> Running in 0a75c51269bd 22:45:06 Removing intermediate container 0a75c51269bd 22:45:06 ---> 88766dd3d835 22:45:06 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:06 ---> Running in f411b0ccda69 22:45:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:45:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:45:08 OK: 211 MiB in 51 packages 22:45:08 Removing intermediate container f411b0ccda69 22:45:08 ---> d3ac49dc70a5 22:45:08 Step 10/14 : WORKDIR /device-onvif-camera 22:45:08 ---> Running in d69930638fd2 22:45:08 Removing intermediate container d69930638fd2 22:45:08 ---> c9e4606ea98d 22:45:08 Step 11/14 : COPY go.mod vendor* ./ 22:45:08 Still waiting to schedule task 22:45:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:45:08 ---> 4276e58aaab6 22:45:08 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:08 ---> Running in d5b9be002474 22:45:35 Removing intermediate container d5b9be002474 22:45:35 ---> 079f1a167ff4 22:45:35 Step 13/14 : COPY . . 22:45:35 ---> 2996c6cd1220 22:45:35 Step 14/14 : RUN ${MAKE} 22:45:35 ---> Running in 8e219c5aa8ee 22:45:35 noop 22:45:35 Removing intermediate container 8e219c5aa8ee 22:45:35 ---> 8b660b4200ee 22:45:35 Successfully built 8b660b4200ee 22:45:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:35 + docker inspect -f . ci-base-image-x86_64 22:45:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:36 prd-ubuntu20.04-docker-8c-8g-7827 does not seem to be running inside a container 22:45:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:36 $ docker top 4091272ef96afd868ce03fff40b61a43eb95aa4220e685946be549530d91a7a4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:36 + go version 22:45:36 go version go1.18.7 linux/amd64 [Pipeline] } 22:45:36 $ docker stop --time=1 4091272ef96afd868ce03fff40b61a43eb95aa4220e685946be549530d91a7a4 22:45:38 $ docker rm -f 4091272ef96afd868ce03fff40b61a43eb95aa4220e685946be549530d91a7a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:38 + docker inspect -f . ci-base-image-x86_64 22:45:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:39 prd-ubuntu20.04-docker-8c-8g-7827 does not seem to be running inside a container 22:45:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:39 $ docker top 843f2553f51b71460ac985f62c3214242cf3d949de8405d68cecf651fadfcf3d -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:39 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-177 [Pipeline] fileExists [Pipeline] sh 22:45:40 + make test 22:45:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:45:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:45:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:45:52 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.032s coverage: 28.2% of statements 22:45:52 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:45:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.352s coverage: 86.5% of statements 22:46:00 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." 22:46:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:46:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:46:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:46:03 ./bin/test-attribution-txt.sh [Pipeline] echo 22:46:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:46:03 $ docker stop --time=1 843f2553f51b71460ac985f62c3214242cf3d949de8405d68cecf651fadfcf3d 22:46:06 $ docker rm -f 843f2553f51b71460ac985f62c3214242cf3d949de8405d68cecf651fadfcf3d [Pipeline] // withDockerContainer [Pipeline] sh 22:46:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:46:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:46:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:46:08 + ls -al . 22:46:08 total 236 22:46:08 drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 22:45 . 22:46:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 22:44 .. 22:46:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 22:45 .git 22:46:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 22:44 .github 22:46:08 -rw-rw-r-- 1 jenkins jenkins 496 Oct 13 22:44 .gitignore 22:46:08 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 22:44 .golangci.yml 22:46:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 22:44 .semver 22:46:08 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 13 22:44 Attribution.txt 22:46:08 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 13 22:44 CHANGELOG.md 22:46:08 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 13 22:44 Dockerfile 22:46:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 22:44 GOVERNANCE.md 22:46:08 -rw-rw-r-- 1 jenkins jenkins 734 Oct 13 22:44 Jenkinsfile 22:46:08 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 13 22:44 LICENSE 22:46:08 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 13 22:44 Makefile 22:46:08 -rw-rw-r-- 1 jenkins jenkins 625 Oct 13 22:44 OWNERS.md 22:46:08 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 13 22:44 README.md 22:46:08 -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 22:44 VERSION 22:46:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 22:44 bin 22:46:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 22:44 cmd 22:46:08 -rw-r--r-- 1 jenkins jenkins 78636 Oct 13 22:45 coverage.out 22:46:08 drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 22:44 doc 22:46:08 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 13 22:44 go.mod 22:46:08 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 13 22:44 go.sum 22:46:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 22:44 internal 22:46:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 22:44 snap 22:46:08 -rw-rw-r-- 1 jenkins jenkins 236 Oct 13 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:08 + 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=6db3a90bb27c05e9383e4c0889f12505828bd6b6 --label arch=amd64 --label version=0.0.0 . 22:46:08 Sending build context to Docker daemon 21.5MB 22:46:08 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:46:08 Step 2/27 : FROM ${BASE} AS builder 22:46:08 ---> 8b660b4200ee 22:46:08 Step 3/27 : ARG ADD_BUILD_TAGS="" 22:46:09 ---> Running in 87bd63f60b1f 22:46:09 Removing intermediate container 87bd63f60b1f 22:46:09 ---> 130db3e1975b 22:46:09 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:46:09 ---> Running in 2cc629cdc4cc 22:46:09 Removing intermediate container 2cc629cdc4cc 22:46:09 ---> 8eb41f145fc8 22:46:09 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:46:09 ---> Running in 93e2208a378e 22:46:09 Removing intermediate container 93e2208a378e 22:46:09 ---> a21ae0845405 22:46:09 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 22:46:09 ---> Running in 6cc2e5d284ba 22:46:09 Removing intermediate container 6cc2e5d284ba 22:46:09 ---> b9d1d4697e72 22:46:09 Step 7/27 : LABEL Name=edgex-device-onvif-camera 22:46:09 ---> Running in 999a7da3df22 22:46:09 Removing intermediate container 999a7da3df22 22:46:09 ---> 43d9189f45e2 22:46:09 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:09 ---> Running in c937cbe151e6 22:46:10 Removing intermediate container c937cbe151e6 22:46:10 ---> cf76d38aa54b 22:46:10 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:46:10 ---> Running in 49bfd01e396f 22:46:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:46:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:46:11 OK: 211 MiB in 51 packages 22:46:12 Removing intermediate container 49bfd01e396f 22:46:12 ---> 78a1cf6c58d1 22:46:12 Step 10/27 : WORKDIR /device-onvif-camera 22:46:12 ---> Running in 63079b7e9dca 22:46:12 Removing intermediate container 63079b7e9dca 22:46:12 ---> 37dba10e0761 22:46:12 Step 11/27 : COPY go.mod vendor* ./ 22:46:12 ---> 728216cd9fa9 22:46:12 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:12 ---> Running in 9c5797b75626 22:46:13 Removing intermediate container 9c5797b75626 22:46:13 ---> af1164c4a6df 22:46:13 Step 13/27 : COPY . . 22:46:13 ---> bce412df65cd 22:46:13 Step 14/27 : RUN ${MAKE} 22:46:13 ---> Running in 85110e81497d 22:46:14 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 22:46:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7828 in /w/workspace/undry_device-onvif-camera_PR-177 [Pipeline] { [Pipeline] ws 22:46:34 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 22:46:35 The recommended git tool is: git 22:46:39 using credential edgex-jenkins-ssh 22:46:39 Cloning the remote Git repository 22:46:39 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:46:39 > git init /w/workspace/device-onvif-camera/1 # timeout=10 22:46:40 Removing intermediate container 85110e81497d 22:46:40 ---> b9b3fedaae0d 22:46:40 Step 15/27 : FROM alpine:3.16 22:46:40 3.16: Pulling from library/alpine 22:46:40 213ec9aee27d: Already exists 22:46:40 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:46:40 Status: Downloaded newer image for alpine:3.16 22:46:40 ---> 9c6f07244728 22:46:40 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:46:40 ---> Running in db2af732d287 22:46:40 Removing intermediate container db2af732d287 22:46:40 ---> 7756830156a0 22:46:40 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 22:46:40 ---> Running in 1ba71a4a7dec 22:46:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:46:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:46:40 (1/6) Installing dumb-init (1.2.5-r1) 22:46:40 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:46:40 (3/6) Installing libsodium (1.0.18-r0) 22:46:40 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:46:40 (5/6) Installing libzmq (4.3.4-r0) 22:46:40 (6/6) Installing zeromq (4.3.4-r0) 22:46:40 Executing busybox-1.35.0-r17.trigger 22:46:40 OK: 8 MiB in 20 packages 22:46:40 Removing intermediate container 1ba71a4a7dec 22:46:40 ---> 6d2baed50014 22:46:40 Step 18/27 : WORKDIR / 22:46:40 ---> Running in 2bcbb1003bec 22:46:40 Removing intermediate container 2bcbb1003bec 22:46:40 ---> ad13c5151596 22:46:40 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 22:46:40 ---> ce6e657359cd 22:46:40 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 22:46:40 ---> fe387953fe34 22:46:40 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:46:40 ---> 089bd5b8cf51 22:46:40 Step 22/27 : EXPOSE 59984 22:46:40 ---> Running in c88e7e9148f5 22:46:40 Removing intermediate container c88e7e9148f5 22:46:40 ---> 70bf009c9d1a 22:46:40 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 22:46:40 ---> Running in a6355d059966 22:46:40 Removing intermediate container a6355d059966 22:46:40 ---> 85e4bee11187 22:46:40 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:46:40 ---> Running in 13c29ca89bb6 22:46:40 Removing intermediate container 13c29ca89bb6 22:46:40 ---> 0677c2572fb7 22:46:40 Step 25/27 : LABEL arch=amd64 22:46:40 ---> Running in 615fd1f393f2 22:46:40 Removing intermediate container 615fd1f393f2 22:46:40 ---> bac587fd6221 22:46:40 Step 26/27 : LABEL git_sha=6db3a90bb27c05e9383e4c0889f12505828bd6b6 22:46:40 ---> Running in 644e5089b51c 22:46:40 Removing intermediate container 644e5089b51c 22:46:40 ---> 057aa8794ca6 22:46:40 Step 27/27 : LABEL version=0.0.0 22:46:40 ---> Running in 1c230a9a16f6 22:46:40 Removing intermediate container 1c230a9a16f6 22:46:40 ---> 1d59e0aa4231 22:46:40 [Warning] One or more build-args [ARCH] were not consumed 22:46:40 Successfully built 1d59e0aa4231 22:46:40 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 22:46:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:46:39 > git --version # timeout=10 22:46:39 > git --version # 'git version 2.25.1' 22:46:39 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:40 Verifying host key using known hosts file 22:46:40 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. 22:46:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 22:46:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:41 22:46:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:42 latest: Pulling from edgex-lftools-log-publisher 22:46:42 5eb5b503b376: Pulling fs layer 22:46:42 5c69ac0246d0: Pulling fs layer 22:46:42 ec43610c2a17: Pulling fs layer 22:46:42 3a2ae6a8a46f: Pulling fs layer 22:46:42 33b1e0a273af: Pulling fs layer 22:46:42 5d3b04190fa2: Pulling fs layer 22:46:42 2f39f015ded8: Pulling fs layer 22:46:42 3a2ae6a8a46f: Waiting 22:46:42 33b1e0a273af: Waiting 22:46:42 5d3b04190fa2: Waiting 22:46:42 2f39f015ded8: Waiting 22:46:42 5c69ac0246d0: Verifying Checksum 22:46:42 5c69ac0246d0: Download complete 22:46:42 3a2ae6a8a46f: Download complete 22:46:42 33b1e0a273af: Verifying Checksum 22:46:42 33b1e0a273af: Download complete 22:46:42 ec43610c2a17: Verifying Checksum 22:46:42 ec43610c2a17: Download complete 22:46:42 5d3b04190fa2: Verifying Checksum 22:46:42 5d3b04190fa2: Download complete 22:46:42 5eb5b503b376: Verifying Checksum 22:46:42 5eb5b503b376: Download complete 22:46:41 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:46:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:42 2f39f015ded8: Download complete 22:46:43 Merging remotes/origin/main commit 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 into PR head commit 6db3a90bb27c05e9383e4c0889f12505828bd6b6 22:46:43 5eb5b503b376: Pull complete 22:46:43 Merge succeeded, producing 6db3a90bb27c05e9383e4c0889f12505828bd6b6 22:46:43 Checking out Revision 6db3a90bb27c05e9383e4c0889f12505828bd6b6 (PR-177) 22:46:42 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:46:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:46:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:42 Verifying host key using known hosts file 22:46:42 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. 22:46:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:46:43 > git config core.sparsecheckout # timeout=10 22:46:43 > git checkout -f 6db3a90bb27c05e9383e4c0889f12505828bd6b6 # timeout=10 22:46:43 > git remote # timeout=10 22:46:43 > git config --get remote.origin.url # timeout=10 22:46:43 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:43 Verifying host key using known hosts file 22:46:43 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. 22:46:43 > git merge 7ec405a7ebe2d3fd94ca179867e83cca09fb31d0 # timeout=10 22:46:43 > git rev-parse HEAD^{commit} # timeout=10 22:46:43 > git config core.sparsecheckout # timeout=10 22:46:43 > git checkout -f 6db3a90bb27c05e9383e4c0889f12505828bd6b6 # timeout=10 22:46:43 5c69ac0246d0: Pull complete 22:46:44 ec43610c2a17: Pull complete 22:46:44 3a2ae6a8a46f: Pull complete 22:46:44 33b1e0a273af: Pull complete 22:46:44 5d3b04190fa2: Pull complete 22:46:47 Commit message: "docs: updated openapi file" 22:46:47 > git --version # timeout=10 22:46:47 > git --version # 'git version 2.25.1' 22:46:47 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 22:46:47 22:46:47 GitHub has been notified of this commit’s build result 22:46:47 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:46:48 % Total % Received % Xferd Average Speed Time Time Time Current 22:46:48 Dload Upload Total Spent Left Speed 22:46:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 85148 22:46:48 2f39f015ded8: Pull complete 22:46:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:46:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:49 prd-ubuntu20.04-docker-8c-8g-7827 does not seem to be running inside a container 22:46:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 22:46:49 $ 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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:46:54 $ docker top 127aa8799ceda7fbe75da7b7ab0f94c71d92c636e439927a199fbdb269d18907 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 22:46:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:46:55 + sudo tee /etc/docker/daemon.new 22:46:55 { 22:46:55 "registry-mirrors": [ 22:46:55 "https://nexus3.edgexfoundry.org:10001" 22:46:55 ], 22:46:55 "bip": "10.250.0.254/24", 22:46:55 "hosts": [ 22:46:55 "tcp://0.0.0.0:5555", 22:46:55 "unix:///var/run/docker.sock" 22:46:55 ], 22:46:55 "mtu": 1458, 22:46:55 "selinux-enabled": true, 22:46:55 "seccomp-profile": "/etc/docker/seccomp.json" 22:46:55 } [Pipeline] sh 22:46:55 ---> job-cost.sh 22:46:55 lf-activate-venv: SKIPPING 22:46:55 INFO: No Stack... 22:46:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 22:46:55 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 22:46:55 INFO: Archiving Costs [Pipeline] sh 22:46:55 + sudo service docker restart 22:46:56 + cat /w/workspace/undry_device-onvif-camera_PR-177/archives/cost.csv 22:46:56 + cut -d, -f6 [Pipeline] lock 22:46:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-177-1-stack-cost] 22:46:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-1-stack-cost] did not exist. Created. 22:46:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:46:56 + echo total: 0.2199999988079071 [Pipeline] stash 22:46:56 Stashed 1 file(s) [Pipeline] } 22:46:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:46:56 $ docker stop --time=1 127aa8799ceda7fbe75da7b7ab0f94c71d92c636e439927a199fbdb269d18907 22:46:57 $ docker rm -f 127aa8799ceda7fbe75da7b7ab0f94c71d92c636e439927a199fbdb269d18907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:14 provisioning config files... 22:47:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6106774501665140214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:14 ---> docker-login.sh 22:47:14 nexus3.edgexfoundry.org:10001 22:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:15 Configure a credential helper to remove this warning. See 22:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:15 22:47:15 Login Succeeded 22:47:15 nexus3.edgexfoundry.org:10002 22:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:15 Configure a credential helper to remove this warning. See 22:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:15 22:47:15 Login Succeeded 22:47:15 nexus3.edgexfoundry.org:10003 22:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:15 Configure a credential helper to remove this warning. See 22:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:15 22:47:15 Login Succeeded 22:47:15 nexus3.edgexfoundry.org:10004 22:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:16 Configure a credential helper to remove this warning. See 22:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:16 22:47:16 Login Succeeded 22:47:16 docker.io 22:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:16 Configure a credential helper to remove this warning. See 22:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:16 22:47:16 Login Succeeded 22:47:16 ---> docker-login.sh ends [Pipeline] } 22:47:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:47:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:47:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:47:17 ========================================================= 22:47:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:47:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:17 + 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 . 22:47:18 Sending build context to Docker daemon 14.8MB 22:47:18 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 22:47:18 Step 2/14 : FROM ${BASE} AS builder 22:47:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:47:19 9b18e9b68314: Pulling fs layer 22:47:19 d32db5db7311: Pulling fs layer 22:47:19 d0c4b47475fc: Pulling fs layer 22:47:19 5831b945b038: Pulling fs layer 22:47:19 86bbec2aaacd: Pulling fs layer 22:47:19 e10730c5d714: Pulling fs layer 22:47:19 5dd5c2283517: Pulling fs layer 22:47:19 d5ac0230b979: Pulling fs layer 22:47:19 5831b945b038: Waiting 22:47:19 86bbec2aaacd: Waiting 22:47:19 e10730c5d714: Waiting 22:47:19 5dd5c2283517: Waiting 22:47:19 d5ac0230b979: Waiting 22:47:19 d0c4b47475fc: Verifying Checksum 22:47:19 d0c4b47475fc: Download complete 22:47:19 d32db5db7311: Verifying Checksum 22:47:19 d32db5db7311: Download complete 22:47:19 86bbec2aaacd: Download complete 22:47:19 e10730c5d714: Verifying Checksum 22:47:19 e10730c5d714: Download complete 22:47:19 9b18e9b68314: Download complete 22:47:20 9b18e9b68314: Pull complete 22:47:20 d5ac0230b979: Verifying Checksum 22:47:20 d5ac0230b979: Download complete 22:47:20 d32db5db7311: Pull complete 22:47:20 d0c4b47475fc: Pull complete 22:47:21 5dd5c2283517: Verifying Checksum 22:47:21 5dd5c2283517: Download complete 22:47:22 5831b945b038: Verifying Checksum 22:47:22 5831b945b038: Download complete 22:47:34 5831b945b038: Pull complete 22:47:34 86bbec2aaacd: Pull complete 22:47:34 e10730c5d714: Pull complete 22:47:41 5dd5c2283517: Pull complete 22:47:43 d5ac0230b979: Pull complete 22:47:43 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 22:47:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:47:43 ---> 59b3b1a385d4 22:47:43 Step 3/14 : ARG ADD_BUILD_TAGS="" 22:47:45 ---> Running in 63731fcd0ca2 22:47:45 Removing intermediate container 63731fcd0ca2 22:47:45 ---> 5939a98183e3 22:47:45 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:47:45 ---> Running in 21475846a620 22:47:45 Removing intermediate container 21475846a620 22:47:45 ---> 68ea9210bab5 22:47:45 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:47:45 ---> Running in b51916522f0f 22:47:46 Removing intermediate container b51916522f0f 22:47:46 ---> 6c7ba748b84a 22:47:46 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 22:47:46 ---> Running in 2d1ee074da5c 22:47:46 Removing intermediate container 2d1ee074da5c 22:47:46 ---> 81093ab95090 22:47:46 Step 7/14 : LABEL Name=edgex-device-onvif-camera 22:47:46 ---> Running in dc5f75076ce5 22:47:46 Removing intermediate container dc5f75076ce5 22:47:46 ---> d17b3d44d26c 22:47:46 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:47 ---> Running in 7d23f41a5311 22:47:48 Removing intermediate container 7d23f41a5311 22:47:48 ---> 060df58d0e06 22:47:48 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:48 ---> Running in 580e4d6b374c 22:47:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:47:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:47:51 OK: 221 MiB in 51 packages 22:47:52 Removing intermediate container 580e4d6b374c 22:47:52 ---> 1c8ad654107a 22:47:52 Step 10/14 : WORKDIR /device-onvif-camera 22:47:52 ---> Running in 12b472529ec9 22:47:52 Removing intermediate container 12b472529ec9 22:47:52 ---> fb5c4118aca5 22:47:52 Step 11/14 : COPY go.mod vendor* ./ 22:47:52 ---> b59a5e9aad0a 22:47:52 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:53 ---> Running in ff17f0edb0bb 22:48:49 Removing intermediate container ff17f0edb0bb 22:48:49 ---> 20fd03ef035e 22:48:49 Step 13/14 : COPY . . 22:48:49 ---> 1416b08df561 22:48:49 Step 14/14 : RUN ${MAKE} 22:48:49 ---> Running in 9cd4ea0e1a7f 22:48:49 noop 22:48:49 Removing intermediate container 9cd4ea0e1a7f 22:48:49 ---> 5f115412df19 22:48:49 Successfully built 5f115412df19 22:48:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:50 + docker inspect -f . ci-base-image-arm64 22:48:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:50 prd-ubuntu20.04-docker-arm64-4c-16g-7828 does not seem to be running inside a container 22:48:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:48:51 $ docker top 7299f550838fdeaac41300fa51ae785bfc2dcdeba5a2446135a0bb78e6067f2e -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:52 + go version 22:48:52 go version go1.18.7 linux/arm64 [Pipeline] } 22:48:52 $ docker stop --time=1 7299f550838fdeaac41300fa51ae785bfc2dcdeba5a2446135a0bb78e6067f2e 22:48:54 $ docker rm -f 7299f550838fdeaac41300fa51ae785bfc2dcdeba5a2446135a0bb78e6067f2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:54 + docker inspect -f . ci-base-image-arm64 22:48:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:55 prd-ubuntu20.04-docker-arm64-4c-16g-7828 does not seem to be running inside a container 22:48:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:48:56 $ docker top d8b4611806335040437df45025301b1ff9afcef384223f2b4d3e6d205109032f -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:56 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 22:48:57 + make test 22:48:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:48:59 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:50:35 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:50:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.205s coverage: 28.2% of statements 22:50:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:50:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.998s coverage: 86.5% of statements 22:50:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:50:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:51:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:51:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:51:26 ./bin/test-attribution-txt.sh [Pipeline] echo 22:51:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:51:26 $ docker stop --time=1 d8b4611806335040437df45025301b1ff9afcef384223f2b4d3e6d205109032f 22:51:28 $ docker rm -f d8b4611806335040437df45025301b1ff9afcef384223f2b4d3e6d205109032f [Pipeline] // withDockerContainer [Pipeline] sh 22:51:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:51:29 Warning: overwriting stash ‘coverage-report’ 22:51:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:51:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:30 + ls -al . 22:51:30 total 232 22:51:30 drwxrwxr-x 9 jenkins jenkins 4096 Oct 13 22:48 . 22:51:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 22:46 .. 22:51:30 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 22:46 .git 22:51:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 22:46 .github 22:51:30 -rw-rw-r-- 1 jenkins jenkins 496 Oct 13 22:46 .gitignore 22:51:30 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 22:46 .golangci.yml 22:51:30 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 13 22:46 Attribution.txt 22:51:30 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 13 22:46 CHANGELOG.md 22:51:30 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 13 22:46 Dockerfile 22:51:30 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 22:46 GOVERNANCE.md 22:51:30 -rw-rw-r-- 1 jenkins jenkins 734 Oct 13 22:46 Jenkinsfile 22:51:30 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 13 22:46 LICENSE 22:51:30 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 13 22:46 Makefile 22:51:30 -rw-rw-r-- 1 jenkins jenkins 625 Oct 13 22:46 OWNERS.md 22:51:30 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 13 22:46 README.md 22:51:30 -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 22:44 VERSION 22:51:30 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 22:46 bin 22:51:30 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 22:46 cmd 22:51:30 -rw-r--r-- 1 jenkins jenkins 78636 Oct 13 22:50 coverage.out 22:51:30 drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 22:46 doc 22:51:30 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 13 22:46 go.mod 22:51:30 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 13 22:46 go.sum 22:51:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 22:46 internal 22:51:30 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 22:46 snap 22:51:30 -rw-rw-r-- 1 jenkins jenkins 236 Oct 13 22:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:31 + 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=6db3a90bb27c05e9383e4c0889f12505828bd6b6 --label arch=arm64 --label version=0.0.0 . 22:51:31 Sending build context to Docker daemon 14.88MB 22:51:31 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:51:31 Step 2/27 : FROM ${BASE} AS builder 22:51:31 ---> 5f115412df19 22:51:31 Step 3/27 : ARG ADD_BUILD_TAGS="" 22:51:32 ---> Running in bbeef0f13dfa 22:51:32 Removing intermediate container bbeef0f13dfa 22:51:32 ---> 577538e9a6e3 22:51:32 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:51:32 ---> Running in 5831dd4e488d 22:51:32 Removing intermediate container 5831dd4e488d 22:51:32 ---> 3511d3cf0877 22:51:32 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:51:32 ---> Running in 2ce8752ce2d9 22:51:33 Removing intermediate container 2ce8752ce2d9 22:51:33 ---> b822ad647a77 22:51:33 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 22:51:33 ---> Running in ada3e5de56d1 22:51:33 Removing intermediate container ada3e5de56d1 22:51:33 ---> 0507fb3568cf 22:51:33 Step 7/27 : LABEL Name=edgex-device-onvif-camera 22:51:33 ---> Running in 8b5dbe76ca4b 22:51:34 Removing intermediate container 8b5dbe76ca4b 22:51:34 ---> 0c85299eafff 22:51:34 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:34 ---> Running in 5315157f5e60 22:51:35 Removing intermediate container 5315157f5e60 22:51:35 ---> 2a627a1db1ca 22:51:35 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:36 ---> Running in 5fd7c8fd403b 22:51:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:51:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:51:39 OK: 221 MiB in 51 packages 22:51:40 Removing intermediate container 5fd7c8fd403b 22:51:40 ---> b87e766e7154 22:51:40 Step 10/27 : WORKDIR /device-onvif-camera 22:51:40 ---> Running in 05e0c83d8e85 22:51:40 Removing intermediate container 05e0c83d8e85 22:51:40 ---> 13a9ef6bde0d 22:51:40 Step 11/27 : COPY go.mod vendor* ./ 22:51:42 ---> 823f9b0054b6 22:51:42 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:42 ---> Running in 4bdbf2899abb 22:51:45 Removing intermediate container 4bdbf2899abb 22:51:45 ---> d29a33ef9438 22:51:45 Step 13/27 : COPY . . 22:51:49 ---> 46b751efcbc5 22:51:49 Step 14/27 : RUN ${MAKE} 22:51:49 ---> Running in 2892712d8e11 22:51:50 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 22:54:12 Removing intermediate container 2892712d8e11 22:54:12 ---> 45c8d4660696 22:54:12 Step 15/27 : FROM alpine:3.16 22:54:12 3.16: Pulling from library/alpine 22:54:12 9b18e9b68314: Already exists 22:54:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:54:12 Status: Downloaded newer image for alpine:3.16 22:54:12 ---> a6215f271958 22:54:12 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:54:12 ---> Running in 5ea2c8f05769 22:54:12 Removing intermediate container 5ea2c8f05769 22:54:12 ---> 5cf212c1feb6 22:54:12 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 22:54:12 ---> Running in d2e0c3c15d54 22:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:54:12 (1/6) Installing dumb-init (1.2.5-r1) 22:54:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:54:12 (3/6) Installing libsodium (1.0.18-r0) 22:54:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:54:12 (5/6) Installing libzmq (4.3.4-r0) 22:54:12 (6/6) Installing zeromq (4.3.4-r0) 22:54:12 Executing busybox-1.35.0-r17.trigger 22:54:12 OK: 8 MiB in 20 packages 22:54:12 Removing intermediate container d2e0c3c15d54 22:54:12 ---> 3d868ed0b799 22:54:12 Step 18/27 : WORKDIR / 22:54:12 ---> Running in 22f6b48a9ee4 22:54:12 Removing intermediate container 22f6b48a9ee4 22:54:12 ---> 4512507a49db 22:54:12 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 22:54:12 ---> 03d244e560cc 22:54:12 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 22:54:12 ---> b846b522fc76 22:54:12 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:54:12 ---> 5737c50c2127 22:54:12 Step 22/27 : EXPOSE 59984 22:54:12 ---> Running in b48790e8b51c 22:54:12 Removing intermediate container b48790e8b51c 22:54:12 ---> 0426d9205f3f 22:54:12 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 22:54:12 ---> Running in 8fdb3c0657ea 22:54:13 Removing intermediate container 8fdb3c0657ea 22:54:13 ---> 0bb25505e9be 22:54:13 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:54:13 ---> Running in 44c91bbad1f6 22:54:13 Removing intermediate container 44c91bbad1f6 22:54:13 ---> 41a1f05b8f48 22:54:13 Step 25/27 : LABEL arch=arm64 22:54:13 ---> Running in c26eadef1f75 22:54:13 Removing intermediate container c26eadef1f75 22:54:13 ---> 23a8f6af93e8 22:54:13 Step 26/27 : LABEL git_sha=6db3a90bb27c05e9383e4c0889f12505828bd6b6 22:54:13 ---> Running in 413f531753a5 22:54:14 Removing intermediate container 413f531753a5 22:54:14 ---> 83fc30daf0bb 22:54:14 Step 27/27 : LABEL version=0.0.0 22:54:14 ---> Running in d9534728d394 22:54:14 Removing intermediate container d9534728d394 22:54:14 ---> bf633387a6fa 22:54:14 [Warning] One or more build-args [ARCH] were not consumed 22:54:14 Successfully built bf633387a6fa 22:54:14 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 22:54:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:15 22:54:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:15 arm64: Pulling from edgex-lftools-log-publisher 22:54:15 8998bd30e6a1: Pulling fs layer 22:54:15 04944245beec: Pulling fs layer 22:54:15 699f458cf7ca: Pulling fs layer 22:54:15 765212b225bb: Pulling fs layer 22:54:15 f23df028b6ca: Pulling fs layer 22:54:15 d65c8cfc05b1: Pulling fs layer 22:54:15 2437ff75d9bd: Pulling fs layer 22:54:15 765212b225bb: Waiting 22:54:15 f23df028b6ca: Waiting 22:54:15 d65c8cfc05b1: Waiting 22:54:15 2437ff75d9bd: Waiting 22:54:16 04944245beec: Verifying Checksum 22:54:16 04944245beec: Download complete 22:54:16 765212b225bb: Verifying Checksum 22:54:16 765212b225bb: Download complete 22:54:16 f23df028b6ca: Download complete 22:54:16 d65c8cfc05b1: Verifying Checksum 22:54:16 d65c8cfc05b1: Download complete 22:54:16 699f458cf7ca: Verifying Checksum 22:54:16 699f458cf7ca: Download complete 22:54:16 8998bd30e6a1: Download complete 22:54:18 2437ff75d9bd: Verifying Checksum 22:54:18 2437ff75d9bd: Download complete 22:54:20 8998bd30e6a1: Pull complete 22:54:20 04944245beec: Pull complete 22:54:22 699f458cf7ca: Pull complete 22:54:22 765212b225bb: Pull complete 22:54:22 f23df028b6ca: Pull complete 22:54:23 d65c8cfc05b1: Pull complete 22:54:38 2437ff75d9bd: Pull complete 22:54:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:54:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:38 prd-ubuntu20.04-docker-arm64-4c-16g-7828 does not seem to be running inside a container 22:54:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:54:41 $ docker top e7643fed107f73655c254c40e3dd6a6067ae23e89d3dc846c03580795983861b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:41 ---> job-cost.sh 22:54:41 lf-activate-venv: SKIPPING 22:54:41 INFO: No Stack... 22:54:42 INFO: Retrieving Pricing Info for: v3-standard-4 22:54:43 INFO: Archiving Costs [Pipeline] sh 22:54:43 + + cut -d, -f6 22:54:43 cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 22:54:43 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-177-1-stack-cost] 22:54:43 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-1-stack-cost] did not exist. Created. 22:54:43 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:54:44 /w/workspace/device-onvif-camera/1@tmp/durable-49f694de/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:54:44 + echo total: 0.10999999940395355 [Pipeline] stash 22:54:44 Warning: overwriting stash ‘stack-cost’ 22:54:44 Stashed 1 file(s) [Pipeline] } 22:54:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:54:44 $ docker stop --time=1 e7643fed107f73655c254c40e3dd6a6067ae23e89d3dc846c03580795983861b 22:54:46 $ docker rm -f e7643fed107f73655c254c40e3dd6a6067ae23e89d3dc846c03580795983861b [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 22:54:47 provisioning config files... 22:54:47 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config12989702791935760721tmp [Pipeline] { [Pipeline] sh 22:54:47 + set +x 22:54:47 + + bash -s -- 22:54:47 curl -s https://codecov.io/bash 22:54:47 22:54:47 _____ _ 22:54:47 / ____| | | 22:54:47 | | ___ __| | ___ ___ _____ __ 22:54:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:54:47 | |___| (_) | (_| | __/ (_| (_) \ V / 22:54:47 \_____\___/ \__,_|\___|\___\___/ \_/ 22:54:47 Bash-1.0.6 22:54:47 22:54:47 22:54:47 ==> git version 2.25.1 found 22:54:47 ==> 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 22:54:47 Release-Date: 2020-01-08 22:54:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:54:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:54:47 ==> Jenkins CI detected. 22:54:47 current dir:  /w/workspace/undry_device-onvif-camera_PR-177 22:54:47 project root: . 22:54:47 --> token set from env 22:54:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:54:47 ==> Running gcov in . (disable via -X gcov) 22:54:47 ==> Python coveragepy not found 22:54:47 ==> Searching for coverage reports in: 22:54:47 + . 22:54:47 -> Found 1 reports 22:54:47 ==> Detecting git/mercurial file structure 22:54:47 ==> Reading reports 22:54:47 + ./coverage.out bytes=78636 22:54:47 ==> Appending adjustments 22:54:47 https://docs.codecov.io/docs/fixing-reports 22:54:47 + Found adjustments 22:54:47 ==> Gzipping contents 22:54:47 12K /tmp/codecov.rrT91H.gz 22:54:47 ==> Uploading reports 22:54:47 url: https://codecov.io 22:54:47 query: branch=PR-177&commit=6db3a90bb27c05e9383e4c0889f12505828bd6b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=177&job=&cmd_args= 22:54:47 -> Pinging Codecov 22:54:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-177&commit=6db3a90bb27c05e9383e4c0889f12505828bd6b6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=177&job=&cmd_args= 22:54:48 -> Uploading to 22:54:48 https://storage.googleapis.com/codecov/v4/raw/2022-10-13/F29A59C45E3A92E06B3E522C9905F8EF/6db3a90bb27c05e9383e4c0889f12505828bd6b6/d3f80691-8b1d-474e-b4f2-31cb257a483e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221013T225448Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a7c1fd327e5d552f3adeb60a62a6acf88839fe23bbf88f0eebeddf2760dd9b0 22:54:48 % Total % Received % Xferd Average Speed Time Time Time Current 22:54:48 Dload Upload Total Spent Left Speed 22:54:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10790 0 0 100 10790 0 43508 --:--:-- --:--:-- --:--:-- 43508 22:54:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6db3a90bb27c05e9383e4c0889f12505828bd6b6 [Pipeline] } 22:54:48 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 22:54:50 + [ -d /w/workspace/undry_device-onvif-camera_PR-177/archives ] 22:54:50 + ls -al /w/workspace/undry_device-onvif-camera_PR-177/archives 22:54:50 total 16 22:54:50 drwxr-xr-x 3 root root 4096 Oct 13 22:46 . 22:54:50 drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 22:46 .. 22:54:50 drwxr-xr-x 2 root root 4096 Oct 13 22:46 cost 22:54:50 -rw-r--r-- 1 root root 91 Oct 13 22:46 cost.csv 22:54:50 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-177/archives 22:54:50 + ls -al /w/workspace/undry_device-onvif-camera_PR-177/archives 22:54:50 total 16 22:54:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 22:46 . 22:54:50 drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 22:46 .. 22:54:50 drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 22:46 cost 22:54:50 -rw-r--r-- 1 jenkins jenkins 91 Oct 13 22:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:54:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:54:51 ---> package-listing.sh 22:54:51 ++ facter osfamily 22:54:51 ++ tr '[:upper:]' '[:lower:]' 22:54:51 + OS_FAMILY=debian 22:54:51 + workspace=/w/workspace/undry_device-onvif-camera_PR-177 22:54:51 + START_PACKAGES=/tmp/packages_start.txt 22:54:51 + END_PACKAGES=/tmp/packages_end.txt 22:54:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:54:51 + PACKAGES=/tmp/packages_start.txt 22:54:51 + '[' /w/workspace/undry_device-onvif-camera_PR-177 ']' 22:54:51 + PACKAGES=/tmp/packages_end.txt 22:54:51 + case "${OS_FAMILY}" in 22:54:51 + dpkg -l 22:54:51 + grep '^ii' 22:54:51 + '[' -f /tmp/packages_start.txt ']' 22:54:51 + '[' -f /tmp/packages_end.txt ']' 22:54:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:54:51 + '[' /w/workspace/undry_device-onvif-camera_PR-177 ']' 22:54:51 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-177/archives/ 22:54:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-177/archives/ [Pipeline] echo 22:54:51 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:54:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:54:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:52 prd-ubuntu20.04-docker-8c-8g-7827 does not seem to be running inside a container 22:54:52 $ 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-177/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-177 -v /w/workspace/undry_device-onvif-camera_PR-177:/w/workspace/undry_device-onvif-camera_PR-177:rw,z -v /w/workspace/undry_device-onvif-camera_PR-177@tmp:/w/workspace/undry_device-onvif-camera_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:54:53 $ docker top f12830a276e3645e27e5fefb02a333b83b1830a980e637e73f7fca90b997d6dc -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:53 + touch /tmp/pre-build-complete [Pipeline] sh 22:54:53 + mkdir -p /var/log/sysstat [Pipeline] sh 22:54:54 + ls /var/log/sa-host 22:54:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:54 provisioning config files... 22:54:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-177@tmp/config5313770181975489817tmp [Pipeline] { [Pipeline] echo 22:54:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:54:54 ---> create-netrc.sh [Pipeline] } 22:54:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:54:55 ---> python-tools-install.sh [Pipeline] echo 22:54:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:54:55 ---> sudo-logs.sh 22:54:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:54:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:55 ---> job-cost.sh 22:54:55 lf-activate-venv: SKIPPING 22:54:55 DEBUG: total: 0.2199999988079071 22:54:55 INFO: Retrieving Stack Cost... 22:54:56 INFO: Retrieving Pricing Info for: v3-standard-8 22:54:56 INFO: Archiving Costs [Pipeline] echo 22:54:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:56 ---> logs-deploy.sh 22:54:56 lf-activate-venv: SKIPPING 22:54:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-177/1 22:54:56 INFO: archiving workspace using pattern(s): 22:54:57 Archives upload complete. 22:54:57 INFO: archiving logs to Nexus