Pull request #149 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 rather than d1bcc6ca6874cdfb9d9c4145bceb51b39eb5efba Obtained Jenkinsfile from dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 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-ssh13349123238195369600.key > 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-ssh12885789315924811911.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1349091959243828426.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3590857698180058196.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9119186972495346066.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24197 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-149 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit d1bcc6ca6874cdfb9d9c4145bceb51b39eb5efba Merge succeeded, producing 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b Checking out Revision 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b (PR-149) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1bcc6ca6874cdfb9d9c4145bceb51b39eb5efba # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b # timeout=10 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:45:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:45:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:45:48 ========================================================= 14:45:48 EdgeX Global Pipelines Version Info 14:45:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0c2608bbcce596a50b57057a2c1c51dfcea02985 # timeout=10 14:45:48 ------------------- 14:45:48 stable info: 14:45:48 ------------------- 14:45:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:45:48 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:45:48 Message: update stable to v1.0.239 14:45:49 ------------------- 14:45:49 experimental info: 14:45:49 ------------------- 14:45:49 Commited By: **** collab-it+edgex@linuxfoundation.org 14:45:49 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:45:49 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:45:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d9fe0d [Pipeline] echo 14:45:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:45:50 provisioning config files... 14:45:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config742892578749923016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:45:50 ---> docker-login.sh 14:45:50 nexus3.edgexfoundry.org:10001 14:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:51 Configure a credential helper to remove this warning. See 14:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:51 14:45:51 Login Succeeded 14:45:51 nexus3.edgexfoundry.org:10002 14:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:51 Configure a credential helper to remove this warning. See 14:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:51 14:45:51 Login Succeeded 14:45:51 nexus3.edgexfoundry.org:10003 14:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:51 Configure a credential helper to remove this warning. See 14:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:51 14:45:51 Login Succeeded 14:45:51 nexus3.edgexfoundry.org:10004 14:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:51 Configure a credential helper to remove this warning. See 14:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:51 14:45:51 Login Succeeded 14:45:51 docker.io 14:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:45:52 Configure a credential helper to remove this warning. See 14:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:45:52 14:45:52 Login Succeeded 14:45:52 ---> docker-login.sh ends [Pipeline] } 14:45:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:45:52 + git rev-list -1 --merges 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b~1..9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b [Pipeline] echo 14:45:52 -----------> git rev-list -1 --merges 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b~1..9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b 14:45:52 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b [false] [Pipeline] sh 14:45:52 + git log --format=format:%s -1 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b [Pipeline] echo 14:45:52 ========================================================= 14:45:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:45:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:45:53 + git log --format=format:%s -1 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b [Pipeline] echo 14:45:53 [semverPrep] GIT_COMMIT: 9d9fe0d24c3d6400bcf7957de75f138d9c9bb30b, Commit Message: Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD [Pipeline] echo 14:45:53 [semverPrep] This is not a build commit. [Pipeline] sh 14:45:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:45:53 + grep -v github /etc/ssh/ssh_known_hosts 14:45:53 + [ -e /tmp/ssh_known_hosts ] 14:45:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:45:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:45:53 + sudo tee -a /etc/ssh/ssh_known_hosts 14:45:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:45:54 14:45:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:45:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:45:54 0.1.4: Pulling from edgex-devops/py-git-semver 14:45:54 b85a868b505f: Pulling fs layer 14:45:54 e2be974225ed: Pulling fs layer 14:45:54 339a4e72a1f5: Pulling fs layer 14:45:54 988bab9f4d93: Pulling fs layer 14:45:54 1469e6f7b9e6: Pulling fs layer 14:45:54 eaf3925da568: Pulling fs layer 14:45:54 bab4dde63d76: Pulling fs layer 14:45:54 bde34c3a00c8: Pulling fs layer 14:45:54 b352a97aabf1: Pulling fs layer 14:45:54 4872d77fe225: Pulling fs layer 14:45:54 5851b861e8e6: Pulling fs layer 14:45:54 988bab9f4d93: Waiting 14:45:54 1469e6f7b9e6: Waiting 14:45:54 eaf3925da568: Waiting 14:45:54 bab4dde63d76: Waiting 14:45:54 bde34c3a00c8: Waiting 14:45:54 b352a97aabf1: Waiting 14:45:54 4872d77fe225: Waiting 14:45:54 5851b861e8e6: Waiting 14:45:54 e2be974225ed: Verifying Checksum 14:45:54 e2be974225ed: Download complete 14:45:54 988bab9f4d93: Verifying Checksum 14:45:54 988bab9f4d93: Download complete 14:45:54 1469e6f7b9e6: Verifying Checksum 14:45:54 1469e6f7b9e6: Download complete 14:45:54 eaf3925da568: Verifying Checksum 14:45:54 eaf3925da568: Download complete 14:45:54 339a4e72a1f5: Verifying Checksum 14:45:54 339a4e72a1f5: Download complete 14:45:54 bde34c3a00c8: Verifying Checksum 14:45:54 bde34c3a00c8: Download complete 14:45:54 b352a97aabf1: Download complete 14:45:54 4872d77fe225: Verifying Checksum 14:45:54 4872d77fe225: Download complete 14:45:54 5851b861e8e6: Verifying Checksum 14:45:54 5851b861e8e6: Download complete 14:45:54 b85a868b505f: Verifying Checksum 14:45:54 b85a868b505f: Download complete 14:45:54 bab4dde63d76: Verifying Checksum 14:45:54 bab4dde63d76: Download complete 14:45:55 b85a868b505f: Pull complete 14:45:56 e2be974225ed: Pull complete 14:45:56 339a4e72a1f5: Pull complete 14:45:56 988bab9f4d93: Pull complete 14:45:56 1469e6f7b9e6: Pull complete 14:45:57 eaf3925da568: Pull complete 14:45:59 bab4dde63d76: Pull complete 14:45:59 bde34c3a00c8: Pull complete 14:45:59 b352a97aabf1: Pull complete 14:45:59 4872d77fe225: Pull complete 14:45:59 5851b861e8e6: Pull complete 14:45:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:45:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:45:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:45:59 prd-ubuntu20.04-docker-8c-8g-24197 does not seem to be running inside a container 14:45:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:46:01 $ docker top 364109611e1dee218ddff30a53cca84cc3141ff45320b209eba23a98b85b29e7 -eo pid,comm 14:46:01 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). 14:46:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:46:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:46:01 [ssh-agent] Looking for ssh-agent implementation... 14:46:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:46:01 $ docker exec 364109611e1dee218ddff30a53cca84cc3141ff45320b209eba23a98b85b29e7 ssh-agent 14:46:01 SSH_AUTH_SOCK=/tmp/ssh-CoV1cdt8A4P9/agent.34 14:46:01 SSH_AGENT_PID=40 14:46:01 Running ssh-add (command line suppressed) 14:46:01 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_5347104208720700330.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_5347104208720700330.key) 14:46:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:46:02 + git tag --points-at HEAD [Pipeline] } 14:46:02 $ docker exec --env ******** --env ******** 364109611e1dee218ddff30a53cca84cc3141ff45320b209eba23a98b85b29e7 ssh-agent -k 14:46:02 unset SSH_AUTH_SOCK; 14:46:02 unset SSH_AGENT_PID; 14:46:02 echo Agent pid 40 killed; 14:46:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:46:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:46:02 [ssh-agent] Looking for ssh-agent implementation... 14:46:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:46:02 $ docker exec 364109611e1dee218ddff30a53cca84cc3141ff45320b209eba23a98b85b29e7 ssh-agent 14:46:02 SSH_AUTH_SOCK=/tmp/ssh-IhW95ACMfJyE/agent.73 14:46:02 SSH_AGENT_PID=79 14:46:02 Running ssh-add (command line suppressed) 14:46:02 Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4358385038767814110.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_4358385038767814110.key) 14:46:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:46:02 + git semver init 14:46:03 2022-08-31 14:46:03,178 [run_init] DEBUG init version:0.0.0 force:False 14:46:03 2022-08-31 14:46:03,179 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver 14:46:03 2022-08-31 14:46:03,179 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver 14:46:03 2022-08-31 14:46:03,179 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) 14:46:04 2022-08-31 14:46:03,945 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude 14:46:04 2022-08-31 14:46:03,946 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False 14:46:04 2022-08-31 14:46:03,946 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 14:46:04 2022-08-31 14:46:03,950 [execute] INFO git cat-file --batch-check 14:46:04 2022-08-31 14:46:03,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 14:46:04 2022-08-31 14:46:03,957 [execute] INFO git cat-file --batch 14:46:04 2022-08-31 14:46:03,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) 14:46:04 2022-08-31 14:46:03,963 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 14:46:04 0.0.0 [Pipeline] } 14:46:04 $ docker exec --env ******** --env ******** 364109611e1dee218ddff30a53cca84cc3141ff45320b209eba23a98b85b29e7 ssh-agent -k 14:46:04 unset SSH_AUTH_SOCK; 14:46:04 unset SSH_AGENT_PID; 14:46:04 echo Agent pid 79 killed; 14:46:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:46:04 + git semver [Pipeline] } 14:46:04 $ docker stop --time=1 364109611e1dee218ddff30a53cca84cc3141ff45320b209eba23a98b85b29e7 14:46:06 $ docker rm -f 364109611e1dee218ddff30a53cca84cc3141ff45320b209eba23a98b85b29e7 [Pipeline] // withDockerContainer [Pipeline] sh 14:46:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:46:06 Stashed 1 file(s) [Pipeline] echo 14:46:06 [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 14:46:06 provisioning config files... 14:46:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config5530298718463164838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:46:07 ---> docker-login.sh 14:46:07 nexus3.edgexfoundry.org:10001 14:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:07 Configure a credential helper to remove this warning. See 14:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:07 14:46:07 Login Succeeded 14:46:07 nexus3.edgexfoundry.org:10002 14:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:07 Configure a credential helper to remove this warning. See 14:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:07 14:46:07 Login Succeeded 14:46:07 nexus3.edgexfoundry.org:10003 14:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:07 Configure a credential helper to remove this warning. See 14:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:07 14:46:07 Login Succeeded 14:46:07 nexus3.edgexfoundry.org:10004 14:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:07 Configure a credential helper to remove this warning. See 14:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:07 14:46:07 Login Succeeded 14:46:07 docker.io 14:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:46:08 Configure a credential helper to remove this warning. See 14:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:46:08 14:46:08 Login Succeeded 14:46:08 ---> docker-login.sh ends [Pipeline] } 14:46:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:46:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:46:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:46:08 ========================================================= 14:46:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:46:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:08 + 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 . 14:46:08 Sending build context to Docker daemon 20.72MB 14:46:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:46:08 Step 2/13 : FROM ${BASE} AS builder 14:46:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:46:08 2408cc74d12b: Pulling fs layer 14:46:08 ea60b727a1ce: Pulling fs layer 14:46:08 30c4a7721957: Pulling fs layer 14:46:08 370296b7ddb6: Pulling fs layer 14:46:08 7c6cee850709: Pulling fs layer 14:46:08 39a5fcdaea64: Pulling fs layer 14:46:08 d94ebbe4e438: Pulling fs layer 14:46:08 bcfd1f05c69d: Pulling fs layer 14:46:08 59ccb84bbe0f: Pulling fs layer 14:46:08 d94ebbe4e438: Waiting 14:46:08 bcfd1f05c69d: Waiting 14:46:08 59ccb84bbe0f: Waiting 14:46:08 370296b7ddb6: Waiting 14:46:08 7c6cee850709: Waiting 14:46:08 30c4a7721957: Verifying Checksum 14:46:08 30c4a7721957: Download complete 14:46:08 ea60b727a1ce: Verifying Checksum 14:46:08 ea60b727a1ce: Download complete 14:46:08 7c6cee850709: Verifying Checksum 14:46:08 7c6cee850709: Download complete 14:46:08 39a5fcdaea64: Verifying Checksum 14:46:08 39a5fcdaea64: Download complete 14:46:08 2408cc74d12b: Verifying Checksum 14:46:08 2408cc74d12b: Download complete 14:46:08 d94ebbe4e438: Download complete 14:46:09 2408cc74d12b: Pull complete 14:46:09 ea60b727a1ce: Pull complete 14:46:09 30c4a7721957: Pull complete 14:46:09 59ccb84bbe0f: Verifying Checksum 14:46:09 59ccb84bbe0f: Download complete 14:46:09 bcfd1f05c69d: Verifying Checksum 14:46:09 bcfd1f05c69d: Download complete 14:46:09 370296b7ddb6: Verifying Checksum 14:46:09 370296b7ddb6: Download complete 14:46:13 370296b7ddb6: Pull complete 14:46:13 7c6cee850709: Pull complete 14:46:13 39a5fcdaea64: Pull complete 14:46:13 d94ebbe4e438: Pull complete 14:46:16 bcfd1f05c69d: Pull complete 14:46:16 59ccb84bbe0f: Pull complete 14:46:16 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 14:46:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:46:16 ---> a4fb48ad2a94 14:46:16 Step 3/13 : ARG MAKE="make build" 14:46:19 ---> Running in 91c937a4abae 14:46:19 Removing intermediate container 91c937a4abae 14:46:19 ---> cebc959b4edd 14:46:19 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:46:19 ---> Running in 008b2b845b98 14:46:19 Removing intermediate container 008b2b845b98 14:46:19 ---> 6b08320aecb9 14:46:19 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 14:46:19 ---> Running in 13fc95689503 14:46:19 Removing intermediate container 13fc95689503 14:46:19 ---> 82b99c47d930 14:46:19 Step 6/13 : LABEL Name=edgex-device-onvif-camera 14:46:19 ---> Running in 33084aa83f00 14:46:19 Removing intermediate container 33084aa83f00 14:46:19 ---> f0646f21237b 14:46:19 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:46:19 ---> Running in 230ee2e8223b 14:46:19 Removing intermediate container 230ee2e8223b 14:46:19 ---> 4a93a0f0c0dd 14:46:19 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:46:19 ---> Running in 661cc8c26e44 14:46:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:46:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:46:21 OK: 211 MiB in 51 packages 14:46:21 Removing intermediate container 661cc8c26e44 14:46:21 ---> 85a4b46e8bed 14:46:21 Step 9/13 : WORKDIR /device-onvif-camera 14:46:21 ---> Running in 95bcbf64c208 14:46:21 Removing intermediate container 95bcbf64c208 14:46:21 ---> ca93ef883db7 14:46:21 Step 10/13 : COPY go.mod vendor* ./ 14:46:21 ---> 87f87f60c4a1 14:46:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:46:21 ---> Running in b43a9da20130 14:46:21 Still waiting to schedule task 14:46:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:46:43 Removing intermediate container b43a9da20130 14:46:43 ---> 8c2db81b26fe 14:46:43 Step 12/13 : COPY . . 14:46:43 ---> 1d726b84f28e 14:46:43 Step 13/13 : RUN ${MAKE} 14:46:43 ---> Running in 9a8d79e4c73f 14:46:44 noop 14:46:44 Removing intermediate container 9a8d79e4c73f 14:46:44 ---> 3024b5ef0d4a 14:46:44 Successfully built 3024b5ef0d4a 14:46:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:44 + docker inspect -f . ci-base-image-x86_64 14:46:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:46:44 prd-ubuntu20.04-docker-8c-8g-24197 does not seem to be running inside a container 14:46:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:46:45 $ docker top 936c15febdf46ddc11321b789ac781bb65ae9c7d1dcb4f3f5478187cc4c2d293 -eo pid,comm [Pipeline] { [Pipeline] sh 14:46:45 + go version 14:46:45 go version go1.18.3 linux/amd64 [Pipeline] } 14:46:45 $ docker stop --time=1 936c15febdf46ddc11321b789ac781bb65ae9c7d1dcb4f3f5478187cc4c2d293 14:46:46 $ docker rm -f 936c15febdf46ddc11321b789ac781bb65ae9c7d1dcb4f3f5478187cc4c2d293 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:46:47 + docker inspect -f . ci-base-image-x86_64 14:46:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:46:47 prd-ubuntu20.04-docker-8c-8g-24197 does not seem to be running inside a container 14:46:47 $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:46:47 $ docker top b25b8241d9d6c7437fe76a9353bfa0a4d82174bfdcf044759e9ff8c985b11e55 -eo pid,comm [Pipeline] { [Pipeline] sh 14:46:48 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh 14:46:48 + make test 14:46:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:46:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 14:46:59 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 14:47:00 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.5% of statements 14:47:00 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 14:47:03 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.785s coverage: 13.8% of statements 14:47:11 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." 14:47:11 internal/driver/driver_test.go:256:17: Error return value of `writer.Write` is not checked (errcheck) 14:47:11 writer.Write([]byte(test.resp)) 14:47:11 ^ 14:47:11 make: *** [Makefile:58: lint] Error 1 [Pipeline] } 14:47:11 $ docker stop --time=1 b25b8241d9d6c7437fe76a9353bfa0a4d82174bfdcf044759e9ff8c985b11e55 14:47:14 $ docker rm -f b25b8241d9d6c7437fe76a9353bfa0a4d82174bfdcf044759e9ff8c985b11e55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:47:14 14:47:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:47:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:47:14 latest: Pulling from edgex-lftools-log-publisher 14:47:14 5eb5b503b376: Pulling fs layer 14:47:14 5c69ac0246d0: Pulling fs layer 14:47:14 ec43610c2a17: Pulling fs layer 14:47:14 3a2ae6a8a46f: Pulling fs layer 14:47:14 33b1e0a273af: Pulling fs layer 14:47:14 5d3b04190fa2: Pulling fs layer 14:47:14 2f39f015ded8: Pulling fs layer 14:47:14 33b1e0a273af: Waiting 14:47:14 5d3b04190fa2: Waiting 14:47:14 2f39f015ded8: Waiting 14:47:14 5c69ac0246d0: Download complete 14:47:14 3a2ae6a8a46f: Verifying Checksum 14:47:14 3a2ae6a8a46f: Download complete 14:47:15 33b1e0a273af: Verifying Checksum 14:47:15 33b1e0a273af: Download complete 14:47:15 ec43610c2a17: Verifying Checksum 14:47:15 ec43610c2a17: Download complete 14:47:15 5d3b04190fa2: Download complete 14:47:15 5eb5b503b376: Verifying Checksum 14:47:15 5eb5b503b376: Download complete 14:47:15 2f39f015ded8: Download complete 14:47:16 5eb5b503b376: Pull complete 14:47:16 5c69ac0246d0: Pull complete 14:47:17 ec43610c2a17: Pull complete 14:47:17 3a2ae6a8a46f: Pull complete 14:47:17 33b1e0a273af: Pull complete 14:47:17 5d3b04190fa2: Pull complete 14:47:22 2f39f015ded8: Pull complete 14:47:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:47:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:47:22 prd-ubuntu20.04-docker-8c-8g-24197 does not seem to be running inside a container 14:47:22 $ 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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:47:26 $ docker top bfe04b7f2a3c40c7eb9edb803e5a05c3ecae5a14241ceff6417c5d26c4c883cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:47:26 ---> job-cost.sh 14:47:26 lf-activate-venv: SKIPPING 14:47:26 INFO: No Stack... 14:47:26 INFO: Retrieving Pricing Info for: v3-standard-8 14:47:27 INFO: Archiving Costs [Pipeline] sh 14:47:27 + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv 14:47:27 + cut -d, -f6 [Pipeline] lock 14:47:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-18-stack-cost] 14:47:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-18-stack-cost] did not exist. Created. 14:47:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:47:27 + echo total: 0.2199999988079071 [Pipeline] stash 14:47:27 Stashed 1 file(s) [Pipeline] } 14:47:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-18-stack-cost] [Pipeline] // lock [Pipeline] } 14:47:28 $ docker stop --time=1 bfe04b7f2a3c40c7eb9edb803e5a05c3ecae5a14241ceff6417c5d26c4c883cf 14:47:29 $ docker rm -f bfe04b7f2a3c40c7eb9edb803e5a05c3ecae5a14241ceff6417c5d26c4c883cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:47:29 Failed in branch amd64 14:48:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24198 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws 14:48:01 Running in /w/workspace/device-onvif-camera/18 [Pipeline] { [Pipeline] checkout 14:48:01 Selected Git installation does not exist. Using Default 14:48:01 The recommended git tool is: NONE 14:48:08 using credential edgex-jenkins-ssh 14:48:08 Cloning the remote Git repository 14:48:08 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 14:48:08 > git init /w/workspace/device-onvif-camera/18 # timeout=10 14:48:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 14:48:08 > git --version # timeout=10 14:48:08 > git --version # 'git version 2.25.1' 14:48:08 using GIT_SSH to set credentials SSH Credentials for GitHub 14:48:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:48:11 Merging remotes/origin/main commit dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 into PR head commit d1bcc6ca6874cdfb9d9c4145bceb51b39eb5efba 14:48:10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 14:48:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:48:10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 14:48:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 14:48:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:48:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:48:11 > git config core.sparsecheckout # timeout=10 14:48:11 > git checkout -f d1bcc6ca6874cdfb9d9c4145bceb51b39eb5efba # timeout=10 14:48:11 > git remote # timeout=10 14:48:11 > git config --get remote.origin.url # timeout=10 14:48:11 using GIT_SSH to set credentials SSH Credentials for GitHub 14:48:11 > git merge dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3 # timeout=10 14:48:12 Merge succeeded, producing ac94ad52c39d33d6c350f1de8c193304bc01649d 14:48:12 Checking out Revision ac94ad52c39d33d6c350f1de8c193304bc01649d (PR-149) 14:48:12 > git rev-parse HEAD^{commit} # timeout=10 14:48:12 > git config core.sparsecheckout # timeout=10 14:48:12 > git checkout -f ac94ad52c39d33d6c350f1de8c193304bc01649d # timeout=10 14:48:16 Commit message: "Merge commit 'dc3ccaf13b8636eb00b5741211f6ca9e5a397bc3' into HEAD" 14:48:16 First time build. Skipping changelog. 14:48:16 > git rev-list --no-walk 0c2608bbcce596a50b57057a2c1c51dfcea02985 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:48:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:48:17 % Total % Received % Xferd Average Speed Time Time Time Current 14:48:17 Dload Upload Total Spent Left Speed 14:48:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh 14:48:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:48:18 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 14:48:18 tee /etc/docker/daemon.new 14:48:18 { 14:48:18 "registry-mirrors": [ 14:48:18 "https://nexus3.edgexfoundry.org:10001" 14:48:18 ], 14:48:18 "bip": "10.250.0.254/24", 14:48:18 "hosts": [ 14:48:18 "tcp://0.0.0.0:5555", 14:48:18 "unix:///var/run/docker.sock" 14:48:18 ], 14:48:18 "mtu": 1458, 14:48:18 "selinux-enabled": true, 14:48:18 "seccomp-profile": "/etc/docker/seccomp.json" 14:48:18 } [Pipeline] sh 14:48:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:48:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:48:37 provisioning config files... 14:48:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/18@tmp/config1888557065402453446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:48:37 ---> docker-login.sh 14:48:37 nexus3.edgexfoundry.org:10001 14:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:38 Configure a credential helper to remove this warning. See 14:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:38 14:48:38 Login Succeeded 14:48:38 nexus3.edgexfoundry.org:10002 14:48:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:38 Configure a credential helper to remove this warning. See 14:48:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:38 14:48:39 Login Succeeded 14:48:39 nexus3.edgexfoundry.org:10003 14:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:39 Configure a credential helper to remove this warning. See 14:48:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:39 14:48:39 Login Succeeded 14:48:39 nexus3.edgexfoundry.org:10004 14:48:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:40 Configure a credential helper to remove this warning. See 14:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:40 14:48:40 Login Succeeded 14:48:40 docker.io 14:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:48:40 Configure a credential helper to remove this warning. See 14:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:48:40 14:48:40 Login Succeeded 14:48:40 ---> docker-login.sh ends [Pipeline] } 14:48:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:48:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:48:41 ========================================================= 14:48:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:48:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:48:41 + 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 . 14:48:42 Sending build context to Docker daemon 14.22MB 14:48:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:48:42 Step 2/13 : FROM ${BASE} AS builder 14:48:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:48:42 b3c136eddcbf: Pulling fs layer 14:48:42 c0a3192eca97: Pulling fs layer 14:48:42 a050256f5b6f: Pulling fs layer 14:48:42 656be50a0ddc: Pulling fs layer 14:48:42 2bbca73fdf42: Pulling fs layer 14:48:42 46d945488cbd: Pulling fs layer 14:48:42 8a5474983e97: Pulling fs layer 14:48:42 329c88fbcd65: Pulling fs layer 14:48:42 46d945488cbd: Waiting 14:48:42 8a5474983e97: Waiting 14:48:42 329c88fbcd65: Waiting 14:48:42 656be50a0ddc: Waiting 14:48:42 2bbca73fdf42: Waiting 14:48:42 a050256f5b6f: Verifying Checksum 14:48:42 a050256f5b6f: Download complete 14:48:42 c0a3192eca97: Verifying Checksum 14:48:42 c0a3192eca97: Download complete 14:48:42 2bbca73fdf42: Verifying Checksum 14:48:42 2bbca73fdf42: Download complete 14:48:42 46d945488cbd: Verifying Checksum 14:48:42 46d945488cbd: Download complete 14:48:42 b3c136eddcbf: Download complete 14:48:43 b3c136eddcbf: Pull complete 14:48:43 329c88fbcd65: Verifying Checksum 14:48:43 329c88fbcd65: Download complete 14:48:44 c0a3192eca97: Pull complete 14:48:44 a050256f5b6f: Pull complete 14:48:44 8a5474983e97: Verifying Checksum 14:48:44 8a5474983e97: Download complete 14:48:45 656be50a0ddc: Verifying Checksum 14:48:45 656be50a0ddc: Download complete 14:49:00 656be50a0ddc: Pull complete 14:49:00 2bbca73fdf42: Pull complete 14:49:00 46d945488cbd: Pull complete 14:49:04 8a5474983e97: Pull complete 14:49:06 329c88fbcd65: Pull complete 14:49:06 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 14:49:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:49:06 ---> ff4287adb874 14:49:06 Step 3/13 : ARG MAKE="make build" 14:49:08 ---> Running in 1bb5425e4ae9 14:49:08 Removing intermediate container 1bb5425e4ae9 14:49:08 ---> 3cd8f0643570 14:49:08 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:49:08 ---> Running in d35d5d42ec72 14:49:09 Removing intermediate container d35d5d42ec72 14:49:09 ---> 379869b8e097 14:49:09 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 14:49:09 ---> Running in 6f4ae4727b35 14:49:09 Removing intermediate container 6f4ae4727b35 14:49:09 ---> e13256f31ec3 14:49:09 Step 6/13 : LABEL Name=edgex-device-onvif-camera 14:49:09 ---> Running in 3f85d6cdef15 14:49:10 Removing intermediate container 3f85d6cdef15 14:49:10 ---> 119547be9ccb 14:49:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:49:10 ---> Running in 7740b3f45acf 14:49:12 Removing intermediate container 7740b3f45acf 14:49:12 ---> 379c08a2c366 14:49:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:49:12 ---> Running in 4cac54741cab 14:49:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:49:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:49:14 OK: 221 MiB in 51 packages 14:49:15 Removing intermediate container 4cac54741cab 14:49:15 ---> f429ceb15a86 14:49:15 Step 9/13 : WORKDIR /device-onvif-camera 14:49:15 ---> Running in b1b276a30c5b 14:49:16 Removing intermediate container b1b276a30c5b 14:49:16 ---> ada85349bbb7 14:49:16 Step 10/13 : COPY go.mod vendor* ./ 14:49:16 ---> f3863c1c8045 14:49:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:49:16 ---> Running in eba0eb119cf1 14:50:13 Removing intermediate container eba0eb119cf1 14:50:13 ---> ca828ccb8e24 14:50:13 Step 12/13 : COPY . . 14:50:13 ---> c792ec343408 14:50:13 Step 13/13 : RUN ${MAKE} 14:50:13 ---> Running in a23951b7535f 14:50:13 noop 14:50:13 Removing intermediate container a23951b7535f 14:50:13 ---> 6a34c1f37a86 14:50:13 Successfully built 6a34c1f37a86 14:50:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:13 + docker inspect -f . ci-base-image-arm64 14:50:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:50:13 prd-ubuntu20.04-docker-arm64-4c-16g-24198 does not seem to be running inside a container 14:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:50:15 $ docker top 5714eb54fbf8e6876f0118c48254908de0d95b71717d6ec45ef765ad1a39eccd -eo pid,comm [Pipeline] { [Pipeline] sh 14:50:16 + go version 14:50:16 go version go1.18.3 linux/arm64 [Pipeline] } 14:50:16 $ docker stop --time=1 5714eb54fbf8e6876f0118c48254908de0d95b71717d6ec45ef765ad1a39eccd 14:50:17 $ docker rm -f 5714eb54fbf8e6876f0118c48254908de0d95b71717d6ec45ef765ad1a39eccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:50:18 + docker inspect -f . ci-base-image-arm64 14:50:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:50:18 prd-ubuntu20.04-docker-arm64-4c-16g-24198 does not seem to be running inside a container 14:50:18 $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:50:19 $ docker top 1a563a60e6a4fdfe0eef4754460d489e7af1a261bfdfad0eae255cac7ccacdae -eo pid,comm [Pipeline] { [Pipeline] sh 14:50:20 + git config --global --add safe.directory /w/workspace/device-onvif-camera/18 [Pipeline] fileExists [Pipeline] sh 14:50:21 + make test 14:50:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:50:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 14:52:00 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 14:52:00 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.185s coverage: 28.5% of statements 14:52:00 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 14:52:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.975s coverage: 13.8% of statements 14:52:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:52:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:52:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:52:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:52:37 ./bin/test-attribution-txt.sh [Pipeline] echo 14:52:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:52:37 $ docker stop --time=1 1a563a60e6a4fdfe0eef4754460d489e7af1a261bfdfad0eae255cac7ccacdae 14:52:39 $ docker rm -f 1a563a60e6a4fdfe0eef4754460d489e7af1a261bfdfad0eae255cac7ccacdae [Pipeline] // withDockerContainer [Pipeline] sh 14:52:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:52:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:52:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:52:42 + ls -al . 14:52:42 total 228 14:52:42 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 14:50 . 14:52:42 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:48 .. 14:52:42 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 14:48 .git 14:52:42 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:48 .github 14:52:42 -rw-rw-r-- 1 jenkins jenkins 418 Aug 31 14:48 .gitignore 14:52:42 -rw-rw-r-- 1 jenkins jenkins 42 Aug 31 14:48 .golangci.yml 14:52:42 -rw-rw-r-- 1 jenkins jenkins 9739 Aug 31 14:48 Attribution.txt 14:52:42 -rw-rw-r-- 1 jenkins jenkins 1498 Aug 31 14:48 CHANGELOG.md 14:52:42 -rw-rw-r-- 1 jenkins jenkins 1669 Aug 31 14:48 Dockerfile 14:52:42 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 14:48 GOVERNANCE.md 14:52:42 -rw-rw-r-- 1 jenkins jenkins 734 Aug 31 14:48 Jenkinsfile 14:52:42 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 31 14:48 LICENSE 14:52:42 -rw-rw-r-- 1 jenkins jenkins 2649 Aug 31 14:48 Makefile 14:52:42 -rw-rw-r-- 1 jenkins jenkins 625 Aug 31 14:48 OWNERS.md 14:52:42 -rw-rw-r-- 1 jenkins jenkins 5796 Aug 31 14:48 README.md 14:52:42 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 14:46 VERSION 14:52:42 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 14:48 bin 14:52:42 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 14:48 cmd 14:52:42 -rw-r--r-- 1 jenkins jenkins 77457 Aug 31 14:52 coverage.out 14:52:42 drwxrwxr-x 6 jenkins jenkins 4096 Aug 31 14:48 doc 14:52:42 -rw-rw-r-- 1 jenkins jenkins 3747 Aug 31 14:48 go.mod 14:52:42 -rw-rw-r-- 1 jenkins jenkins 39690 Aug 31 14:48 go.sum 14:52:42 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:48 internal 14:52:42 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 14:48 snap 14:52:42 -rw-rw-r-- 1 jenkins jenkins 236 Aug 31 14:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:42 + 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=ac94ad52c39d33d6c350f1de8c193304bc01649d --label arch=arm64 --label version=0.0.0 . 14:52:43 Sending build context to Docker daemon 14.3MB 14:52:43 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 14:52:43 Step 2/26 : FROM ${BASE} AS builder 14:52:43 ---> 6a34c1f37a86 14:52:43 Step 3/26 : ARG MAKE="make build" 14:52:43 ---> Running in 28b1e8c80f0b 14:52:43 Removing intermediate container 28b1e8c80f0b 14:52:43 ---> 8873fba1d188 14:52:43 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 14:52:43 ---> Running in 72a4af4c01f7 14:52:43 Removing intermediate container 72a4af4c01f7 14:52:43 ---> e10de166dff3 14:52:43 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 14:52:43 ---> Running in 5e86391932c9 14:52:44 Removing intermediate container 5e86391932c9 14:52:44 ---> 8608e2d4edcc 14:52:44 Step 6/26 : LABEL Name=edgex-device-onvif-camera 14:52:44 ---> Running in 988345e575c0 14:52:44 Removing intermediate container 988345e575c0 14:52:44 ---> f2b8cccbc987 14:52:44 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:52:44 ---> Running in 3a1131b198b6 14:52:46 Removing intermediate container 3a1131b198b6 14:52:46 ---> a45ef7ebd1cd 14:52:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:52:46 ---> Running in 9e8af7ad8286 14:52:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:52:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:52:49 OK: 221 MiB in 51 packages 14:52:50 Removing intermediate container 9e8af7ad8286 14:52:50 ---> 84b7b19b6370 14:52:50 Step 9/26 : WORKDIR /device-onvif-camera 14:52:50 ---> Running in b4b6fba023b4 14:52:50 Removing intermediate container b4b6fba023b4 14:52:50 ---> 7b3d1a8867fa 14:52:50 Step 10/26 : COPY go.mod vendor* ./ 14:52:50 ---> 0cc02fee058e 14:52:50 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:52:50 ---> Running in 8767f47d056b 14:52:52 Removing intermediate container 8767f47d056b 14:52:52 ---> 031c0a4878fd 14:52:52 Step 12/26 : COPY . . 14:52:54 ---> a8b5f05a2ec1 14:52:54 Step 13/26 : RUN ${MAKE} 14:52:54 ---> Running in 2c66d8b1140e 14:52:55 CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 14:55:17 Removing intermediate container 2c66d8b1140e 14:55:17 ---> ab445e4eb7a4 14:55:17 Step 14/26 : FROM alpine:3.16 14:55:17 3.16: Pulling from library/alpine 14:55:17 9b18e9b68314: Pulling fs layer 14:55:17 9b18e9b68314: Verifying Checksum 14:55:17 9b18e9b68314: Download complete 14:55:17 9b18e9b68314: Pull complete 14:55:17 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:55:17 Status: Downloaded newer image for alpine:3.16 14:55:17 ---> a6215f271958 14:55:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 14:55:17 ---> Running in 00482ccfbafd 14:55:17 Removing intermediate container 00482ccfbafd 14:55:17 ---> 17dfa1d0cdb0 14:55:17 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 14:55:17 ---> Running in a88e3046b61d 14:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:55:17 (1/6) Installing dumb-init (1.2.5-r1) 14:55:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:55:17 (3/6) Installing libsodium (1.0.18-r0) 14:55:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:55:17 (5/6) Installing libzmq (4.3.4-r0) 14:55:17 (6/6) Installing zeromq (4.3.4-r0) 14:55:17 Executing busybox-1.35.0-r17.trigger 14:55:17 OK: 8 MiB in 20 packages 14:55:17 Removing intermediate container a88e3046b61d 14:55:17 ---> 1bbcf75ed8a6 14:55:17 Step 17/26 : WORKDIR / 14:55:17 ---> Running in 5df0d110d78c 14:55:17 Removing intermediate container 5df0d110d78c 14:55:17 ---> 08a8bb620953 14:55:17 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 14:55:17 ---> 0fbff880bb96 14:55:17 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 14:55:17 ---> 64d89012cd80 14:55:17 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 14:55:17 ---> f3e3b835c458 14:55:17 Step 21/26 : EXPOSE 59984 14:55:17 ---> Running in 73fadb8b90a9 14:55:17 Removing intermediate container 73fadb8b90a9 14:55:17 ---> 34f1251bc90d 14:55:17 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 14:55:17 ---> Running in f2b8d1979b95 14:55:17 Removing intermediate container f2b8d1979b95 14:55:17 ---> c4b73f843df7 14:55:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:55:17 ---> Running in 265f5d59399a 14:55:17 Removing intermediate container 265f5d59399a 14:55:17 ---> f90c7c8f3cdf 14:55:17 Step 24/26 : LABEL arch=arm64 14:55:17 ---> Running in 1766dc95fc21 14:55:17 Removing intermediate container 1766dc95fc21 14:55:17 ---> 163ef1bd5cbb 14:55:17 Step 25/26 : LABEL git_sha=ac94ad52c39d33d6c350f1de8c193304bc01649d 14:55:17 ---> Running in 433eba4c6888 14:55:17 Removing intermediate container 433eba4c6888 14:55:17 ---> ea257d0d536d 14:55:17 Step 26/26 : LABEL version=0.0.0 14:55:17 ---> Running in 81f5428b0a57 14:55:17 Removing intermediate container 81f5428b0a57 14:55:17 ---> 64802bf6622e 14:55:17 [Warning] One or more build-args [ARCH] were not consumed 14:55:17 Successfully built 64802bf6622e 14:55:17 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 14:55:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:17 14:55:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:18 arm64: Pulling from edgex-lftools-log-publisher 14:55:18 8998bd30e6a1: Pulling fs layer 14:55:18 04944245beec: Pulling fs layer 14:55:18 699f458cf7ca: Pulling fs layer 14:55:18 765212b225bb: Pulling fs layer 14:55:18 f23df028b6ca: Pulling fs layer 14:55:18 d65c8cfc05b1: Pulling fs layer 14:55:18 2437ff75d9bd: Pulling fs layer 14:55:18 f23df028b6ca: Waiting 14:55:18 d65c8cfc05b1: Waiting 14:55:18 2437ff75d9bd: Waiting 14:55:18 765212b225bb: Waiting 14:55:18 04944245beec: Verifying Checksum 14:55:18 04944245beec: Download complete 14:55:18 765212b225bb: Download complete 14:55:18 f23df028b6ca: Download complete 14:55:18 d65c8cfc05b1: Verifying Checksum 14:55:18 d65c8cfc05b1: Download complete 14:55:18 699f458cf7ca: Verifying Checksum 14:55:18 699f458cf7ca: Download complete 14:55:19 8998bd30e6a1: Verifying Checksum 14:55:19 8998bd30e6a1: Download complete 14:55:21 2437ff75d9bd: Verifying Checksum 14:55:21 2437ff75d9bd: Download complete 14:55:23 8998bd30e6a1: Pull complete 14:55:23 04944245beec: Pull complete 14:55:25 699f458cf7ca: Pull complete 14:55:25 765212b225bb: Pull complete 14:55:26 f23df028b6ca: Pull complete 14:55:26 d65c8cfc05b1: Pull complete 14:55:41 2437ff75d9bd: Pull complete 14:55:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:55:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:55:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:55:42 prd-ubuntu20.04-docker-arm64-4c-16g-24198 does not seem to be running inside a container 14:55:42 $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:55:44 $ docker top 91b7f72a81c1377dbff1d6eefdd3134262cdd9ef3715094b887fc3ae6defadf0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:45 ---> job-cost.sh 14:55:45 lf-activate-venv: SKIPPING 14:55:45 INFO: No Stack... 14:55:45 INFO: Retrieving Pricing Info for: v3-standard-4 14:55:46 INFO: Archiving Costs [Pipeline] sh 14:55:47 + cat /w/workspace/device-onvif-camera/18/archives/cost.csv 14:55:47 + cut -d, -f6 [Pipeline] lock 14:55:47 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-18-stack-cost] 14:55:47 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-18-stack-cost] did not exist. Created. 14:55:47 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:55:48 /w/workspace/device-onvif-camera/18@tmp/durable-cf39e249/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:55:48 + echo total: 0.10999999940395355 [Pipeline] stash 14:55:49 Warning: overwriting stash ‘stack-cost’ 14:55:49 Stashed 1 file(s) [Pipeline] } 14:55:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-18-stack-cost] [Pipeline] // lock [Pipeline] } 14:55:49 $ docker stop --time=1 91b7f72a81c1377dbff1d6eefdd3134262cdd9ef3715094b887fc3ae6defadf0 14:55:50 $ docker rm -f 91b7f72a81c1377dbff1d6eefdd3134262cdd9ef3715094b887fc3ae6defadf0 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:55:51 + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] 14:55:51 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 14:55:51 total 16 14:55:51 drwxr-xr-x 3 root root 4096 Aug 31 14:47 . 14:55:51 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 14:47 .. 14:55:51 drwxr-xr-x 2 root root 4096 Aug 31 14:47 cost 14:55:51 -rw-r--r-- 1 root root 92 Aug 31 14:47 cost.csv 14:55:51 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives 14:55:51 + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives 14:55:51 total 16 14:55:51 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 14:47 . 14:55:51 drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 14:47 .. 14:55:51 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 14:47 cost 14:55:51 -rw-r--r-- 1 jenkins jenkins 92 Aug 31 14:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:55:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:55:52 ---> package-listing.sh 14:55:52 ++ facter osfamily 14:55:52 ++ tr '[:upper:]' '[:lower:]' 14:55:53 + OS_FAMILY=debian 14:55:53 + workspace=/w/workspace/undry_device-onvif-camera_PR-149 14:55:53 + START_PACKAGES=/tmp/packages_start.txt 14:55:53 + END_PACKAGES=/tmp/packages_end.txt 14:55:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:55:53 + PACKAGES=/tmp/packages_start.txt 14:55:53 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 14:55:53 + PACKAGES=/tmp/packages_end.txt 14:55:53 + case "${OS_FAMILY}" in 14:55:53 + dpkg -l 14:55:53 + grep '^ii' 14:55:53 + '[' -f /tmp/packages_start.txt ']' 14:55:53 + '[' -f /tmp/packages_end.txt ']' 14:55:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:55:53 + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' 14:55:53 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ 14:55:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo 14:55:53 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:55:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:55:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:55:54 prd-ubuntu20.04-docker-8c-8g-24197 does not seem to be running inside a container 14:55:54 $ 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-149/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-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:55:54 $ docker top 94540d80cd18fb5fb231a2fb478aa2389334948fc1b69fa087defadffb3efc57 -eo pid,comm [Pipeline] { [Pipeline] sh 14:55:54 + touch /tmp/pre-build-complete [Pipeline] sh 14:55:55 + mkdir -p /var/log/sysstat [Pipeline] sh 14:55:55 + ls /var/log/sa-host 14:55:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:55:55 provisioning config files... 14:55:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config1702802779972265596tmp [Pipeline] { [Pipeline] echo 14:55:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:55:56 ---> create-netrc.sh [Pipeline] } 14:55:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:55:56 ---> python-tools-install.sh [Pipeline] echo 14:55:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:55:56 ---> sudo-logs.sh 14:55:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:55:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:55:57 ---> job-cost.sh 14:55:57 lf-activate-venv: SKIPPING 14:55:57 DEBUG: total: 0.2199999988079071 14:55:57 INFO: Retrieving Stack Cost... 14:55:57 INFO: Retrieving Pricing Info for: v3-standard-8 14:55:57 INFO: Archiving Costs [Pipeline] echo 14:55:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:55:58 ---> logs-deploy.sh 14:55:58 lf-activate-venv: SKIPPING 14:55:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/18 14:55:58 INFO: archiving workspace using pattern(s): 14:55:59 Archives upload complete. 14:55:59 INFO: archiving logs to Nexus