Pull request #324 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 486414ed8fa18b6f4786ddda8a0fc083e3272a69+00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 (265d8d6c7479460a55a0be97c81e4fb64f9636e3) 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-ssh10301285444077159441.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh16000387706181614780.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-324/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-324/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13087724427845794873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11488100423682662988.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-324/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-324/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6043864080218708014.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10927’ Running on prd-ubuntu20.04-docker-8c-8g-10929 in /w/workspace/undry_device-onvif-camera_PR-324 [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-324 # 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 > 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/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 into PR head commit 486414ed8fa18b6f4786ddda8a0fc083e3272a69 Merge succeeded, producing 486414ed8fa18b6f4786ddda8a0fc083e3272a69 Checking out Revision 486414ed8fa18b6f4786ddda8a0fc083e3272a69 (PR-324) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:47:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:47:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:47:22 ========================================================= 04:47:22 EdgeX Global Pipelines Version Info 04:47:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 486414ed8fa18b6f4786ddda8a0fc083e3272a69 # 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 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 486414ed8fa18b6f4786ddda8a0fc083e3272a69 # timeout=10 > git rev-list --no-walk b44e596608ff0db1667c620625bdaa6cc97c5731 # timeout=10 04:47:23 ------------------- 04:47:23 stable info: 04:47:23 ------------------- 04:47:23 Commited By: Bill Mahoney bill.mahoney@intel.com 04:47:23 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:47:23 Message: update stable to v1.0.248 04:47:23 ------------------- 04:47:23 experimental info: 04:47:23 ------------------- 04:47:23 Commited By: **** collab-it+edgex@linuxfoundation.org 04:47:23 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:47:23 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-324 [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-324 [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-324 [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 486414ed8fa18b6f4786ddda8a0fc083e3272a69 [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 486414e [Pipeline] echo 04:47:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:47:24 provisioning config files... 04:47:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-324@tmp/config8372852033628453378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:24 ---> docker-login.sh 04:47:24 nexus3.edgexfoundry.org:10001 04:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:25 Configure a credential helper to remove this warning. See 04:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:25 04:47:25 Login Succeeded 04:47:25 nexus3.edgexfoundry.org:10002 04:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:25 Configure a credential helper to remove this warning. See 04:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:25 04:47:25 Login Succeeded 04:47:25 nexus3.edgexfoundry.org:10003 04:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:25 Configure a credential helper to remove this warning. See 04:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:25 04:47:25 Login Succeeded 04:47:25 nexus3.edgexfoundry.org:10004 04:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:25 Configure a credential helper to remove this warning. See 04:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:25 04:47:25 Login Succeeded 04:47:25 docker.io 04:47:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:25 Configure a credential helper to remove this warning. See 04:47:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:25 04:47:25 Login Succeeded 04:47:25 ---> docker-login.sh ends [Pipeline] } 04:47:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:47:26 + git rev-list -1 --merges 486414ed8fa18b6f4786ddda8a0fc083e3272a69~1..486414ed8fa18b6f4786ddda8a0fc083e3272a69 [Pipeline] echo 04:47:26 -----------> git rev-list -1 --merges 486414ed8fa18b6f4786ddda8a0fc083e3272a69~1..486414ed8fa18b6f4786ddda8a0fc083e3272a69 486414ed8fa18b6f4786ddda8a0fc083e3272a69 [false] [Pipeline] sh 04:47:26 + git log --format=format:%s -1 486414ed8fa18b6f4786ddda8a0fc083e3272a69 [Pipeline] echo 04:47:26 ========================================================= 04:47:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:47:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:47:26 + git log --format=format:%s -1 486414ed8fa18b6f4786ddda8a0fc083e3272a69 [Pipeline] echo 04:47:26 [semverPrep] GIT_COMMIT: 486414ed8fa18b6f4786ddda8a0fc083e3272a69, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 04:47:26 [semverPrep] This is not a build commit. [Pipeline] sh 04:47:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:47:27 + grep -v github /etc/ssh/ssh_known_hosts 04:47:27 + [ -e /tmp/ssh_known_hosts ] 04:47:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:47:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:47:27 + sudo tee -a /etc/ssh/ssh_known_hosts 04:47:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:47:27 04:47:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:47:27 0.1.4: Pulling from edgex-devops/py-git-semver 04:47:27 b85a868b505f: Pulling fs layer 04:47:27 e2be974225ed: Pulling fs layer 04:47:27 339a4e72a1f5: Pulling fs layer 04:47:27 988bab9f4d93: Pulling fs layer 04:47:27 1469e6f7b9e6: Pulling fs layer 04:47:27 eaf3925da568: Pulling fs layer 04:47:27 bab4dde63d76: Pulling fs layer 04:47:27 bde34c3a00c8: Pulling fs layer 04:47:27 b352a97aabf1: Pulling fs layer 04:47:27 4872d77fe225: Pulling fs layer 04:47:27 5851b861e8e6: Pulling fs layer 04:47:27 988bab9f4d93: Waiting 04:47:27 1469e6f7b9e6: Waiting 04:47:27 eaf3925da568: Waiting 04:47:27 bab4dde63d76: Waiting 04:47:27 bde34c3a00c8: Waiting 04:47:27 b352a97aabf1: Waiting 04:47:27 4872d77fe225: Waiting 04:47:27 5851b861e8e6: Waiting 04:47:27 e2be974225ed: Download complete 04:47:27 988bab9f4d93: Verifying Checksum 04:47:27 988bab9f4d93: Download complete 04:47:27 1469e6f7b9e6: Verifying Checksum 04:47:27 1469e6f7b9e6: Download complete 04:47:28 eaf3925da568: Verifying Checksum 04:47:28 eaf3925da568: Download complete 04:47:28 339a4e72a1f5: Verifying Checksum 04:47:28 339a4e72a1f5: Download complete 04:47:28 bde34c3a00c8: Download complete 04:47:28 b352a97aabf1: Download complete 04:47:28 4872d77fe225: Verifying Checksum 04:47:28 4872d77fe225: Download complete 04:47:28 5851b861e8e6: Verifying Checksum 04:47:28 5851b861e8e6: Download complete 04:47:28 b85a868b505f: Download complete 04:47:28 bab4dde63d76: Verifying Checksum 04:47:28 bab4dde63d76: Download complete 04:47:29 b85a868b505f: Pull complete 04:47:29 e2be974225ed: Pull complete 04:47:30 339a4e72a1f5: Pull complete 04:47:30 988bab9f4d93: Pull complete 04:47:30 1469e6f7b9e6: Pull complete 04:47:30 eaf3925da568: Pull complete 04:47:32 bab4dde63d76: Pull complete 04:47:32 bde34c3a00c8: Pull complete 04:47:32 b352a97aabf1: Pull complete 04:47:32 4872d77fe225: Pull complete 04:47:32 5851b861e8e6: Pull complete 04:47:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:47:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:47:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:32 prd-ubuntu20.04-docker-8c-8g-10929 does not seem to be running inside a container 04:47:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@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-devops/py-git-semver:0.1.4 cat 04:47:34 $ docker top 324861efba3f69552763df13328f1a26863ceefc0a055d97de8f7b2217c93066 -eo pid,comm 04:47:34 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). 04:47:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:47:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:47:34 [ssh-agent] Looking for ssh-agent implementation... 04:47:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:47:34 $ docker exec 324861efba3f69552763df13328f1a26863ceefc0a055d97de8f7b2217c93066 ssh-agent 04:47:35 SSH_AUTH_SOCK=/tmp/ssh-mvLwgeXbDozc/agent.32 04:47:35 SSH_AGENT_PID=38 04:47:35 Running ssh-add (command line suppressed) 04:47:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-324@tmp/private_key_1187479546093730352.key (/w/workspace/undry_device-onvif-camera_PR-324@tmp/private_key_1187479546093730352.key) 04:47:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:47:35 + git tag --points-at HEAD [Pipeline] } 04:47:35 $ docker exec --env ******** --env ******** 324861efba3f69552763df13328f1a26863ceefc0a055d97de8f7b2217c93066 ssh-agent -k 04:47:35 unset SSH_AUTH_SOCK; 04:47:35 unset SSH_AGENT_PID; 04:47:35 echo Agent pid 38 killed; 04:47:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:47:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:47:35 [ssh-agent] Looking for ssh-agent implementation... 04:47:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:47:35 $ docker exec 324861efba3f69552763df13328f1a26863ceefc0a055d97de8f7b2217c93066 ssh-agent 04:47:35 SSH_AUTH_SOCK=/tmp/ssh-2lzByz4BE7YK/agent.70 04:47:35 SSH_AGENT_PID=76 04:47:35 Running ssh-add (command line suppressed) 04:47:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-324@tmp/private_key_11428301899898503150.key (/w/workspace/undry_device-onvif-camera_PR-324@tmp/private_key_11428301899898503150.key) 04:47:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:47:36 + git semver init 04:47:36 2023-04-26 04:47:36,470 [run_init] DEBUG init version:0.0.0 force:False 04:47:36 2023-04-26 04:47:36,471 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-324/.semver 04:47:36 2023-04-26 04:47:36,472 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-324/.semver 04:47:36 2023-04-26 04:47:36,472 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-324/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-324, universal_newlines=False, shell=None, istream=None) 04:47:37 2023-04-26 04:47:37,321 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-324/.git/info/exclude 04:47:37 2023-04-26 04:47:37,322 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-324/.semver/PR-324 with force:False 04:47:37 2023-04-26 04:47:37,322 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-324/.semver/PR-324 04:47:37 2023-04-26 04:47:37,326 [execute] INFO git cat-file --batch-check 04:47:37 2023-04-26 04:47:37,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-324/.semver, universal_newlines=False, shell=None, istream=) 04:47:37 2023-04-26 04:47:37,334 [execute] INFO git cat-file --batch 04:47:37 2023-04-26 04:47:37,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-324/.semver, universal_newlines=False, shell=None, istream=) 04:47:37 2023-04-26 04:47:37,340 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-324/.semver/PR-324 04:47:37 0.0.0 [Pipeline] } 04:47:37 $ docker exec --env ******** --env ******** 324861efba3f69552763df13328f1a26863ceefc0a055d97de8f7b2217c93066 ssh-agent -k 04:47:37 unset SSH_AUTH_SOCK; 04:47:37 unset SSH_AGENT_PID; 04:47:37 echo Agent pid 76 killed; 04:47:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:47:37 + git semver [Pipeline] } 04:47:38 $ docker stop --time=1 324861efba3f69552763df13328f1a26863ceefc0a055d97de8f7b2217c93066 04:47:39 $ docker rm -f --volumes 324861efba3f69552763df13328f1a26863ceefc0a055d97de8f7b2217c93066 [Pipeline] // withDockerContainer [Pipeline] sh 04:47:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:47:40 Stashed 1 file(s) [Pipeline] echo 04:47:40 [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 04:47:40 provisioning config files... 04:47:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-324@tmp/config1931363365721317728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:40 ---> docker-login.sh 04:47:40 nexus3.edgexfoundry.org:10001 04:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:40 Configure a credential helper to remove this warning. See 04:47:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:40 04:47:40 Login Succeeded 04:47:40 nexus3.edgexfoundry.org:10002 04:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:40 Configure a credential helper to remove this warning. See 04:47:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:40 04:47:40 Login Succeeded 04:47:40 nexus3.edgexfoundry.org:10003 04:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:40 Configure a credential helper to remove this warning. See 04:47:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:40 04:47:40 Login Succeeded 04:47:40 nexus3.edgexfoundry.org:10004 04:47:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:40 Configure a credential helper to remove this warning. See 04:47:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:40 04:47:40 Login Succeeded 04:47:40 docker.io 04:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:47:41 Configure a credential helper to remove this warning. See 04:47:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:47:41 04:47:41 Login Succeeded 04:47:41 ---> docker-login.sh ends [Pipeline] } 04:47:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:47:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:47:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:47:41 ========================================================= 04:47:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:47:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:47:41 Sending build context to Docker daemon 26.94MB 04:47:41 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:47:41 Step 2/13 : FROM ${BASE} AS builder 04:47:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:47:42 f56be85fc22e: Pulling fs layer 04:47:42 85791d961cd3: Pulling fs layer 04:47:42 d694b5ae8c79: Pulling fs layer 04:47:42 9f32a84ed3da: Pulling fs layer 04:47:42 4d19c01a9841: Pulling fs layer 04:47:42 9325e15d5711: Pulling fs layer 04:47:42 556b6ee489ea: Pulling fs layer 04:47:42 c5a4b2cf53e6: Pulling fs layer 04:47:42 4d19c01a9841: Waiting 04:47:42 9f32a84ed3da: Waiting 04:47:42 c5a4b2cf53e6: Waiting 04:47:42 556b6ee489ea: Waiting 04:47:42 85791d961cd3: Download complete 04:47:42 9f32a84ed3da: Verifying Checksum 04:47:42 9f32a84ed3da: Download complete 04:47:42 4d19c01a9841: Verifying Checksum 04:47:42 4d19c01a9841: Download complete 04:47:42 f56be85fc22e: Verifying Checksum 04:47:42 f56be85fc22e: Download complete 04:47:42 9325e15d5711: Verifying Checksum 04:47:42 9325e15d5711: Download complete 04:47:42 f56be85fc22e: Pull complete 04:47:43 85791d961cd3: Pull complete 04:47:43 c5a4b2cf53e6: Verifying Checksum 04:47:43 c5a4b2cf53e6: Download complete 04:47:43 d694b5ae8c79: Verifying Checksum 04:47:43 d694b5ae8c79: Download complete 04:47:43 556b6ee489ea: Verifying Checksum 04:47:43 556b6ee489ea: Download complete 04:47:46 d694b5ae8c79: Pull complete 04:47:46 9f32a84ed3da: Pull complete 04:47:46 4d19c01a9841: Pull complete 04:47:46 9325e15d5711: Pull complete 04:47:49 556b6ee489ea: Pull complete 04:47:50 c5a4b2cf53e6: Pull complete 04:47:50 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:47:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:47:50 ---> c4be618373d6 04:47:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:47:53 ---> Running in 30bc09a5f3e9 04:47:53 Removing intermediate container 30bc09a5f3e9 04:47:53 ---> 0bc1da9ebc43 04:47:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:47:53 ---> Running in 536dccd3f6a7 04:47:53 Removing intermediate container 536dccd3f6a7 04:47:53 ---> c72fa34fcb70 04:47:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:47:53 ---> Running in ff7e1dc19919 04:47:53 Removing intermediate container ff7e1dc19919 04:47:53 ---> 1cd876284366 04:47:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:47:53 ---> Running in 3fa93299daf5 04:47:53 Removing intermediate container 3fa93299daf5 04:47:53 ---> d08d626eaaaf 04:47:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:47:53 ---> Running in da6db1c4e7da 04:47:53 Removing intermediate container da6db1c4e7da 04:47:53 ---> 059f0d736548 04:47:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:47:53 ---> Running in 7a09201de96e 04:47:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:47:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:47:54 OK: 265 MiB in 53 packages 04:47:54 Removing intermediate container 7a09201de96e 04:47:54 ---> 269a46a9edff 04:47:54 Step 9/13 : WORKDIR /device-onvif-camera 04:47:54 ---> Running in 3451a44c2f93 04:47:54 Removing intermediate container 3451a44c2f93 04:47:54 ---> 50fedbcaac5f 04:47:54 Step 10/13 : COPY go.mod vendor* ./ 04:47:55 ---> a5a1f35e8a83 04:47:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:47:55 ---> Running in ce1f8234d6a5 04:47:55 Still waiting to schedule task 04:47:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10928’ 04:48:17 Removing intermediate container ce1f8234d6a5 04:48:17 ---> 06e3460c6e25 04:48:17 Step 12/13 : COPY . . 04:48:17 ---> 4e078f89b878 04:48:17 Step 13/13 : RUN ${MAKE} 04:48:17 ---> Running in 6024766a36ce 04:48:17 noop 04:48:18 Removing intermediate container 6024766a36ce 04:48:18 ---> 9ce9ddb21e2f 04:48:18 Successfully built 9ce9ddb21e2f 04:48:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:18 + docker inspect -f . ci-base-image-x86_64 04:48:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:18 prd-ubuntu20.04-docker-8c-8g-10929 does not seem to be running inside a container 04:48:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@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 ******** ci-base-image-x86_64 cat 04:48:19 $ docker top 43ae59f4f74f46bea82129b1c6b72bea2ca1be581e00081ff13f46cd1b38a57c -eo pid,comm [Pipeline] { [Pipeline] sh 04:48:19 + go version 04:48:19 go version go1.20.2 linux/amd64 [Pipeline] } 04:48:19 $ docker stop --time=1 43ae59f4f74f46bea82129b1c6b72bea2ca1be581e00081ff13f46cd1b38a57c 04:48:20 $ docker rm -f --volumes 43ae59f4f74f46bea82129b1c6b72bea2ca1be581e00081ff13f46cd1b38a57c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:21 + docker inspect -f . ci-base-image-x86_64 04:48:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:21 prd-ubuntu20.04-docker-8c-8g-10929 does not seem to be running inside a container 04:48:21 $ 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-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@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 ******** ci-base-image-x86_64 cat 04:48:21 $ docker top e349685f20642c91ff777f5ef6cb0d64566b6ad722ec7bdf844c3684e6924a4e -eo pid,comm [Pipeline] { [Pipeline] sh 04:48:21 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-324 [Pipeline] fileExists [Pipeline] sh 04:48:22 + make test 04:48:22 go test ./... -coverprofile=coverage.out ./... 04:48:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:48:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:48:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:48:38 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.6% of statements 04:48:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.179s coverage: 86.5% of statements 04:48:45 go vet ./... 04:48:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:48:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:48:48 ./bin/test-attribution-txt.sh [Pipeline] echo 04:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:48:48 $ docker stop --time=1 e349685f20642c91ff777f5ef6cb0d64566b6ad722ec7bdf844c3684e6924a4e 04:48:52 $ docker rm -f --volumes e349685f20642c91ff777f5ef6cb0d64566b6ad722ec7bdf844c3684e6924a4e [Pipeline] // withDockerContainer [Pipeline] sh 04:48:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:48:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:48:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:48:53 + ls -al . 04:48:53 total 236 04:48:53 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 04:48 . 04:48:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:47 .. 04:48:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 04:47 .git 04:48:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:47 .github 04:48:53 -rw-rw-r-- 1 jenkins jenkins 496 Apr 26 04:47 .gitignore 04:48:53 -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 04:47 .golangci.yml 04:48:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 04:47 .semver 04:48:53 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 26 04:47 Attribution.txt 04:48:53 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 26 04:47 CHANGELOG.md 04:48:53 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 26 04:47 Dockerfile 04:48:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 04:47 GOVERNANCE.md 04:48:53 -rw-rw-r-- 1 jenkins jenkins 734 Apr 26 04:47 Jenkinsfile 04:48:53 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 26 04:47 LICENSE 04:48:53 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 26 04:47 Makefile 04:48:53 -rw-rw-r-- 1 jenkins jenkins 625 Apr 26 04:47 OWNERS.md 04:48:53 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 26 04:47 README.md 04:48:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 04:47 VERSION 04:48:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:47 bin 04:48:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:47 cmd 04:48:53 -rw-r--r-- 1 jenkins jenkins 78922 Apr 26 04:48 coverage.out 04:48:53 drwxrwxr-x 6 jenkins jenkins 4096 Apr 26 04:47 doc 04:48:53 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 26 04:47 go.mod 04:48:53 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 26 04:47 go.sum 04:48:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:47 internal 04:48:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:47 snap 04:48:53 -rw-rw-r-- 1 jenkins jenkins 236 Apr 26 04:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:53 + 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=486414ed8fa18b6f4786ddda8a0fc083e3272a69 --label arch=amd64 --label version=0.0.0 . 04:48:53 Sending build context to Docker daemon 27.02MB 04:48:53 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:48:53 Step 2/26 : FROM ${BASE} AS builder 04:48:53 ---> 9ce9ddb21e2f 04:48:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:48:53 ---> Running in b7acdbcbcc80 04:48:54 Removing intermediate container b7acdbcbcc80 04:48:54 ---> f58c65a3b6b9 04:48:54 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:48:54 ---> Running in 342b2fe030ae 04:48:54 Removing intermediate container 342b2fe030ae 04:48:54 ---> c33d70f2ab3f 04:48:54 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:48:54 ---> Running in b6631ad7efd7 04:48:54 Removing intermediate container b6631ad7efd7 04:48:54 ---> 3466bbb20126 04:48:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:48:54 ---> Running in 92bb75d1b575 04:48:54 Removing intermediate container 92bb75d1b575 04:48:54 ---> 9813f26eb002 04:48:54 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:48:54 ---> Running in b7a1754fc062 04:48:54 Removing intermediate container b7a1754fc062 04:48:54 ---> a97c627ae342 04:48:54 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:54 ---> Running in 1948228b64c5 04:48:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:48:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:48:54 OK: 265 MiB in 53 packages 04:48:55 Removing intermediate container 1948228b64c5 04:48:55 ---> 77589b247e26 04:48:55 Step 9/26 : WORKDIR /device-onvif-camera 04:48:55 ---> Running in 4c2fdc0959c5 04:48:55 Removing intermediate container 4c2fdc0959c5 04:48:55 ---> 91ed9fa33991 04:48:55 Step 10/26 : COPY go.mod vendor* ./ 04:48:55 ---> 13e31c929414 04:48:55 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:55 ---> Running in d8b1d3a31084 04:48:56 Removing intermediate container d8b1d3a31084 04:48:56 ---> 494b5dc948cc 04:48:56 Step 12/26 : COPY . . 04:48:56 ---> 3306a788dd59 04:48:56 Step 13/26 : RUN ${MAKE} 04:48:56 ---> Running in 3f653cb4f862 04:48:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:49:19 Removing intermediate container 3f653cb4f862 04:49:19 ---> e65deaa4ca2d 04:49:19 Step 14/26 : FROM alpine:3.17 04:49:19 3.17: Pulling from library/alpine 04:49:19 f56be85fc22e: Already exists 04:49:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:49:19 Status: Downloaded newer image for alpine:3.17 04:49:19 ---> 9ed4aefc74f6 04:49:19 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:49:19 ---> Running in f578bea1f95c 04:49:19 Removing intermediate container f578bea1f95c 04:49:19 ---> 01162f763bb7 04:49:19 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:49:19 ---> Running in 139ccc67a162 04:49:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:49:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:49:19 (1/1) Installing dumb-init (1.2.5-r2) 04:49:19 Executing busybox-1.35.0-r29.trigger 04:49:19 OK: 7 MiB in 16 packages 04:49:19 Removing intermediate container 139ccc67a162 04:49:19 ---> 3591c157dec4 04:49:19 Step 17/26 : WORKDIR / 04:49:19 ---> Running in 0572ed34ecb5 04:49:19 Removing intermediate container 0572ed34ecb5 04:49:19 ---> 75263a49e1c9 04:49:19 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:49:19 ---> 3778694a829a 04:49:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:49:19 ---> 0b1ebbeb7c70 04:49:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:49:19 ---> 67930aac730c 04:49:19 Step 21/26 : EXPOSE 59984 04:49:19 ---> Running in 914b7279fec5 04:49:19 Removing intermediate container 914b7279fec5 04:49:19 ---> 31f4ba01e4c7 04:49:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:49:19 ---> Running in eadff2357801 04:49:19 Removing intermediate container eadff2357801 04:49:19 ---> c29d42ada5cd 04:49:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:49:19 ---> Running in 9585936e94aa 04:49:19 Removing intermediate container 9585936e94aa 04:49:19 ---> 9046690f5dc4 04:49:19 Step 24/26 : LABEL arch=amd64 04:49:19 ---> Running in bd06bea163a7 04:49:19 Removing intermediate container bd06bea163a7 04:49:19 ---> 79e6aa08b54a 04:49:19 Step 25/26 : LABEL git_sha=486414ed8fa18b6f4786ddda8a0fc083e3272a69 04:49:19 ---> Running in 70d75e6b00f7 04:49:19 Removing intermediate container 70d75e6b00f7 04:49:19 ---> a50fdb9e2a01 04:49:19 Step 26/26 : LABEL version=0.0.0 04:49:19 ---> Running in 85f8c42610c7 04:49:19 Removing intermediate container 85f8c42610c7 04:49:19 ---> 2396c44a7d72 04:49:19 [Warning] One or more build-args [ARCH] were not consumed 04:49:19 Successfully built 2396c44a7d72 04:49:19 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:19 04:49:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:19 latest: Pulling from edgex-lftools-log-publisher 04:49:19 5eb5b503b376: Pulling fs layer 04:49:19 5c69ac0246d0: Pulling fs layer 04:49:19 ec43610c2a17: Pulling fs layer 04:49:19 3a2ae6a8a46f: Pulling fs layer 04:49:19 33b1e0a273af: Pulling fs layer 04:49:19 5d3b04190fa2: Pulling fs layer 04:49:19 2f39f015ded8: Pulling fs layer 04:49:19 33b1e0a273af: Waiting 04:49:19 5d3b04190fa2: Waiting 04:49:19 2f39f015ded8: Waiting 04:49:19 3a2ae6a8a46f: Waiting 04:49:19 5c69ac0246d0: Verifying Checksum 04:49:19 5c69ac0246d0: Download complete 04:49:19 3a2ae6a8a46f: Download complete 04:49:19 33b1e0a273af: Verifying Checksum 04:49:19 33b1e0a273af: Download complete 04:49:19 5d3b04190fa2: Verifying Checksum 04:49:19 5d3b04190fa2: Download complete 04:49:19 ec43610c2a17: Verifying Checksum 04:49:19 ec43610c2a17: Download complete 04:49:20 5eb5b503b376: Verifying Checksum 04:49:20 5eb5b503b376: Download complete 04:49:20 2f39f015ded8: Verifying Checksum 04:49:20 2f39f015ded8: Download complete 04:49:21 5eb5b503b376: Pull complete 04:49:21 5c69ac0246d0: Pull complete 04:49:21 ec43610c2a17: Pull complete 04:49:21 3a2ae6a8a46f: Pull complete 04:49:21 33b1e0a273af: Pull complete 04:49:22 5d3b04190fa2: Pull complete 04:49:26 2f39f015ded8: Pull complete 04:49:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:26 prd-ubuntu20.04-docker-8c-8g-10929 does not seem to be running inside a container 04:49:26 $ 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-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:49:29 $ docker top 0e47ae8a7661f4fbb99751a75e982692f1b79c65c4d491f51141381dfc3a7090 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:29 ---> job-cost.sh 04:49:29 lf-activate-venv: SKIPPING 04:49:29 INFO: No Stack... 04:49:29 INFO: Retrieving Pricing Info for: v3-standard-8 04:49:29 INFO: Archiving Costs [Pipeline] sh 04:49:30 + cat /w/workspace/undry_device-onvif-camera_PR-324/archives/cost.csv 04:49:30 + cut -d, -f6 [Pipeline] lock 04:49:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-324-2-stack-cost] 04:49:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-324-2-stack-cost] did not exist. Created. 04:49:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-324-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:49:30 + echo total: 0.2199999988079071 [Pipeline] stash 04:49:30 Stashed 1 file(s) [Pipeline] } 04:49:30 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-324-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:49:30 $ docker stop --time=1 0e47ae8a7661f4fbb99751a75e982692f1b79c65c4d491f51141381dfc3a7090 04:49:31 $ docker rm -f --volumes 0e47ae8a7661f4fbb99751a75e982692f1b79c65c4d491f51141381dfc3a7090 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:50:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10930 in /w/workspace/undry_device-onvif-camera_PR-324 [Pipeline] { [Pipeline] ws 04:50:19 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 04:50:19 The recommended git tool is: git 04:50:26 using credential edgex-jenkins-ssh 04:50:26 Cloning the remote Git repository 04:50:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:50:27 > git init /w/workspace/device-onvif-camera/2 # timeout=10 04:50:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:50:27 > git --version # timeout=10 04:50:27 > git --version # 'git version 2.25.1' 04:50:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:50:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:50:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:50:29 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:50:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:50:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:50:30 Merging remotes/origin/main commit 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 into PR head commit 486414ed8fa18b6f4786ddda8a0fc083e3272a69 04:50:31 Merge succeeded, producing 486414ed8fa18b6f4786ddda8a0fc083e3272a69 04:50:31 Checking out Revision 486414ed8fa18b6f4786ddda8a0fc083e3272a69 (PR-324) 04:50:30 > git config core.sparsecheckout # timeout=10 04:50:30 > git checkout -f 486414ed8fa18b6f4786ddda8a0fc083e3272a69 # timeout=10 04:50:31 > git remote # timeout=10 04:50:31 > git config --get remote.origin.url # timeout=10 04:50:31 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:31 > git merge 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 # timeout=10 04:50:31 > git rev-parse HEAD^{commit} # timeout=10 04:50:31 > git config core.sparsecheckout # timeout=10 04:50:31 > git checkout -f 486414ed8fa18b6f4786ddda8a0fc083e3272a69 # timeout=10 04:50:32 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:50:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:50:33 % Total % Received % Xferd Average Speed Time Time Time Current 04:50:33 Dload Upload Total Spent Left Speed 04:50:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 04:50:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:50:34 + + sudo teesudo /etc/docker/daemon.new jq 04:50:34 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:50:34 { 04:50:34 "registry-mirrors": [ 04:50:34 "https://nexus3.edgexfoundry.org:10001" 04:50:34 ], 04:50:34 "bip": "10.250.0.254/24", 04:50:34 "hosts": [ 04:50:34 "tcp://0.0.0.0:5555", 04:50:34 "unix:///var/run/docker.sock" 04:50:34 ], 04:50:34 "mtu": 1458, 04:50:34 "selinux-enabled": true, 04:50:34 "seccomp-profile": "/etc/docker/seccomp.json" 04:50:34 } [Pipeline] sh 04:50:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:50:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:50:57 provisioning config files... 04:50:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config5423048400252157446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:57 ---> docker-login.sh 04:50:57 nexus3.edgexfoundry.org:10001 04:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:57 Configure a credential helper to remove this warning. See 04:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:57 04:50:57 Login Succeeded 04:50:57 nexus3.edgexfoundry.org:10002 04:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:58 Configure a credential helper to remove this warning. See 04:50:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:58 04:50:58 Login Succeeded 04:50:58 nexus3.edgexfoundry.org:10003 04:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:58 Configure a credential helper to remove this warning. See 04:50:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:58 04:50:58 Login Succeeded 04:50:58 nexus3.edgexfoundry.org:10004 04:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:59 Configure a credential helper to remove this warning. See 04:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:59 04:50:59 Login Succeeded 04:50:59 docker.io 04:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:59 Configure a credential helper to remove this warning. See 04:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:59 04:50:59 Login Succeeded 04:50:59 ---> docker-login.sh ends [Pipeline] } 04:50:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:50:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:59 ========================================================= 04:50:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:50:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:51:00 Sending build context to Docker daemon 19.66MB 04:51:00 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:51:00 Step 2/13 : FROM ${BASE} AS builder 04:51:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:51:00 c41833b44d91: Pulling fs layer 04:51:00 ed15518f5707: Pulling fs layer 04:51:00 feae8fd75edb: Pulling fs layer 04:51:00 242c74f7c9fa: Pulling fs layer 04:51:00 3cdef696dda3: Pulling fs layer 04:51:00 242c74f7c9fa: Waiting 04:51:00 2ced38df9373: Pulling fs layer 04:51:00 3cdef696dda3: Waiting 04:51:01 58f1dce35555: Pulling fs layer 04:51:01 2ced38df9373: Waiting 04:51:01 58f1dce35555: Waiting 04:51:01 ed15518f5707: Verifying Checksum 04:51:01 ed15518f5707: Download complete 04:51:01 242c74f7c9fa: Download complete 04:51:01 3cdef696dda3: Verifying Checksum 04:51:01 3cdef696dda3: Download complete 04:51:01 c41833b44d91: Verifying Checksum 04:51:02 c41833b44d91: Pull complete 04:51:02 58f1dce35555: Verifying Checksum 04:51:02 58f1dce35555: Download complete 04:51:03 ed15518f5707: Pull complete 04:51:03 feae8fd75edb: Verifying Checksum 04:51:03 feae8fd75edb: Download complete 04:51:07 2ced38df9373: Verifying Checksum 04:51:07 2ced38df9373: Download complete 04:51:13 feae8fd75edb: Pull complete 04:51:13 242c74f7c9fa: Pull complete 04:51:14 3cdef696dda3: Pull complete 04:51:22 2ced38df9373: Pull complete 04:51:23 58f1dce35555: Pull complete 04:51:23 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:51:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:51:23 ---> fadd8f120f05 04:51:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:51:25 ---> Running in d1b35f8dbaae 04:51:25 Removing intermediate container d1b35f8dbaae 04:51:25 ---> e0dd013f62e0 04:51:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:51:25 ---> Running in 319570881c62 04:51:25 Removing intermediate container 319570881c62 04:51:25 ---> 27d8d712a462 04:51:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:51:25 ---> Running in bb2b9f4494c4 04:51:26 Removing intermediate container bb2b9f4494c4 04:51:26 ---> 4ccf477a508f 04:51:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:51:26 ---> Running in 21bca0ad26eb 04:51:26 Removing intermediate container 21bca0ad26eb 04:51:26 ---> c3e1aab8459e 04:51:26 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:51:26 ---> Running in ca60ae087c04 04:51:26 Removing intermediate container ca60ae087c04 04:51:26 ---> 627915131b39 04:51:26 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:51:26 ---> Running in 984fbd774bbb 04:51:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:51:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:51:29 OK: 263 MiB in 53 packages 04:51:30 Removing intermediate container 984fbd774bbb 04:51:30 ---> 2d1230fb52c1 04:51:30 Step 9/13 : WORKDIR /device-onvif-camera 04:51:30 ---> Running in d8ce61177aa6 04:51:30 Removing intermediate container d8ce61177aa6 04:51:30 ---> e3dbba518f52 04:51:30 Step 10/13 : COPY go.mod vendor* ./ 04:51:31 ---> b028344d7961 04:51:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:51:31 ---> Running in 5c758d3d9e4d 04:52:52 Removing intermediate container 5c758d3d9e4d 04:52:52 ---> 9c230edf0714 04:52:52 Step 12/13 : COPY . . 04:52:52 ---> 2e0ffe00cd08 04:52:52 Step 13/13 : RUN ${MAKE} 04:52:52 ---> Running in 786024b038a2 04:52:52 noop 04:52:52 Removing intermediate container 786024b038a2 04:52:52 ---> 7af9e5763a0d 04:52:52 Successfully built 7af9e5763a0d 04:52:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:53 + docker inspect -f . ci-base-image-arm64 04:52:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:53 prd-ubuntu20.04-docker-arm64-4c-16g-10930 does not seem to be running inside a container 04:52:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:52:54 $ docker top 470dfd7cf1ed743a35b4bd2ac406b36fb159f7de27dc03e773d6026a97f64855 -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:55 + go version 04:52:55 go version go1.20.2 linux/arm64 [Pipeline] } 04:52:55 $ docker stop --time=1 470dfd7cf1ed743a35b4bd2ac406b36fb159f7de27dc03e773d6026a97f64855 04:52:57 $ docker rm -f --volumes 470dfd7cf1ed743a35b4bd2ac406b36fb159f7de27dc03e773d6026a97f64855 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:57 + docker inspect -f . ci-base-image-arm64 04:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:58 prd-ubuntu20.04-docker-arm64-4c-16g-10930 does not seem to be running inside a container 04:52:58 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:52:59 $ docker top 90440af5a51213cb3800002fbeb5c1f7c064210df0c701fcf26460331ffeb56d -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:00 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 04:53:01 + make test 04:53:01 go test ./... -coverprofile=coverage.out ./... 04:53:39 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:56:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:56:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:56:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.190s coverage: 31.6% of statements 04:56:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.458s coverage: 86.5% of statements 04:56:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:56:14 go vet ./... 04:56:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:56:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:56:46 ./bin/test-attribution-txt.sh [Pipeline] echo 04:56:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:56:46 $ docker stop --time=1 90440af5a51213cb3800002fbeb5c1f7c064210df0c701fcf26460331ffeb56d 04:56:48 $ docker rm -f --volumes 90440af5a51213cb3800002fbeb5c1f7c064210df0c701fcf26460331ffeb56d [Pipeline] // withDockerContainer [Pipeline] sh 04:56:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:56:49 Warning: overwriting stash ‘coverage-report’ 04:56:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:56:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:56:50 + ls -al . 04:56:50 total 232 04:56:50 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 04:53 . 04:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:50 .. 04:56:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 04:50 .git 04:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:50 .github 04:56:50 -rw-rw-r-- 1 jenkins jenkins 496 Apr 26 04:50 .gitignore 04:56:50 -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 04:50 .golangci.yml 04:56:50 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 26 04:50 Attribution.txt 04:56:50 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 26 04:50 CHANGELOG.md 04:56:50 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 26 04:50 Dockerfile 04:56:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 04:50 GOVERNANCE.md 04:56:50 -rw-rw-r-- 1 jenkins jenkins 734 Apr 26 04:50 Jenkinsfile 04:56:50 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 26 04:50 LICENSE 04:56:50 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 26 04:50 Makefile 04:56:50 -rw-rw-r-- 1 jenkins jenkins 625 Apr 26 04:50 OWNERS.md 04:56:50 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 26 04:50 README.md 04:56:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 04:47 VERSION 04:56:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:50 bin 04:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:50 cmd 04:56:50 -rw-r--r-- 1 jenkins jenkins 78922 Apr 26 04:56 coverage.out 04:56:50 drwxrwxr-x 6 jenkins jenkins 4096 Apr 26 04:50 doc 04:56:50 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 26 04:50 go.mod 04:56:50 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 26 04:50 go.sum 04:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:50 internal 04:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:50 snap 04:56:50 -rw-rw-r-- 1 jenkins jenkins 236 Apr 26 04:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:51 + 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=486414ed8fa18b6f4786ddda8a0fc083e3272a69 --label arch=arm64 --label version=0.0.0 . 04:56:51 Sending build context to Docker daemon 19.74MB 04:56:51 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:56:51 Step 2/26 : FROM ${BASE} AS builder 04:56:51 ---> 7af9e5763a0d 04:56:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:56:51 ---> Running in 0e2d0628339b 04:56:52 Removing intermediate container 0e2d0628339b 04:56:52 ---> 64c3a1a6c175 04:56:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:52 ---> Running in 29865f7b70bb 04:56:52 Removing intermediate container 29865f7b70bb 04:56:52 ---> 29871f302592 04:56:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:56:52 ---> Running in 7aa3f733b704 04:56:53 Removing intermediate container 7aa3f733b704 04:56:53 ---> a97f40c7e9a3 04:56:53 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:56:53 ---> Running in c1c1b84025ad 04:56:53 Removing intermediate container c1c1b84025ad 04:56:53 ---> 79867bea0a20 04:56:53 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:56:53 ---> Running in 43ed290197df 04:56:53 Removing intermediate container 43ed290197df 04:56:53 ---> 4c4064fc8907 04:56:53 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:56:53 ---> Running in e2401b57e753 04:56:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:56:56 OK: 263 MiB in 53 packages 04:56:57 Removing intermediate container e2401b57e753 04:56:57 ---> 85a6857c9484 04:56:57 Step 9/26 : WORKDIR /device-onvif-camera 04:56:57 ---> Running in a0b51aa719cc 04:56:57 Removing intermediate container a0b51aa719cc 04:56:57 ---> 9a8938d46fe5 04:56:57 Step 10/26 : COPY go.mod vendor* ./ 04:56:58 ---> bc1f69f3055a 04:56:58 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:58 ---> Running in 8bea33799119 04:57:00 Removing intermediate container 8bea33799119 04:57:00 ---> fecd83421cd5 04:57:00 Step 12/26 : COPY . . 04:57:02 ---> 9da6164c8262 04:57:02 Step 13/26 : RUN ${MAKE} 04:57:02 ---> Running in c125527f0993 04:57:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:59:25 Removing intermediate container c125527f0993 04:59:25 ---> e6a7dd18c5f2 04:59:25 Step 14/26 : FROM alpine:3.17 04:59:25 3.17: Pulling from library/alpine 04:59:25 c41833b44d91: Already exists 04:59:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:59:25 Status: Downloaded newer image for alpine:3.17 04:59:25 ---> 51e60588ff2c 04:59:25 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:59:25 ---> Running in 0f44836d3fc5 04:59:25 Removing intermediate container 0f44836d3fc5 04:59:25 ---> 339680b6f4a0 04:59:25 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:59:25 ---> Running in ea20bca2f017 04:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:59:25 (1/1) Installing dumb-init (1.2.5-r2) 04:59:25 Executing busybox-1.35.0-r29.trigger 04:59:25 OK: 8 MiB in 16 packages 04:59:25 Removing intermediate container ea20bca2f017 04:59:25 ---> 08a6e7712cdc 04:59:25 Step 17/26 : WORKDIR / 04:59:25 ---> Running in 5f570524d3e9 04:59:25 Removing intermediate container 5f570524d3e9 04:59:25 ---> 94cc7c0e76d3 04:59:25 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:59:25 ---> d7dff8f5a554 04:59:25 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:59:25 ---> 2be864abf8a0 04:59:25 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:59:25 ---> c90b326760a2 04:59:25 Step 21/26 : EXPOSE 59984 04:59:25 ---> Running in 3bcd083708a4 04:59:25 Removing intermediate container 3bcd083708a4 04:59:25 ---> a1e353b17a3e 04:59:25 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:59:25 ---> Running in 72dd806d941a 04:59:25 Removing intermediate container 72dd806d941a 04:59:25 ---> 20a9b8ca54d4 04:59:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:59:25 ---> Running in 1698c4007e26 04:59:25 Removing intermediate container 1698c4007e26 04:59:25 ---> fe4c7f55f8a3 04:59:25 Step 24/26 : LABEL arch=arm64 04:59:25 ---> Running in 2e71421963c3 04:59:25 Removing intermediate container 2e71421963c3 04:59:25 ---> 352de6a4140c 04:59:25 Step 25/26 : LABEL git_sha=486414ed8fa18b6f4786ddda8a0fc083e3272a69 04:59:25 ---> Running in f09d171cdc74 04:59:25 Removing intermediate container f09d171cdc74 04:59:25 ---> 4ec409a50612 04:59:25 Step 26/26 : LABEL version=0.0.0 04:59:25 ---> Running in 02f90d224631 04:59:25 Removing intermediate container 02f90d224631 04:59:25 ---> 4f9e8adc2cf6 04:59:25 [Warning] One or more build-args [ARCH] were not consumed 04:59:25 Successfully built 4f9e8adc2cf6 04:59:25 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 04:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:26 04:59:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:26 arm64: Pulling from edgex-lftools-log-publisher 04:59:26 8998bd30e6a1: Pulling fs layer 04:59:26 04944245beec: Pulling fs layer 04:59:26 699f458cf7ca: Pulling fs layer 04:59:26 765212b225bb: Pulling fs layer 04:59:26 f23df028b6ca: Pulling fs layer 04:59:26 d65c8cfc05b1: Pulling fs layer 04:59:26 2437ff75d9bd: Pulling fs layer 04:59:26 765212b225bb: Waiting 04:59:26 f23df028b6ca: Waiting 04:59:26 d65c8cfc05b1: Waiting 04:59:26 2437ff75d9bd: Waiting 04:59:26 04944245beec: Verifying Checksum 04:59:26 04944245beec: Download complete 04:59:26 765212b225bb: Verifying Checksum 04:59:26 765212b225bb: Download complete 04:59:26 f23df028b6ca: Verifying Checksum 04:59:26 f23df028b6ca: Download complete 04:59:26 d65c8cfc05b1: Verifying Checksum 04:59:26 d65c8cfc05b1: Download complete 04:59:26 699f458cf7ca: Verifying Checksum 04:59:26 699f458cf7ca: Download complete 04:59:27 8998bd30e6a1: Verifying Checksum 04:59:27 8998bd30e6a1: Download complete 04:59:29 2437ff75d9bd: Verifying Checksum 04:59:29 2437ff75d9bd: Download complete 04:59:32 8998bd30e6a1: Pull complete 04:59:32 04944245beec: Pull complete 04:59:34 699f458cf7ca: Pull complete 04:59:34 765212b225bb: Pull complete 04:59:34 f23df028b6ca: Pull complete 04:59:35 d65c8cfc05b1: Pull complete 04:59:50 2437ff75d9bd: Pull complete 04:59:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:50 prd-ubuntu20.04-docker-arm64-4c-16g-10930 does not seem to be running inside a container 04:59:50 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:59:53 $ docker top 5f0ce38428d264386cbc8f0256b83764b83addc055a0b45a7554a5ce204a0361 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:53 ---> job-cost.sh 04:59:53 lf-activate-venv: SKIPPING 04:59:53 INFO: No Stack... 04:59:54 INFO: Retrieving Pricing Info for: v3-standard-4 04:59:55 INFO: Archiving Costs [Pipeline] sh 04:59:55 + cut -d, -f6 04:59:55 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 04:59:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-324-2-stack-cost] 04:59:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-324-2-stack-cost] did not exist. Created. 04:59:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-324-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:59:56 /w/workspace/device-onvif-camera/2@tmp/durable-cbb68867/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:59:57 + echo total: 0.10999999940395355 [Pipeline] stash 04:59:57 Warning: overwriting stash ‘stack-cost’ 04:59:57 Stashed 1 file(s) [Pipeline] } 04:59:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-324-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:59:57 $ docker stop --time=1 5f0ce38428d264386cbc8f0256b83764b83addc055a0b45a7554a5ce204a0361 04:59:58 $ docker rm -f --volumes 5f0ce38428d264386cbc8f0256b83764b83addc055a0b45a7554a5ce204a0361 [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 04:59:59 provisioning config files... 04:59:59 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-324@tmp/config11264505759710573505tmp [Pipeline] { [Pipeline] sh 04:59:59 + set +x 04:59:59 + curl -s https://codecov.io/bash 04:59:59 + bash -s -- 04:59:59 04:59:59 _____ _ 04:59:59 / ____| | | 04:59:59 | | ___ __| | ___ ___ _____ __ 04:59:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:59:59 | |___| (_) | (_| | __/ (_| (_) \ V / 04:59:59 \_____\___/ \__,_|\___|\___\___/ \_/ 04:59:59 Bash-1.0.6 04:59:59 04:59:59 04:59:59 ==> git version 2.25.1 found 04:59:59 ==> 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 04:59:59 Release-Date: 2020-01-08 04:59:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:59:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:59:59 ==> Jenkins CI detected. 04:59:59 current dir:  /w/workspace/undry_device-onvif-camera_PR-324 04:59:59 project root: . 04:59:59 --> token set from env 04:59:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:59:59 ==> Running gcov in . (disable via -X gcov) 04:59:59 ==> Python coveragepy not found 04:59:59 ==> Searching for coverage reports in: 04:59:59 + . 04:59:59 -> Found 1 reports 04:59:59 ==> Detecting git/mercurial file structure 04:59:59 ==> Reading reports 04:59:59 + ./coverage.out bytes=78922 04:59:59 ==> Appending adjustments 04:59:59 https://docs.codecov.io/docs/fixing-reports 04:59:59 + Found adjustments 04:59:59 ==> Gzipping contents 04:59:59 12K /tmp/codecov.fjBv6i.gz 04:59:59 ==> Uploading reports 04:59:59 url: https://codecov.io 04:59:59 query: branch=PR-324&commit=486414ed8fa18b6f4786ddda8a0fc083e3272a69&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-324%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=324&job=&cmd_args= 04:59:59 -> Pinging Codecov 04:59:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-324&commit=486414ed8fa18b6f4786ddda8a0fc083e3272a69&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-324%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=324&job=&cmd_args= 05:00:00 -> Uploading to 05:00:00 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/F29A59C45E3A92E06B3E522C9905F8EF/486414ed8fa18b6f4786ddda8a0fc083e3272a69/b2a2ccbb-ca45-428e-a841-e12087241509.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T045959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b44a21ed02e65f162dfec875f39fa9a39619b8e7e1a09c1783b5552ad86a8fc2 05:00:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:00:00 Dload Upload Total Spent Left Speed 05:00:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 41670 --:--:-- --:--:-- --:--:-- 41670 05:00:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/486414ed8fa18b6f4786ddda8a0fc083e3272a69 [Pipeline] } 05:00:00 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 05:00:01 + [ -d /w/workspace/undry_device-onvif-camera_PR-324/archives ] 05:00:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-324/archives 05:00:01 total 16 05:00:01 drwxr-xr-x 3 root root 4096 Apr 26 04:49 . 05:00:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 04:49 .. 05:00:01 drwxr-xr-x 2 root root 4096 Apr 26 04:49 cost 05:00:01 -rw-r--r-- 1 root root 91 Apr 26 04:49 cost.csv 05:00:01 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-324/archives 05:00:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-324/archives 05:00:01 total 16 05:00:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 04:49 . 05:00:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 04:49 .. 05:00:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 04:49 cost 05:00:01 -rw-r--r-- 1 jenkins jenkins 91 Apr 26 04:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:00:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:00:02 ---> package-listing.sh 05:00:02 ++ tr '[:upper:]' '[:lower:]' 05:00:02 ++ facter osfamily 05:00:02 + OS_FAMILY=debian 05:00:02 + workspace=/w/workspace/undry_device-onvif-camera_PR-324 05:00:02 + START_PACKAGES=/tmp/packages_start.txt 05:00:02 + END_PACKAGES=/tmp/packages_end.txt 05:00:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:00:02 + PACKAGES=/tmp/packages_start.txt 05:00:02 + '[' /w/workspace/undry_device-onvif-camera_PR-324 ']' 05:00:02 + PACKAGES=/tmp/packages_end.txt 05:00:02 + case "${OS_FAMILY}" in 05:00:02 + dpkg -l 05:00:02 + grep '^ii' 05:00:02 + '[' -f /tmp/packages_start.txt ']' 05:00:02 + '[' -f /tmp/packages_end.txt ']' 05:00:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:00:02 + '[' /w/workspace/undry_device-onvif-camera_PR-324 ']' 05:00:02 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-324/archives/ 05:00:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-324/archives/ [Pipeline] echo 05:00:02 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-324/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:00:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:03 prd-ubuntu20.04-docker-8c-8g-10929 does not seem to be running inside a container 05:00:03 $ 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-324/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-324 -v /w/workspace/undry_device-onvif-camera_PR-324:/w/workspace/undry_device-onvif-camera_PR-324:rw,z -v /w/workspace/undry_device-onvif-camera_PR-324@tmp:/w/workspace/undry_device-onvif-camera_PR-324@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-lftools-log-publisher:latest cat 05:00:03 $ docker top 7802501d187cb852e3153602d4b18a61ad1270b262131737f9a9bf9e3dba3007 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:04 + touch /tmp/pre-build-complete [Pipeline] sh 05:00:04 + mkdir -p /var/log/sysstat [Pipeline] sh 05:00:05 + ls /var/log/sa-host 05:00:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:00:05 provisioning config files... 05:00:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-324@tmp/config12012518649545022179tmp [Pipeline] { [Pipeline] echo 05:00:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:00:06 ---> create-netrc.sh [Pipeline] } 05:00:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:00:07 ---> python-tools-install.sh [Pipeline] echo 05:00:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:00:08 ---> sudo-logs.sh 05:00:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:00:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:00:09 ---> job-cost.sh 05:00:09 lf-activate-venv: SKIPPING 05:00:09 DEBUG: total: 0.2199999988079071 05:00:09 INFO: Retrieving Stack Cost... 05:00:09 INFO: Retrieving Pricing Info for: v3-standard-8 05:00:09 INFO: Archiving Costs [Pipeline] echo 05:00:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:00:10 ---> logs-deploy.sh 05:00:10 lf-activate-venv: SKIPPING 05:00:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-324/2 05:00:10 INFO: archiving workspace using pattern(s): 05:00:11 Archives upload complete. 05:00:11 INFO: archiving logs to Nexus